HomeSort by relevance Sort by last modified time
    Searched refs:substr (Results 1 - 25 of 1471) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/strings/
strings_generic.go 12 // Index returns the index of the first instance of substr in s, or -1 if substr is not present in s.
13 func Index(s, substr string) int {
14 n := len(substr)
19 return IndexByte(s, substr[0])
21 if substr == s {
28 c := substr[0]
40 if s[i:i+n] == substr {
47 j := indexRabinKarp(s[i:], substr)
57 // Count counts the number of non-overlapping instances of substr in s
    [all...]
strings_amd64.go 26 // Index returns the index of the first instance of substr in s, or -1 if substr is not present in s.
27 func Index(s, substr string) int {
28 n := len(substr)
33 return IndexByte(s, substr[0])
35 if substr == s {
42 // Use brute force when s and substr both are small
44 return indexShortStr(s, substr)
46 c := substr[0]
60 if s[i:i+n] == substr {
    [all...]
strings_s390x.go 27 // Index returns the index of the first instance of substr in s, or -1 if substr is not present in s.
28 func Index(s, substr string) int {
29 n := len(substr)
34 return IndexByte(s, substr[0])
36 if substr == s {
43 // Use brute force when s and substr both are small
45 return indexShortStr(s, substr)
47 c := substr[0]
61 if s[i:i+n] == substr {
    [all...]
  /prebuilts/go/linux-x86/src/strings/
strings_generic.go 12 // Index returns the index of the first instance of substr in s, or -1 if substr is not present in s.
13 func Index(s, substr string) int {
14 n := len(substr)
19 return IndexByte(s, substr[0])
21 if substr == s {
28 c := substr[0]
40 if s[i:i+n] == substr {
47 j := indexRabinKarp(s[i:], substr)
57 // Count counts the number of non-overlapping instances of substr in s
    [all...]
strings_amd64.go 26 // Index returns the index of the first instance of substr in s, or -1 if substr is not present in s.
27 func Index(s, substr string) int {
28 n := len(substr)
33 return IndexByte(s, substr[0])
35 if substr == s {
42 // Use brute force when s and substr both are small
44 return indexShortStr(s, substr)
46 c := substr[0]
60 if s[i:i+n] == substr {
    [all...]
strings_s390x.go 27 // Index returns the index of the first instance of substr in s, or -1 if substr is not present in s.
28 func Index(s, substr string) int {
29 n := len(substr)
34 return IndexByte(s, substr[0])
36 if substr == s {
43 // Use brute force when s and substr both are small
45 return indexShortStr(s, substr)
47 c := substr[0]
61 if s[i:i+n] == substr {
    [all...]
  /external/curl/packages/NetWare/
get_ver.awk 30 copyright_string = substr($0, 28, length($0)-28)
32 version_string = substr($3, 2, length($3)-2)
  /external/syslinux/gpxe/src/util/
swapdevids.pl 18 $t = substr($$dataref, $loc1, 1);
19 substr($$dataref, $loc1, 1) = substr($$dataref, $loc2, 1);
20 substr($$dataref, $loc2, 1) = $t;
27 return (sprintf "%02x %02x %02x", unpack('C3', substr($$dataref, $loc, 3)));
37 substr($data, 0, 2) eq "\x55\xAA" or die "$file: Not a boot ROM image\n";
38 ($pci, $pnp) = unpack('v2', substr($data, 0x18, 4));
40 (substr($data, $pci, 4) eq 'PCIR' and substr($data, $pnp, 4) eq '$PnP')
makerom.pl 33 if (substr($$romref, 0, 2) ne "\x55\xaa");
34 my $size = ord(substr($$romref, 2, 1)) * 512;
50 return (0) if (substr($$romref, $pos, $len) ne ("\xFF" x $len));
51 substr($$romref, $pos, $len) = $s;
59 $pci_hdr_offset = unpack('v', substr($$romref, PCI_PTR_LOC, 2));
60 $pnp_hdr_offset = unpack('v', substr($$romref, PNP_PTR_LOC, 2));
66 or substr($$romref, $pci_hdr_offset, 4) ne 'PCIR'
67 or substr($$romref, $pnp_hdr_offset, 4) ne '$PnP') {
77 $pci_vendor_id = unpack('v', substr($$romref, $pci_hdr_offset+PCI_VEND_ID_OFF, 2));
78 $pci_device_id = unpack('v', substr($$romref, $pci_hdr_offset+PCI_DEV_ID_OFF, 2))
    [all...]
modrom.pl 33 if (substr($$romref, 0, 2) ne "\x55\xaa");
34 my $size = ord(substr($$romref, 2, 1)) * 512;
50 return (0) if (substr($$romref, $pos, $len) ne ("\xFF" x $len));
51 substr($$romref, $pos, $len) = $s;
59 $pci_hdr_offset = unpack('v', substr($$romref, PCI_PTR_LOC, 2));
60 $pnp_hdr_offset = unpack('v', substr($$romref, PNP_PTR_LOC, 2));
66 or substr($$romref, $pci_hdr_offset, 4) ne 'PCIR'
67 or substr($$romref, $pnp_hdr_offset, 4) ne '$PnP') {
77 $pci_vendor_id = unpack('v', substr($$romref, $pci_hdr_offset+PCI_VEND_ID_OFF, 2));
78 $pci_device_id = unpack('v', substr($$romref, $pci_hdr_offset+PCI_DEV_ID_OFF, 2))
    [all...]
catrom.pl 25 unless substr ( $romdata, 0, 2 ) eq "\x55\xAA";
27 ( my $checklen ) = unpack ( 'C', substr ( $romdata, 2, 1 ) );
32 ( my $pci ) = unpack ( 'v', substr ( $romdata, PCI_OFF, 2 ) );
36 unless substr ( $romdata, $pci, 4 ) eq "PCIR";
39 unpack ( 'C', substr ( $romdata, $pci + INDICATOR_OFF, 1 ) );
44 substr ( $romdata, $pci + INDICATOR_OFF, 1 ) = pack ( 'C', $indicator );
  /prebuilts/misc/common/swig/include/2.0.11/ruby/
std_string.i 6 AUTODOC(substr, "Return a portion of the String");
  /external/tensorflow/tensorflow/python/kernel_tests/
substr_op_test.py 15 """Tests for Substr op from string_ops."""
36 substr_op = string_ops.substr(test_string, position, length)
38 substr = substr_op.eval()
39 self.assertAllEqual(substr, expected_value)
47 substr_op = string_ops.substr(test_string, position, length)
49 substr = substr_op.eval()
50 self.assertAllEqual(substr, expected_value)
58 substr_op = string_ops.substr(test_string, position, length)
60 substr = substr_op.eval()
61 self.assertAllEqual(substr, expected_value
    [all...]
  /external/tcpdump/
stime.awk 18 printf "%7.2f\t%g\n", tim-tzero, substr($6,1,i-1)/1024
  /external/e2fsprogs/lib/ss/
ct_c.awk 17 subr = substr($0, 6, length($0)-5)
21 help = substr($0, 6, length($0)-5)
25 cmd = substr($0, 6, length($0)-5)
31 opt = substr($0, 6, length($0)-5)
56 error = substr($0, 8, length($0)-7)
  /external/google-breakpad/src/testing/gtest/include/gtest/
gtest-spi.h 101 const string& substr);
117 // statement will cause exactly one fatal Google Test failure with 'substr'
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
209 (substr));\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
    [all...]
  /external/googletest/googletest/include/gtest/
gtest-spi.h 100 TestPartResult::Type type, const std::string& substr);
116 // statement will cause exactly one fatal Google Test failure with 'substr'
137 #define EXPECT_FATAL_FAILURE(statement, substr) \
145 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
154 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
162 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
173 // statement will cause exactly one non-fatal Google Test failure with 'substr'
203 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
208 (substr));\
217 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/include/gtest/
gtest-spi.h 101 const string& substr);
117 // statement will cause exactly one fatal Google Test failure with 'substr'
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
209 (substr));\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
    [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/
gtest-spi.h 102 const string& substr);
118 // statement will cause exactly one fatal Google Test failure with 'substr'
139 #define EXPECT_FATAL_FAILURE(statement, substr) \
147 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
156 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
164 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
175 // statement will cause exactly one non-fatal Google Test failure with 'substr'
205 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
210 (substr));\
219 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
    [all...]
  /external/mesa3d/src/gtest/include/gtest/
gtest-spi.h 101 const string& substr);
117 // statement will cause exactly one fatal Google Test failure with 'substr'
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
209 (substr));\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
    [all...]
  /external/protobuf/gtest/include/gtest/
gtest-spi.h 101 const char* substr);
117 // statement will cause exactly one fatal Google Test failure with 'substr'
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
209 (substr));\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
    [all...]
  /external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/
gtest-spi.h 101 const string& substr);
117 // statement will cause exactly one fatal Google Test failure with 'substr'
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
209 (substr));\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
    [all...]
  /external/v8/testing/gtest/include/gtest/
gtest-spi.h 101 const string& substr);
117 // statement will cause exactly one fatal Google Test failure with 'substr'
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
209 (substr));\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/
gtest-spi.h 101 const string& substr);
117 // statement will cause exactly one fatal Google Test failure with 'substr'
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
209 (substr));\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
    [all...]
  /prebuilts/ndk/r16/sources/third_party/googletest/googletest/include/gtest/
gtest-spi.h 101 const string& substr);
117 // statement will cause exactly one fatal Google Test failure with 'substr'
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
209 (substr));\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
    [all...]

Completed in 801 milliseconds

1 2 3 4 5 6 7 8 91011>>