/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-draw.c | 34 unsigned consumed; member 101 if (user_data->consumed + 2 * ITOA_BUF_SIZE + 4 > user_data->size) return; in move_to() 102 user_data->str[user_data->consumed++] = 'M'; in move_to() 103 user_data->consumed += _hb_itoa (to_x, user_data->str + user_data->consumed); in move_to() 104 user_data->str[user_data->consumed++] = ','; in move_to() 105 user_data->consumed += _hb_itoa (to_y, user_data->str + user_data->consumed); in move_to() 111 if (user_data->consumed + 2 * ITOA_BUF_SIZE + 4 > user_data->size) return; in line_to() 112 user_data->str[user_data->consumed++] = 'L'; in line_to() 113 user_data->consumed += _hb_itoa (to_x, user_data->str + user_data->consumed); in line_to() 114 user_data->str[user_data->consumed++] = ','; in line_to() [all …]
|
/third_party/python/Modules/ |
D | _codecsmodule.c | 267 Py_ssize_t consumed = data->len; in _codecs_utf_7_decode_impl() local 270 final ? NULL : &consumed); in _codecs_utf_7_decode_impl() 271 return codec_tuple(decoded, consumed); in _codecs_utf_7_decode_impl() 287 Py_ssize_t consumed = data->len; in _codecs_utf_8_decode_impl() local 290 final ? NULL : &consumed); in _codecs_utf_8_decode_impl() 291 return codec_tuple(decoded, consumed); in _codecs_utf_8_decode_impl() 309 Py_ssize_t consumed = data->len; in _codecs_utf_16_decode_impl() local 312 final ? NULL : &consumed); in _codecs_utf_16_decode_impl() 313 return codec_tuple(decoded, consumed); in _codecs_utf_16_decode_impl() 331 Py_ssize_t consumed = data->len; in _codecs_utf_16_le_decode_impl() local [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cord_rep_btree_reader_test.cc | 64 size_t consumed = chunk.length(); in TEST() local 65 EXPECT_THAT(reader.consumed(), Eq(consumed)); in TEST() 67 while (consumed < data.length()) { in TEST() 69 EXPECT_THAT(chunk, Eq(data.substr(consumed, chunk.length()))); in TEST() 71 consumed += chunk.length(); in TEST() 72 EXPECT_THAT(reader.consumed(), Eq(consumed)); in TEST() 75 EXPECT_THAT(consumed, Eq(data.length())); in TEST() 76 EXPECT_THAT(reader.consumed(), Eq(data.length())); in TEST() 96 size_t consumed = chunk.length(); in TEST() local 99 ASSERT_THAT(chunk, Eq(data.substr(consumed + skip1, chunk.length()))); in TEST() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | cord_ring_reader_test.cc | 64 EXPECT_DEATH_IF_SUPPORTED(reader.consumed(), ".*"); in TEST() 83 EXPECT_THAT(reader.consumed(), Eq(flats[0].length())); in TEST() 84 EXPECT_THAT(reader.remaining(), Eq(ring->length - reader.consumed())); in TEST() 100 size_t consumed = reader.consumed(); in TEST() local 104 consumed += flats[i].length(); in TEST() 110 ASSERT_THAT(reader.consumed(), Eq(consumed)); in TEST() 128 size_t consumed = 0; in TEST() local 132 size_t offset = consumed; in TEST() 133 consumed += flats[i].length(); in TEST() 140 ASSERT_THAT(reader.consumed(), Eq(consumed)); in TEST() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | sbcdec.c | 67 unsigned int consumed; in sbc_unpack_frame() local 115 consumed = 32; in sbc_unpack_frame() 121 if (len * 8 < consumed + frame->subbands) in sbc_unpack_frame() 132 consumed += frame->subbands; in sbc_unpack_frame() 136 if (len * 8 < consumed + (4 * frame->subbands * frame->channels)) in sbc_unpack_frame() 143 (data[consumed >> 3] >> (4 - (consumed & 0x7))) & 0x0F; in sbc_unpack_frame() 147 consumed += 4; in sbc_unpack_frame() 177 if (consumed > len * 8) in sbc_unpack_frame() 180 if ((data[consumed >> 3] >> (7 - (consumed & 0x7))) & 0x01) in sbc_unpack_frame() 183 consumed++; in sbc_unpack_frame() [all …]
|
D | opus_celt.c | 122 int consumed, bits = f->transient ? 2 : 4; in celt_decode_tf_changes() local 124 consumed = opus_rc_tell(rc); in celt_decode_tf_changes() 125 tf_select_bit = (f->size != 0 && consumed+bits+1 <= f->framebits); in celt_decode_tf_changes() 128 if (consumed+bits+tf_select_bit <= f->framebits) { in celt_decode_tf_changes() 130 consumed = opus_rc_tell(rc); in celt_decode_tf_changes() 233 static int parse_postfilter(CeltFrame *f, OpusRangeCoder *rc, int consumed) in parse_postfilter() argument 240 if (f->start_band == 0 && consumed + 16 <= f->framebits) { in parse_postfilter() 262 consumed = opus_rc_tell(rc); in parse_postfilter() 265 return consumed; in parse_postfilter() 325 int consumed; // bits of entropy consumed thus far for this frame in ff_celt_decode_frame() local [all …]
|
D | av1_parse.c | 59 int ret, consumed; in ff_av1_packet_split() local 83 consumed = ff_av1_extract_obu(obu, bc.buffer, bytestream2_get_bytes_left(&bc), logctx); in ff_av1_packet_split() 84 if (consumed < 0) in ff_av1_packet_split() 85 return consumed; in ff_av1_packet_split() 87 bytestream2_skip(&bc, consumed); in ff_av1_packet_split()
|
D | tak_parser.c | 45 int consumed = 0; in tak_parse() local 70 consumed += tmp_buf_size; in tak_parse() 105 if (consumed && !buf_size && next == END_NOT_FOUND || in tak_parse() 111 next += consumed; in tak_parse() 122 return buf_size + consumed; in tak_parse()
|
D | h2645_parse.c | 401 int consumed, ret = 0; in ff_h2645_packet_split() local 483 consumed = ff_h2645_extract_rbsp(bc.buffer, extract_length, &pkt->rbsp, nal, small_padding); in ff_h2645_packet_split() 484 if (consumed < 0) in ff_h2645_packet_split() 485 return consumed; in ff_h2645_packet_split() 487 if (is_nalff && (extract_length != consumed) && extract_length) in ff_h2645_packet_split() 490 consumed, extract_length); in ff_h2645_packet_split() 492 bytestream2_skip(&bc, consumed); in ff_h2645_packet_split()
|
/third_party/ltp/testcases/kernel/uevents/ |
D | uevent.h | 47 int consumed = 0; in print_uevent() local 51 while (consumed < len) { in print_uevent() 54 consumed += l; in print_uevent() 77 int consumed = 0; in uevent_match() local 85 consumed += l; in uevent_match() 88 while (consumed < len) { in uevent_match() 98 consumed += l; in uevent_match()
|
/third_party/node/deps/v8/src/objects/ |
D | string-comparator.cc | 24 int consumed, const SharedStringAccessGuardIfNeeded& access_guard) { in Advance() argument 25 DCHECK(consumed <= length_); in Advance() 27 if (length_ != consumed) { in Advance() 29 buffer8_ += consumed; in Advance() 31 buffer16_ += consumed; in Advance() 33 length_ -= consumed; in Advance()
|
/third_party/alsa-utils/axfer/ |
D | container.c | 47 size_t consumed = 0; in container_recursive_read() local 49 while (consumed < byte_count && !cntr->interrupted) { in container_recursive_read() 50 result = read(cntr->fd, dst + consumed, byte_count - consumed); in container_recursive_read() 66 consumed += result; in container_recursive_read() 77 size_t consumed = 0; in container_recursive_write() local 79 while (consumed < byte_count && !cntr->interrupted) { in container_recursive_write() 80 result = write(cntr->fd, src + consumed, byte_count - consumed); in container_recursive_write() 91 consumed += result; in container_recursive_write()
|
/third_party/openssl/doc/man3/ |
D | SSL_set_bio.pod | 49 previously set values then one reference is consumed for the rbio and one 50 reference is consumed for the wbio. 55 the same as the previously set value then one reference is consumed. 60 same as the previously set value, then no additional references are consumed. 66 previously set value then one reference is consumed for the B<wbio> and no 67 references are consumed for the B<rbio>. 73 were the same as each other then one reference is consumed for the B<rbio> 74 and no references are consumed for the B<wbio>. 81 to each other, then one reference is consumed for the B<rbio> and one 82 reference is consumed for the B<wbio>.
|
/third_party/python/Lib/encodings/ |
D | utf_8_sig.py | 23 (output, consumed) = codecs.utf_8_decode(input, errors, True) 24 return (output, consumed+prefix) 66 (output, consumed) = \ 68 return (output, consumed+3) 113 (output, consumed) = codecs.utf_8_decode(input[3:],errors) 114 return (output, consumed+3)
|
D | utf_16.py | 60 (output, consumed, byteorder) = \ 66 elif consumed >= 2: 68 return (output, consumed) 134 (object, consumed, byteorder) = \ 140 elif consumed>=2: 142 return (object, consumed)
|
D | utf_32.py | 55 (output, consumed, byteorder) = \ 61 elif consumed >= 4: 63 return (output, consumed) 129 (object, consumed, byteorder) = \ 135 elif consumed>=4: 137 return (object, consumed)
|
/third_party/python/Lib/asyncio/ |
D | exceptions.py | 53 def __init__(self, message, consumed): argument 55 self.consumed = consumed 58 return type(self), (self.args[0], self.consumed)
|
/third_party/curl/tests/libtest/ |
D | lib1591.c | 35 static size_t consumed = 0; variable 41 if(consumed == strlen(data)) { in read_callback() 45 if(amount > strlen(data)-consumed) { in read_callback() 49 consumed += amount; in read_callback()
|
/third_party/ffmpeg/libavformat/ |
D | wtvdec.c | 693 int consumed = parse_videoinfoheader2(s, st); in parse_media_type() local 694 avio_skip(pb, FFMAX(size - consumed, 0)); in parse_media_type() 696 uint64_t consumed = parse_videoinfoheader2(s, st); in parse_media_type() local 698 avio_skip(pb, FFMAX(size - consumed, 0)); in parse_media_type() 786 int len, sid, consumed; in parse_chunks() local 801 consumed = 32; in parse_chunks() 813 if (size < 0 || size > INT_MAX - 92 - consumed) in parse_chunks() 816 consumed += 92 + size; in parse_chunks() 829 if (size < 0 || size > INT_MAX - 76 - consumed) in parse_chunks() 832 consumed += 76 + size; in parse_chunks() [all …]
|
/third_party/openssl/crypto/ |
D | asn1_dsa.c | 236 size_t consumed; in ossl_decode_der_dsa_sig() local 249 consumed = PACKET_data(&pkt) - *ppin; in ossl_decode_der_dsa_sig() 250 *ppin += consumed; in ossl_decode_der_dsa_sig() 251 return consumed; in ossl_decode_der_dsa_sig()
|
/third_party/node/deps/openssl/openssl/crypto/ |
D | asn1_dsa.c | 236 size_t consumed; in ossl_decode_der_dsa_sig() local 249 consumed = PACKET_data(&pkt) - *ppin; in ossl_decode_der_dsa_sig() 250 *ppin += consumed; in ossl_decode_der_dsa_sig() 251 return consumed; in ossl_decode_der_dsa_sig()
|
/third_party/libwebsockets/lib/roles/mqtt/ |
D | primitives.c | 68 vbi->consumed = 0; in lws_mqtt_vbi_init() 76 vbi->consumed = 0; in lws_mqtt_2byte_init() 84 vbi->consumed = 0; in lws_mqtt_4byte_init() 102 vbi->consumed++; in lws_mqtt_vbi_r() 127 vbi->consumed++; in lws_mqtt_mb_parse()
|
/third_party/rust/crates/nix/test/sys/ |
D | test_uio.rs | 31 let mut consumed = 0; in test_writev() localVariable 32 while consumed < to_write.len() { in test_writev() 33 let left = to_write.len() - consumed; in test_writev() 39 let b = &to_write[consumed..consumed + slice_len]; in test_writev() 41 consumed += slice_len; in test_writev()
|
/third_party/python/Include/ |
D | unicodeobject.h | 449 Py_ssize_t *consumed /* bytes consumed */ 464 Py_ssize_t *consumed /* bytes consumed */ 529 Py_ssize_t *consumed /* bytes consumed */ 596 Py_ssize_t *consumed /* bytes consumed */ 702 Py_ssize_t *consumed /* bytes consumed */ 711 Py_ssize_t *consumed /* bytes consumed */
|
/third_party/libxml2/ |
D | backport-parser-Fix-regression-in-xmlParserNodeInfo-accountin.patch | 91 - node_info.end_pos = ctxt->input->consumed + 98 + node_info.end_pos = ctxt->input->consumed + 125 - node_info.end_pos = ctxt->input->consumed + 152 - node_info.end_pos = ctxt->input->consumed + 162 + node_info->end_pos = ctxt->input->consumed +
|