Home
last modified time | relevance | path

Searched refs:try_emplace (Results 1 – 25 of 43) sorted by relevance

12

/external/libcxx/test/std/containers/associative/map/map.modifiers/
Dtry.emplace.pass.cpp72 r = m.try_emplace(i, std::move(mv1)); in main()
79 r = m.try_emplace(-1, std::move(mv1)); in main()
87 r = m.try_emplace(5, std::move(mv2)); in main()
95 r = m.try_emplace(117, std::move(mv2)); in main()
114 r = m.try_emplace(std::move(mvkey1), std::move(mv1)); in main()
122 r = m.try_emplace(std::move(mvkey2), std::move(mv1)); in main()
136 m.try_emplace ( i, Moveable(i, (double) i)); in main()
143 r = m.try_emplace(it, i, std::move(mv1)); in main()
150 r = m.try_emplace(it, 3, std::move(mv1)); in main()
168 r = m.try_emplace(it, std::move(mvkey1), std::move(mv1)); in main()
[all …]
Dinsert_or_assign.pass.cpp127 r = m.try_emplace(std::move(mvkey2), std::move(mv2)); in main()
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dtry.emplace.pass.cpp79 r = m.try_emplace(i, std::move(mv1)); in main()
86 r = m.try_emplace(-1, std::move(mv1)); in main()
94 r = m.try_emplace(5, std::move(mv2)); in main()
102 r = m.try_emplace(117, std::move(mv2)); in main()
121 r = m.try_emplace(std::move(mvkey1), std::move(mv1)); in main()
129 r = m.try_emplace(std::move(mvkey2), std::move(mv1)); in main()
143 m.try_emplace ( i, Moveable(i, (double) i)); in main()
150 r = m.try_emplace(it, i, std::move(mv1)); in main()
157 r = m.try_emplace(it, 3, std::move(mv1)); in main()
175 r = m.try_emplace(it, std::move(mvkey1), std::move(mv1)); in main()
[all …]
Dinsert_or_assign.pass.cpp133 r = m.try_emplace(std::move(mvkey2), std::move(mv2)); in main()
/external/v8/tools/clang/rewrite_to_chrome_style/
DEditTracker.cpp47 auto result = tracked_edits_.try_emplace(original_text); in Add()
51 result.first->getValue().filenames.try_emplace(filename); in Add()
/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_dimension_inference.h86 dynamic_mapping_.try_emplace(DynamicDimension{inst, index, dim}, size); in SetDynamicSize()
87 auto iter = per_hlo_dynamic_dimensions_.try_emplace(inst); in SetDynamicSize()
/external/libchrome/base/containers/
Dflat_map.h225 try_emplace(K&& key, Args&&... args);
229 try_emplace(const_iterator hint, K&& key, Args&&... args);
330 auto flat_map<Key, Mapped, Compare>::try_emplace(K&& key, Args&&... args)
341 auto flat_map<Key, Mapped, Compare>::try_emplace(const_iterator hint,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DJSON.h116 std::pair<iterator, bool> try_emplace(const ObjectKey &K, Ts &&... Args) { in try_emplace() function
117 return M.try_emplace(K, std::forward<Ts>(Args)...); in try_emplace()
120 std::pair<iterator, bool> try_emplace(ObjectKey &&K, Ts &&... Args) { in try_emplace() function
121 return M.try_emplace(std::move(K), std::forward<Ts>(Args)...); in try_emplace()
547 auto R = try_emplace(P.K, nullptr);
553 return try_emplace(std::move(E.K), std::move(E.V));
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DGISelWorkList.h40 if (WorklistMap.try_emplace(I, Worklist.size()).second) { in insert()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringMap.h338 ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; }
369 return try_emplace(KV.first, std::move(KV.second)); in insert()
377 std::pair<iterator, bool> try_emplace(StringRef Key, ArgsTy &&... Args) { in try_emplace() function
DDenseMap.h173 return try_emplace(KV.first, KV.second); in insert()
180 return try_emplace(std::move(KV.first), std::move(KV.second)); in insert()
187 std::pair<iterator, bool> try_emplace(KeyT &&Key, Ts &&... Args) { in try_emplace() function
204 std::pair<iterator, bool> try_emplace(const KeyT &Key, Ts &&... Args) { in try_emplace() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DDenseSet.h189 return TheMap.try_emplace(V, Empty); in insert()
194 return TheMap.try_emplace(std::move(V), Empty); in insert()
DStringMap.h356 ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; }
387 return try_emplace(KV.first, std::move(KV.second)); in insert()
395 std::pair<iterator, bool> try_emplace(StringRef Key, ArgsTy &&... Args) { in try_emplace() function
DDenseMap.h192 return try_emplace(KV.first, KV.second); in insert()
199 return try_emplace(std::move(KV.first), std::move(KV.second)); in insert()
206 std::pair<iterator, bool> try_emplace(KeyT &&Key, Ts &&... Args) { in try_emplace() function
225 std::pair<iterator, bool> try_emplace(const KeyT &Key, Ts &&... Args) { in try_emplace() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DGlobalTypeTableBuilder.h75 auto Result = HashedRecords.try_emplace(Hash, nextTypeIndex()); in insertRecordAs()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DDumpOutputStyle.h54 auto Iter = Individual.try_emplace(Kind, 1, RecordSize); in update()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIMachineFunctionInfo.h618 auto PSV = BufferPSVs.try_emplace( in getBufferPSV()
627 auto PSV = ImagePSVs.try_emplace( in getImagePSV()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DNamedStreamMap.cpp113 Result.try_emplace(Stream, Entry.second); in entries()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DMergingTypeTableBuilder.cpp101 auto Result = HashedRecords.try_emplace(WeakHash, nextTypeIndex()); in insertRecordAs()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DSymbolStringPool.h126 std::tie(I, Added) = Pool.try_emplace(S, 0); in intern()
/external/libcxx/include/
Dunordered_map134 pair<iterator, bool> try_emplace(const key_type& k, Args&&... args); // C++17
136 pair<iterator, bool> try_emplace(key_type&& k, Args&&... args); // C++17
138 iterator try_emplace(const_iterator hint, const key_type& k, Args&&... args); // C++17
140 iterator try_emplace(const_iterator hint, key_type&& k, Args&&... args); // C++17
1101 pair<iterator, bool> try_emplace(const key_type& __k, _Args&&... __args)
1110 pair<iterator, bool> try_emplace(key_type&& __k, _Args&&... __args)
1119 iterator try_emplace(const_iterator __h, const key_type& __k, _Args&&... __args)
1123 "unordered_map::try_emplace(const_iterator, key, args...) called with an iterator not"
1128 return try_emplace(__k, _VSTD::forward<_Args>(__args)...).first;
1133 iterator try_emplace(const_iterator __h, key_type&& __k, _Args&&... __args)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DJSON.cpp19 return try_emplace(K, nullptr).first->getSecond(); in operator []()
22 return try_emplace(std::move(K), nullptr).first->getSecond(); in operator []()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DDenseMapTest.cpp576 auto Try1 = Map.try_emplace(0, new int(1)); in TEST()
578 auto Try2 = Map.try_emplace(0, std::move(P)); in TEST()
/external/libchrome/base/
Dvalues.cc166 dict_.try_emplace(dict_.end(), it.first, in Value()
299 auto result = dict_.try_emplace(key, std::move(val_ptr)); in SetKey()
387 auto inserted = cur->dict_.try_emplace( in SetPath()
797 auto result = dict_.try_emplace(key, std::move(in_value)); in SetWithoutPathExpansion()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DBinaryHolder.cpp208 MemberCache.try_emplace(Key, std::move(OE)); in getObjectEntry()

12