/sdk/find_java/src/source/ |
D | find_java_exe.cpp | 124 for (int i = 1; i < argc; i++) { in main() local 125 if (strncmp(argv[i], "-t", 2) == 0) { in main() 129 } else if (strncmp(argv[i], "-j", 2) == 0) { in main() 132 } else if (strncmp(argv[i], "-e", 2) == 0) { in main() 135 } else if (strncmp(argv[i], "-p", 2) == 0) { in main() 136 i++; in main() 137 if (i == argc) { in main() 140 customPathStr = argv[i]; in main() 141 } else if (strncmp(argv[i], "-d", 2) == 0) { in main() 144 } else if (strncmp(argv[i], "-s", 2) == 0) { in main() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
D | AndroidNature.java | 188 for (int i = 0; i < commands.length; ++i) { in configureResourceManagerBuilder() 189 if (ResourceManagerBuilder.ID.equals(commands[i].getBuilderName())) { in configureResourceManagerBuilder() 217 for (int i = 0; i < commands.length; ++i) { in configurePreBuilder() 218 if (PreCompilerBuilder.ID.equals(commands[i].getBuilderName())) { in configurePreBuilder() 226 for (int i = 0; i < commands.length; ++i) { in configurePreBuilder() 227 if (ResourceManagerBuilder.ID.equals(commands[i].getBuilderName())) { in configurePreBuilder() 228 index = i; in configurePreBuilder() 261 for (int i = 0; i < commands.length; ++i) { in configureApkBuilder() 262 if (PostCompilerBuilder.ID.equals(commands[i].getBuilderName())) { in configureApkBuilder() 286 for (int i = 0; i < commands.length; ++i) { in removeBuilder() [all …]
|
D | ProjectHelper.java | 110 for (int i = 0, count = entries.length; i < count ; i++) { in replaceEntryInClasspath() 111 if (path.equals(entries[i].getPath())) { in replaceEntryInClasspath() 112 entries[i] = newEntry; in replaceEntryInClasspath() 209 for (int i = 0 ; i < entries.length ; i++) { in findClasspathEntryByPath() 210 IClasspathEntry entry = entries[i]; in findClasspathEntryByPath() 220 return i; in findClasspathEntryByPath() 246 for (int i = startIndex ; i < entries.length ; i++) { in findClasspathEntryByName() 247 IClasspathEntry entry = entries[i]; in findClasspathEntryByName() 257 return i; in findClasspathEntryByName() 333 for (int i = 0 ; i < entries.length ;) { in fixProjectClasspathEntries() [all …]
|
D | AndroidClasspathContainerInitializer.java | 138 for (int i = 0 ; i < projectCount; i++) { in updateProjects() 139 containers[i] = allocateAndroidContainer(androidProjects[i]); in updateProjects() 375 for (int i = CACHE_INDEX_ADD_ON_START + 1; i < paths.length; i++) { 376 String path = paths[i]; 490 int i = 4; 491 while (i < paths.length) { 492 Path jarPath = new Path(paths[i++]); 579 int i = 0; 580 projectLoop: while (i < projects.size()) { 581 IJavaProject javaProject = projects.get(i); [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/ |
D | SystraceTask.java | 75 for (int i = 0; i < length; i++) { in addOutput() 76 mBuffer[mDataLength + i] = data[offset + i]; in addOutput() 87 for (int i = 0; i < mDataLength; i++) { in flush() 88 copy[i] = mBuffer[i]; in flush()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
D | GLListProperty.java | 42 for (int i = 0; i < size; i++) { in GLListProperty() 83 for (int i = mList.size(); i < capactiy; i++) { in ensureCapacity() 105 int i = 0; in toString() local 107 sb.append(i); in toString() 111 i++; in toString() 175 for (int i = 0; i < mList.size(); i++) { in prettyPrint() 176 pp.prettyPrint(String.format(Locale.US, "Index %d:", i)); in prettyPrint() 177 IGLProperty p = mList.get(i); in prettyPrint()
|
D | GLSparseArrayProperty.java | 61 for (int i = 0; i < mSparseArray.size(); i++) { in getValues() 62 values.add(mSparseArray.valueAt(i)); in getValues() 125 for (int i = 0; i < mSparseArray.size(); i++) { in clone() 126 int key = mSparseArray.keyAt(i); in clone() 158 for (int i = 0; i < mSparseArray.size(); i++) { in prettyPrint() 159 int key = mSparseArray.keyAt(i); in prettyPrint()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
D | JUnitLaunchConfigDelegate.java | 81 for (int i = 0; i < bootpath.length; i++) { in fixBootpathExt() 82 if (bootpath[i] != null && bootpath[i].length > 0) { in fixBootpathExt() 85 if (bootpath[i][0].endsWith(SdkConstants.FN_FRAMEWORK_LIBRARY)) { in fixBootpathExt() 86 bootpath[i] = null; in fixBootpathExt() 105 for (int i = 0; i < classpath.length; i++) { in fixClasspath() 106 if (classpath[i].endsWith(JUNIT_JAR)) { in fixClasspath()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | BinPacker.java | 109 for (int i = 0, n = mSpace.size(); i < n; i++) { in findBest() 110 Rect rect = mSpace.get(i); in findBest() 116 bestIndex = i; in findBest() 136 for (int i = 0, n = mSpace.size(); i < n; i++) { in findBest() 137 Rect rect = mSpace.get(i); in findBest() 149 bestIndex = i; in findBest() 158 bestIndex = i; in findBest() 204 for (int i = 0; i < mSpace.size(); i++) { in split() 205 Rect other = mSpace.get(i); in split() 207 removeRect(i); in split() [all …]
|
/sdk/find_java2/FindJava2/ |
D | FindJava2.cpp | 72 for (int i = 1; i < argc; i++) { in _tmain() local 73 if (_tcsnccmp(argv[i], _T("-t"), 2) == 0) { in _tmain() 76 } else if (_tcsnccmp(argv[i], _T("-d"), 2) == 0) { in _tmain() 79 } else if (_tcsnccmp(argv[i], _T("-s"), 2) == 0) { in _tmain() 82 } else if (_tcsnccmp(argv[i], _T("-v"), 2) == 0) { in _tmain() 85 } else if (_tcsnccmp(argv[i], _T("-f"), 2) == 0) { in _tmain() 88 } else if (_tcsnccmp(argv[i], _T("-7"), 2) == 0) { in _tmain() 91 } else if (_tcscmp(argv[i], _T("-w")) == 0 || _tcscmp(argv[i], _T("-javaw")) == 0) { in _tmain()
|
/sdk/templates/docs/ |
D | prettify.js | 3 …i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c… 4 …i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.… 5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i… 8 …i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0… 12 …i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[… 22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
D | default.js | 58 for (var i = 0; i < (currentLevel - level); i++) { 102 for (var i = headerPositionCache.length - 1; i >= 0; i--) { 103 if (scrollTop >= headerPositionCache[i].top) { 104 $('#' + headerPositionCache[i].id).addClass('selected');
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | CanvasViewInfoTest.java | 397 for (int i = 0; i < numViews; i++) { in testUnmatchedMissing() 399 if (!extraViews.contains(i)) { in testUnmatchedMissing() 400 childNode = createNode(rootNode, "childNode" + i, false); in testUnmatchedMissing() 402 Object cookie = missingKeys.contains(i) || extraViews.contains(i) ? null : childNode; in testUnmatchedMissing() 403 ViewInfo childView = new ViewInfo("childView" + i, cookie, in testUnmatchedMissing() 404 0, i * 20, 50, (i + 1) * 20); in testUnmatchedMissing() 407 if (!extraViews.contains(i)) { in testUnmatchedMissing() 408 expectedViewNames.add("childView" + i); in testUnmatchedMissing() 409 expectedNodeNames.add("childNode" + i); in testUnmatchedMissing() 412 if (extraKeys.contains(i)) { in testUnmatchedMissing() [all …]
|
/sdk/eclipse/scripts/ |
D | update_version.sh | 49 for i in $(grep -rl "$OLD" * | grep -E "\.xml$|\.MF$|\.product$"); do 50 if [[ -f "$i" && $(basename "$i") != "build.xml" ]]; then 51 replace "$i" 58 for i in artifacts/*/pom.xml \ 66 if grep -qs "$OLD" "$i"; then 67 replace "$i"
|
D | gen_icon.py | 54 for i in r: 55 draw.ellipse((i, i, sz4-i-zoom, sz4-i-zoom), 63 for i in r: 64 draw.text((ptx + i, pty), data.letter, font=font, fill=data.letter_color)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
D | UiActions.java | 166 for (int i = len - 1; i >= 0; i--) { in doRemove() 167 UiElementNode node = nodes.get(i); in doRemove() 207 for (int i = 0; i < uiNodes.size(); i++) { in doUp() 208 UiElementNode uiNode = uiLastNode[0] = uiNodes.get(i); in doUp() 254 for (int i = 0; i < uiNodes.size(); i++) { in canDoUp() 256 uiNodes.get(i), in canDoUp() 388 for (int i = nodes.size() - 1; i >= 0; i--) { in doDown() 389 final UiElementNode node = uiLastNode[0] = nodes.get(i); in doDown() 435 for (int i = 0; i < uiNodes.size(); i++) { in canDoDown() 437 uiNodes.get(i), in canDoDown() [all …]
|
/sdk/find_lock/ |
D | find_lock_exe.cpp | 35 for (int i = 1; i < argc; i++) { in main() local 36 if (strncmp(argv[i], "-d", 2) == 0) { in main() 40 dirPath.set(argv[i]); in main()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | DosLineEndingsFix.java | 49 for (int i = document.getLength() - 1; i >= 0; i--) { in apply() 51 char c = document.getChar(i); in apply() 53 document.replace(i, 1, "\n"); //$NON-NLS-1$ in apply()
|
D | LintList.java | 221 for (int i = 1; i < mTree.getColumnCount(); i++) { in updateColumnWidths() 222 TreeColumn column = mTree.getColumn(i); in updateColumnWidths() 629 for (int i = 0; i < columns.length; i++) { in saveState() 630 TreeColumn treeColumn = mTree.getColumn(i); in saveState() 636 columns[positions[i]] = column; in saveState() 651 for (int i = 0; i < columns.length; i++) { in createColumns() 652 LintColumn column = columns[i]; in createColumns() 674 if (i == 0) { in createColumns() 693 for (int i = 0; i < columns.length; i++) { in getColumnWidth() 694 if (column.equals(columns[i].getData(KEY_COLUMN))) { in getColumnWidth() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ChangeLayoutWizard.java | 128 for (int i = 0; i < mTypeCombo.getItemCount(); i++) { in createControl() 129 if (mTypeCombo.getItem(i).equals(GRID_LAYOUT)) { in createControl() 139 for (int i = 0; i < mTypeCombo.getItemCount(); i++) { in createControl() 140 if (mTypeCombo.getItem(i).equals(GRID_LAYOUT)) { in createControl() 141 mTypeCombo.select(i); in createControl() 146 for (int i = 0; i < mTypeCombo.getItemCount(); i++) { in createControl() 147 if (mTypeCombo.getItem(i).equals(RELATIVE_LAYOUT)) { in createControl() 148 mTypeCombo.select(i); in createControl()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/utils/ |
D | FingerprintUtils.java | 51 for (int i = 0; i < len; i++) { in toHexadecimalString() 52 int num = ((int) value[i]) & 0xff; in toHexadecimalString() 57 if (i < len - 1) { in toHexadecimalString()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RefactoringTestBase.java | 109 for (int i = 0; i < testData.length; i+= 2) { in createProject() 110 assertTrue(testData[i].toString(), testData[i] instanceof String); in createProject() 111 String relative = (String) testData[i]; in createProject() 125 for (int i = sb.length() - 1; i >= 0; i--) { in describe() 126 if (!Character.isWhitespace(sb.charAt(i))) { in describe() 127 sb.setLength(i + 1); in describe() 256 for (int i = 0; i < indent; i++) { in indent() 262 for (int i = 0, n = data.length; i < n; i += 2) { in createTestDataDir() 263 assertTrue("Must be a path: " + data[i], data[i] instanceof String); in createTestDataDir() 264 String relativePath = ((String) data[i]).replace('/', File.separatorChar); in createTestDataDir() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | RadioGroupRule.java | 41 for (int i = 0; i < 3; i++) { in onCreate() 43 handle.setAttribute(ANDROID_URI, ATTR_ID, String.format("@+id/radio%d", i)); in onCreate() 44 if (i == 0) { in onCreate()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidXmlCharacterMatcher.java | 106 for (int i = index; i >= 0; i--) { in findOppositeTag() 107 subRegion = subRegions.get(i); in findOppositeTag() 156 for (int i = subRegions.size() - 1; i >= 0; i--) { in findTagBackwards() 157 ITextRegion subRegion = subRegions.get(i); in findTagBackwards() 207 for (int i = 0, n = subRegions.size(); i < n; i++) { in findTagForwards() 208 ITextRegion subRegion = subRegions.get(i); in findTagForwards()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | UiElementPullParser.java | 143 private Node getAttribute(int i) { in getAttribute() argument 155 return xmlNode.getAttributes().item(i); in getAttribute() 253 public String getAttributeName(int i) { in getAttributeName() argument 255 if (i == 0) { in getAttributeName() 258 i--; in getAttributeName() 262 Node attribute = getAttribute(i); in getAttributeName() 275 public String getAttributeNamespace(int i) { in getAttributeNamespace() argument 277 if (i == 0) { in getAttributeNamespace() 280 i--; in getAttributeNamespace() 284 Node attribute = getAttribute(i); in getAttributeNamespace() [all …]
|