/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | stringutil_test.cc | 40 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/ |
D | importer.cc | 282 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()
|
D | mock_code_generator.cc | 188 if (HasPrefixString(file->message_type(i)->name(), "MockCodeGenerator_")) { in Generate() 232 if (HasPrefixString(parameter, "insert=")) { in Generate()
|
D | command_line_interface.cc | 1823 } 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/ |
D | field_mask_utility.cc | 57 if (HasPrefixString(segment, "[\"")) { in AppendPathSegmentToPrefix()
|
D | json_stream_parser.cc | 919 HasPrefixString(data_view, kKeywordTrue)) { in GetNextTokenType() 923 HasPrefixString(data_view, kKeywordFalse)) { in GetNextTokenType() 927 HasPrefixString(data_view, kKeywordNull)) { in GetNextTokenType()
|
D | protostream_objectwriter.cc | 1060 if (HasPrefixString(value, "-")) { in RenderDuration()
|
/third_party/protobuf/src/google/protobuf/testing/ |
D | googletest.cc | 147 if (HasPrefixString(result, "\\")) { in GetTemporaryDirectoryName()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | stringutil.h | 43 bool HasPrefixString(const string& s, const string& prefix);
|
D | stringutil.cc | 52 bool HasPrefixString(const string& s, const string& prefix) { in HasPrefixString() function
|
D | phonenumbermatcher.cc | 160 return HasPrefixString(normalized_candidate.substr( in AllNumberGroupsRemainGrouped()
|
D | phonenumberutil.cc | 1555 if (HasPrefixString(normalized_national_number, national_prefix)) { in RawInputContainsNationalPrefix()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | strutil.h | 116 inline bool HasPrefixString(StringPiece str, StringPiece prefix) { in HasPrefixString() function 122 if (HasPrefixString(str, prefix)) { in StripPrefixString()
|
/third_party/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 1255 HasPrefixString(errors[0], in TEST_F() 1280 HasPrefixString(errors[0], in TEST_F() 1384 HasPrefixString(errors[0], in TEST_F()
|
D | lite_unittest.cc | 1083 EXPECT_TRUE(HasPrefixString(message1.DebugString(), "MessageLite at 0x")); in TEST() 1084 EXPECT_TRUE(HasPrefixString(message2.DebugString(), "MessageLite at 0x")); in TEST()
|
D | proto3_arena_unittest.cc | 221 if (HasPrefixString(f->name(), "singular")) { in TEST()
|
D | descriptor_database.cc | 190 (HasPrefixString(super_symbol, sub_symbol) && in IsSubSymbol()
|
D | extension_set_unittest.cc | 1199 if (HasPrefixString(*type_name, prefix)) { in TEST()
|
D | descriptor.cc | 3690 return HasPrefixString(file->package(), package_name) && in IsInPackage()
|
/third_party/protobuf/src/google/protobuf/compiler/php/ |
D | php_generator.cc | 1062 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/ |
D | python_generator.cc | 344 if (HasPrefixString(file->name(), "google/protobuf/")) { in Generate()
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_helpers.cc | 261 if (HasPrefixString(input, prefix)) { in SanitizeNameForObjC()
|
/third_party/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 1635 return HasPrefixString(file->name(), "google/protobuf/"); in IsWellKnownTypeFile()
|