HomeSort by relevance Sort by last modified time
    Searched defs:HasPrefix (Results 1 - 17 of 17) sorted by null

  /prebuilts/go/darwin-x86/src/path/filepath/
path_plan9.go 11 return strings.HasPrefix(path, "/") || strings.HasPrefix(path, "#")
20 // HasPrefix exists for historical compatibility and should not be used.
22 // Deprecated: HasPrefix does not respect path boundaries and
24 func HasPrefix(p, prefix string) bool {
25 return strings.HasPrefix(p, prefix)
path_unix.go 13 return strings.HasPrefix(path, "/")
22 // HasPrefix exists for historical compatibility and should not be used.
24 // Deprecated: HasPrefix does not respect path boundaries and
26 func HasPrefix(p, prefix string) bool {
27 return strings.HasPrefix(p, prefix)
path_windows.go 67 // HasPrefix exists for historical compatibility and should not be used.
69 // Deprecated: HasPrefix does not respect path boundaries and
71 func HasPrefix(p, prefix string) bool {
72 if strings.HasPrefix(p, prefix) {
75 return strings.HasPrefix(strings.ToLower(p), strings.ToLower(prefix))
  /prebuilts/go/linux-x86/src/path/filepath/
path_plan9.go 11 return strings.HasPrefix(path, "/") || strings.HasPrefix(path, "#")
20 // HasPrefix exists for historical compatibility and should not be used.
22 // Deprecated: HasPrefix does not respect path boundaries and
24 func HasPrefix(p, prefix string) bool {
25 return strings.HasPrefix(p, prefix)
path_unix.go 13 return strings.HasPrefix(path, "/")
22 // HasPrefix exists for historical compatibility and should not be used.
24 // Deprecated: HasPrefix does not respect path boundaries and
26 func HasPrefix(p, prefix string) bool {
27 return strings.HasPrefix(p, prefix)
path_windows.go 67 // HasPrefix exists for historical compatibility and should not be used.
69 // Deprecated: HasPrefix does not respect path boundaries and
71 func HasPrefix(p, prefix string) bool {
72 if strings.HasPrefix(p, prefix) {
75 return strings.HasPrefix(strings.ToLower(p), strings.ToLower(prefix))
  /build/kati/
strutil.cc 155 bool HasPrefix(StringPiece str, StringPiece prefix) {
202 return (HasPrefix(str, pat_.substr(0, percent_index_)) &&
  /prebuilts/go/darwin-x86/src/bytes/
bytes.go 354 // HasPrefix tests whether the byte slice s begins with prefix.
355 func HasPrefix(s, prefix []byte) bool {
530 if HasPrefix(s, prefix) {
  /prebuilts/go/darwin-x86/src/strings/
strings.go 369 // HasPrefix tests whether the string s begins with prefix.
370 func HasPrefix(s, prefix string) bool {
669 if HasPrefix(s, prefix) {
  /prebuilts/go/linux-x86/src/bytes/
bytes.go 354 // HasPrefix tests whether the byte slice s begins with prefix.
355 func HasPrefix(s, prefix []byte) bool {
530 if HasPrefix(s, prefix) {
  /prebuilts/go/linux-x86/src/strings/
strings.go 369 // HasPrefix tests whether the string s begins with prefix.
370 func HasPrefix(s, prefix string) bool {
669 if HasPrefix(s, prefix) {
  /external/google-breakpad/src/testing/gtest/test/
gtest-printers_test.cc 538 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) {
564 EXPECT_TRUE(HasPrefix(Print(&Foo::value),
567 EXPECT_TRUE(HasPrefix(Print(p),
576 EXPECT_TRUE(HasPrefix(Print(&Foo::MyMethod),
579 HasPrefix(Print(&Foo::MyVirtualMethod),
582 EXPECT_TRUE(HasPrefix(Print(p),
    [all...]
  /external/googletest/googletest/test/
gtest-printers_test.cc 542 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) {
568 EXPECT_TRUE(HasPrefix(Print(&Foo::value),
571 EXPECT_TRUE(HasPrefix(Print(p),
580 EXPECT_TRUE(HasPrefix(Print(&Foo::MyMethod),
583 HasPrefix(Print(&Foo::MyVirtualMethod),
586 EXPECT_TRUE(HasPrefix(Print(p),
    [all...]
  /external/v8/testing/gtest/test/
gtest-printers_test.cc 542 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) {
568 EXPECT_TRUE(HasPrefix(Print(&Foo::value),
571 EXPECT_TRUE(HasPrefix(Print(p),
580 EXPECT_TRUE(HasPrefix(Print(&Foo::MyMethod),
583 HasPrefix(Print(&Foo::MyVirtualMethod),
586 EXPECT_TRUE(HasPrefix(Print(p),
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/test/
gtest-printers_test.cc 544 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) {
570 EXPECT_TRUE(HasPrefix(Print(&Foo::value),
573 EXPECT_TRUE(HasPrefix(Print(p),
582 EXPECT_TRUE(HasPrefix(Print(&Foo::MyMethod),
585 HasPrefix(Print(&Foo::MyVirtualMethod),
588 EXPECT_TRUE(HasPrefix(Print(p),
    [all...]
  /prebuilts/ndk/r11/sources/third_party/googletest/googletest/test/
gtest-printers_test.cc 544 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) {
570 EXPECT_TRUE(HasPrefix(Print(&Foo::value),
573 EXPECT_TRUE(HasPrefix(Print(p),
582 EXPECT_TRUE(HasPrefix(Print(&Foo::MyMethod),
585 HasPrefix(Print(&Foo::MyVirtualMethod),
588 EXPECT_TRUE(HasPrefix(Print(p),
    [all...]
  /prebuilts/ndk/r13/sources/third_party/googletest/googletest/test/
gtest-printers_test.cc 544 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) {
570 EXPECT_TRUE(HasPrefix(Print(&Foo::value),
573 EXPECT_TRUE(HasPrefix(Print(p),
582 EXPECT_TRUE(HasPrefix(Print(&Foo::MyMethod),
585 HasPrefix(Print(&Foo::MyVirtualMethod),
588 EXPECT_TRUE(HasPrefix(Print(p),
    [all...]

Completed in 209 milliseconds