Home
last modified time | relevance | path

Searched refs:emplace_back (Results 1 – 25 of 3270) sorted by relevance

12345678910>>...131

/external/llvm-project/clang-tools-extra/unittests/clang-doc/
DMergeTest.cpp19 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
21 One.ChildNamespaces.emplace_back(NonEmptySID, "ChildNamespace", in TEST()
23 One.ChildRecords.emplace_back(NonEmptySID, "ChildStruct", in TEST()
25 One.ChildFunctions.emplace_back(); in TEST()
28 One.ChildEnums.emplace_back(); in TEST()
34 Two.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
36 Two.ChildNamespaces.emplace_back(EmptySID, "OtherChildNamespace", in TEST()
38 Two.ChildRecords.emplace_back(EmptySID, "OtherChildStruct", in TEST()
40 Two.ChildFunctions.emplace_back(); in TEST()
42 Two.ChildEnums.emplace_back(); in TEST()
[all …]
DBitcodeTest.cpp58 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
60 I.ChildNamespaces.emplace_back(EmptySID, "ChildNamespace", in TEST()
62 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record); in TEST()
63 I.ChildFunctions.emplace_back(); in TEST()
64 I.ChildEnums.emplace_back(); in TEST()
76 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
79 I.Loc.emplace_back(12, llvm::SmallString<16>{"test.cpp"}); in TEST()
81 I.Members.emplace_back("int", "X", AccessSpecifier::AS_private); in TEST()
84 I.Bases.emplace_back(EmptySID, "F", "path/to/F", true, in TEST()
86 I.Bases.back().ChildFunctions.emplace_back(); in TEST()
[all …]
DSerializeTest.cpp42 EmittedInfos.emplace_back(std::move(I.first)); in mapDecl()
44 EmittedInfos.emplace_back(std::move(I.second)); in mapDecl()
95 ExpectedB.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
104 F.Namespace.emplace_back(EmptySID, "B", InfoType::IT_namespace); in TEST()
105 F.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
107 ExpectedBWithFunction.ChildFunctions.emplace_back(std::move(F)); in TEST()
141 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
154 EConstructor.Namespace.emplace_back(EmptySID, "E", InfoType::IT_record); in TEST()
155 EConstructor.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
159 ExpectedRecordWithEConstructor.ChildFunctions.emplace_back( in TEST()
[all …]
DMDGeneratorTest.cpp27 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
29 I.ChildNamespaces.emplace_back(EmptySID, "ChildNamespace", in TEST()
31 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record); in TEST()
32 I.ChildFunctions.emplace_back(); in TEST()
35 I.ChildEnums.emplace_back(); in TEST()
83 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
86 I.Loc.emplace_back(12, llvm::SmallString<16>{"test.cpp"}); in TEST()
88 I.Members.emplace_back("int", "X", AccessSpecifier::AS_private); in TEST()
90 I.Parents.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST()
91 I.VirtualParents.emplace_back(EmptySID, "G", InfoType::IT_record); in TEST()
[all …]
DYAMLGeneratorTest.cpp29 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
31 I.ChildNamespaces.emplace_back(EmptySID, "ChildNamespace", in TEST()
33 I.ChildRecords.emplace_back(EmptySID, "ChildStruct", InfoType::IT_record, in TEST()
35 I.ChildFunctions.emplace_back(); in TEST()
38 I.ChildEnums.emplace_back(); in TEST()
79 I.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
82 I.Loc.emplace_back(12, llvm::SmallString<16>{"test.cpp"}); in TEST()
84 I.Members.emplace_back("int", "path/to/int", "X", in TEST()
87 I.Bases.emplace_back(EmptySID, "F", "path/to/F", true, in TEST()
89 I.Bases.back().ChildFunctions.emplace_back(); in TEST()
[all …]
DGeneratorTest.cpp49 ExpectedIdx.Children.emplace_back(std::move(IndexA)); in TEST()
54 IndexB.Children.emplace_back(std::move(IndexC)); in TEST()
55 ExpectedIdx.Children.emplace_back(std::move(IndexB)); in TEST()
62 IndexE.Children.emplace_back(std::move(IndexF)); in TEST()
63 IndexD.Children.emplace_back(std::move(IndexE)); in TEST()
64 ExpectedIdx.Children.emplace_back(std::move(IndexD)); in TEST()
68 ExpectedIdx.Children.emplace_back(std::move(IndexG)); in TEST()
75 Idx.Children.emplace_back("b"); in TEST()
76 Idx.Children.emplace_back("aA"); in TEST()
77 Idx.Children.emplace_back("aa"); in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dtypes_test.cpp53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \
122 types.emplace_back(new ForwardPointer(10000, SpvStorageClassInput));
123 types.emplace_back(new ForwardPointer(20000, SpvStorageClassInput));
126 types.emplace_back(new Void());
128 types.emplace_back(new Bool());
132 types.emplace_back(new Integer(32, true));
134 types.emplace_back(new Integer(32, false));
135 types.emplace_back(new Integer(64, true));
136 types.emplace_back(new Integer(64, false));
140 types.emplace_back(new Float(32));
[all …]
Dtype_manager_test.cpp69 types.emplace_back(new Void()); in GenerateAllTypes()
71 types.emplace_back(new Bool()); in GenerateAllTypes()
75 types.emplace_back(new Integer(32, true)); in GenerateAllTypes()
77 types.emplace_back(new Integer(32, false)); in GenerateAllTypes()
78 types.emplace_back(new Integer(64, true)); in GenerateAllTypes()
79 types.emplace_back(new Integer(64, false)); in GenerateAllTypes()
83 types.emplace_back(new Float(32)); in GenerateAllTypes()
85 types.emplace_back(new Float(64)); in GenerateAllTypes()
88 types.emplace_back(new Vector(s32, 2)); in GenerateAllTypes()
89 types.emplace_back(new Vector(s32, 3)); in GenerateAllTypes()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtypes_test.cpp53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \
122 types.emplace_back(new ForwardPointer(10000, SpvStorageClassInput));
123 types.emplace_back(new ForwardPointer(20000, SpvStorageClassInput));
126 types.emplace_back(new Void());
128 types.emplace_back(new Bool());
132 types.emplace_back(new Integer(32, true));
134 types.emplace_back(new Integer(32, false));
135 types.emplace_back(new Integer(64, true));
136 types.emplace_back(new Integer(64, false));
140 types.emplace_back(new Float(32));
[all …]
Dtype_manager_test.cpp69 types.emplace_back(new Void()); in GenerateAllTypes()
71 types.emplace_back(new Bool()); in GenerateAllTypes()
75 types.emplace_back(new Integer(32, true)); in GenerateAllTypes()
77 types.emplace_back(new Integer(32, false)); in GenerateAllTypes()
78 types.emplace_back(new Integer(64, true)); in GenerateAllTypes()
79 types.emplace_back(new Integer(64, false)); in GenerateAllTypes()
83 types.emplace_back(new Float(32)); in GenerateAllTypes()
85 types.emplace_back(new Float(64)); in GenerateAllTypes()
88 types.emplace_back(new Vector(s32, 2)); in GenerateAllTypes()
89 types.emplace_back(new Vector(s32, 3)); in GenerateAllTypes()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dtypes_test.cpp53 for (int i = 0; i < 10; ++i) types.emplace_back(new ty(__VA_ARGS__)); \
122 types.emplace_back(new ForwardPointer(10000, SpvStorageClassInput));
123 types.emplace_back(new ForwardPointer(20000, SpvStorageClassInput));
126 types.emplace_back(new Void());
128 types.emplace_back(new Bool());
132 types.emplace_back(new Integer(32, true));
134 types.emplace_back(new Integer(32, false));
135 types.emplace_back(new Integer(64, true));
136 types.emplace_back(new Integer(64, false));
140 types.emplace_back(new Float(32));
[all …]
Dtype_manager_test.cpp69 types.emplace_back(new Void()); in GenerateAllTypes()
71 types.emplace_back(new Bool()); in GenerateAllTypes()
75 types.emplace_back(new Integer(32, true)); in GenerateAllTypes()
77 types.emplace_back(new Integer(32, false)); in GenerateAllTypes()
78 types.emplace_back(new Integer(64, true)); in GenerateAllTypes()
79 types.emplace_back(new Integer(64, false)); in GenerateAllTypes()
83 types.emplace_back(new Float(32)); in GenerateAllTypes()
85 types.emplace_back(new Float(64)); in GenerateAllTypes()
88 types.emplace_back(new Vector(s32, 2)); in GenerateAllTypes()
89 types.emplace_back(new Vector(s32, 3)); in GenerateAllTypes()
[all …]
/external/libtextclassifier/native/utils/
Dbert_tokenizer_test.cc54 vocab.emplace_back("i"); in TEST()
55 vocab.emplace_back("'"); in TEST()
56 vocab.emplace_back("m"); in TEST()
57 vocab.emplace_back("question"); in TEST()
75 vocab.emplace_back("i"); in TEST()
76 vocab.emplace_back("'"); in TEST()
77 vocab.emplace_back("m"); in TEST()
78 vocab.emplace_back("question"); in TEST()
89 vocab.emplace_back("i"); in TEST()
90 vocab.emplace_back("'"); in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clang-doc/
DHTMLGenerator.cpp87 Children.emplace_back(std::make_unique<TextNode>(Text.str())); in TagNode()
275 LinkNode->Attributes.emplace_back("rel", "stylesheet"); in genStylesheetsHTML()
281 LinkNode->Attributes.emplace_back("href", std::string(StylesheetPath.str())); in genStylesheetsHTML()
282 Out.emplace_back(std::move(LinkNode)); in genStylesheetsHTML()
296 ScriptNode->Attributes.emplace_back("src", std::string(ScriptPath.str())); in genJsScriptsHTML()
297 Out.emplace_back(std::move(ScriptNode)); in genJsScriptsHTML()
304 LinkNode->Attributes.emplace_back("href", Link.str()); in genLink()
333 Out.emplace_back(std::make_unique<TextNode>(", ")); in genReferenceList()
334 Out.emplace_back(genReference(R, CurrentDirectory)); in genReferenceList()
352 Out.emplace_back(std::make_unique<TagNode>(HTMLTag::TAG_H2, "Enums")); in genEnumsBlock()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/external/
Daws_request_signer.cc123 canonical_request_vector.emplace_back(method_); in GetSignedRequestHeaders()
124 canonical_request_vector.emplace_back("\n"); in GetSignedRequestHeaders()
126 canonical_request_vector.emplace_back( in GetSignedRequestHeaders()
128 canonical_request_vector.emplace_back("\n"); in GetSignedRequestHeaders()
132 query_vector.emplace_back(absl::StrCat(query_kv.key, "=", query_kv.value)); in GetSignedRequestHeaders()
135 canonical_request_vector.emplace_back(query); in GetSignedRequestHeaders()
136 canonical_request_vector.emplace_back("\n"); in GetSignedRequestHeaders()
153 canonical_headers_vector.emplace_back(header.first); in GetSignedRequestHeaders()
154 canonical_headers_vector.emplace_back(":"); in GetSignedRequestHeaders()
155 canonical_headers_vector.emplace_back(header.second); in GetSignedRequestHeaders()
[all …]
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsig_node_test.cc149 link1.peers.emplace_back(&sn1); in TEST_F()
154 link2.peers.emplace_back(&sn2); in TEST_F()
159 link3.peers.emplace_back(&sn3); in TEST_F()
238 RefTopoHash(&sn1).emplace_back(123); in TEST_F()
239 RefTopoHash(&sn1).emplace_back(456); in TEST_F()
258 RefTopoHash(&sn1).emplace_back(123); in TEST_F()
259 RefTopoHash(&sn1).emplace_back(456); in TEST_F()
281 RefTopoHash(&sn1).emplace_back(123); in TEST_F()
282 RefTopoHash(&sn1).emplace_back(456); in TEST_F()
288 RefHashedPeers(&sn1).emplace_back(SigNode::HashedPeer(1, nullptr)); in TEST_F()
[all …]
/external/perfetto/src/base/
Dcircular_queue_unittest.cc30 queue.emplace_back(101); in TEST()
32 queue.emplace_back(102); in TEST()
33 queue.emplace_back(103); in TEST()
34 queue.emplace_back(104); in TEST()
65 queue.emplace_back(n); in TEST()
95 queue.emplace_back(static_cast<uint64_t>(rnd_engine())); in TEST()
106 queue.emplace_back(1); in TEST()
107 queue.emplace_back(2); in TEST()
114 moved.emplace_back(3); in TEST()
115 moved.emplace_back(4); in TEST()
[all …]
/external/libchrome/mojo/public/cpp/base/
Dvalues_unittest.cc88 storage.emplace_back("null", std::make_unique<base::Value>()); in TEST()
89 storage.emplace_back("bool", std::make_unique<base::Value>(false)); in TEST()
90 storage.emplace_back("int", std::make_unique<base::Value>(0)); in TEST()
91 storage.emplace_back("double", std::make_unique<base::Value>(0.0)); in TEST()
92 storage.emplace_back("string", std::make_unique<base::Value>("0")); in TEST()
93 storage.emplace_back( in TEST()
95 storage.emplace_back( in TEST()
97 storage.emplace_back( in TEST()
122 storage.emplace_back(); in TEST()
123 storage.emplace_back(false); in TEST()
[all …]
/external/llvm-project/libcxx/test/std/containers/sequences/vector/vector.modifiers/
Demplace_back.pass.cpp61 A& r1 = c.emplace_back(2, 3.5); in main()
67 A& r2 = c.emplace_back(3, 4.5); in main()
71 c.emplace_back(2, 3.5); in main()
76 c.emplace_back(3, 4.5); in main()
88 A& r1 = c.emplace_back(2, 3.5); in main()
94 A& r2 = c.emplace_back(3, 4.5); in main()
98 c.emplace_back(2, 3.5); in main()
103 c.emplace_back(3, 4.5); in main()
115 A& r1 = c.emplace_back(2, 3.5); in main()
121 A& r2 = c.emplace_back(3, 4.5); in main()
[all …]
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/
Demplace_back.pass.cpp62 A& r1 = c.emplace_back(2, 3.5); in main()
68 A& r2 = c.emplace_back(3, 4.5); in main()
72 c.emplace_back(2, 3.5); in main()
77 c.emplace_back(3, 4.5); in main()
89 A& r1 = c.emplace_back(2, 3.5); in main()
95 A& r2 = c.emplace_back(3, 4.5); in main()
99 c.emplace_back(2, 3.5); in main()
104 c.emplace_back(3, 4.5); in main()
116 A& r1 = c.emplace_back(2, 3.5); in main()
122 A& r2 = c.emplace_back(3, 4.5); in main()
[all …]
/external/image_io/src/jpeg/
Djpeg_segment_builder.cc51 byte_data_.emplace_back(ByteData::kHex, hex_string); in AddMarkerAndSize()
60 byte_data_.emplace_back(ByteData::kHex, hex_string); in AddMarkerAndSizePlaceholder()
95 byte_data_.emplace_back(ByteData::kAscii0, kXmpExtendedId); in AddExtendedXmpHeader()
96 byte_data_.emplace_back(ByteData::kAscii, guid_value); in AddExtendedXmpHeader()
97 byte_data_.emplace_back(ByteData::kAscii, string(8, '0')); in AddExtendedXmpHeader()
101 byte_data_.emplace_back(ByteData::kAscii, kXmpMetaPrefix); in AddXmpMetaPrefix()
105 byte_data_.emplace_back(ByteData::kAscii, kXmpMetaSuffix); in AddXmpMetaSuffix()
109 byte_data_.emplace_back(ByteData::kAscii, kRdfPrefix); in AddRdfPrefix()
113 byte_data_.emplace_back(ByteData::kAscii, kRdfSuffix); in AddRdfSuffix()
117 byte_data_.emplace_back(ByteData::kAscii, kRdfDescriptionPrefix); in AddRdfDescriptionPrefix()
[all …]
/external/deqp-deps/amber/src/
Ddebug.cc42 sequence_.emplace_back([=](Events* events) { in BreakOnComputeGlobalInvocation()
50 sequence_.emplace_back( in BreakOnVertexIndex()
58 sequence_.emplace_back([=](Events* events) { in BreakOnFragmentWindowSpacePosition()
78 sequence_.emplace_back([](Thread* t) { t->StepOver(); }); in StepOver()
82 sequence_.emplace_back([](Thread* t) { t->StepIn(); }); in StepIn()
86 sequence_.emplace_back([](Thread* t) { t->StepOut(); }); in StepOut()
90 sequence_.emplace_back([](Thread* t) { t->Continue(); }); in Continue()
95 sequence_.emplace_back( in ExpectLocation()
100 sequence_.emplace_back([=](Thread* t) { t->ExpectCallstack(callstack); }); in ExpectCallstack()
104 sequence_.emplace_back([=](Thread* t) { t->ExpectLocal(name, value); }); in ExpectLocal()
[all …]
/external/libcxx/test/std/containers/sequences/vector.bool/
Demplace_back.pass.cpp29 Ref r1 = c.emplace_back(); in main()
35 Ref r2 = c.emplace_back(true); in main()
43 c.emplace_back(); in main()
46 c.emplace_back(true); in main()
51 c.emplace_back(true); in main()
63 Ref r1 = c.emplace_back(); in main()
69 Ref r2 = c.emplace_back(true); in main()
77 c.emplace_back(); in main()
80 c.emplace_back(true); in main()
85 c.emplace_back(true); in main()
/external/llvm-project/libcxx/test/std/containers/sequences/vector.bool/
Demplace_back.pass.cpp28 Ref r1 = c.emplace_back(); in main()
34 Ref r2 = c.emplace_back(true); in main()
42 c.emplace_back(); in main()
45 c.emplace_back(true); in main()
50 c.emplace_back(true); in main()
62 Ref r1 = c.emplace_back(); in main()
68 Ref r2 = c.emplace_back(true); in main()
76 c.emplace_back(); in main()
79 c.emplace_back(true); in main()
84 c.emplace_back(true); in main()
/external/openscreen/discovery/dnssd/impl/
Dquerier_impl_unittest.cc464 after_changes.emplace_back(Error::Code::kItemNotFound); in TEST_F()
465 after_changes.emplace_back(Error::Code::kItemNotFound); in TEST_F()
466 after_changes.emplace_back(Error::Code::kItemAlreadyExists); in TEST_F()
486 before_changes.emplace_back(Error::Code::kItemNotFound); in TEST_F()
487 before_changes.emplace_back(Error::Code::kItemNotFound); in TEST_F()
488 before_changes.emplace_back(Error::Code::kItemAlreadyExists); in TEST_F()
508 before_changes.emplace_back(Error::Code::kItemNotFound); in TEST_F()
509 before_changes.emplace_back(Error::Code::kItemNotFound); in TEST_F()
510 before_changes.emplace_back(Error::Code::kItemAlreadyExists); in TEST_F()
512 after_changes.emplace_back(Error::Code::kItemNotFound); in TEST_F()
[all …]

12345678910>>...131