Home
last modified time | relevance | path

Searched refs:InsertIfNotPresent (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/core/lib/gtl/
Dmap_util_test.cc51 TEST(MapUtil, InsertIfNotPresent) { in TEST() argument
55 EXPECT_TRUE(gtl::InsertIfNotPresent(&s, 0)); in TEST()
57 EXPECT_FALSE(gtl::InsertIfNotPresent(&s, 0)); in TEST()
Dmap_util.h124 bool InsertIfNotPresent(Collection* const collection, in InsertIfNotPresent() function
131 bool InsertIfNotPresent( in InsertIfNotPresent() function
135 return InsertIfNotPresent(collection, in InsertIfNotPresent()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder.cc235 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
243 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
252 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
262 if (gtl::InsertIfNotPresent(&signature_feed_nodes, in GrapplerItemFromMetaGraphDef()
283 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
289 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
295 if (gtl::InsertIfNotPresent( in GrapplerItemFromMetaGraphDef()
302 if (gtl::InsertIfNotPresent(&signature_fetch_nodes, in GrapplerItemFromMetaGraphDef()
Dmutable_graph_view.cc357 if (!gtl::InsertIfNotPresent(&fanins, input_node_name) && in AddAndDedupFanouts()
/external/protobuf/src/google/protobuf/stubs/
Dmap_util.h321 bool InsertIfNotPresent(Collection* const collection,
328 bool InsertIfNotPresent(
332 return InsertIfNotPresent(
340 GOOGLE_CHECK(InsertIfNotPresent(collection, value)) << "duplicate value: " << value;
347 GOOGLE_CHECK(InsertIfNotPresent(collection, value)) << "duplicate value.";
356 GOOGLE_CHECK(InsertIfNotPresent(collection, key, data))
366 GOOGLE_CHECK(InsertIfNotPresent(collection, key, data)) << "duplicate key.";
/external/protobuf/src/google/protobuf/
Dmessage.cc332 if (!InsertIfNotPresent(&file_map_, file, registration_func)) { in RegisterFile()
347 if (!InsertIfNotPresent(&type_map_, descriptor, prototype)) { in RegisterType()
Ddescriptor_database.cc56 if (!InsertIfNotPresent(&by_name_, file.name(), value)) { in AddFile()
156 if (!InsertIfNotPresent( in AddExtension()
Ddescriptor.cc890 InsertIfNotPresent(&unknown_enum_values_by_number_, in FindEnumValueByNumberCreatingIfUnknown()
915 if (InsertIfNotPresent(&symbols_by_name_, full_name.c_str(), symbol)) { in AddSymbol()
926 return InsertIfNotPresent(&symbols_by_parent_, by_parent_key, symbol); in AddAliasUnderParent()
930 if (InsertIfNotPresent(&files_by_name_, file->name().c_str(), file)) { in AddFile()
952 InsertIfNotPresent(&fields_by_lowercase_name_, lowercase_key, field); in AddFieldByStylizedNames()
955 InsertIfNotPresent(&fields_by_camelcase_name_, camelcase_key, field); in AddFieldByStylizedNames()
960 return InsertIfNotPresent(&fields_by_number_, key, field); in AddFieldByNumber()
966 return InsertIfNotPresent(&enum_values_by_number_, key, value); in AddEnumValueByNumber()
971 if (InsertIfNotPresent(&extensions_, key, field)) { in AddExtension()
Dextension_set.cc100 if (!InsertIfNotPresent(registry_, std::make_pair(containing_type, number), in Register()
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen_internal.cc518 gtl::InsertIfNotPresent(&inferred_attrs_, arg.type_attr(), arg.name()); in Code()
520 gtl::InsertIfNotPresent(&inferred_attrs_, arg.type_list_attr(), in Code()
524 gtl::InsertIfNotPresent(&inferred_attrs_, arg.number_attr(), arg.name()); in Code()
Dpython_op_gen.cc150 gtl::InsertIfNotPresent(&inferred_attrs_, attr, in AddAttrForArg()
/external/tensorflow/tensorflow/core/framework/
Dop.cc226 !gtl::InsertIfNotPresent(&registry_, op_reg_data->op_def.name(), in RegisterAlreadyLocked()
Dop_def_util.cc198 VALIDATE(gtl::InsertIfNotPresent(names, arg.name()), in ValidateArg()
266 VALIDATE(gtl::InsertIfNotPresent(&names, attr.name()), in ValidateOpDef()
Dnode_def_util.cc491 if (!gtl::InsertIfNotPresent(&op_attrs, attr.name(), &attr)) { in ValidateNodeDef()
/external/tensorflow/tensorflow/core/kernels/
Dload_and_remap_matrix_op.cc46 if (!gtl::InsertIfNotPresent(old_id_to_new_id, old_id, i)) { in RemapVectorToMap()
Drange_sampler.cc95 if (gtl::InsertIfNotPresent(&used, value)) { in SampleBatchGetExpectedCountAvoid()
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc476 gtl::InsertIfNotPresent(inferred_attrs, arg.type_attr(), arg.name()); in InferArgAttributes()
478 gtl::InsertIfNotPresent(inferred_attrs, arg.type_list_attr(), arg.name()); in InferArgAttributes()
481 gtl::InsertIfNotPresent(inferred_attrs, arg.number_attr(), arg.name()); in InferArgAttributes()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dattr_builder.cc117 gtl::InsertIfNotPresent(m.get(), attr.name(), t); in AttrTypeMapForOp()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfusion_utils.cc76 CHECK(gtl::InsertIfNotPresent(&names, node.name())) in GetNodeNamesSet()
/external/protobuf/src/google/protobuf/util/internal/
Ddefault_value_objectwriter.cc299 InsertIfNotPresent(&orig_children_map, children_[i]->name_, i); in PopulateChildren()
Dprotostream_objectwriter.cc405 return InsertIfNotPresent(&map_keys_, map_key.ToString()); in InsertMapKeyIfNotPresent()
Dproto_writer.cc406 InsertIfNotPresent(&oneof_indices_, index); in TakeOneofIndex()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_cost_analysis.cc698 if (!tensorflow::gtl::InsertIfNotPresent(&current_properties_, in HandleConditional()