Searched refs:InsertIfNotPresent (Results 1 - 21 of 21) sorted by relevance

/external/libtextclassifier/util/gtl/
H A Dmap_util.h48 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 Dmap_util_test.cc52 TEST(MapUtil, InsertIfNotPresent) {
56 EXPECT_TRUE(gtl::InsertIfNotPresent(&s, 0));
58 EXPECT_FALSE(gtl::InsertIfNotPresent(&s, 0));
H A Dmap_util.h124 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 Dmap_util.h321 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 Ddescriptor_database.cc56 if (!InsertIfNotPresent(&by_name_, file.name(), value)) {
156 if (!InsertIfNotPresent(
H A Dmessage.cc332 if (!InsertIfNotPresent(&file_map_, file, registration_func)) {
347 if (!InsertIfNotPresent(&type_map_, descriptor, prototype)) {
H A Ddescriptor.cc890 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 Dextension_set.cc100 if (!InsertIfNotPresent(registry_, std::make_pair(containing_type, number),
/external/tensorflow/tensorflow/core/framework/
H A Dop.cc197 !gtl::InsertIfNotPresent(&registry_, op_reg_data->op_def.name(),
H A Dop_def_util.cc185 VALIDATE(gtl::InsertIfNotPresent(names, arg.name()),
253 VALIDATE(gtl::InsertIfNotPresent(&names, attr.name()),
H A Dnode_def_util.cc420 if (!gtl::InsertIfNotPresent(&op_attrs, attr.name(), &attr)) {
/external/tensorflow/tensorflow/core/kernels/
H A Dload_and_remap_matrix_op.cc46 if (!gtl::InsertIfNotPresent(old_id_to_new_id, old_id, i)) {
H A Drange_sampler.cc95 if (gtl::InsertIfNotPresent(&used, value)) {
/external/tensorflow/tensorflow/cc/framework/
H A Dcc_op_gen.cc448 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 Dpython_op_gen.cc491 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 Druntime.cc82 gtl::InsertIfNotPresent(m.get(), attr.name(), t);
/external/protobuf/src/google/protobuf/util/internal/
H A Ddefault_value_objectwriter.cc299 InsertIfNotPresent(&orig_children_map, children_[i]->name_, i);
H A Dproto_writer.cc406 InsertIfNotPresent(&oneof_indices_, index);
H A Dprotostream_objectwriter.cc405 return InsertIfNotPresent(&map_keys_, map_key.ToString());
/external/tensorflow/tensorflow/compiler/xla/service/
H A Dhlo_cost_analysis.cc526 if (!tensorflow::gtl::InsertIfNotPresent(&current_properties_, property)) {
/external/tensorflow/tensorflow/python/eager/
H A Dpython_eager_op_gen.cc156 gtl::InsertIfNotPresent(&inferred_attrs_, attr,

Completed in 502 milliseconds