/third_party/node/test/fixtures/wpt/resources/webidl2/lib/ |
D | webidl2.js | 240 function consume(...candidates) { function 272 if (consume("unsigned")) ret = "unsigned "; 273 if (consume("short")) return ret + "short"; 274 if (consume("long")) { 276 if (consume("long")) return ret + " long"; 284 if (consume("unrestricted")) ret = "unrestricted "; 285 if (consume("float")) return ret + "float"; 286 if (consume("double")) return ret + "double"; 293 if (consume("boolean")) return "boolean"; 294 if (consume("byte")) return "byte"; [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cord_rep_consume_test.cc | 90 MockFunction<void(CordRep*, size_t, size_t)> consume; in TEST() local 91 EXPECT_CALL(consume, Call(flat[0], 0, 1)); in TEST() 92 EXPECT_CALL(consume, Call(flat[1], 2, 4)); in TEST() 93 EXPECT_CALL(consume, Call(flat[2], 0, 9)); in TEST() 94 EXPECT_CALL(consume, Call(flat[3], 0, 13)); in TEST() 95 EXPECT_CALL(consume, Call(flat[4], 5, 10)); in TEST() 96 EXPECT_CALL(consume, Call(flat[5], 0, 7)); in TEST() 97 Consume(tree, consume.AsStdFunction()); in TEST() 107 MockFunction<void(CordRep*, size_t, size_t)> consume; in TEST() local 108 EXPECT_CALL(consume, Call(flat[0], 0, 1)); in TEST() [all …]
|
/third_party/flatbuffers/kotlin/benchmark/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/benchmark/ |
D | JsonBenchmark.kt | 79 fun readTwitterFlexBuffers(hole: Blackhole? = null) = hole?.consume(readFlexBuffers(twitterData)) 81 fun readTwitterMoshi(hole: Blackhole?) = hole?.consume(readMoshi(twitterData)) 83 fun readTwitterGson(hole: Blackhole?) = hole?.consume(readGson(twitterData)) 86 …fun roundTripTwitterFlexBuffers(hole: Blackhole? = null) = hole?.consume(readFlexBuffers(twitterDa… 88 …fun roundTripTwitterMoshi(hole: Blackhole?) = hole?.consume(moshiAdapter.toJson(readMoshi(twitterD… 90 fun roundTripTwitterGson(hole: Blackhole?) = hole?.consume(gson.toJson(readGson(twitterData))) 94 fun readCITMFlexBuffers(hole: Blackhole? = null) = hole?.consume(readFlexBuffers(citmData)) 96 fun readCITMMoshi(hole: Blackhole?) = hole?.consume(moshiAdapter.toJson(readMoshi(citmData))) 98 fun readCITMGson(hole: Blackhole?) = hole?.consume(gson.toJson(readGson(citmData))) 101 …fun roundTripCITMFlexBuffers(hole: Blackhole? = null) = hole?.consume(readFlexBuffers(citmData).to… [all …]
|
D | FlexBuffersBenchmark.kt | 65 blackhole.consume(map.size) in mapKotlin() 66 blackhole.consume(map["hello"].toString()) in mapKotlin() 67 blackhole.consume(map["int"].toInt()) in mapKotlin() 68 blackhole.consume(map["float"].toDouble()) in mapKotlin() 69 blackhole.consume(map["intarray"].toIntArray()) in mapKotlin() 70 blackhole.consume(ref["myMap"]["cool"].toString()) in mapKotlin() 71 blackhole.consume(ref["invalid_key"].isNull) in mapKotlin() 93 blackhole.consume(map.size()) in mapJava() 94 blackhole.consume(map.get("hello").toString()) in mapJava() 95 blackhole.consume(map.get("int").asInt()) in mapJava() [all …]
|
D | UTF8Benchmark.kt | 54 blackhole.consume(i.encodeToByteArray()) in encodeUtf8KotlinStandard() 61 blackhole.consume(Utf8.encodeUtf8Array(i, byteArray, 0, byteArray.size)) in encodeUtf8KotlinFlatbuffers() 69 blackhole.consume(javaUtf8.encodeUtf8(i, byteBuffer)) in encodeUtf8JavaFlatbuffers() 76 blackhole.consume(ary.decodeToString()) in decodeUtf8KotlinStandard() 83 blackhole.consume(Utf8.decodeUtf8Array(ary, 0, ary.size)) in decodeUtf8KotlinFlatbuffers() 92 blackhole.consume(javaUtf8.decodeUtf8(byteBuffer, 0, ary.size)) in decodeUtf8JavaFlatbuffers() 101 blackhole.consume(i.encodeToByteArray()) in encodeAsciiKotlinStandard() 108 blackhole.consume(Utf8.encodeUtf8Array(i, byteArray, 0, byteArray.size)) in encodeAsciiKotlinFlatbuffers() 116 blackhole.consume(javaUtf8.encodeUtf8(i, byteBuffer)) in encodeAsciiJavaFlatbuffers() 125 blackhole.consume(ary.decodeToString()) in decodeAsciiKotlinStandard() [all …]
|
/third_party/boost/libs/asio/test/ |
D | read_until.cpp | 119 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 125 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 131 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 136 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 143 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 150 sb1.consume(sb1.size()); in test_dynamic_string_read_until_char() 156 sb2.consume(sb2.size()); in test_dynamic_string_read_until_char() 163 sb2.consume(sb2.size()); in test_dynamic_string_read_until_char() 170 sb2.consume(sb2.size()); in test_dynamic_string_read_until_char() 176 sb2.consume(sb2.size()); in test_dynamic_string_read_until_char() [all …]
|
D | read.cpp | 225 sb.consume(sb.size()); in test_2_arg_dynamic_string_read() 233 sb.consume(sb.size()); in test_2_arg_dynamic_string_read() 241 sb.consume(sb.size()); in test_2_arg_dynamic_string_read() 256 sb.consume(sb.size()); in test_2_arg_streambuf_read() 264 sb.consume(sb.size()); in test_2_arg_streambuf_read() 272 sb.consume(sb.size()); in test_2_arg_streambuf_read() 370 sb.consume(sb.size()); in test_3_arg_nothrow_dynamic_string_read() 380 sb.consume(sb.size()); in test_3_arg_nothrow_dynamic_string_read() 389 sb.consume(sb.size()); in test_3_arg_nothrow_dynamic_string_read() 405 sb.consume(sb.size()); in test_3_arg_nothrow_streambuf_read() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | RecordSerialization.h | 46 inline Error consume(BinaryStreamReader &Reader) { return Error::success(); } in consume() function 52 Error consume(BinaryStreamReader &Reader, APSInt &Num); 58 Error consume(BinaryStreamReader &Reader, uint32_t &Item); 59 Error consume(BinaryStreamReader &Reader, int32_t &Item); 62 Error consume(BinaryStreamReader &Reader, StringRef &Item); 64 Error consume(StringRef &Data, APSInt &Num); 65 Error consume(StringRef &Data, uint32_t &Item); 69 template <typename T> Error consume(BinaryStreamReader &Reader, T *&Item) { in consume() function 79 return consume(Reader, Item); in deserialize() 109 if (auto EC = consume(Reader, Field)) in deserialize() [all …]
|
/third_party/boost/tools/quickbook/test/unit/ |
D | values_test.cpp | 50 BOOST_TEST_EQ(c.consume(2).get_encoded(), "b"); in sort_test() 52 c.consume(5); in sort_test() 54 c.consume(8); in sort_test() 56 c.consume(10); in sort_test() 79 BOOST_TEST_EQ(l1.consume(10).get_encoded(), "b"); in multiple_list_test() 81 BOOST_TEST_EQ(l1.consume(5).get_encoded(), "a"); in multiple_list_test() 85 BOOST_TEST_EQ(l2.consume(5).get_encoded(), "a"); in multiple_list_test() 87 BOOST_TEST_EQ(l2.consume(3).get_encoded(), "c"); in multiple_list_test()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | RecordSerialization.cpp | 36 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume() function in llvm::codeview 104 Error llvm::codeview::consume(StringRef &Data, APSInt &Num) { in consume() function in llvm::codeview 108 auto EC = consume(SR, Num); in consume() 117 if (auto EC = consume(Reader, N)) in consume_numeric() 126 Error llvm::codeview::consume(BinaryStreamReader &Reader, uint32_t &Item) { in consume() function in llvm::codeview 130 Error llvm::codeview::consume(StringRef &Data, uint32_t &Item) { in consume() function in llvm::codeview 134 auto EC = consume(SR, Item); in consume() 139 Error llvm::codeview::consume(BinaryStreamReader &Reader, int32_t &Item) { in consume() function in llvm::codeview 143 Error llvm::codeview::consume(BinaryStreamReader &Reader, StringRef &Item) { in consume() function in llvm::codeview
|
/third_party/node/test/parallel/ |
D | test-stream-buffer-list.js | 58 assert.strictEqual(list.consume(6, true), 'foobar'); 59 assert.strictEqual(list.consume(6, true), 'foobar'); 66 assert.strictEqual(list.consume(5, true), 'fooba'); 75 assert.strictEqual(list.consume(6).toString(), 'foofoo'); 76 assert.strictEqual(list.consume(6).toString(), 'foofoo'); 83 assert.strictEqual(list.consume(5).toString(), 'foofo');
|
/third_party/typescript/tests/baselines/reference/ |
D | jsDeclarationsEnumTag.js | 28 export function consume(t,s,f) { function 54 exports.ff = exports.consume = exports.Fs = exports.Second = exports.Target = void 0; 80 function consume(t, s, f) { 91 exports.consume = consume; 111 export function consume(t: Target, s: Second, f: Fs): void;
|
/third_party/node/deps/npm/node_modules/stream-iterate/ |
D | index.js | 18 var consume = function (e) { function 33 tmp(err, data, consume) 64 if (err) return callback(err, null, consume) 65 if (data) return callback(null, data, consume) 66 if (ended) return callback(null, null, consume)
|
/third_party/boost/libs/beast/test/beast/core/ |
D | buffers_suffix.cpp | 67 cb.consume(1); in testSpecial() 99 cb.consume(n); in consumed_buffers() 135 cb.consume(0); in testMatrix() 139 cb.consume(x); in testMatrix() 142 cb.consume(y); in testMatrix() 145 cb.consume(z); in testMatrix() 148 cb.consume(1); in testMatrix()
|
D | static_buffer.cpp | 72 b2.consume(7); in testMembers() 79 b2.consume(7); in testMembers() 88 b.consume(3); in testMembers() 109 b.consume(2); in testMembers() 143 b.consume(3); in testMembers()
|
D | flat_static_buffer.cpp | 68 b2.consume(7); in testMembers() 75 b2.consume(7); in testMembers() 84 b.consume(3); in testMembers() 105 b.consume(2); in testMembers()
|
/third_party/boost/libs/config/test/ |
D | boost_no_cxx11_hdr_atomic.ipp | 24 void consume(std::memory_order) 29 consume(std::memory_order_relaxed); 30 consume(std::memory_order_consume); 31 consume(std::memory_order_acquire); 32 consume(std::memory_order_release); 33 consume(std::memory_order_acq_rel); 34 consume(std::memory_order_seq_cst);
|
/third_party/boost/boost/beast/http/impl/ |
D | serializer.hpp | 290 consume(std::size_t n) in consume() function in boost::beast::http::serializer 297 v_.template get<2>().consume(n); in consume() 310 v_.template get<1>().consume(n); in consume() 324 v_.template get<3>().consume(n); in consume() 339 v_.template get<4>().consume(n); in consume() 354 v_.template get<1>().consume(n); in consume() 371 v_.template get<5>().consume(n); in consume() 385 v_.template get<6>().consume(n); in consume() 397 v_.template get<7>().consume(n); in consume() 408 v_.template get<8>().consume(n); in consume()
|
/third_party/boost/libs/beast/include/boost/beast/http/impl/ |
D | serializer.hpp | 290 consume(std::size_t n) in consume() function in boost::beast::http::serializer 297 v_.template get<2>().consume(n); in consume() 310 v_.template get<1>().consume(n); in consume() 324 v_.template get<3>().consume(n); in consume() 339 v_.template get<4>().consume(n); in consume() 354 v_.template get<1>().consume(n); in consume() 371 v_.template get<5>().consume(n); in consume() 385 v_.template get<6>().consume(n); in consume() 397 v_.template get<7>().consume(n); in consume() 408 v_.template get<8>().consume(n); in consume()
|
/third_party/boost/tools/quickbook/src/ |
D | doc_info_actions.cpp | 84 p = c.consume(); in consume_list() 105 value p = c2.consume(); in consume_value_in_list() 118 values.push_back(c.consume()); in consume_multiple_values() 148 int major_verison = version_values.consume().get_int(); in get_version() 149 int minor_verison = version_values.consume().get_int(); in get_version() 185 values.consume(); in pre() 192 values.consume(doc_info_tags::type).get_quickbook().to_s(); in pre() 193 info.doc_title = values.consume(doc_info_tags::title); in pre() 453 author_values.consume(doc_info_tags::author_surname); in write_boostbook_header() 455 author_values.consume(doc_info_tags::author_first); in write_boostbook_header() [all …]
|
D | actions.cpp | 161 value v = values.consume(); in operator ()() 308 state.out << markup.pre << values.consume().get_encoded() in block_action() 328 state.phrase << markup.pre << values.consume().get_encoded() in phrase_action() 338 value role = values.consume(); in role_action() 339 value phrase = values.consume(); in role_action() 355 << "\"><para>" << values.consume().get_encoded() in footnote_action() 435 value content = values.consume(); in header_action() 525 value content = values.consume(); in operator ()() 540 bool positive = values.consume().get_quickbook().empty(); in start() 541 quickbook::string_view macro1 = values.consume().get_quickbook(); in start() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Disassembler/ |
D | X86Disassembler.cpp | 186 template <typename T> static bool consume(InternalInstruction *insn, T &ptr) { in consume() function 218 if (consume(insn, byte)) in readPrefixes() 250 if (consume(insn, nnextByte)) in readPrefixes() 324 if (consume(insn, byte1)) { in readPrefixes() 345 if (consume(insn, insn->vectorExtensionPrefix[2])) { in readPrefixes() 349 if (consume(insn, insn->vectorExtensionPrefix[3])) { in readPrefixes() 383 consume(insn, insn->vectorExtensionPrefix[1]); in readPrefixes() 384 consume(insn, insn->vectorExtensionPrefix[2]); in readPrefixes() 414 consume(insn, insn->vectorExtensionPrefix[1]); in readPrefixes() 446 consume(insn, insn->vectorExtensionPrefix[1]); in readPrefixes() [all …]
|
/third_party/grpc/src/python/grpcio/grpc/framework/foundation/ |
D | stream_util.py | 32 def consume(self, value): member in TransformingConsumer 33 self._downstream.consume(self._transformation(value)) 50 def consume(self, value): member in IterableConsumer 105 sink.consume(value) 123 def consume(self, value): member in ThreadSwitchingConsumer
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/ |
D | FDRRecordConsumer.h | 22 virtual Error consume(std::unique_ptr<Record> R) = 0; 35 Error consume(std::unique_ptr<Record> R) override; 48 Error consume(std::unique_ptr<Record> R) override;
|
/third_party/boost/libs/beast/test/doc/ |
D | websocket_4_messages.cpp | 70 buffer.consume(buffer.size()); in snippets() 112 cb.consume(512); in snippets() 127 buffer.consume(buffer.size()); in snippets()
|