Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 21 of 21) sorted by relevance

/build/make/tools/
Dextract_kernel.py64 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 …]
Dfat16copy.py84 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/
Denv.go49 idx := strings.IndexRune(env, '=')
50 if idx != -1 {
51 originalEnv[env[:idx]] = env[idx+1:]
52 if env[:idx] != "SOONG_DELVE" {
Dandroidmk_test.go280 for idx, line := range androidMkLines {
281 expectedLine := testCase.expectedAndroidMkLines[idx]
/build/soong/ui/build/
Dutil.go124 idx := strings.IndexRune(str, '=')
125 if idx == -1 {
128 return str[:idx], str[idx+1:], true
/build/soong/ui/status/
Dkati.go76 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/
Dsparse_img.py213 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/
Dreverse-deps.sh182 for idx in "${!targets[*]}"; do
183 echo "${targets[${idx}]} 0" >>"${newDeps}"
Dtransitive-deps.sh352 for idx in "${!targets[*]}"; do
354 case "${targets[${idx}]}" in
361 echo "${isnotice} 1 ${targets[${idx}]}" >> "${newDeps}"
/build/make/tools/zipalign/
DZipFile.cpp137 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()
DZipFile.h159 ZipEntry* getEntryByIndex(int idx) const;
/build/make/tools/warn/
Dwarn_common.py220 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/
Dsmart_status.go229 idx := strings.IndexRune(str, '\n')
230 if idx != -1 {
231 str = str[0:idx]
/build/soong/cc/symbolfile/
D__init__.py79 for idx, tag in enumerate(tags):
86 tags[idx] = '='.join([name, decoded])
/build/soong/bpfix/bpfix/
Dbpfix.go884 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/
Dbuilder.go292 func emitXrefRule(ctx android.ModuleContext, xrefFile android.WritablePath, idx int,
325 if idx >= 0 {
326 intermediatesDir += strconv.Itoa(idx)
Djava.go757 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)
Ddexpreopt_bootjars.go112 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/
Dvndk.go711 for idx, k := range android.SortedStringKeys(m) {
712 if idx > 0 {
Dsanitize.go952 for idx, dep := range deps {
954 deps[idx] = lib
Dcc.go1832 for idx, lib := range deps.RuntimeLibs {
1833 deps.RuntimeLibs[idx] = rewriteVendorLibs(lib)