Home
last modified time | relevance | path

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

/external/chromium_org/third_party/re2/util/
Dsparse_array_test.cc89 TEST_F(SparseArrayStringTest, InsertIfNotPresent) { in TEST_F() argument
91 EXPECT_TRUE(InsertIfNotPresent(&str_map_, 3, "r")); in TEST_F()
93 EXPECT_FALSE(InsertIfNotPresent(&str_map_, 3, "other value")); in TEST_F()
/external/regex-re2/util/
Dsparse_array_test.cc89 TEST_F(SparseArrayStringTest, InsertIfNotPresent) { in TEST_F() argument
91 EXPECT_TRUE(InsertIfNotPresent(&str_map_, 3, "r")); in TEST_F()
93 EXPECT_FALSE(InsertIfNotPresent(&str_map_, 3, "other value")); in TEST_F()
/external/protobuf/src/google/protobuf/
Dmessage.cc241 if (!InsertIfNotPresent(&file_map_, file, registration_func)) { in RegisterFile()
256 if (!InsertIfNotPresent(&type_map_, descriptor, prototype)) { in RegisterType()
Ddescriptor_database.cc56 if (!InsertIfNotPresent(&by_name_, file.name(), value)) { in AddFile()
156 if (!InsertIfNotPresent(&by_extension_, in AddExtension()
Ddescriptor.cc639 if (InsertIfNotPresent(&symbols_by_name_, full_name.c_str(), symbol)) { in AddSymbol()
650 return InsertIfNotPresent(&symbols_by_parent_, by_parent_key, symbol); in AddAliasUnderParent()
654 if (InsertIfNotPresent(&files_by_name_, file->name().c_str(), file)) { in AddFile()
676 InsertIfNotPresent(&fields_by_lowercase_name_, lowercase_key, field); in AddFieldByStylizedNames()
679 InsertIfNotPresent(&fields_by_camelcase_name_, camelcase_key, field); in AddFieldByStylizedNames()
684 return InsertIfNotPresent(&fields_by_number_, key, field); in AddFieldByNumber()
690 return InsertIfNotPresent(&enum_values_by_number_, key, value); in AddEnumValueByNumber()
695 if (InsertIfNotPresent(&extensions_, key, field)) { in AddExtension()
Dextension_set.cc83 if (!InsertIfNotPresent(registry_, make_pair(containing_type, number), in Register()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dmessage.cc279 if (!InsertIfNotPresent(&file_map_, file, registration_func)) { in RegisterFile()
294 if (!InsertIfNotPresent(&type_map_, descriptor, prototype)) { in RegisterType()
Ddescriptor_database.cc56 if (!InsertIfNotPresent(&by_name_, file.name(), value)) { in AddFile()
156 if (!InsertIfNotPresent(&by_extension_, in AddExtension()
Ddescriptor.cc731 if (InsertIfNotPresent(&symbols_by_name_, full_name.c_str(), symbol)) { in AddSymbol()
742 return InsertIfNotPresent(&symbols_by_parent_, by_parent_key, symbol); in AddAliasUnderParent()
746 if (InsertIfNotPresent(&files_by_name_, file->name().c_str(), file)) { in AddFile()
768 InsertIfNotPresent(&fields_by_lowercase_name_, lowercase_key, field); in AddFieldByStylizedNames()
771 InsertIfNotPresent(&fields_by_camelcase_name_, camelcase_key, field); in AddFieldByStylizedNames()
776 return InsertIfNotPresent(&fields_by_number_, key, field); in AddFieldByNumber()
782 return InsertIfNotPresent(&enum_values_by_number_, key, value); in AddEnumValueByNumber()
787 if (InsertIfNotPresent(&extensions_, key, field)) { in AddExtension()
Dextension_set.cc83 if (!InsertIfNotPresent(registry_, make_pair(containing_type, number), in Register()
/external/protobuf/src/google/protobuf/stubs/
Dmap-util.h109 bool InsertIfNotPresent(Collection * const collection, in InsertIfNotPresent() function
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dmap-util.h133 bool InsertIfNotPresent(Collection * const collection, in InsertIfNotPresent() function
/external/ceres-solver/internal/ceres/
Dmap_util.h86 bool InsertIfNotPresent( in InsertIfNotPresent() function
Dschur_eliminator_impl.h136 if (InsertIfNotPresent( in Init()