/external/tensorflow/tensorflow/core/lib/gtl/ |
D | map_util_test.cc | 51 TEST(MapUtil, InsertIfNotPresent) { in TEST() argument 55 EXPECT_TRUE(gtl::InsertIfNotPresent(&s, 0)); in TEST() 57 EXPECT_FALSE(gtl::InsertIfNotPresent(&s, 0)); in TEST()
|
D | map_util.h | 124 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/ |
D | grappler_item_builder.cc | 235 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()
|
D | mutable_graph_view.cc | 357 if (!gtl::InsertIfNotPresent(&fanins, input_node_name) && in AddAndDedupFanouts()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | map_util.h | 321 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/ |
D | message.cc | 332 if (!InsertIfNotPresent(&file_map_, file, registration_func)) { in RegisterFile() 347 if (!InsertIfNotPresent(&type_map_, descriptor, prototype)) { in RegisterType()
|
D | descriptor_database.cc | 56 if (!InsertIfNotPresent(&by_name_, file.name(), value)) { in AddFile() 156 if (!InsertIfNotPresent( in AddExtension()
|
D | descriptor.cc | 890 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()
|
D | extension_set.cc | 100 if (!InsertIfNotPresent(registry_, std::make_pair(containing_type, number), in Register()
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_op_gen_internal.cc | 518 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()
|
D | python_op_gen.cc | 150 gtl::InsertIfNotPresent(&inferred_attrs_, attr, in AddAttrForArg()
|
/external/tensorflow/tensorflow/core/framework/ |
D | op.cc | 226 !gtl::InsertIfNotPresent(®istry_, op_reg_data->op_def.name(), in RegisterAlreadyLocked()
|
D | op_def_util.cc | 198 VALIDATE(gtl::InsertIfNotPresent(names, arg.name()), in ValidateArg() 266 VALIDATE(gtl::InsertIfNotPresent(&names, attr.name()), in ValidateOpDef()
|
D | node_def_util.cc | 491 if (!gtl::InsertIfNotPresent(&op_attrs, attr.name(), &attr)) { in ValidateNodeDef()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | load_and_remap_matrix_op.cc | 46 if (!gtl::InsertIfNotPresent(old_id_to_new_id, old_id, i)) { in RemapVectorToMap()
|
D | range_sampler.cc | 95 if (gtl::InsertIfNotPresent(&used, value)) { in SampleBatchGetExpectedCountAvoid()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen.cc | 476 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/ |
D | attr_builder.cc | 117 gtl::InsertIfNotPresent(m.get(), attr.name(), t); in AttrTypeMapForOp()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | fusion_utils.cc | 76 CHECK(gtl::InsertIfNotPresent(&names, node.name())) in GetNodeNamesSet()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | default_value_objectwriter.cc | 299 InsertIfNotPresent(&orig_children_map, children_[i]->name_, i); in PopulateChildren()
|
D | protostream_objectwriter.cc | 405 return InsertIfNotPresent(&map_keys_, map_key.ToString()); in InsertMapKeyIfNotPresent()
|
D | proto_writer.cc | 406 InsertIfNotPresent(&oneof_indices_, index); in TakeOneofIndex()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_cost_analysis.cc | 698 if (!tensorflow::gtl::InsertIfNotPresent(¤t_properties_, in HandleConditional()
|