/external/webkit/V8Binding/v8/test/mjsunit/ |
D | string-indexof.js | 30 assertEquals(0, s.indexOf("t")); 31 assertEquals(3, s.indexOf("t", 1)); 32 assertEquals(5, s.indexOf("t", 4)); 33 assertEquals(1, s.indexOf("e")); 34 assertEquals(2, s.indexOf("s")); 36 assertEquals(5, s.indexOf("test", 4)); 37 assertEquals(5, s.indexOf("test", 5)); 38 assertEquals(10, s.indexOf("test", 6)); 39 assertEquals(0, s.indexOf("test", 0)); 40 assertEquals(0, s.indexOf("test", -1)); [all …]
|
D | debug-breakpoints.js | 70 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 76 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]") < 0); 84 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]b=2;") > 0); 90 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 91 assertTrue(Debug.showBreakPoints(g).indexOf("[B1]b=2;") > 0); 97 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 98 assertTrue(Debug.showBreakPoints(g).indexOf("[B1]b=2;") > 0); 99 assertTrue(Debug.showBreakPoints(g).indexOf("}[B2]") > 0); 105 assertTrue(Debug.showBreakPoints(g).indexOf("[B0]a=1;") > 0); 106 assertTrue(Debug.showBreakPoints(g).indexOf("}[B1]") > 0); [all …]
|
D | array-indexing.js | 35 assertEquals([].indexOf(1), -1); 36 assertEquals(array.indexOf(4), -1); 37 assertEquals(array.indexOf(3, array.length), -1); 39 assertEquals(array.indexOf(3), 2); 41 assertEquals(array.indexOf(1, -17), 0); 43 assertEquals(array.indexOf(1, -11), 3); 45 assertEquals(array.indexOf(1, 1), 3); 46 assertEquals(array.indexOf(1, 3), 3); 47 assertEquals(array.indexOf(1, 4), 6);
|
D | stack-traces.js | 112 assertTrue(e.stack.indexOf(expected[i]) != -1, 117 assertEquals(e.stack.indexOf(unexpected[i]), -1, 132 assertEquals(-1, e.stack.indexOf('at new ReferenceError'), 149 assertTrue(e.stack.indexOf('at new ReferenceError') != -1, 168 assertTrue(e.stack.indexOf('<error: ReferenceError') != -1, 180 assertTrue(e.stack.indexOf('<error>') != -1,
|
D | debug-compile-event.js | 73 if (current_source.indexOf('eval') == 0) { 76 assertTrue(current_source.indexOf(event_data.script().source()) >= 0); 77 } else if (current_source.indexOf('JSON.parse') == 0) { 83 assertTrue(current_source.indexOf(s) >= 0);
|
D | const-redecl.js | 33 var index = string.indexOf(':'); 36 assertTrue(string.indexOf("has already been declared") >= 0 || 37 string.indexOf("redeclaration") >= 0); 77 if (properties.indexOf(key) == -1) delete this[key];
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/String/ |
D | 15.5.4.6-2.js | 92 this.indexOf = String.prototype.indexOf; 104 …Of.length", 1, String.prototype.indexOf.length ); 106 …f.length", false, delete String.prototype.indexOf.length ); 125 TEST_STRING.indexOf( String.fromCharCode(u) ) ); 131 TEST_STRING.indexOf( String.fromCharCode(u), void 0 ) ); 138 … new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('h')", 0, foo.indexOf("h") ); 139 … new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('e')", 1, foo.indexOf("e") ); 140 … new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('l')", 2, foo.indexOf("l") ); 141 … new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('l')", 2, foo.indexOf("l") ); 142 … new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('o')", 4, foo.indexOf("o") ); [all …]
|
D | 15.5.4.6-1.js | 83 TEST_STRING.indexOf( String.fromCharCode(i), 0 ) ); 90 TEST_STRING.indexOf( String.fromCharCode(i), k ) ); 97 TEST_STRING.indexOf( String.fromCharCode(i), k+1 ) ); 106 TEST_STRING.indexOf( (String.fromCharCode(i)+ 118 TEST_STRING.indexOf( (String.fromCharCode(i)+ 129 TEST_STRING.indexOf( (String.fromCharCode(i)+ 135 …Case( SECTION, "String.indexOf(" +TEST_STRING + ", 0 )", 0, TEST_STRING.indexOf( TEST_STRING, 0 )… 136 …ase( SECTION, "String.indexOf(" +TEST_STRING + ", 1 )", -1, TEST_STRING.indexOf( TEST_STRING, 1 )…
|
/external/proguard/src/proguard/util/ |
D | ListUtil.java | 80 nextIndex = string.indexOf('\'', index + 1); in commaSeparatedList() 91 nextIndex = string.indexOf(',', index); in commaSeparatedList() 131 string.indexOf(' ') >= 0 || in quotedString() 132 string.indexOf('@') >= 0 || in quotedString() 133 string.indexOf('{') >= 0 || in quotedString() 134 string.indexOf('}') >= 0 || in quotedString() 135 string.indexOf('(') >= 0 || in quotedString() 136 string.indexOf(')') >= 0 || in quotedString() 137 string.indexOf(':') >= 0 || in quotedString() 138 string.indexOf(';') >= 0 || in quotedString() [all …]
|
/external/jdiff/src/jdiff/ |
D | RootDocToXML.java | 688 if (rct != null && rct.indexOf(excludeTag) != -1) { in shownElement() 818 rct.indexOf(Comments.placeHolderText) == -1 && in addDocumentation() 819 rct.indexOf("InsertOtherCommentsHere") == -1) { in addDocumentation() 832 if (checkForAts && firstSentence.indexOf("@") != -1 && in addDocumentation() 833 firstSentence.indexOf("@link") == -1) { in addDocumentation() 927 rct.indexOf(Comments.placeHolderText) == -1 && in addPkgDocumentation() 928 rct.indexOf("InsertOtherCommentsHere") == -1) { in addPkgDocumentation() 983 int ellipsis = text.indexOf(". . ."); // Handles one instance of this in endOfFirstSentence() 994 index = minIndex(index, text.indexOf("? ", fromindex)); in endOfFirstSentence() 995 index = minIndex(index, text.indexOf("?\t", fromindex)); in endOfFirstSentence() [all …]
|
D | HTMLReportGenerator.java | 464 if (className.indexOf('.') != -1) { in reportChangedClass() 511 if (className.indexOf('.') != -1) { in reportChangedClass() 1116 int idx = title.indexOf(' '); in writeTableStart() 1133 int idx = name.indexOf(".", 20); in makeTwoRows() 1214 if (className.indexOf('.') != -1) { in writeClassTableEntry() 1284 if (className.indexOf('.') != -1) { in writeCtorTableEntry() 1329 if (className.indexOf('.') != -1) { in writeCtorChangedTableEntry() 1355 if (className.indexOf('.') != -1) { in writeCtorChangedTableEntry() 1425 if (className.indexOf('.') != -1) { in writeMethodTableEntry() 1473 if (className.indexOf('.') != -1) { in writeMethodChangedTableEntry() [all …]
|
D | APIComparator.java | 65 int existsNew = newAPI.packages_.indexOf(oldPkg); in compareAPIs() 91 int existsOld = oldAPI.packages_.indexOf(newPkg); in compareAPIs() 172 int existsNew = newPkg.classes_.indexOf(oldClass); in comparePackages() 197 int existsOld = oldPkg.classes_.indexOf(newClass); in comparePackages() 291 if (modifiersChange.indexOf("Change from deprecated to undeprecated") != -1) { in compareClasses() 402 …if (modifiersChange != null && modifiersChange.indexOf("Change from deprecated to undeprecated") !… in compareAllCtors() 487 int startOld = oldClass.methods_.indexOf(oldMethod); in compareAllMethods() 489 int startNew = newClass.methods_.indexOf(oldMethod); in compareAllMethods() 538 int startOld = oldClass.methods_.indexOf(newMethod); in compareAllMethods() 540 int startNew = newClass.methods_.indexOf(newMethod); in compareAllMethods() [all …]
|
/external/proguard/src/proguard/obfuscate/ |
D | MappingReader.java | 113 int arrowIndex = line.indexOf("->"); in processClassMapping() 119 int colonIndex = line.indexOf(':', arrowIndex + 2); in processClassMapping() 148 int colonIndex1 = line.indexOf(':'); in processClassMemberMapping() 149 int colonIndex2 = colonIndex1 < 0 ? -1 : line.indexOf(':', colonIndex1 + 1); in processClassMemberMapping() 150 int spaceIndex = line.indexOf(' ', colonIndex2 + 2); in processClassMemberMapping() 151 int argumentIndex1 = line.indexOf('(', spaceIndex + 1); in processClassMemberMapping() 152 int argumentIndex2 = argumentIndex1 < 0 ? -1 : line.indexOf(')', argumentIndex1 + 1); in processClassMemberMapping() 153 …int arrowIndex = line.indexOf("->", Math.max(spaceIndex, argumentInd… in processClassMemberMapping()
|
/external/proguard/src/proguard/classfile/util/ |
D | ExternalTypeEnumeration.java | 64 index = descriptor.indexOf(ClassConstants.EXTERNAL_METHOD_ARGUMENTS_OPEN) + 1; in reset() 84 index = descriptor.indexOf(ClassConstants.EXTERNAL_METHOD_ARGUMENTS_SEPARATOR, in nextType() 90 index = descriptor.indexOf(ClassConstants.EXTERNAL_METHOD_ARGUMENTS_CLOSE, in nextType() 104 …return descriptor.substring(0, descriptor.indexOf(ClassConstants.EXTERNAL_METHOD_ARGUMENTS_OPEN)).… in methodName()
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_6/String/ |
D | regress-306591.js | 63 actual = String.indexOf(null, 'l'); 68 actual = String.indexOf(String(null), 'l'); 88 actual = String.indexOf(undefined, 'd'); 93 actual = String.indexOf(String(undefined), 'd');
|
/external/icu4c/common/ |
D | uvector.cpp | 192 if (indexOf(other.elements[i]) < 0) { in containsAll() 201 if (indexOf(other.elements[i]) >= 0) { in containsNone() 211 int32_t j = indexOf(other.elements[i]); in removeAll() 223 int32_t i = other.indexOf(elements[j]); in retainAll() 240 int32_t i = indexOf(obj); in removeElement() 285 int32_t UVector::indexOf(void* obj, int32_t startIndex) const { in indexOf() function in UVector 288 return indexOf(key, startIndex, HINT_KEY_POINTER); in indexOf() 291 int32_t UVector::indexOf(int32_t obj, int32_t startIndex) const { in indexOf() function in UVector 294 return indexOf(key, startIndex, HINT_KEY_INTEGER); in indexOf() 298 int32_t UVector::indexOf(UHashTok key, int32_t startIndex, int8_t hint) const { in indexOf() function in UVector
|
D | locutil.cpp | 63 int32_t end = result.indexOf(AT_SIGN_CHAR); in canonicalLocaleString() 64 int32_t n = result.indexOf(PERIOD_CHAR); in canonicalLocaleString() 71 n = result.indexOf(UNDERSCORE_CHAR); in canonicalLocaleString() 154 i = id.indexOf((UChar)0x40, prev); in initLocaleFromName() 257 return child.indexOf(root) == 0 && in isFallbackOf()
|
D | uvectr32.cpp | 108 if (indexOf(other.elements[i]) < 0) { in containsAll() 117 if (indexOf(other.elements[i]) >= 0) { in containsNone() 127 int32_t j = indexOf(other.elements[i]); in removeAll() 139 int32_t i = other.indexOf(elements[j]); in retainAll() 178 int32_t UVector32::indexOf(int32_t key, int32_t startIndex) const { in indexOf() function in UVector32
|
D | uvector.h | 166 int32_t indexOf(void* obj, int32_t startIndex = 0) const; 168 int32_t indexOf(int32_t obj, int32_t startIndex = 0) const; 261 int32_t indexOf(UHashTok key, int32_t startIndex = 0, int8_t hint = 0) const; 355 return indexOf(obj) >= 0; in contains() 359 return indexOf(obj) >= 0; in contains()
|
/external/icu4c/common/unicode/ |
D | unistr.h | 849 inline int32_t indexOf(const UnicodeString& text) const; 860 inline int32_t indexOf(const UnicodeString& text, 874 inline int32_t indexOf(const UnicodeString& text, 894 inline int32_t indexOf(const UnicodeString& srcText, 911 inline int32_t indexOf(const UChar *srcChars, 927 inline int32_t indexOf(const UChar *srcChars, 948 int32_t indexOf(const UChar *srcChars, 961 inline int32_t indexOf(UChar c) const; 971 inline int32_t indexOf(UChar32 c) const; 981 inline int32_t indexOf(UChar c, [all …]
|
/external/proguard/src/proguard/ |
D | FullyQualifiedClassNameChecker.java | 176 (string.indexOf('*') >= 0 || in containsWildCards() 177 string.indexOf('?') >= 0 || in containsWildCards() 178 string.indexOf(',') >= 0 || in containsWildCards() 179 string.indexOf("///") >= 0); in containsWildCards()
|
D | ConfigurationWriter.java | 481 int breakIndex = comments.indexOf('\n', index); in writeComments() 615 string.indexOf(' ') >= 0 || in quotedString() 616 string.indexOf('@') >= 0 || in quotedString() 617 string.indexOf('{') >= 0 || in quotedString() 618 string.indexOf('}') >= 0 || in quotedString() 619 string.indexOf('(') >= 0 || in quotedString() 620 string.indexOf(')') >= 0 || in quotedString() 621 string.indexOf(':') >= 0 || in quotedString() 622 string.indexOf(';') >= 0 || in quotedString() 623 string.indexOf(',') >= 0 ? ("'" + string + "'") : in quotedString()
|
/external/apache-http/src/org/apache/commons/codec/language/ |
D | Metaphone.java | 154 (this.frontv.indexOf(local.charAt(n + 1)) >= 0) ) { in metaphone() 162 (this.frontv.indexOf(local.charAt(n + 1)) >= 0)) { in metaphone() 186 (this.frontv.indexOf(local.charAt(n + 2)) >= 0)) { // DGE DGI DGY -> J in metaphone() 213 (this.frontv.indexOf(local.charAt(n + 1)) >= 0) && in metaphone() 225 (this.varson.indexOf(local.charAt(n - 1)) >= 0)) { in metaphone() 310 return (this.vowels.indexOf(string.charAt(index)) >= 0); in isVowel()
|
/external/icu4c/test/intltest/ |
D | regextst.cpp | 1517 if (flags.indexOf((UChar)0x69) >= 0) { // 'i' flag in regex_find() 1520 if (flags.indexOf((UChar)0x78) >= 0) { // 'x' flag in regex_find() 1523 if (flags.indexOf((UChar)0x73) >= 0) { // 's' flag in regex_find() 1526 if (flags.indexOf((UChar)0x6d) >= 0) { // 'm' flag in regex_find() 1530 if (flags.indexOf((UChar)0x65) >= 0) { // 'e' flag in regex_find() 1533 if (flags.indexOf((UChar)0x44) >= 0) { // 'D' flag in regex_find() 1543 if (flags.indexOf((UChar)0x76) >= 0 /*'v'*/ && status == U_UNSUPPORTED_ERROR) { in regex_find() 1547 if (flags.indexOf((UChar)0x45) >= 0) { // flags contain 'E' in regex_find() 1549 if (flags.indexOf((UChar)0x64) >= 0) { // flags contain 'd' in regex_find() 1560 if (flags.indexOf((UChar)0x64) >= 0) { // 'd' flag in regex_find() [all …]
|
/external/apache-http/src/org/apache/commons/codec/net/ |
D | RFC1522Codec.java | 106 int to = text.indexOf("?", from); in decodeText() 115 to = text.indexOf("?", from); in decodeText() 125 to = text.indexOf("?", from); in decodeText()
|