HomeSort by relevance Sort by last modified time
    Searched full:substring (Results 1 - 25 of 4596) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libxml2/test/XPath/expr/
strings 16 substring("12345",2,3)
17 substring("12345",2)
18 substring("12345",-4)
19 substring("12345",3.4)
20 substring("12345",3.6)
21 substring("12345",1.5,2.6)
22 substring("12345",2.2,2.2)
23 substring("12345",0,3)
24 substring("12345",-8,10)
25 substring("12345",4,-10
    [all...]
  /external/hamcrest/library/src/org/hamcrest/text/
StringContains.java 9 * Tests if the argument is a string that contains a substring.
12 public StringContains(String substring) {
13 super(substring);
17 return s.indexOf(substring) >= 0;
25 public static Matcher<String> containsString(String substring) {
26 return new StringContains(substring);
StringEndsWith.java 9 * Tests if the argument is a string that contains a substring.
12 public StringEndsWith(String substring) {
13 super(substring);
17 return s.endsWith(substring);
25 public static Matcher<String> endsWith(String substring) {
26 return new StringEndsWith(substring);
StringStartsWith.java 9 * Tests if the argument is a string that contains a substring.
12 public StringStartsWith(String substring) {
13 super(substring);
17 return s.startsWith(substring);
25 public static Matcher<String> startsWith(String substring) {
26 return new StringStartsWith(substring);
SubstringMatcher.java 11 protected final String substring; field in class:SubstringMatcher
13 protected SubstringMatcher(final String substring) {
14 this.substring = substring;
25 .appendValue(substring);
  /external/junit/src/org/junit/internal/matchers/
SubstringMatcher.java 7 protected final String substring; field in class:SubstringMatcher
9 protected SubstringMatcher(final String substring) {
10 this.substring = substring;
22 .appendValue(substring);
StringContains.java 9 * Tests if the argument is a string that contains a substring.
12 public StringContains(String substring) {
13 super(substring);
18 return s.indexOf(substring) >= 0;
27 public static Matcher<String> containsString(String substring) {
28 return new StringContains(substring);
  /external/mockito/src/org/mockito/internal/matchers/
Contains.java 17 private final String substring; field in class:Contains
19 public Contains(String substring) {
20 this.substring = substring;
24 return actual != null && ((String) actual).contains(substring);
28 description.appendText("contains(\"" + substring + "\")");
  /cts/tests/tests/webkit/assets/webkit/
test_anchor.html 7 document.title = self.document.location.hash.substring(1);
  /external/easymock/src/org/easymock/internal/matchers/
Contains.java 26 private final String substring; field in class:Contains
28 public Contains(String substring) {
29 this.substring = substring;
34 && ((String) actual).indexOf(substring) >= 0;
38 buffer.append("contains(\"" + substring + "\")");
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
SearchUtil.java 42 * substring.
45 * @param substring The substring to search for.
46 * @return A MatchedLine object containing the matching line and the startIndex of the substring
49 public static MatchedLine findMatchingLine(String contents, String substring) {
53 // Locate the lines of the content that contain the substring.
54 final int index = SearchUtil.contains(contents, substring);
71 matched.line = contents.substring(start + 1, end);
83 * 2) Returns the starting index where the substring is found.
86 * @param substring The substring to look for
    [all...]
  /libcore/expectations/
icebox.txt 9 substring: "This implementation does not parse entity declarations"
15 substring: "This implementation doesn't resolve entity references in getWholeText"
21 substring: "This implementation doesn't include children in entity references"
27 substring: "This implementation doesn't expand entity references"
33 substring: "This implementation does not recognize element content whitespace"
39 substring: "This implementation does not parse notations"
53 substring: "This implementation doesn't parse the encoding from the XML declaration"
59 substring: "This implementation doesn't parse standalone from the XML declaration"
65 substring: "This implementation doesn't parse the version from the XML declaration"
71 substring: "This implementation's setParameter() supports an unexpected value: schema-type=http://www.w3.org (…)
    [all...]
  /external/v8/test/mjsunit/
string-slices.js 41 var s1 = s.substring(1);
50 assertEquals(s.substring(s.length - 1), s.substr(-1));
51 assertEquals(s.substring(s.length - 1), s.substr(-1.2));
52 assertEquals(s.substring(s.length - 1), s.substr(-1.7));
53 assertEquals(s.substring(s.length - 2), s.substr(-2));
54 assertEquals(s.substring(s.length - 2), s.substr(-2.3));
55 assertEquals(s.substring(s.length - 2, s.length - 1), s.substr(-2, 1));
76 var z = x.substring(i, i+j);
92 var z = x.substring(i, i + j);
101 // Keep creating strings to to force allocation failure on substring creation
    [all...]
substr.js 39 var s1 = s.substring(1);
48 assertEquals(s.substring(s.length - 1), s.substr(-1));
49 assertEquals(s.substring(s.length - 1), s.substr(-1.2));
50 assertEquals(s.substring(s.length - 1), s.substr(-1.7));
51 assertEquals(s.substring(s.length - 2), s.substr(-2));
52 assertEquals(s.substring(s.length - 2), s.substr(-2.3));
53 assertEquals(s.substring(s.length - 2, s.length - 1), s.substr(-2, 1));
74 var z = x.substring(i, i+j);
92 var z = x.substring(i, i + j);
102 // Keep creating strings to to force allocation failure on substring creation
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/
Fingerprints.js 8 window.open(document.URL.substring(0,idx)+"php?fp_type="+type, "_self");
16 var typeStr=document.URL.substring(idx+1, document.URL.length);
19 var ch=typeStr.substring(idx+1, idx+2)
  /external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
CharStream.pm 12 requires 'substring';
  /external/pcre/dist/doc/
pcre_get_named_substring.3 29 This is a convenience function for extracting a captured substring by name. The
36 \fIstringname\fP Name of the required substring
39 The memory in which the substring is placed is obtained by calling
42 needed. The yield of the function is the length of the extracted substring,
pcre_get_substring.3 26 This is a convenience function for extracting a captured substring. The
32 \fIstringnumber\fP Number of the required substring
35 The memory in which the substring is placed is obtained by calling
38 needed. The yield of the function is the length of the substring,
  /cts/tools/dasm/src/dasm/
Utils.java 50 return new Integer(str.substring(1));
53 return (Utils.stringToSmallestInteger(str.substring(2), 16));
108 result[0] = signature.substring(0, mpos);
109 result[1] = signature.substring(mpos + 1, sigpos);
110 result[2] = signature.substring(sigpos);
131 result[0] = name.substring(0, pos);
132 result[1] = name.substring(pos + 1);
147 result[0] = name.substring(0, sigpos);
148 result[1] = convertDotsToSlashes(name.substring(sigpos));
  /art/compiler/dwarf/
dwarf_test.h 37 #define DW_CHECK(substring) Check(substring, false, __FILE__, __LINE__)
38 #define DW_CHECK_NEXT(substring) Check(substring, true, __FILE__, __LINE__)
45 std::string substring; member in struct:art::dwarf::DwarfTest::ExpectedLine
133 const std::string& substring = expected_line.substring; local
136 "Expected '" << substring << "'.\n" <<
139 if (actual_line->find(substring) == std::string::npos) {
141 "Expected '" << substring << "'.\n" <
    [all...]
  /external/chromium-trace/trace-viewer/tracing/third_party/vinn/vinn/
path_utils.js 63 return a.substring(0, a.length - 1);
72 a = a.substring(2);
88 relTo = relTo.substring(0, relTo.length - 1);
91 var parts = relTo.substring(1).split('/');
98 suffix = a.substring(0, a.length - 1);
104 var rest = a.substring(relTo.length + 1);
  /external/lldb/www/cpp_reference/html/
dynsections.js 12 $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
17 $(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
31 var i = $('#img'+this.id.substring(3));
32 var a = $('#arr'+this.id.substring(3));
72 $(img).attr('src',src.substring(0,src.length-8)+'closed.png');
75 $(img).attr('src',src.substring(0,src.length-10)+'open.png');
  /external/libxml2/result/XPath/expr/
strings 63 Expression: substring("12345",2,3)
67 Expression: substring("12345",2)
71 Expression: substring("12345",-4)
75 Expression: substring("12345",3.4)
79 Expression: substring("12345",3.6)
83 Expression: substring("12345",1.5,2.6)
87 Expression: substring("12345",2.2,2.2)
91 Expression: substring("12345",0,3)
95 Expression: substring("12345",-8,10)
99 Expression: substring("12345",4,-10
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
OIDTokenizer.java 38 token = oid.substring(index);
43 token = oid.substring(index, end);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
RawResourceLoader.java 20 String resourceName = resourceFileName.substring("/raw".length());
32 fileBaseName = name.substring(0, dotIndex);

Completed in 649 milliseconds

1 2 3 4 5 6 7 8 91011>>