Searched refs:idx (Results 1 – 21 of 21) sorted by relevance
/build/make/tools/ |
D | extract_kernel.py | 64 idx = 0 66 idx = input_bytes.find(LINUX_BANNER_PREFIX, idx) 67 if idx < 0: 70 value = get_from_release(input_bytes, idx, key) 74 idx += len(LINUX_BANNER_PREFIX) 103 idx = input_bytes.find(CONFIG_PREFIX + GZIP_HEADER) 104 if idx < 0: 108 idx += len(CONFIG_PREFIX) 112 o, _ = sp.communicate(input=input_bytes[idx:]) 131 idx = 0 [all …]
|
D | fat16copy.py | 84 self.idx += amount 86 self.idx = self.size - amount 88 self.idx = amount 90 if self.idx < 0: 91 self.idx = 0 92 if self.idx > self.size: 93 self.idx = self.size 116 self.idx = 0 120 if self.idx + size > self.size: 121 size = self.size - self.idx [all …]
|
/build/soong/android/ |
D | env.go | 49 idx := strings.IndexRune(env, '=') 50 if idx != -1 { 51 originalEnv[env[:idx]] = env[idx+1:] 52 if env[:idx] != "SOONG_DELVE" {
|
D | androidmk_test.go | 280 for idx, line := range androidMkLines { 281 expectedLine := testCase.expectedAndroidMkLines[idx]
|
/build/soong/ui/build/ |
D | util.go | 124 idx := strings.IndexRune(str, '=') 125 if idx == -1 { 128 return str[:idx], str[idx+1:], true
|
/build/soong/ui/status/ |
D | kati.go | 76 idx, err := strconv.Atoi(matches[2]) 78 if err == nil && idx+k.extra != k.count { 79 k.extra = k.count - idx
|
/build/make/tools/releasetools/ |
D | sparse_img.py | 213 idx = bisect.bisect_right(self.offset_index, s) - 1 214 chunk_start, chunk_len, filepos, fill_data = self.offset_map[idx] 229 idx += 1 230 chunk_start, chunk_len, filepos, fill_data = self.offset_map[idx] 316 idx = bisect.bisect_right(self.offset_index, b) - 1 317 chunk_start, _, filepos, fill_data = self.offset_map[idx]
|
/build/soong/scripts/ |
D | reverse-deps.sh | 182 for idx in "${!targets[*]}"; do 183 echo "${targets[${idx}]} 0" >>"${newDeps}"
|
D | transitive-deps.sh | 352 for idx in "${!targets[*]}"; do 354 case "${targets[${idx}]}" in 361 echo "${isnotice} 1 ${targets[${idx}]}" >> "${newDeps}"
|
/build/make/tools/zipalign/ |
D | ZipFile.cpp | 137 android::ZipEntry* ZipFile::getEntryByIndex(int idx) const in getEntryByIndex() 139 if (idx < 0 || idx >= (int) mEntries.size()) in getEntryByIndex() 142 return mEntries[idx]; in getEntryByIndex() 160 int idx; in getEntryByName() local 162 for (idx = mEntries.size()-1; idx >= 0; idx--) { in getEntryByName() 163 ZipEntry* pEntry = mEntries[idx]; in getEntryByName()
|
D | ZipFile.h | 159 ZipEntry* getEntryByIndex(int idx) const;
|
/build/make/tools/warn/ |
D | warn_common.py | 220 for idx in reversed(range(2, len(parts))): 221 root_path = '/'.join(parts[:idx]) 275 idx = path.find('chrome_root/') 276 if idx >= 0: 278 return path[idx + len('chrome_root/'):]
|
/build/soong/ui/terminal/ |
D | smart_status.go | 229 idx := strings.IndexRune(str, '\n') 230 if idx != -1 { 231 str = str[0:idx]
|
/build/soong/cc/symbolfile/ |
D | __init__.py | 79 for idx, tag in enumerate(tags): 86 tags[idx] = '='.join([name, decoded])
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 884 idx := propertyIndex(mod.Properties, name) 885 if idx == -1 { 888 if idx == 0 { 900 prop := mod.Properties[idx] 901 mod.Properties = append(mod.Properties[:idx], mod.Properties[idx+1:]...)
|
/build/soong/java/ |
D | builder.go | 292 func emitXrefRule(ctx android.ModuleContext, xrefFile android.WritablePath, idx int, 325 if idx >= 0 { 326 intermediatesDir += strconv.Itoa(idx)
|
D | java.go | 757 for idx, lib := range libs { 767 ret[idx] = stub 1459 for idx, shardSrc := range shardSrcs { 1460 classes := j.compileJavaClasses(ctx, jarName, idx, shardSrc, 1736 func (j *Module) compileJavaClasses(ctx android.ModuleContext, jarName string, idx int, 1740 if idx >= 0 { 1741 kzipName = strings.TrimSuffix(jarName, filepath.Ext(jarName)) + strconv.Itoa(idx) + ".kzip" 1742 jarName += strconv.Itoa(idx) 1746 TransformJavaToClasses(ctx, classes, idx, srcFiles, srcJars, flags, extraJarDeps) 1750 emitXrefRule(ctx, extractionFile, idx, srcFiles, srcJars, flags, extraJarDeps)
|
D | dexpreopt_bootjars.go | 112 func (image bootImageConfig) moduleName(ctx android.PathContext, idx int) string { 116 _, m := android.SplitApexJarPair(ctx, image.modules[idx]) 118 if idx != 0 || image.extends != nil {
|
/build/soong/cc/ |
D | vndk.go | 711 for idx, k := range android.SortedStringKeys(m) { 712 if idx > 0 {
|
D | sanitize.go | 952 for idx, dep := range deps { 954 deps[idx] = lib
|
D | cc.go | 1832 for idx, lib := range deps.RuntimeLibs { 1833 deps.RuntimeLibs[idx] = rewriteVendorLibs(lib)
|