Home
last modified time | relevance | path

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

/external/swiftshader/tests/fuzzers/
DVertexRoutineFuzzer.cpp229 long numbytes = ftell(file); in main() local
231 uint8_t *buffer = (uint8_t *)calloc(numbytes, sizeof(uint8_t)); in main()
232 fread(buffer, sizeof(char), numbytes, file); in main()
237 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/angle/src/third_party/libXNVCtrl/
DNVCtrl.c438 int length, numbytes, slop; in XNVCTRLQueryTargetStringAttribute() local
462 numbytes = rep.n; in XNVCTRLQueryTargetStringAttribute()
463 slop = numbytes & 3; in XNVCTRLQueryTargetStringAttribute()
466 *ptr = (char *) Xmalloc(numbytes); in XNVCTRLQueryTargetStringAttribute()
474 _XRead(dpy, (char *) *ptr, numbytes); in XNVCTRLQueryTargetStringAttribute()
982 int length, numbytes, slop; in XNVCTRLQueryTargetBinaryData() local
1006 numbytes = rep.n; in XNVCTRLQueryTargetBinaryData()
1007 slop = numbytes & 3; in XNVCTRLQueryTargetBinaryData()
1010 *ptr = (unsigned char *) Xmalloc(numbytes); in XNVCTRLQueryTargetBinaryData()
1018 _XRead(dpy, (char *) *ptr, numbytes); in XNVCTRLQueryTargetBinaryData()
[all …]
/external/libhevc/test/decoder/
Dmain.c2186 WORD32 numbytes; in hevcdec_main() local
2190 numbytes = u4_ip_buf_len; in hevcdec_main()
2195 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in hevcdec_main()
2197 numbytes = u4_ip_buf_len; in hevcdec_main()
2200 u4_bytes_remaining = fread(pu1_bs_buf, sizeof(UWORD8), numbytes, in hevcdec_main()
2631 WORD32 numbytes; in hevcdec_main() local
2636 numbytes = u4_ip_buf_len; in hevcdec_main()
2641 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in hevcdec_main()
2643 numbytes = u4_ip_buf_len; in hevcdec_main()
2647 numbytes, ps_ip_file); in hevcdec_main()
[all …]
/external/libmpeg2/test/decoder/
Dmain.c2382 WORD32 numbytes; in vdec_main() local
2386 numbytes = u4_ip_buf_len; in vdec_main()
2391 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in vdec_main()
2393 numbytes = u4_ip_buf_len; in vdec_main()
2396 u4_bytes_remaining = fread(pu1_bs_buf, sizeof(UWORD8), numbytes, in vdec_main()
2765 WORD32 numbytes; in vdec_main() local
2770 numbytes = u4_ip_buf_len; in vdec_main()
2775 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in vdec_main()
2777 numbytes = u4_ip_buf_len; in vdec_main()
2781 numbytes, ps_ip_file); in vdec_main()
[all …]
/external/libavc/test/decoder/
Dmain.c2431 WORD32 numbytes; in h264dec_main() local
2436 numbytes = u4_ip_buf_len; in h264dec_main()
2441 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in h264dec_main()
2443 numbytes = u4_ip_buf_len; in h264dec_main()
2446 u4_bytes_remaining = fread(pu1_bs_buf, sizeof(UWORD8), numbytes, in h264dec_main()
2899 WORD32 numbytes; in h264dec_main() local
2904 numbytes = u4_ip_buf_len; in h264dec_main()
2909 entries = fscanf(ps_piclen_file, "%d\n", &numbytes); in h264dec_main()
2911 numbytes = u4_ip_buf_len; in h264dec_main()
2915 numbytes, ps_ip_file); in h264dec_main()
[all …]
/external/python/cpython3/Lib/
Drandom.py787 numbytes = (k + 7) // 8 # bits / 8 and rounded up
788 x = int.from_bytes(_urandom(numbytes), 'big')
789 return x >> (numbytes * 8 - k) # trim excess bits
Dtarfile.py1089 numbytes = nti(buf[pos + 12:pos + 24])
1092 structs.append((offset, numbytes))
1194 numbytes = nti(buf[pos + 12:pos + 24])
1197 if offset and numbytes:
1198 structs.append((offset, numbytes))
1318 numbytes = []
1320 numbytes.append(int(match.group(1)))
1321 next.sparse = list(zip(offsets, numbytes))
/external/libhevc/common/arm/
Dihevc_mem_fns.s153 @ Assumptions: numbytes is either 8, 16 or 32
/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/libavc/common/arm/
Dih264_mem_fns_neon.s152 @ Assumptions: numbytes is either 8, 16 or 32
/external/curl/lib/
Dmime.c745 const char *bytes, size_t numbytes, in readback_bytes() argument
751 if(numbytes > offset) { in readback_bytes()
752 sz = numbytes - offset; in readback_bytes()
758 sz = 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_9_0.inc1215 CUresult CUDAAPI cuParamSetSize(CUfunction hfunc, unsigned int numbytes) {
1219 return func_ptr(hfunc, numbytes);
1237 unsigned int numbytes) {
1241 return func_ptr(hfunc, offset, ptr, numbytes);
Dcuda_10_1.inc1364 unsigned int numbytes) {
1368 return func_ptr(hfunc, numbytes);
1389 unsigned int numbytes) {
1393 return func_ptr(hfunc, offset, ptr, numbytes);
Dcuda_10_0.inc1345 unsigned int numbytes) {
1349 return func_ptr(hfunc, numbytes);
1370 unsigned int numbytes) {
1374 return func_ptr(hfunc, offset, ptr, numbytes);
Dcuda_10_2.inc1485 unsigned int numbytes) {
1489 return func_ptr(hfunc, numbytes);
1510 unsigned int numbytes) {
1514 return func_ptr(hfunc, offset, ptr, numbytes);
Dcuda_11_0.inc1525 unsigned int numbytes) {
1529 return func_ptr(hfunc, numbytes);
1550 unsigned int numbytes) {
1554 return func_ptr(hfunc, offset, ptr, numbytes);
Dcuda_11_2.inc1730 unsigned int numbytes) {
1734 return func_ptr(hfunc, numbytes);
1755 unsigned int numbytes) {
1759 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()