Home
last modified time | relevance | path

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

12345678910>>...22

/third_party/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/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/gstreamer/gstplugins_bad/tests/check/libs/
Dav1parser.c114 guint32 consumed = 0; in GST_START_TEST() local
121 &obu, &consumed); in GST_START_TEST()
123 data_ptr += consumed; in GST_START_TEST()
124 data_sz -= consumed; in GST_START_TEST()
136 &obu, &consumed); in GST_START_TEST()
138 data_ptr += consumed; in GST_START_TEST()
139 data_sz -= consumed; in GST_START_TEST()
188 &obu, &consumed); in GST_START_TEST()
190 data_ptr += consumed; in GST_START_TEST()
191 data_sz -= consumed; in GST_START_TEST()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/visualtest/unittest/
Dtestquit.c40 int consumed; in main() local
41 consumed = SDLTest_CommonArg(state, i); in main()
42 if(consumed == 0) in main()
44 consumed = -1; in main()
50 consumed = 2; in main()
56 consumed = 1; in main()
61 consumed = 1; in main()
65 if(consumed < 0) in main()
71 i += consumed; in main()
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation.c51 int consumed; in main() local
53 consumed = SDLTest_CommonArg(state, i); in main()
54 if (consumed == 0) { in main()
55 consumed = -1; in main()
60 consumed = 2; in main()
66 consumed = 2; in main()
72 consumed = 2; in main()
78 consumed = 2; in main()
82 if (consumed < 0) { in main()
88 i += consumed; in main()
Dtestdraw2.c226 int consumed; in main() local
228 consumed = SDLTest_CommonArg(state, i); in main()
229 if (consumed == 0) { in main()
230 consumed = -1; in main()
235 consumed = 2; in main()
238 consumed = 2; in main()
241 consumed = 2; in main()
244 consumed = 2; in main()
249 consumed = 1; in main()
252 consumed = 1; in main()
[all …]
Dtestdropfile.c44 int consumed; in main() local
46 consumed = SDLTest_CommonArg(state, i); in main()
49 consumed = 1; in main()
51 if (consumed == 0) { in main()
52 consumed = -1; in main()
54 if (consumed < 0) { in main()
58 i += consumed; in main()
Dtestsprite2.c279 int consumed; in main() local
281 consumed = SDLTest_CommonArg(state, i); in main()
282 if (consumed == 0) { in main()
283 consumed = -1; in main()
288 consumed = 2; in main()
291 consumed = 2; in main()
294 consumed = 2; in main()
297 consumed = 2; in main()
304 consumed = 2; in main()
308 consumed = 1; in main()
[all …]
Dtestintersections.c285 int consumed; in main() local
287 consumed = SDLTest_CommonArg(state, i); in main()
288 if (consumed == 0) { in main()
289 consumed = -1; in main()
294 consumed = 2; in main()
297 consumed = 2; in main()
300 consumed = 2; in main()
303 consumed = 2; in main()
308 consumed = 1; in main()
311 consumed = 1; in main()
[all …]
Dtestgles.c126 int consumed; in main() local
128 consumed = SDLTest_CommonArg(state, i); in main()
129 if (consumed == 0) { in main()
132 consumed = 1; in main()
135 consumed = 1; in main()
139 consumed = -1; in main()
142 consumed = 1; in main()
145 consumed = -1; in main()
148 if (consumed < 0) { in main()
153 i += consumed; in main()
Dtestwm2.c133 int consumed; in main() local
135 consumed = SDLTest_CommonArg(state, i); in main()
136 if (consumed == 0) { in main()
137 consumed = -1; in main()
139 if (consumed < 0) { in main()
143 i += consumed; in main()
Dtestcustomcursor.c166 int consumed; in main() local
168 consumed = SDLTest_CommonArg(state, i); in main()
169 if (consumed == 0) { in main()
173 if (consumed < 0) { in main()
177 i += consumed; in main()
/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/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/libxml2/fuzz/
Dhtml.c31 size_t docSize, consumed, chunkSize; in LLVMFuzzerTestOneInput() local
64 for (consumed = 0; consumed < docSize; consumed += chunkSize) { in LLVMFuzzerTestOneInput()
65 chunkSize = docSize - consumed; in LLVMFuzzerTestOneInput()
68 htmlParseChunk(ctxt, docBuffer + consumed, chunkSize, 0); in LLVMFuzzerTestOneInput()
Dxml.c36 size_t maxSize, docSize, consumed, chunkSize; in LLVMFuzzerTestOneInput() local
70 for (consumed = 0; consumed < docSize; consumed += chunkSize) { in LLVMFuzzerTestOneInput()
71 chunkSize = docSize - consumed; in LLVMFuzzerTestOneInput()
74 xmlParseChunk(ctxt, docBuffer + consumed, chunkSize, 0); in LLVMFuzzerTestOneInput()
/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Dgstmpegdesc.c67 guint consumed, total, n_desc; in gst_mpeg_descriptor_parse() local
77 consumed = gst_mpeg_descriptor_parse_1 (current, size); in gst_mpeg_descriptor_parse()
79 if (consumed > 0) { in gst_mpeg_descriptor_parse()
80 current += consumed; in gst_mpeg_descriptor_parse()
81 total += consumed; in gst_mpeg_descriptor_parse()
82 size -= consumed; in gst_mpeg_descriptor_parse()
86 while (consumed > 0); in gst_mpeg_descriptor_parse()
/third_party/ffmpeg/libavcodec/
Dsbcdec.c65 unsigned int consumed; in sbc_unpack_frame() local
113 consumed = 32; in sbc_unpack_frame()
119 if (len * 8 < consumed + frame->subbands) in sbc_unpack_frame()
130 consumed += frame->subbands; in sbc_unpack_frame()
134 if (len * 8 < consumed + (4 * frame->subbands * frame->channels)) in sbc_unpack_frame()
141 (data[consumed >> 3] >> (4 - (consumed & 0x7))) & 0x0F; in sbc_unpack_frame()
145 consumed += 4; in sbc_unpack_frame()
175 if (consumed > len * 8) in sbc_unpack_frame()
178 if ((data[consumed >> 3] >> (7 - (consumed & 0x7))) & 0x01) in sbc_unpack_frame()
181 consumed++; in sbc_unpack_frame()
[all …]
/third_party/boost/boost/statechart/
Dresult.hpp31 consumed enumerator
47 BOOST_ASSERT( reactionResult_ != consumed ); in safe_reaction_result()
48 other.reactionResult_ = consumed; in safe_reaction_result()
58 BOOST_ASSERT( reactionResult_ == consumed ); in ~safe_reaction_result()
71 reactionResult_ = consumed; in operator reaction_result()
/third_party/boost/libs/lockfree/test/
Dstack_test.cpp153 size_t consumed = f.consume_all(dummy_functor()); in BOOST_AUTO_TEST_CASE() local
155 size_t consumed = f.consume_all([] (int i) { in BOOST_AUTO_TEST_CASE() local
159 BOOST_REQUIRE_EQUAL(consumed, 2u); in BOOST_AUTO_TEST_CASE()
176 size_t consumed = f.consume_all_atomic(dummy_functor()); in BOOST_AUTO_TEST_CASE() local
178 size_t consumed = f.consume_all_atomic([] (int i) { in BOOST_AUTO_TEST_CASE() local
182 BOOST_REQUIRE_EQUAL(consumed, 3u); in BOOST_AUTO_TEST_CASE()
200 size_t consumed = f.consume_all_atomic_reversed(dummy_functor()); in BOOST_AUTO_TEST_CASE() local
202 size_t consumed = f.consume_all_atomic_reversed([] (int i) { in BOOST_AUTO_TEST_CASE() local
206 BOOST_REQUIRE_EQUAL(consumed, 3u); in BOOST_AUTO_TEST_CASE()
/third_party/gstreamer/gstplugins_bad/ext/ttml/
Dgstttmlparse.c277 gsize * consumed, GError ** err) in gst_convert_to_utf8() argument
281 *consumed = 0; in gst_convert_to_utf8()
285 consumed, NULL, err); in gst_convert_to_utf8()
324 gsize * consumed) in convert_encoding() argument
330 *consumed = 0; in convert_encoding()
335 gst_convert_to_utf8 (str, len, self->detected_encoding, consumed, &err); in convert_encoding()
351 *consumed = len; in convert_encoding()
368 ret = gst_convert_to_utf8 (str, len, encoding, consumed, &err); in convert_encoding()
376 ret = gst_convert_to_utf8 (str, len, "ISO-8859-15", consumed, NULL); in convert_encoding()
402 gsize consumed; in feed_textbuf() local
[all …]
/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/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)

12345678910>>...22