Home
last modified time | relevance | path

Searched refs:StartsWith (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm/lib/Support/
DTriple.cpp244 .StartsWith("armv", Triple::arm) in parseArch()
246 .StartsWith("thumbv", Triple::thumb) in parseArch()
279 .StartsWith("auroraux", Triple::AuroraUX) in parseOS()
280 .StartsWith("cygwin", Triple::Cygwin) in parseOS()
281 .StartsWith("darwin", Triple::Darwin) in parseOS()
282 .StartsWith("dragonfly", Triple::DragonFly) in parseOS()
283 .StartsWith("freebsd", Triple::FreeBSD) in parseOS()
284 .StartsWith("ios", Triple::IOS) in parseOS()
285 .StartsWith("kfreebsd", Triple::KFreeBSD) in parseOS()
286 .StartsWith("linux", Triple::Linux) in parseOS()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_flags.cc51 static bool StartsWith(const char *flag, int flag_length, const char *value) { in StartsWith() function
64 if (StartsWith(value, value_length, "0") || in ParseFlag()
65 StartsWith(value, value_length, "no") || in ParseFlag()
66 StartsWith(value, value_length, "false")) in ParseFlag()
68 if (StartsWith(value, value_length, "1") || in ParseFlag()
69 StartsWith(value, value_length, "yes") || in ParseFlag()
70 StartsWith(value, value_length, "true")) in ParseFlag()
/external/easymock/src/org/easymock/internal/matchers/
DStartsWith.java22 public class StartsWith implements IArgumentMatcher, Serializable { class
28 public StartsWith(String prefix) { in StartsWith() method in StartsWith
/external/chromium/base/
Dstring_util_unittest.cc800 TEST(StringUtilTest, StartsWith) { in TEST() argument
812 EXPECT_TRUE(StartsWith(L"javascript:url", L"javascript", true)); in TEST()
813 EXPECT_FALSE(StartsWith(L"JavaScript:url", L"javascript", true)); in TEST()
814 EXPECT_TRUE(StartsWith(L"javascript:url", L"javascript", false)); in TEST()
815 EXPECT_TRUE(StartsWith(L"JavaScript:url", L"javascript", false)); in TEST()
816 EXPECT_FALSE(StartsWith(L"java", L"javascript", true)); in TEST()
817 EXPECT_FALSE(StartsWith(L"java", L"javascript", false)); in TEST()
818 EXPECT_FALSE(StartsWith(L"", L"javascript", false)); in TEST()
819 EXPECT_FALSE(StartsWith(L"", L"javascript", true)); in TEST()
820 EXPECT_TRUE(StartsWith(L"java", L"", false)); in TEST()
[all …]
Dstring_util.h359 BASE_API bool StartsWith(const std::wstring& str,
362 BASE_API bool StartsWith(const string16& str,
Dfile_path.cc78 if (!StartsWith(a_letter, b_letter, false)) in EqualDriveLetterCaseInsensitive()
269 if (!StartsWith(*parent_comp, *child_comp, false)) in AppendRelativePath()
Dfile_util.cc260 if (!StartsWith(abs_child.value(), abs_parent.value(), false)) in ContainsPath()
Dstring_util.cc583 bool StartsWith(const std::wstring& str, const std::wstring& search, in StartsWith() function
589 bool StartsWith(const string16& str, const string16& search, in StartsWith() function
/external/chromium/chrome/browser/task_manager/
Dtask_manager_browsertest.cc139 ASSERT_TRUE(StartsWith(model()->GetResourceTitle(2), prefix, true)); in IN_PROC_BROWSER_TEST_F()
261 ASSERT_TRUE(StartsWith(model()->GetResourceTitle(2), prefix, true)); in IN_PROC_BROWSER_TEST_F()
268 ASSERT_TRUE(StartsWith(model()->GetResourceTitle(3), prefix, true)); in IN_PROC_BROWSER_TEST_F()
301 ASSERT_TRUE(StartsWith(model()->GetResourceTitle(2), prefix, true)); in IN_PROC_BROWSER_TEST_F()
/external/clang/lib/Basic/
DSourceManager.cpp156 .StartsWith("\xFE\xFF", "UTF-16 (BE)") in getBuffer()
157 .StartsWith("\xFF\xFE", "UTF-16 (LE)") in getBuffer()
158 .StartsWith("\x00\x00\xFE\xFF", "UTF-32 (BE)") in getBuffer()
159 .StartsWith("\xFF\xFE\x00\x00", "UTF-32 (LE)") in getBuffer()
160 .StartsWith("\x2B\x2F\x76", "UTF-7") in getBuffer()
161 .StartsWith("\xF7\x64\x4C", "UTF-1") in getBuffer()
162 .StartsWith("\xDD\x73\x66\x73", "UTF-EBCDIC") in getBuffer()
163 .StartsWith("\x0E\xFE\xFF", "SDSU") in getBuffer()
164 .StartsWith("\xFB\xEE\x28", "BOCU-1") in getBuffer()
165 .StartsWith("\x84\x31\x95\x33", "GB-18030") in getBuffer()
/external/chromium/net/ftp/
Dftp_directory_listing_parser_netware.cc42 if (!lines.empty() && !StartsWith(lines[0], ASCIIToUTF16("total "), true)) in ParseFtpDirectoryListingNetware()
Dftp_directory_listing_parser_vms.cc194 if (StartsWith(lines[i], ASCIIToUTF16("Total of "), true)) { in ParseFtpDirectoryListingVms()
/external/chromium/chrome/browser/autocomplete/
Dbuiltin_provider.cc36 if (StartsWith(*i, input.text(), false)) { in Start()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringExtensions.cs117 return str.StartsWith( value ); in startsWith()
/external/chromium/testing/gmock/test/
Dgmock-matchers_test.cc113 using testing::StartsWith;
986 StartsWith("which is located @")); in TEST()
990 StartsWith("which is located @")); in TEST()
1287 const Matcher<const char*> m1 = StartsWith(string("")); in TEST()
1292 const Matcher<const string&> m2 = StartsWith("Hi"); in TEST()
1301 Matcher<const std::string> m = StartsWith("Hi"); in TEST()
1521 const Matcher<const wchar_t*> m1 = StartsWith(::std::wstring(L"")); in TEST()
1526 const Matcher<const ::std::wstring&> m2 = StartsWith(L"Hi"); in TEST()
1535 Matcher<const ::std::wstring> m = StartsWith(L"Hi"); in TEST()
1712 const Matcher<const wchar_t*> m1 = StartsWith(::wstring(L"")); in TEST()
[all …]
Dgmock_link_test.h169 using testing::StartsWith;
566 ON_CALL(mock, VoidFromString(StartsWith("a"))).WillByDefault(Return()); in TEST()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DStringExtensions.cs121 return str.StartsWith( value ); in startsWith()
/external/chromium/chrome/browser/
Dmedia_uitest.cc53 StartsWith(title, kError, true)) in PlayMedia()
Denumerate_modules_model_win.cc605 if (StartsWith(location, prefix, false)) { in CollapsePath()
649 if (StartsWith(module->location, L"%temp%", false) || in MatchAgainstBlacklist()
650 StartsWith(module->location, L"%tmp%", false)) { in MatchAgainstBlacklist()
/external/chromium/chrome/browser/autofill/
Daddress_field.cc309 if (StartsWith(name, bill_to_postal_code_field, false)) { in ParseZipCode()
311 } else if (StartsWith(name, bill_to_postal_code_field, false)) { in ParseZipCode()
Dphone_number.cc211 StartsWith(number_, text, true)) || in IsNumber()
Dform_field.cc359 if (StartsWith(utf16_name, ecom, true)) { in CheckECML()
/external/llvm/include/llvm/ADT/
DStringSwitch.h75 StringSwitch& StartsWith(const char (&S)[N], const T &Value) { in StartsWith() function
/external/llvm/lib/Object/
DCOFFObjectFile.cpp217 .StartsWith(".debug", 'N') in getSymbolNMTypeChar()
218 .StartsWith(".sxdata", 'N') in getSymbolNMTypeChar()
/external/chromium/chrome/browser/prerender/
Dprerender_browsertest.cc635 ASSERT_TRUE(StartsWith(model()->GetResourceTitle(1), prefix, true)); in IN_PROC_BROWSER_TEST_F()

12