Home
last modified time | relevance | path

Searched refs:insert_result (Results 1 – 25 of 42) sorted by relevance

12

/external/abseil-cpp/absl/container/
Dnode_hash_set_test.cc81 auto insert_result = set2.insert(std::move(node)); in TEST() local
83 EXPECT_FALSE(insert_result.inserted); in TEST()
84 EXPECT_TRUE(insert_result.node); in TEST()
85 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
86 EXPECT_EQ(**insert_result.position, 7); in TEST()
87 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
97 insert_result = set2.insert(std::move(node)); in TEST()
99 EXPECT_TRUE(insert_result.inserted); in TEST()
100 EXPECT_FALSE(insert_result.node); in TEST()
101 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dflat_hash_set_test.cc104 auto insert_result = set2.insert(std::move(node)); in TEST() local
106 EXPECT_FALSE(insert_result.inserted); in TEST()
107 EXPECT_TRUE(insert_result.node); in TEST()
108 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
109 EXPECT_EQ(**insert_result.position, 7); in TEST()
110 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
120 insert_result = set2.insert(std::move(node)); in TEST()
122 EXPECT_TRUE(insert_result.inserted); in TEST()
123 EXPECT_FALSE(insert_result.node); in TEST()
124 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dnode_hash_map_test.cc195 auto insert_result = set2.insert(std::move(node)); in TEST() local
197 EXPECT_FALSE(insert_result.inserted); in TEST()
198 EXPECT_TRUE(insert_result.node); in TEST()
199 EXPECT_EQ(insert_result.node.key().i, 7); in TEST()
200 EXPECT_EQ(insert_result.node.mapped(), -7); in TEST()
201 EXPECT_THAT(*insert_result.position, Elem(7, -70)); in TEST()
212 insert_result = set2.insert(std::move(node)); in TEST()
214 EXPECT_TRUE(insert_result.inserted); in TEST()
215 EXPECT_FALSE(insert_result.node); in TEST()
216 EXPECT_THAT(*insert_result.position, Elem(17, 23)); in TEST()
/external/openscreen/third_party/abseil/src/absl/container/
Dnode_hash_set_test.cc81 auto insert_result = set2.insert(std::move(node)); in TEST() local
83 EXPECT_FALSE(insert_result.inserted); in TEST()
84 EXPECT_TRUE(insert_result.node); in TEST()
85 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
86 EXPECT_EQ(**insert_result.position, 7); in TEST()
87 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
97 insert_result = set2.insert(std::move(node)); in TEST()
99 EXPECT_TRUE(insert_result.inserted); in TEST()
100 EXPECT_FALSE(insert_result.node); in TEST()
101 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dflat_hash_set_test.cc116 auto insert_result = set2.insert(std::move(node)); in TEST() local
118 EXPECT_FALSE(insert_result.inserted); in TEST()
119 EXPECT_TRUE(insert_result.node); in TEST()
120 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
121 EXPECT_EQ(**insert_result.position, 7); in TEST()
122 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
132 insert_result = set2.insert(std::move(node)); in TEST()
134 EXPECT_TRUE(insert_result.inserted); in TEST()
135 EXPECT_FALSE(insert_result.node); in TEST()
136 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dnode_hash_map_test.cc195 auto insert_result = set2.insert(std::move(node)); in TEST() local
197 EXPECT_FALSE(insert_result.inserted); in TEST()
198 EXPECT_TRUE(insert_result.node); in TEST()
199 EXPECT_EQ(insert_result.node.key().i, 7); in TEST()
200 EXPECT_EQ(insert_result.node.mapped(), -7); in TEST()
201 EXPECT_THAT(*insert_result.position, Elem(7, -70)); in TEST()
212 insert_result = set2.insert(std::move(node)); in TEST()
214 EXPECT_TRUE(insert_result.inserted); in TEST()
215 EXPECT_FALSE(insert_result.node); in TEST()
216 EXPECT_THAT(*insert_result.position, Elem(17, 23)); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/
Dnode_hash_set_test.cc81 auto insert_result = set2.insert(std::move(node)); in TEST() local
83 EXPECT_FALSE(insert_result.inserted); in TEST()
84 EXPECT_TRUE(insert_result.node); in TEST()
85 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
86 EXPECT_EQ(**insert_result.position, 7); in TEST()
87 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
97 insert_result = set2.insert(std::move(node)); in TEST()
99 EXPECT_TRUE(insert_result.inserted); in TEST()
100 EXPECT_FALSE(insert_result.node); in TEST()
101 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dflat_hash_set_test.cc116 auto insert_result = set2.insert(std::move(node)); in TEST() local
118 EXPECT_FALSE(insert_result.inserted); in TEST()
119 EXPECT_TRUE(insert_result.node); in TEST()
120 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
121 EXPECT_EQ(**insert_result.position, 7); in TEST()
122 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
132 insert_result = set2.insert(std::move(node)); in TEST()
134 EXPECT_TRUE(insert_result.inserted); in TEST()
135 EXPECT_FALSE(insert_result.node); in TEST()
136 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dnode_hash_map_test.cc195 auto insert_result = set2.insert(std::move(node)); in TEST() local
197 EXPECT_FALSE(insert_result.inserted); in TEST()
198 EXPECT_TRUE(insert_result.node); in TEST()
199 EXPECT_EQ(insert_result.node.key().i, 7); in TEST()
200 EXPECT_EQ(insert_result.node.mapped(), -7); in TEST()
201 EXPECT_THAT(*insert_result.position, Elem(7, -70)); in TEST()
212 insert_result = set2.insert(std::move(node)); in TEST()
214 EXPECT_TRUE(insert_result.inserted); in TEST()
215 EXPECT_FALSE(insert_result.node); in TEST()
216 EXPECT_THAT(*insert_result.position, Elem(17, 23)); in TEST()
/external/angle/third_party/abseil-cpp/absl/container/
Dnode_hash_set_test.cc81 auto insert_result = set2.insert(std::move(node)); in TEST() local
83 EXPECT_FALSE(insert_result.inserted); in TEST()
84 EXPECT_TRUE(insert_result.node); in TEST()
85 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
86 EXPECT_EQ(**insert_result.position, 7); in TEST()
87 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
97 insert_result = set2.insert(std::move(node)); in TEST()
99 EXPECT_TRUE(insert_result.inserted); in TEST()
100 EXPECT_FALSE(insert_result.node); in TEST()
101 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dflat_hash_set_test.cc116 auto insert_result = set2.insert(std::move(node)); in TEST() local
118 EXPECT_FALSE(insert_result.inserted); in TEST()
119 EXPECT_TRUE(insert_result.node); in TEST()
120 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
121 EXPECT_EQ(**insert_result.position, 7); in TEST()
122 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
132 insert_result = set2.insert(std::move(node)); in TEST()
134 EXPECT_TRUE(insert_result.inserted); in TEST()
135 EXPECT_FALSE(insert_result.node); in TEST()
136 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dnode_hash_map_test.cc195 auto insert_result = set2.insert(std::move(node)); in TEST() local
197 EXPECT_FALSE(insert_result.inserted); in TEST()
198 EXPECT_TRUE(insert_result.node); in TEST()
199 EXPECT_EQ(insert_result.node.key().i, 7); in TEST()
200 EXPECT_EQ(insert_result.node.mapped(), -7); in TEST()
201 EXPECT_THAT(*insert_result.position, Elem(7, -70)); in TEST()
212 insert_result = set2.insert(std::move(node)); in TEST()
214 EXPECT_TRUE(insert_result.inserted); in TEST()
215 EXPECT_FALSE(insert_result.node); in TEST()
216 EXPECT_THAT(*insert_result.position, Elem(17, 23)); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/container/
Dnode_hash_set_test.cc81 auto insert_result = set2.insert(std::move(node)); in TEST() local
83 EXPECT_FALSE(insert_result.inserted); in TEST()
84 EXPECT_TRUE(insert_result.node); in TEST()
85 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
86 EXPECT_EQ(**insert_result.position, 7); in TEST()
87 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
97 insert_result = set2.insert(std::move(node)); in TEST()
99 EXPECT_TRUE(insert_result.inserted); in TEST()
100 EXPECT_FALSE(insert_result.node); in TEST()
101 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dflat_hash_set_test.cc104 auto insert_result = set2.insert(std::move(node)); in TEST() local
106 EXPECT_FALSE(insert_result.inserted); in TEST()
107 EXPECT_TRUE(insert_result.node); in TEST()
108 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
109 EXPECT_EQ(**insert_result.position, 7); in TEST()
110 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
120 insert_result = set2.insert(std::move(node)); in TEST()
122 EXPECT_TRUE(insert_result.inserted); in TEST()
123 EXPECT_FALSE(insert_result.node); in TEST()
124 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dnode_hash_map_test.cc195 auto insert_result = set2.insert(std::move(node)); in TEST() local
197 EXPECT_FALSE(insert_result.inserted); in TEST()
198 EXPECT_TRUE(insert_result.node); in TEST()
199 EXPECT_EQ(insert_result.node.key().i, 7); in TEST()
200 EXPECT_EQ(insert_result.node.mapped(), -7); in TEST()
201 EXPECT_THAT(*insert_result.position, Elem(7, -70)); in TEST()
212 insert_result = set2.insert(std::move(node)); in TEST()
214 EXPECT_TRUE(insert_result.inserted); in TEST()
215 EXPECT_FALSE(insert_result.node); in TEST()
216 EXPECT_THAT(*insert_result.position, Elem(17, 23)); in TEST()
/external/libtextclassifier/abseil-cpp/absl/container/
Dnode_hash_set_test.cc81 auto insert_result = set2.insert(std::move(node)); in TEST() local
83 EXPECT_FALSE(insert_result.inserted); in TEST()
84 EXPECT_TRUE(insert_result.node); in TEST()
85 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
86 EXPECT_EQ(**insert_result.position, 7); in TEST()
87 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
97 insert_result = set2.insert(std::move(node)); in TEST()
99 EXPECT_TRUE(insert_result.inserted); in TEST()
100 EXPECT_FALSE(insert_result.node); in TEST()
101 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dflat_hash_set_test.cc116 auto insert_result = set2.insert(std::move(node)); in TEST() local
118 EXPECT_FALSE(insert_result.inserted); in TEST()
119 EXPECT_TRUE(insert_result.node); in TEST()
120 EXPECT_THAT(insert_result.node.value(), Pointee(7)); in TEST()
121 EXPECT_EQ(**insert_result.position, 7); in TEST()
122 EXPECT_NE(insert_result.position->get(), insert_result.node.value().get()); in TEST()
132 insert_result = set2.insert(std::move(node)); in TEST()
134 EXPECT_TRUE(insert_result.inserted); in TEST()
135 EXPECT_FALSE(insert_result.node); in TEST()
136 EXPECT_EQ(**insert_result.position, 23); in TEST()
Dnode_hash_map_test.cc195 auto insert_result = set2.insert(std::move(node)); in TEST() local
197 EXPECT_FALSE(insert_result.inserted); in TEST()
198 EXPECT_TRUE(insert_result.node); in TEST()
199 EXPECT_EQ(insert_result.node.key().i, 7); in TEST()
200 EXPECT_EQ(insert_result.node.mapped(), -7); in TEST()
201 EXPECT_THAT(*insert_result.position, Elem(7, -70)); in TEST()
212 insert_result = set2.insert(std::move(node)); in TEST()
214 EXPECT_TRUE(insert_result.inserted); in TEST()
215 EXPECT_FALSE(insert_result.node); in TEST()
216 EXPECT_THAT(*insert_result.position, Elem(17, 23)); in TEST()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_indirect_object_holder.cpp46 auto insert_result = m_IndirectObjs.insert(std::make_pair(objnum, nullptr)); in GetOrParseIndirectObject() local
47 if (!insert_result.second) in GetOrParseIndirectObject()
48 return FilterInvalidObjNum(insert_result.first->second.Get()); in GetOrParseIndirectObject()
52 m_IndirectObjs.erase(insert_result.first); in GetOrParseIndirectObject()
58 insert_result.first->second = std::move(pNewObj); in GetOrParseIndirectObject()
59 return insert_result.first->second.Get(); in GetOrParseIndirectObject()
/external/python/google-api-python-client/samples/coordinate/
Dcoordinate.py78 insert_result = service.jobs().insert(body='',
87 pprint.pprint(insert_result)
92 jobId=insert_result['id'],
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_layout_assignment.cc71 auto insert_result = in ShouldMakeOperandColumnMajor() local
73 CHECK(insert_result.second); in ShouldMakeOperandColumnMajor()
74 it = insert_result.first; in ShouldMakeOperandColumnMajor()
/external/bcc/tools/
Ddeadlock_detector.c197 struct thread_created_leaf_t *insert_result = in trace_clone() local
199 if (!insert_result) { in trace_clone()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dresource_operation_table.cc39 auto insert_result = in CreateResourceOpInfoMap() local
41 CHECK(insert_result.second); in CreateResourceOpInfoMap()
Dgraph_compiler_util.cc207 auto insert_result = indexed_arg_nodes.insert({index, n}); in CollectArgNodes() local
208 if (!insert_result.second) { in CollectArgNodes()
209 const Node* dup = insert_result.first->second; in CollectArgNodes()
/external/tensorflow/tensorflow/compiler/jit/
Ddeadness_analysis.cc848 auto insert_result = in SetPredicate() local
850 if (!insert_result.second && insert_result.first->second != pred) { in SetPredicate()
852 << insert_result.first->second->ToString() << " " in SetPredicate()
853 << insert_result.first->second << " to " << pred->ToString() in SetPredicate()
855 insert_result.first->second = pred; in SetPredicate()
1127 auto insert_result = frame_to_merge_node_.insert({frame_name, n}); in HandleMerge() local
1128 Node* representative = insert_result.first->second; in HandleMerge()
1507 auto insert_result = frame_to_pred.insert({frame_name, merge_pred}); in PopulateFrame() local
1508 if (!insert_result.second) { in PopulateFrame()
1512 Predicate* prev_andrec = insert_result.first->second; in PopulateFrame()

12