Home
last modified time | relevance | path

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

/third_party/libphonenumber/cpp/test/phonenumbers/
Dstringutil_test.cc40 TEST(StringUtilTest, HasPrefixString) { in TEST() argument
41 EXPECT_TRUE(HasPrefixString("hello world", "hello")); in TEST()
42 EXPECT_FALSE(HasPrefixString("hello world", "hellO")); in TEST()
/third_party/protobuf/src/google/protobuf/compiler/
Dimporter.cc282 if (HasPrefixString(path, "\\\\")) { in CanonicalizePath()
314 return path == ".." || HasPrefixString(path, "../") || in ContainsParentReference()
344 if (HasPrefixString(filename, "/") || IsWindowsAbsolutePath(filename)) { in ApplyMapping()
352 } else if (HasPrefixString(filename, old_prefix)) { in ApplyMapping()
Dmock_code_generator.cc188 if (HasPrefixString(file->message_type(i)->name(), "MockCodeGenerator_")) { in Generate()
232 if (HasPrefixString(parameter, "insert=")) { in Generate()
Dcommand_line_interface.cc1823 } else if (HasPrefixString(name, "--") && HasSuffixString(name, "_opt")) { in InterpretArgument()
2057 GOOGLE_CHECK(HasPrefixString(output_directive.name, "--") && in GenerateOutput()
/third_party/protobuf/src/google/protobuf/util/internal/
Dfield_mask_utility.cc57 if (HasPrefixString(segment, "[\"")) { in AppendPathSegmentToPrefix()
Djson_stream_parser.cc919 HasPrefixString(data_view, kKeywordTrue)) { in GetNextTokenType()
923 HasPrefixString(data_view, kKeywordFalse)) { in GetNextTokenType()
927 HasPrefixString(data_view, kKeywordNull)) { in GetNextTokenType()
Dprotostream_objectwriter.cc1060 if (HasPrefixString(value, "-")) { in RenderDuration()
/third_party/protobuf/src/google/protobuf/testing/
Dgoogletest.cc147 if (HasPrefixString(result, "\\")) { in GetTemporaryDirectoryName()
/third_party/libphonenumber/cpp/src/phonenumbers/
Dstringutil.h43 bool HasPrefixString(const string& s, const string& prefix);
Dstringutil.cc52 bool HasPrefixString(const string& s, const string& prefix) { in HasPrefixString() function
Dphonenumbermatcher.cc160 return HasPrefixString(normalized_candidate.substr( in AllNumberGroupsRemainGrouped()
Dphonenumberutil.cc1555 if (HasPrefixString(normalized_national_number, national_prefix)) { in RawInputContainsNationalPrefix()
/third_party/protobuf/src/google/protobuf/stubs/
Dstrutil.h116 inline bool HasPrefixString(StringPiece str, StringPiece prefix) { in HasPrefixString() function
122 if (HasPrefixString(str, prefix)) { in StripPrefixString()
/third_party/protobuf/src/google/protobuf/
Dwire_format_unittest.cc1255 HasPrefixString(errors[0], in TEST_F()
1280 HasPrefixString(errors[0], in TEST_F()
1384 HasPrefixString(errors[0], in TEST_F()
Dlite_unittest.cc1083 EXPECT_TRUE(HasPrefixString(message1.DebugString(), "MessageLite at 0x")); in TEST()
1084 EXPECT_TRUE(HasPrefixString(message2.DebugString(), "MessageLite at 0x")); in TEST()
Dproto3_arena_unittest.cc221 if (HasPrefixString(f->name(), "singular")) { in TEST()
Ddescriptor_database.cc190 (HasPrefixString(super_symbol, sub_symbol) && in IsSubSymbol()
Dextension_set_unittest.cc1199 if (HasPrefixString(*type_name, prefix)) { in TEST()
Ddescriptor.cc3690 return HasPrefixString(file->package(), package_name) && in IsInPackage()
/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc1062 if (HasPrefixString(file->package(), prefix)) { in NeedsUnwrapping()
1847 if (HasPrefixString(option_pair[0], "aggregate_metadata")) { in GenerateAll()
/third_party/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc344 if (HasPrefixString(file->name(), "google/protobuf/")) { in Generate()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc261 if (HasPrefixString(input, prefix)) { in SanitizeNameForObjC()
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc1635 return HasPrefixString(file->name(), "google/protobuf/"); in IsWellKnownTypeFile()