/external/guava/guava-tests/test/com/google/common/primitives/ |
CharsTest.java | 110 assertEquals(-1, Chars.indexOf(EMPTY, (char) 1)); 111 assertEquals(-1, Chars.indexOf(ARRAY1, (char) 2)); 112 assertEquals(-1, Chars.indexOf(ARRAY234, (char) 1)); 113 assertEquals(0, Chars.indexOf( 115 assertEquals(0, Chars.indexOf(ARRAY234, (char) 2)); 116 assertEquals(1, Chars.indexOf(ARRAY234, (char) 3)); 117 assertEquals(2, Chars.indexOf(ARRAY234, (char) 4)); 118 assertEquals(1, Chars.indexOf( 124 assertEquals(0, Chars.indexOf(EMPTY, EMPTY)); 125 assertEquals(0, Chars.indexOf(ARRAY234, EMPTY)) [all...] |
IntsTest.java | 111 assertEquals(-1, Ints.indexOf(EMPTY, (int) 1)); 112 assertEquals(-1, Ints.indexOf(ARRAY1, (int) 2)); 113 assertEquals(-1, Ints.indexOf(ARRAY234, (int) 1)); 114 assertEquals(0, Ints.indexOf( 116 assertEquals(0, Ints.indexOf(ARRAY234, (int) 2)); 117 assertEquals(1, Ints.indexOf(ARRAY234, (int) 3)); 118 assertEquals(2, Ints.indexOf(ARRAY234, (int) 4)); 119 assertEquals(1, Ints.indexOf( 125 assertEquals(0, Ints.indexOf(EMPTY, EMPTY)); 126 assertEquals(0, Ints.indexOf(ARRAY234, EMPTY)) [all...] |
LongsTest.java | 83 assertEquals(-1, Longs.indexOf(EMPTY, (long) 1)); 84 assertEquals(-1, Longs.indexOf(ARRAY1, (long) 2)); 85 assertEquals(-1, Longs.indexOf(ARRAY234, (long) 1)); 86 assertEquals(0, Longs.indexOf( 88 assertEquals(0, Longs.indexOf(ARRAY234, (long) 2)); 89 assertEquals(1, Longs.indexOf(ARRAY234, (long) 3)); 90 assertEquals(2, Longs.indexOf(ARRAY234, (long) 4)); 91 assertEquals(1, Longs.indexOf( 97 assertEquals(0, Longs.indexOf(EMPTY, EMPTY)); 98 assertEquals(0, Longs.indexOf(ARRAY234, EMPTY)) [all...] |
ShortsTest.java | 119 assertEquals(-1, Shorts.indexOf(EMPTY, (short) 1)); 120 assertEquals(-1, Shorts.indexOf(ARRAY1, (short) 2)); 121 assertEquals(-1, Shorts.indexOf(ARRAY234, (short) 1)); 122 assertEquals(0, Shorts.indexOf( 124 assertEquals(0, Shorts.indexOf(ARRAY234, (short) 2)); 125 assertEquals(1, Shorts.indexOf(ARRAY234, (short) 3)); 126 assertEquals(2, Shorts.indexOf(ARRAY234, (short) 4)); 127 assertEquals(1, Shorts.indexOf( 133 assertEquals(0, Shorts.indexOf(EMPTY, EMPTY)); 134 assertEquals(0, Shorts.indexOf(ARRAY234, EMPTY)) [all...] |
BooleansTest.java | 72 assertEquals(-1, Booleans.indexOf(EMPTY, false)); 73 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE, true)); 74 assertEquals(-1, Booleans.indexOf(ARRAY_FALSE_FALSE, true)); 75 assertEquals(0, Booleans.indexOf(ARRAY_FALSE, false)); 76 assertEquals(0, Booleans.indexOf(ARRAY_FALSE_TRUE, false)); 77 assertEquals(1, Booleans.indexOf(ARRAY_FALSE_TRUE, true)); 78 assertEquals(2, Booleans.indexOf(new boolean[] {false, false, true}, true));
|
/build/tools/droiddoc/templates-pdk/assets/ |
android-developer-docs.js | 30 if ((agent.indexOf("mobile") != -1) || // android, iphone, ipod 31 (agent.indexOf("blackberry") != -1) || 32 (agent.indexOf("webos") != -1) || 33 (agent.indexOf("mini") != -1)) { // opera mini browsers 37 } else if (agent.indexOf("msie 6") != -1) { 106 var index = document.cookie.indexOf(myCookie); 109 var valEnd = document.cookie.indexOf(";", valStart); 140 if (location.href.indexOf("/reference/") != -1) { 142 } else if (location.href.indexOf("/guide/") != -1) { 144 } else if (location.href.indexOf("/sdk/") != -1) [all...] |
/external/ant-glob/src/org/apache/tools/ant/taskdefs/condition/ |
Os.java | 261 boolean isWindows = OS_NAME.indexOf(FAMILY_WINDOWS) > -1; 266 is9x = (OS_NAME.indexOf("95") >= 0 267 || OS_NAME.indexOf("98") >= 0 268 || OS_NAME.indexOf("me") >= 0 271 || OS_NAME.indexOf("ce") >= 0); 281 isFamily = OS_NAME.indexOf(FAMILY_OS2) > -1; 283 isFamily = OS_NAME.indexOf(FAMILY_NETWARE) > -1; 287 isFamily = OS_NAME.indexOf(FAMILY_MAC) > -1 288 || OS_NAME.indexOf(DARWIN) > -1; 290 isFamily = OS_NAME.indexOf("nonstop_kernel") > -1 [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
AllocationProfile.js | 55 var functionIdOffset = functionInfoFields.indexOf("function_id"); 56 var functionNameOffset = functionInfoFields.indexOf("name"); 57 var scriptNameOffset = functionInfoFields.indexOf("script_name"); 58 var scriptIdOffset = functionInfoFields.indexOf("script_id"); 59 var lineOffset = functionInfoFields.indexOf("line"); 60 var columnOffset = functionInfoFields.indexOf("column"); 86 var nodeIdOffset = traceNodeFields.indexOf("id"); 87 var functionIdOffset = traceNodeFields.indexOf("function_id"); 88 var allocationCountOffset = traceNodeFields.indexOf("count"); 89 var allocationSizeOffset = traceNodeFields.indexOf("size") [all...] |
HeapSnapshotLoader.js | 128 var snapshotTokenIndex = this._json.indexOf(snapshotToken); 147 var nodesTokenIndex = this._json.indexOf(nodesToken); 150 var bracketIndex = this._json.indexOf("[", nodesTokenIndex); 173 var edgesTokenIndex = this._json.indexOf(edgesToken); 176 var bracketIndex = this._json.indexOf("[", edgesTokenIndex); 202 var tracesTokenIndex = this._json.indexOf(tracesToken); 205 var bracketIndex = this._json.indexOf("[", tracesTokenIndex); 227 var tracesTokenIndex = this._json.indexOf(tracesToken); 230 var bracketIndex = this._json.indexOf("[", tracesTokenIndex); 239 var stringsTokenIndex = this._json.indexOf(stringsToken) [all...] |
/external/chromium_org/chrome/browser/resources/net_internals/ |
import_view.js | 78 // NOTE: Use Array.prototype.indexOf here is necessary while WebKit 83 var indexOf = Array.prototype.indexOf; 84 return indexOf.call(event.dataTransfer.types, 'Files') == -1 || 93 var indexOf = Array.prototype.indexOf; 94 if (indexOf.call(event.dataTransfer.types, 'Files') == -1 || 171 var pos = text.indexOf('Log loaded.');
|
cros_log_entry.js | 55 var descriptionStartPoint = NetworkLogEntry.indexOf(tokens[2]) + 77 return token != undefined && token.indexOf('[') != -1; 90 if (token.toLowerCase().indexOf('err') != -1) { 92 } else if (token.toLowerCase().indexOf('warn') != -1) { 94 } else if (token.toLowerCase().indexOf('info') != -1) {
|
/external/chromium_org/chrome/common/extensions/docs/static/js/ |
samples.js | 16 if (sample.getAttribute('tags').toLowerCase().indexOf(searchText) < 0 && 17 sampleTitle.toLowerCase().indexOf(searchText) < 0)
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
gcm_custom_bindings.js | 23 if (property.indexOf("goog.") == 0 || 24 property.indexOf("google") == 0) {
|
/external/proguard/src/proguard/obfuscate/ |
MappingReader.java | 113 int arrowIndex = line.indexOf("->"); 119 int colonIndex = line.indexOf(':', arrowIndex + 2); 148 int colonIndex1 = line.indexOf(':'); 149 int colonIndex2 = colonIndex1 < 0 ? -1 : line.indexOf(':', colonIndex1 + 1); 150 int spaceIndex = line.indexOf(' ', colonIndex2 + 2); 151 int argumentIndex1 = line.indexOf('(', spaceIndex + 1); 152 int argumentIndex2 = argumentIndex1 < 0 ? -1 : line.indexOf(')', argumentIndex1 + 1); 153 int arrowIndex = line.indexOf("->", Math.max(spaceIndex, argumentIndex2) + 1);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceXmlTextActionTest.java | 78 int cursor = contents.indexOf('^'); 81 assertEquals(-1, contents.indexOf('^')); 82 assertEquals(-1, contents.indexOf('[')); 83 assertEquals(-1, contents.indexOf(']')); 94 int cursor = contents.indexOf('^'); 97 assertEquals(-1, contents.indexOf('^')); 98 assertEquals(-1, contents.indexOf('[')); 99 assertEquals(-1, contents.indexOf(']'));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
IPAddress.java | 54 && (pos = temp.indexOf('.', start)) > start) 82 int index = address.indexOf("/"); 92 int index = address.indexOf("/"); 136 && (pos = temp.indexOf(':', start)) >= start) 147 if (pos == (temp.length() - 1) && value.indexOf('.') > 0)
|
/cts/tests/tests/text/src/android/text/cts/ |
TextUtilsTest.java | 83 return re.substring(0, re.indexOf("x")); [all...] |
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
StringUtil.java | 106 int dpLoc = numStr.indexOf(".");
116 dpLoc = numStr.indexOf(".");
133 int dpLoc = numStr.indexOf(".");
143 dpLoc = numStr.indexOf(".");
160 int dpLoc = numStr.indexOf(".");
170 dpLoc = numStr.indexOf(".");
187 int dpLoc = numStr.indexOf(".");
206 dpLoc = numStr.indexOf(".");
257 numStr = numStr.substring(0, numStr.indexOf(".") + 3);
|
/external/v8/test/mjsunit/ |
stack-traces.js | 122 assertTrue(e.stack.indexOf(expected[i]) != -1, 127 assertEquals(e.stack.indexOf(unexpected[i]), -1, 142 assertEquals(-1, e.stack.indexOf('at new ReferenceError'), 159 assertTrue(e.stack.indexOf('at new ReferenceError') != -1, 178 assertTrue(e.stack.indexOf('<error: ReferenceError') != -1, 190 assertTrue(e.stack.indexOf('<error>') != -1, 210 assertTrue(e.stack.indexOf(nativeFuncName) >= 0, nativeFuncName); 222 assertTrue(e.stack.indexOf(nativeFuncName) >= 0, nativeFuncName); 232 assertTrue(e.stack.indexOf(omitted) < 0, omitted);
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t017parser.html | 46 assertEquals(parser.reportedErrors[0].indexOf("line 1:16"), 0); 57 assertEquals(parser.reportedErrors[0].indexOf("line 1:14"), 0); 58 assertEquals(parser.reportedErrors[1].indexOf("line 1:20"), 0);
|
/external/chromium/chrome/browser/resources/shared/js/ |
parse_html_subset.js | 16 return node.tagName == 'A' && (value.indexOf('http://') == 0 || 17 value.indexOf('https://') == 0); 44 if (allowedTags.indexOf(node.tagName) == -1)
|
/external/chromium_org/ppapi/native_client/tests/breakpad_crash_test/ |
crash_in_syscall.html | 50 embed.lastError.indexOf('SRPC connection failure') != -1 || 51 embed.lastError.indexOf('Nexe crashed during startup') != -1); 57 status.assert(embed.lastError.indexOf('NaCl module crashed') != -1);
|
untrusted_crash.html | 50 embed.lastError.indexOf('SRPC connection failure') != -1 || 51 embed.lastError.indexOf('Nexe crashed during startup') != -1); 57 status.assert(embed.lastError.indexOf('NaCl module crashed') != -1);
|
/external/chromium_org/third_party/icu/source/i18n/ |
nfrs.h | 49 return ( name.indexOf(prefixpart) == -1 && name.indexOf(postfix) == -1 && name.indexOf(postfx) == -1 );
|
/external/doclava/res/assets/templates/assets/ |
doclava-developer-docs.js | 30 if ((agent.indexOf("mobile") != -1) || // android, iphone, ipod 31 (agent.indexOf("blackberry") != -1) || 32 (agent.indexOf("webos") != -1) || 33 (agent.indexOf("mini") != -1)) { // opera mini browsers 37 } else if (agent.indexOf("msie 6") != -1) { 106 var index = document.cookie.indexOf(myCookie); 109 var valEnd = document.cookie.indexOf(";", valStart); 132 if (location.href.indexOf("/reference/") != -1) { 134 } else if (location.href.indexOf("/guide/") != -1) { 136 } else if (location.href.indexOf("/resources/") != -1) [all...] |