/sdk/bash_completion/ |
D | adb.bash | 26 local where i cur serial 31 for ((i=1; i <= COMP_CWORD; i++)); do 57 if [[ $where == COMMAND && $i -ge $COMP_CWORD ]]; then 73 if [[ $i -eq $COMP_CWORD ]]; then 76 i=$((i+1)) 79 _adb_cmd_install "$serial" $i 82 _adb_cmd_pull "$serial" $i 85 _adb_cmd_push "$serial" $i 88 if [[ $COMP_CWORD == $i ]]; then 94 _adb_cmd_shell "$serial" $i [all …]
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
D | RangeManip.cpp | 48 for(int i =0; i< rl.size();i++) { in addRanges() local 49 addRange(rl.list[i]); in addRanges() 54 for(int i =0; i< rl.size();i++) { in delRanges() local 55 delRange(rl.list[i],deleted); in delRanges() 70 void RangeList::erase(unsigned int i) { in erase() argument 71 if(i > list.size()) return; in erase() 72 list.erase(list.begin() +i); in erase() 81 for (int i=0;i<(int)list.size();i++) { // i must be signed for i-- below in delRange() local 83 if (r.rangeIntersection(list[i],intersection)) { in delRange() 84 Range old=list[i]; in delRange() [all …]
|
D | PaletteTexture.cpp | 129 for(int i=0;i<level;i++) { in uncompressTexture() local 147 for(int i =0 ; i < maxIndices ; i++) { in uncompressTexture() local 149 int indexOut = i*colorSizeOut; in uncompressTexture() 151 paletteIndex = (i%2) == 0 ? in uncompressTexture() 152 imageIndices[i/2] >> 4: //upper bits in uncompressTexture() 153 imageIndices[i/2] & 0xf; //lower bits in uncompressTexture() 155 paletteIndex = imageIndices[i]; in uncompressTexture()
|
D | GLEScontext.cpp | 78 ArrayData& GLESConversionArrays::operator[](int i){ in operator []() argument 79 return m_arrays[i]; in operator []() 145 for (int i=0;i<maxTexUnits;++i) { in init() local 148 m_texState[i][j].texture = 0; in init() 149 m_texState[i][j].enabled = GL_FALSE; in init() 218 for(unsigned int i = 0; i < nBytes;i+=strideOut) { in convertFixedDirectLoop() local 222 … reinterpret_cast<GLfloat*>(&static_cast<unsigned char*>(dataOut)[i])[j] = X2F(fixed_data[j]); in convertFixedDirectLoop() 229 for(int i = 0 ;i < count ;i++) { in convertFixedIndirectLoop() local 230 unsigned short index = indices_type == GL_UNSIGNED_BYTE? ((GLubyte *)indices)[i]: in convertFixedIndirectLoop() 231 ((GLushort *)indices)[i]; in convertFixedIndirectLoop() [all …]
|
/sdk/emulator/opengl/host/renderer/ |
D | main.cpp | 56 for (int i=1; i<argc; i++) { in main() local 57 if (!strcmp(argv[i], "-windowid")) { in main() 58 if (++i >= argc || sscanf(argv[i],"%d", &iWindowId) != 1) { in main() 62 else if (!strncmp(argv[i], "-x", 2)) { in main() 63 if (++i >= argc || sscanf(argv[i],"%d", &winX) != 1) { in main() 67 else if (!strncmp(argv[i], "-y", 2)) { in main() 68 if (++i >= argc || sscanf(argv[i],"%d", &winY) != 1) { in main() 72 else if (!strncmp(argv[i], "-width", 6)) { in main() 73 if (++i >= argc || sscanf(argv[i],"%d", &winWidth) != 1) { in main() 77 else if (!strncmp(argv[i], "-height", 7)) { in main() [all …]
|
/sdk/emulator/opengl/shared/OpenglOsUtils/ |
D | osProcessUnix.cpp | 47 int i = 0; in buildArgList() local 64 while( tmpcmd[i] != '\0' ) { in buildArgList() 66 if (tmpcmd[i] == '"' || tmpcmd[i] == '\'') { in buildArgList() 67 strStart = &tmpcmd[i]; in buildArgList() 69 else if (tmpcmd[i] == ' ' || tmpcmd[i] == '\t') { in buildArgList() 70 tmpcmd[i] = '\0'; in buildArgList() 74 t = &tmpcmd[i]; in buildArgList() 77 else if (tmpcmd[i] == *strStart) { in buildArgList() 82 i++; in buildArgList() 107 for (int i=3; i<256; i++) { in start_process() local [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 …]
|
/sdk/emulator/opengl/tests/translator_tests/GLES_V2/ |
D | triangleV2.cpp | 81 for (int i = 0; i < height; i++) { in genTexture() local 83 unsigned char col = ((i / 8 + j / 8) % 2) * 255 ; in genTexture() 97 for (int i = 0; i < height; i++) { in genRedTexture() local 99 unsigned char col = ((i / 8 + j / 8) % 2) * 255 ; in genRedTexture() 180 for (int i=0; i<numU; i++) { in dumpUniforms() local 181 glGetActiveUniform(program, i, in dumpUniforms() 278 int i=0; in parseCmdLine() local 284 while(cmdLine[i] != '\0') { in parseCmdLine() 285 bool isSpace = (cmdLine[i] == ' ' || cmdLine[i] == '\t'); in parseCmdLine() 287 argStart = i; in parseCmdLine() [all …]
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
D | GLSharedGroup.cpp | 87 for (GLuint i=0;i<m_numIndexes;++i) in getIndexForLocation() local 89 GLint dist = location - m_Indexes[i].base; in getIndexForLocation() 92 index = i; in getIndexForLocation() 111 for (GLuint i=0; i<m_numIndexes; i++) { in setupLocationShiftWAR() local 112 if (0 != (m_Indexes[i].base & 0xffff)) { in setupLocationShiftWAR() 141 for(GLuint i=0; i<m_numIndexes; i++) { in locationWARAppToHost() local 142 GLint elemIndex = appLoc - m_Indexes[i].appBase; in locationWARAppToHost() 143 if (elemIndex >= 0 && elemIndex < m_Indexes[i].size) { in locationWARAppToHost() 144 return m_Indexes[i].base + in locationWARAppToHost() 145 elemIndex * m_Indexes[i].hostLocsPerElement; in locationWARAppToHost() [all …]
|
D | glUtils.h | 70 for (int i = 0; i < count; i++) { in minmax() local 79 for (int i = 0; i < count; i++) { in shiftIndices() local 88 for (int i = 0; i < count; i++) { in shiftIndices() local
|
D | glUtils.cpp | 341 for (unsigned int i = 0; i < datalen; i += vsize) { in glUtilsPackPointerData() local 361 for (unsigned int i = 0; i < datalen; i += vsize) { in glUtilsWritePackPointerData() local 441 for (int i = 0; i < count; i++) { in glUtilsPackStrings() local 443 if (strings[i]!=NULL) { in glUtilsPackStrings() 444 if (length == NULL || length[i] < 0) { in glUtilsPackStrings() 445 l = strlen(strings[i]); in glUtilsPackStrings() 446 strcat(p, strings[i]); in glUtilsPackStrings() 448 l = length[i]; in glUtilsPackStrings() 449 strncat(p, strings[i], l); in glUtilsPackStrings() 460 for (int i = 0; i < count; i++) { in glUtilsCalcShaderSourceLen() local [all …]
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
D | FBConfig.cpp | 95 for (int i=0; i<nConfigs; i++) { in initConfigList() local 103 s_egl.eglGetConfigAttrib(dpy, configs[i], in initConfigList() 111 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_RED_SIZE, &redSize); in initConfigList() 112 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_BLUE_SIZE, &blueSize); in initConfigList() 113 s_egl.eglGetConfigAttrib(dpy, configs[i], EGL_GREEN_SIZE, &greenSize); in initConfigList() 116 s_fbConfigs[j++] = new FBConfig(dpy, configs[i]); in initConfigList() 141 for (int i=0; i<s_numConfigs; i++) { in packConfigsInfo() local 142 memcpy(buffer+(i+1)*s_numConfigAttribs, in packConfigsInfo() 143 s_fbConfigs[i]->m_attribValues, in packConfigsInfo() 240 for (int i=0; i<s_numConfigAttribs; i++) { in FBConfig() local [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_java/ |
D | find_java_exe.cpp | 70 for (int i = 1; i < argc; i++) { in main() local 71 if (strncmp(argv[i], "-t", 2) == 0) { in main() 75 } else if (strncmp(argv[i], "-d", 2) == 0) { in main() 78 } else if (strncmp(argv[i], "-s", 2) == 0) { in main() 81 } else if (strncmp(argv[i], "-v", 2) == 0) { in main() 84 } else if (strcmp(argv[i], "-w") == 0 || strcmp(argv[i], "-javaw") == 0) { in main()
|
/sdk/emulator/opengl/host/tools/emugen/ |
D | ApiGen.cpp | 38 for (size_t i = 0; i < n; i++) { in findEntryByName() local 39 if (at(i).name() == name) { in findEntryByName() 40 entry = &(at(i)); in findEntryByName() 73 for (size_t i = 0; i < size(); i++) { in genProcTypes() local 74 EntryPoint *e = &at(i); in genProcTypes() 116 for (size_t i = 0; i < size(); i++) { in genFuncTable() local 117 EntryPoint *e = &at(i); in genFuncTable() 145 for (size_t i = 0; i < contextHeaders.size(); i++) { in genContext() local 146 fprintf(fp, "#include %s\n", contextHeaders[i].c_str()); in genContext() 151 for (size_t i = 0; i < size(); i++) { in genContext() local [all …]
|
/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 | 57 for (var i = 0; i < (currentLevel - level); i++) { 101 for (var i = headerPositionCache.length - 1; i >= 0; i--) { 102 if (scrollTop >= headerPositionCache[i].top) { 103 $('#' + headerPositionCache[i].id).addClass('selected'); 104 console.log($('#' + headerPositionCache[i].id));
|
/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/emulator/opengl/host/libs/Translator/EGL/ |
D | EglImp.cpp | 302 int i = 0 ; in eglChooseConfig() local 304 while(attrib_list[i] != EGL_NONE && !hasConfigId) { in eglChooseConfig() 305 switch(attrib_list[i]) { in eglChooseConfig() 312 if(attrib_list[i+1] == EGL_DONT_CARE) { in eglChooseConfig() 315 frame_buffer_level = attrib_list[i+1]; in eglChooseConfig() 318 if(attrib_list[i+1] < 0) { in eglChooseConfig() 321 buffer_size = attrib_list[i+1]; in eglChooseConfig() 324 if(attrib_list[i+1] < 0) { in eglChooseConfig() 327 red_size = attrib_list[i+1]; in eglChooseConfig() 330 if(attrib_list[i+1] < 0) { in eglChooseConfig() [all …]
|
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/ |
D | GLEScmImp.cpp | 396 for(int i = 0; i < 4; i++) { in glClipPlanef() local 397 tmpEquation[i] = static_cast<GLdouble>(equation[i]); in glClipPlanef() 405 for(int i = 0; i < 4; i++) { in glClipPlanex() local 406 tmpEquation[i] = X2D(equation[i]); in glClipPlanex() 480 for(int i=0; i < n; i++){ in glDeleteBuffers() local 481 ctx->shareGroup()->deleteName(VERTEXBUFFER,buffers[i]); in glDeleteBuffers() 482 ctx->unbindBuffer(buffers[i]); in glDeleteBuffers() 491 for(int i=0; i < n; i++){ in glDeleteTextures() local 492 if(textures[i] != 0) in glDeleteTextures() 494 TextureData* tData = getTextureData(textures[i]); in glDeleteTextures() [all …]
|
/sdk/emulator/opengl/tests/ut_renderer/ |
D | Renderer.cpp | 80 SurfaceMap::iterator i = m_surfaces.find(handle); in destroySurface() local 81 if (i == m_surfaces.end()) { in destroySurface() 85 if (i->second->destroy(m_nw)) { in destroySurface() 120 ContextMap::iterator i = m_ctxs.find(handle); in destroyContext() local 121 if (i == m_ctxs.end()) { in destroyContext() 125 if (i->second->destroy()) { in destroyContext() 165 SurfaceMap::iterator i; in makeCurrent() local 166 i = m_surfaces.find(drawSurface); if (i != m_surfaces.end()) draw = i->second->eglSurface(); in makeCurrent() 167 i = m_surfaces.find(readSurface); if (i != m_surfaces.end()) read = i->second->eglSurface(); in makeCurrent()
|