/external/libtextclassifier/util/gtl/ |
H A D | map_util.h | 48 bool InsertIfNotPresent(Collection* const collection, function in namespace:libtextclassifier2 55 bool InsertIfNotPresent( function in namespace:libtextclassifier2 59 return InsertIfNotPresent(collection,
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
H A D | map_util_test.cc | 52 TEST(MapUtil, InsertIfNotPresent) { 56 EXPECT_TRUE(gtl::InsertIfNotPresent(&s, 0)); 58 EXPECT_FALSE(gtl::InsertIfNotPresent(&s, 0));
|
H A D | map_util.h | 124 bool InsertIfNotPresent(Collection* const collection, function in namespace:tensorflow::gtl 131 bool InsertIfNotPresent( function in namespace:tensorflow::gtl 135 return InsertIfNotPresent(collection,
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | map_util.h | 321 bool InsertIfNotPresent(Collection* const collection, function in namespace:google::protobuf 328 bool InsertIfNotPresent( function in namespace:google::protobuf 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/ |
H A D | descriptor_database.cc | 56 if (!InsertIfNotPresent(&by_name_, file.name(), value)) { 156 if (!InsertIfNotPresent(
|
H A D | message.cc | 332 if (!InsertIfNotPresent(&file_map_, file, registration_func)) { 347 if (!InsertIfNotPresent(&type_map_, descriptor, prototype)) {
|
H A D | descriptor.cc | 890 InsertIfNotPresent(&unknown_enum_values_by_number_, 915 if (InsertIfNotPresent(&symbols_by_name_, full_name.c_str(), symbol)) { 926 return InsertIfNotPresent(&symbols_by_parent_, by_parent_key, symbol); 930 if (InsertIfNotPresent(&files_by_name_, file->name().c_str(), file)) { 952 InsertIfNotPresent(&fields_by_lowercase_name_, lowercase_key, field); 955 InsertIfNotPresent(&fields_by_camelcase_name_, camelcase_key, field); 960 return InsertIfNotPresent(&fields_by_number_, key, field); 966 return InsertIfNotPresent(&enum_values_by_number_, key, value); 971 if (InsertIfNotPresent(&extensions_, key, field)) {
|
H A D | extension_set.cc | 100 if (!InsertIfNotPresent(registry_, std::make_pair(containing_type, number),
|
/external/tensorflow/tensorflow/core/framework/ |
H A D | op.cc | 197 !gtl::InsertIfNotPresent(®istry_, op_reg_data->op_def.name(),
|
H A D | op_def_util.cc | 185 VALIDATE(gtl::InsertIfNotPresent(names, arg.name()), 253 VALIDATE(gtl::InsertIfNotPresent(&names, attr.name()),
|
H A D | node_def_util.cc | 420 if (!gtl::InsertIfNotPresent(&op_attrs, attr.name(), &attr)) {
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | load_and_remap_matrix_op.cc | 46 if (!gtl::InsertIfNotPresent(old_id_to_new_id, old_id, i)) {
|
H A D | range_sampler.cc | 95 if (gtl::InsertIfNotPresent(&used, value)) {
|
/external/tensorflow/tensorflow/cc/framework/ |
H A D | cc_op_gen.cc | 448 gtl::InsertIfNotPresent(inferred_attrs, arg.type_attr(), arg.name()); 450 gtl::InsertIfNotPresent(inferred_attrs, arg.type_list_attr(), arg.name()); 453 gtl::InsertIfNotPresent(inferred_attrs, arg.number_attr(), arg.name());
|
/external/tensorflow/tensorflow/python/framework/ |
H A D | python_op_gen.cc | 491 gtl::InsertIfNotPresent(&inferred_attrs_, arg.type_attr(), arg.name()); 493 gtl::InsertIfNotPresent(&inferred_attrs_, arg.type_list_attr(), 497 gtl::InsertIfNotPresent(&inferred_attrs_, arg.number_attr(), arg.name());
|
/external/tensorflow/tensorflow/c/eager/ |
H A D | runtime.cc | 82 gtl::InsertIfNotPresent(m.get(), attr.name(), t);
|
/external/protobuf/src/google/protobuf/util/internal/ |
H A D | default_value_objectwriter.cc | 299 InsertIfNotPresent(&orig_children_map, children_[i]->name_, i);
|
H A D | proto_writer.cc | 406 InsertIfNotPresent(&oneof_indices_, index);
|
H A D | protostream_objectwriter.cc | 405 return InsertIfNotPresent(&map_keys_, map_key.ToString());
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
H A D | hlo_cost_analysis.cc | 526 if (!tensorflow::gtl::InsertIfNotPresent(¤t_properties_, property)) {
|
/external/tensorflow/tensorflow/python/eager/ |
H A D | python_eager_op_gen.cc | 156 gtl::InsertIfNotPresent(&inferred_attrs_, attr,
|