Searched refs:idx (Results 1 – 25 of 25) 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) 111 idx = input_bytes.find(CONFIG_PREFIX + GZIP_HEADER) 112 if idx < 0: 116 idx += len(CONFIG_PREFIX) 120 o, _ = sp.communicate(input=input_bytes[idx:]) 139 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/blueprint/proptools/ |
D | tag.go | 27 idx := strings.Index(tag, ",") 29 if idx < 0 { 32 if tag[:idx] == value { 36 tag = tag[idx+1:]
|
/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/shared/ |
D | debug.go | 47 idx := strings.IndexRune(env, '=') 48 if idx != -1 {
|
/build/make/tools/warn/ |
D | warn_common.py | 119 for idx, pattern in enumerate(project_patterns): 121 return idx 128 for idx, pattern in enumerate(warn_patterns): 132 results.append([warning, link, idx, project_idx]) 223 for idx in reversed(range(2, len(parts))): 224 root_path = '/'.join(parts[:idx]) 278 idx = path.find('chrome_root/') 279 if idx >= 0: 281 return path[idx + len('chrome_root/'):]
|
/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/soong/rust/ |
D | project_json.go | 248 idx := len(singleton.project.Crates) 249 singleton.knownCrates[rModule.Name()] = crateInfo{Idx: idx, Deps: deps} 254 return idx, true
|
/build/make/tools/zipalign/ |
D | ZipFile.cpp | 137 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/soong/java/ |
D | classpath_fragment.go | 159 for idx, jar := range jars { 165 if idx < len(jars)-1 {
|
D | base.go | 578 for idx := range j.properties.Libs { 579 if libDeps[idx] == nil { 583 if javaDep, ok := libDeps[idx].(javaSdkLibraryEnforceContext); ok { 992 for idx, shardSrc := range shardSrcs { 993 classes := j.compileJavaClasses(ctx, jarName, idx, shardSrc, 1307 func (j *Module) compileJavaClasses(ctx android.ModuleContext, jarName string, idx int, 1311 if idx >= 0 { 1312 kzipName = strings.TrimSuffix(jarName, filepath.Ext(jarName)) + strconv.Itoa(idx) + ".kzip" 1313 jarName += strconv.Itoa(idx) 1317 TransformJavaToClasses(ctx, classes, idx, srcFiles, srcJars, flags, extraJarDeps) [all …]
|
D | builder.go | 301 func emitXrefRule(ctx android.ModuleContext, xrefFile android.WritablePath, idx int, 334 if idx >= 0 { 335 intermediatesDir += strconv.Itoa(idx)
|
D | dexpreopt_bootjars.go | 328 func (image bootImageConfig) moduleName(ctx android.PathContext, idx int) string { 331 m := image.modules.Jar(idx) 333 if idx != 0 || image.extends != nil {
|
/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/ |
D | util.go | 167 for idx, k := range android.SortedStringKeys(m) { 168 if idx > 0 {
|
D | sanitize.go | 1162 for idx, dep := range deps { 1164 deps[idx] = lib
|
D | cc.go | 2099 for idx, lib := range deps.RuntimeLibs { 2100 deps.RuntimeLibs[idx] = rewriteSnapshotLib(lib, getSnapshot().SharedLibs)
|
/build/soong/cc/symbolfile/ |
D | __init__.py | 114 for idx, tag in enumerate(tags): 121 decoded_tags[idx] = Tag('='.join([name, decoded]))
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 908 idx := propertyIndex(mod.Properties, name) 909 if idx == -1 { 912 if idx == 0 { 924 prop := mod.Properties[idx] 925 mod.Properties = append(mod.Properties[:idx], mod.Properties[idx+1:]...)
|
/build/soong/android/ |
D | androidmk_test.go | 267 for idx, line := range androidMkLines { 268 expectedLine := expectedAndroidMkLines[idx]
|
D | config.go | 1542 func (l *ConfiguredJarList) Jar(idx int) string { 1543 return l.jars[idx] 1547 func (l *ConfiguredJarList) Apex(idx int) string { 1548 return l.apexes[idx] 1570 if idx := IndexList(jar, l.jars); idx != -1 {
|