/third_party/node/deps/openssl/openssl/crypto/rand/ |
H A D | rand_egd.c | 113 int mybuffer, ret = -1, i, numbytes, fd; in RAND_query_egd_bytes() local 183 numbytes = tempbuf[0]; in RAND_query_egd_bytes() 191 i = fread(buf, sizeof(char), numbytes, fp); in RAND_query_egd_bytes() 192 if (i < numbytes) in RAND_query_egd_bytes() 194 ret = numbytes; in RAND_query_egd_bytes()
|
/third_party/openssl/crypto/rand/ |
H A D | rand_egd.c | 113 int mybuffer, ret = -1, i, numbytes, fd; in RAND_query_egd_bytes() local 183 numbytes = tempbuf[0]; in RAND_query_egd_bytes() 191 i = fread(buf, sizeof(char), numbytes, fp); in RAND_query_egd_bytes() 192 if (i < numbytes) in RAND_query_egd_bytes() 194 ret = numbytes; in RAND_query_egd_bytes()
|
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/ |
H A D | NVCtrl.c | 438 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...] |
/third_party/backends/backend/ |
H A D | canon630u-common.c | 561 int numbytes, datasize, level = 0, line = 0, pixel = 0; in do_scan() local 610 numbytes = read_bulk_size (s->fd, datasize, 0, ptr, BUFSIZE - level); in do_scan() 611 if (numbytes < 0) in do_scan() 622 line += (numbytes + level) / (s->width * 3); in do_scan() 624 level = (numbytes + level) % (s->width * 3); in do_scan() 627 numbytes -= (line - s->height) * s->width * 3 + level; in do_scan() 629 fwrite (buf, 1, numbytes, fp); in do_scan() 632 memcpy (s->ptr, buf, numbytes); in do_scan() 633 s->ptr += numbytes; in do_scan() 641 ptr += numbytes; /* poin in do_scan() [all...] |
H A D | as6e.c | 303 SANE_Word numbytes; in sane_start() local 312 numbytes = write (s->as6e_params.ctloutpipe, &repeat, sizeof (repeat)); in sane_start() 313 if (numbytes != sizeof (repeat)) in sane_start() 334 numbytes = in sane_start() 336 if (numbytes != sizeof (scan_params)) in sane_start()
|
/third_party/backends/backend/pixma/ |
H A D | pixma_bjnp.c | 671 int numbytes; in udp_command() local 684 if ((numbytes = send (sockfd, command, cmd_len, 0)) != cmd_len) in udp_command() 688 numbytes, cmd_len)); in udp_command() 717 if ((numbytes = recv (sockfd, response, resp_len, 0)) == -1) in udp_command() 725 return numbytes; in udp_command() 2017 int numbytes = 0; in sanei_bjnp_find_devices() local 2220 if ((numbytes = in sanei_bjnp_find_devices() 2231 PDBG (bjnp_hexdump (LOG_DEBUG2, &resp_buf, numbytes)); in sanei_bjnp_find_devices() 2235 if ( (numbytes < (int)sizeof (struct BJNP_command)) || in sanei_bjnp_find_devices() 2245 numbytes, bjnp_i in sanei_bjnp_find_devices() [all...] |
/third_party/python/Lib/ |
H A D | random.py | 804 numbytes = (k + 7) // 8 # bits / 8 and rounded up 805 x = int.from_bytes(_urandom(numbytes)) 806 return x >> (numbytes * 8 - k) # trim excess bits
|
H A D | tarfile.py | 1265 numbytes = nti(buf[pos + 12:pos + 24]) 1268 structs.append((offset, numbytes)) 1380 numbytes = nti(buf[pos + 12:pos + 24]) 1383 if offset and numbytes: 1384 structs.append((offset, numbytes)) 1519 numbytes = [] 1527 elif keyword == b"GNU.sparse.numbytes": 1529 numbytes.append(int(value.decode())) 1533 next.sparse = list(zip(offsets, numbytes))
|
/third_party/curl/lib/ |
H A D | mime.c | 762 const char *bytes, size_t numbytes, in readback_bytes() 768 if(numbytes > offset) { in readback_bytes() 769 sz = numbytes - offset; in readback_bytes() 773 sz = offset - numbytes; in readback_bytes() 760 readback_bytes(struct mime_state *state, char *buffer, size_t bufsize, const char *bytes, size_t numbytes, const char *trail, size_t traillen) readback_bytes() argument
|