Home
last modified time | relevance | path

Searched refs:bytes_remaining (Results 1 - 14 of 14) sorted by relevance

/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/
H A Drand_cpu_x86.c63 size_t bytes_remaining = len; in get_hardware_random_value() local
65 while (bytes_remaining > 0) { in get_hardware_random_value()
73 if (bytes_remaining >= sizeof(random_value)) { in get_hardware_random_value()
75 bytes_remaining -= sizeof(random_value); in get_hardware_random_value()
79 random_buffer + (sizeof(random_value) - bytes_remaining), in get_hardware_random_value()
80 bytes_remaining); in get_hardware_random_value()
81 bytes_remaining = 0; /* This will terminate the loop */ in get_hardware_random_value()
86 if (bytes_remaining == 0) in get_hardware_random_value()
H A Drand_vms.c366 size_t bytes_remaining = ossl_rand_pool_bytes_remaining(pool); in data_collect_method() local
468 if (total_length > bytes_remaining) in data_collect_method()
469 total_length = bytes_remaining; in data_collect_method()
/third_party/openssl/providers/implementations/rands/seeding/
H A Drand_cpu_x86.c63 size_t bytes_remaining = len; in get_hardware_random_value() local
65 while (bytes_remaining > 0) { in get_hardware_random_value()
73 if (bytes_remaining >= sizeof(random_value)) { in get_hardware_random_value()
75 bytes_remaining -= sizeof(random_value); in get_hardware_random_value()
79 random_buffer + (sizeof(random_value) - bytes_remaining), in get_hardware_random_value()
80 bytes_remaining); in get_hardware_random_value()
81 bytes_remaining = 0; /* This will terminate the loop */ in get_hardware_random_value()
86 if (bytes_remaining == 0) in get_hardware_random_value()
H A Drand_vms.c366 size_t bytes_remaining = ossl_rand_pool_bytes_remaining(pool); in data_collect_method() local
468 if (total_length > bytes_remaining) in data_collect_method()
469 total_length = bytes_remaining; in data_collect_method()
/third_party/ffmpeg/libavutil/
H A Dbase64.c154 int bytes_remaining = in_size; in av_base64_encode() local
160 while (bytes_remaining > 3) { in av_base64_encode()
162 in += 3; bytes_remaining -= 3; in av_base64_encode()
169 while (bytes_remaining) { in av_base64_encode()
171 bytes_remaining--; in av_base64_encode()
/third_party/node/deps/npm/node_modules/jsonparse/
H A Djsonparse.js68 this.bytes_remaining = 0; // number of bytes remaining in multi byte utf8 char to read after split boundary
161 if (this.bytes_remaining > 0) {
162 for (var j = 0; j < this.bytes_remaining; j++) {
163 this.temp_buffs[this.bytes_in_sequence][this.bytes_in_sequence - this.bytes_remaining + j] = buffer[j];
167 this.bytes_in_sequence = this.bytes_remaining = 0;
169 } else if (this.bytes_remaining === 0 && n >= 128) { // else if no remainder bytes carried over, parse multi byte (>=128) chars one at a time
180 this.bytes_remaining = (i + this.bytes_in_sequence) - buffer.length;
/third_party/backends/backend/
H A Dsnapscan-sources.c158 return ps->pss->bytes_remaining + (ps->scsi_buf_max - ps->scsi_buf_pos); in SCSISource_remaining()
181 ps->pss->bytes_remaining); in SCSISource_get()
189 ps->pss->bytes_remaining -= ps->pss->read_bytes; in SCSISource_get()
235 SANE_Int bytes_remaining; member
241 return ps->bytes_remaining; in FDSource_remaining()
273 ps->bytes_remaining -= bytes_read; in FDSource_get()
301 pself->bytes_remaining = pss->bytes_per_line * (pss->lines + pss->chroma); in FDSource_init()
817 (u_long) ps->pss->bytes_remaining); in Deinterlacer_get()
1055 (u_long) ps->pss->bytes_remaining); in RGBRouter_get()
1300 * Fix initialization of FDSource.bytes_remaining
[all...]
H A Dnet.h79 size_t bytes_remaining; /* how many bytes left in this record? */ member
H A Dnet.c2007 s->bytes_remaining = 0;
2114 s->bytes_remaining = 0;
2169 if (s->bytes_remaining == 0)
2201 s->bytes_remaining = (((u_long) s->reclen_buf[0] << 24)
2206 (long) s->bytes_remaining);
2207 if (s->bytes_remaining == 0xffffffff)
2229 if (max_length > (SANE_Int) s->bytes_remaining)
2230 max_length = s->bytes_remaining;
2247 s->bytes_remaining -= nread;
2336 (u_long) s->bytes_remaining);
[all...]
H A Dlexmark.h217 size_t bytes_remaining; member
H A Dsnapscan.h377 size_t bytes_remaining; /* remaining bytes expected from scanner */ member
649 * Changed expected_data_len to bytes_remaining.
H A Dlexmark_low.c4871 dev->bytes_remaining = 0; in sanei_lexmark_low_start_scan()
4888 /* data_size should be used to set bytes_remaining */ in sanei_lexmark_low_start_scan()
4890 dev->bytes_remaining = dev->data_size; in sanei_lexmark_low_start_scan()
4903 dev->bytes_remaining = 0; in sanei_lexmark_low_start_scan()
4941 if (dev->bytes_remaining > 0) in sanei_lexmark_low_read_scan_data()
4943 if (dev->bytes_remaining > MAX_XFER_SIZE) in sanei_lexmark_low_read_scan_data()
4946 xfer_request = dev->bytes_remaining; in sanei_lexmark_low_read_scan_data()
4990 dev->bytes_remaining -= cmd_size; in sanei_lexmark_low_read_scan_data()
4995 DBG (2, " bytes_remaining: %lu\n", (u_long) dev->bytes_remaining); in sanei_lexmark_low_read_scan_data()
[all...]
H A Dsnapscan-scsi.c545 pss->bytes_remaining = pss->bytes_per_line * (pss->lines + pss->chroma); in inquiry()
602 (u_long) pss->bytes_remaining); in inquiry()
/third_party/ffmpeg/libavcodec/
H A Dadpcm.c1561 int bytes_remaining; in adpcm_decode_frame()
1572 bytes_remaining = bytestream2_get_bytes_left(&gb); in adpcm_decode_frame()
1573 if (bytes_remaining > 0) { in adpcm_decode_frame()
1574 bytestream2_skip(&gb, bytes_remaining); in adpcm_decode_frame()

Completed in 21 milliseconds