/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/v8/tools/gyp/test/linux/ldflags-duplicates/ |
check-ldflags.py | 13 def CheckContainsFlags(args, substring): 14 if args.find(substring) is -1: 15 print 'ERROR: Linker arguments "%s" are missing in "%s"' % (substring, args)
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
CharStream.pm | 12 requires 'substring';
|
/external/autotest/client/site_tests/power_Consumption/ |
echo.html | 11 h.innerText = decodeURIComponent(document.location.search.substring(1));
|
/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,
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/cris/ |
march-err-2.s | 2 ; which is a proper 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/debug/dwarf/ |
dwarf_test.h | 38 #define DW_CHECK(substring) Check(substring, false, __FILE__, __LINE__) 39 #define DW_CHECK_NEXT(substring) Check(substring, true, __FILE__, __LINE__) 46 std::string substring; member in struct:art::dwarf::DwarfTest::ExpectedLine 123 const std::string& substring = expected_line.substring; local 126 "Expected '" << substring << "'.\n" << 129 if (actual_line->find(substring) == std::string::npos) { 131 "Expected '" << substring << "'.\n" < [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
Handler.java | 74 String entry1 = file1.substring(sep1 + 2); 75 String entry2 = file2.substring(sep2 + 2); 82 enclosedURL1 = new URL(file1.substring(0, sep1)); 83 enclosedURL2 = new URL(file2.substring(0, sep2)); 110 String fileWithoutEntry = file.substring(0, sep); 118 String entry = file.substring(sep + 2); 134 ref = spec.substring(refPos + 1, spec.length()); 145 absoluteSpec = spec.substring(0, 4).equalsIgnoreCase("jar:"); 147 spec = spec.substring(start, limit); 156 String toBangSlash = file.substring(0, bangSlash) [all...] |
/external/chromium-trace/catapult/third_party/vinn/vinn/ |
path_utils.js | 62 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);
|