Home
last modified time | relevance | path

Searched refs:numbytes (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/tests/fuzzers/
DVertexRoutineFuzzer.cpp222 long numbytes = ftell(file); in main() local
224 uint8_t *buffer = (uint8_t*)calloc(numbytes, sizeof(uint8_t)); in main()
225 fread(buffer, sizeof(char), numbytes, file); in main()
230 LLVMFuzzerTestOneInput(buffer, numbytes); in main()
/external/scapy/scapy/contrib/
Disis.py94 numbytes = len(s[1:])
95 fmt = "%02X" + (".%02X%02X" * (numbytes // 2)) + ("" if (numbytes % 2) == 0 else ".%02X")
195 numbytes = self.length_from(pkt)
196 return s[numbytes:], self.m2i(pkt, struct.unpack("!%is" % numbytes, s[:numbytes])[0])
/external/u-boot/arch/arm/mach-sunxi/
Dp2wi.c95 P2WI_DATA_NUM_BYTES_READ, &p2wi->numbytes); in p2wi_read()
111 writel(P2WI_DATA_NUM_BYTES(1), &p2wi->numbytes); in p2wi_write()
/external/libhevc/test/decoder/
Dmain.c2184 WORD32 numbytes; in hevcdec_main() local
2188 numbytes = u4_ip_buf_len; in hevcdec_main()
2193 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in hevcdec_main()
2195 numbytes = u4_ip_buf_len; in hevcdec_main()
2198 u4_bytes_remaining = fread(pu1_bs_buf, sizeof(UWORD8), numbytes, in hevcdec_main()
2629 WORD32 numbytes; in hevcdec_main() local
2634 numbytes = u4_ip_buf_len; in hevcdec_main()
2639 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in hevcdec_main()
2641 numbytes = u4_ip_buf_len; in hevcdec_main()
2645 numbytes, ps_ip_file); in hevcdec_main()
[all …]
/external/libmpeg2/test/decoder/
Dmain.c2380 WORD32 numbytes; in vdec_main() local
2384 numbytes = u4_ip_buf_len; in vdec_main()
2389 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in vdec_main()
2391 numbytes = u4_ip_buf_len; in vdec_main()
2394 u4_bytes_remaining = fread(pu1_bs_buf, sizeof(UWORD8), numbytes, in vdec_main()
2763 WORD32 numbytes; in vdec_main() local
2768 numbytes = u4_ip_buf_len; in vdec_main()
2773 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in vdec_main()
2775 numbytes = u4_ip_buf_len; in vdec_main()
2779 numbytes, ps_ip_file); in vdec_main()
[all …]
/external/libavc/test/decoder/
Dmain.c2286 WORD32 numbytes; in h264dec_main() local
2291 numbytes = u4_ip_buf_len; in h264dec_main()
2296 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in h264dec_main()
2298 numbytes = u4_ip_buf_len; in h264dec_main()
2301 u4_bytes_remaining = fread(pu1_bs_buf, sizeof(UWORD8), numbytes, in h264dec_main()
2751 WORD32 numbytes; in h264dec_main() local
2756 numbytes = u4_ip_buf_len; in h264dec_main()
2761 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in h264dec_main()
2763 numbytes = u4_ip_buf_len; in h264dec_main()
2767 numbytes, ps_ip_file); in h264dec_main()
[all …]
/external/python/cpython3/Lib/
Drandom.py687 numbytes = (k + 7) // 8 # bits / 8 and rounded up
688 x = int.from_bytes(_urandom(numbytes), 'big')
689 return x >> (numbytes * 8 - k) # trim excess bits
Dtarfile.py1071 numbytes = nti(buf[pos + 12:pos + 24])
1074 structs.append((offset, numbytes))
1176 numbytes = nti(buf[pos + 12:pos + 24])
1179 if offset and numbytes:
1180 structs.append((offset, numbytes))
1298 numbytes = []
1300 numbytes.append(int(match.group(1)))
1301 next.sparse = list(zip(offsets, numbytes))
/external/u-boot/arch/arm/include/asm/arch-sunxi/
Dp2wi.h127 u32 numbytes; /* 0x18 num bytes */ member
/external/python/cpython2/Lib/
Dtarfile.py1332 numbytes = nti(buf[pos + 12:pos + 24])
1337 sp.append(_data(offset, numbytes, realpos))
1338 realpos += numbytes
1339 lastpos = offset + numbytes
1353 numbytes = nti(buf[pos + 12:pos + 24])
1358 sp.append(_data(offset, numbytes, realpos))
1359 realpos += numbytes
1360 lastpos = offset + numbytes
/external/libhevc/common/arm/
Dihevc_mem_fns.s153 @ Assumptions: numbytes is either 8, 16 or 32
/external/libavc/common/arm/
Dih264_mem_fns_neon.s152 @ Assumptions: numbytes is either 8, 16 or 32
/external/curl/lib/
Dmime.c710 const char *bytes, size_t numbytes, in readback_bytes() argument
715 if(numbytes > state->offset) { in readback_bytes()
716 sz = numbytes - state->offset; in readback_bytes()
722 sz = state->offset - numbytes; in readback_bytes()
/external/scapy/scapy/
Dfields.py1440 numbytes= self._numbytes(pfxlen)
1441 fmt= "!%is" % numbytes
1442 return s[numbytes:], self.m2i(pkt, (struct.unpack(fmt, s[:numbytes])[0], pfxlen))
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_10_0.inc1178 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetSize(CUfunction hfunc, unsigned int numbytes) {
1182 return func_ptr(hfunc, numbytes);
1199 …ATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes) {
1203 return func_ptr(hfunc, offset, ptr, numbytes);
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp3404 size_t numbytes = lodepng_get_raw_size(w, h, mode_in); in lodepng_convert() local
3405 for(i = 0; i < numbytes; i++) out[i] = in[i]; in lodepng_convert()