Home
last modified time | relevance | path

Searched refs:consumed (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-draw.c34 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.c267 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/
Dcord_rep_btree_reader_test.cc64 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/
Dcord_ring_reader_test.cc64 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/
Dsbcdec.c67 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 …]
Dopus_celt.c122 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 …]
Dav1_parse.c59 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()
Dtak_parser.c45 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()
Dh2645_parse.c401 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/
Duevent.h47 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/
Dstring-comparator.cc24 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/
Dcontainer.c47 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/
DSSL_set_bio.pod49 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/
Dutf_8_sig.py23 (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)
Dutf_16.py60 (output, consumed, byteorder) = \
66 elif consumed >= 2:
68 return (output, consumed)
134 (object, consumed, byteorder) = \
140 elif consumed>=2:
142 return (object, consumed)
Dutf_32.py55 (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/
Dexceptions.py53 def __init__(self, message, consumed): argument
55 self.consumed = consumed
58 return type(self), (self.args[0], self.consumed)
/third_party/curl/tests/libtest/
Dlib1591.c35 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/
Dwtvdec.c693 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/
Dasn1_dsa.c236 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/
Dasn1_dsa.c236 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/
Dprimitives.c68 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/
Dtest_uio.rs31 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/
Dunicodeobject.h449 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/
Dbackport-parser-Fix-regression-in-xmlParserNodeInfo-accountin.patch91 - 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 +

12345678910>>...20