Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 25) 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)
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 …]
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/blueprint/proptools/
Dtag.go27 idx := strings.Index(tag, ",")
29 if idx < 0 {
32 if tag[:idx] == value {
36 tag = tag[idx+1:]
/build/soong/ui/build/
Dutil.go124 idx := strings.IndexRune(str, '=')
125 if idx == -1 {
128 return str[:idx], str[idx+1:], true
/build/soong/shared/
Ddebug.go47 idx := strings.IndexRune(env, '=')
48 if idx != -1 {
/build/make/tools/warn/
Dwarn_common.py119 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/
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/soong/rust/
Dproject_json.go248 idx := len(singleton.project.Crates)
249 singleton.knownCrates[rModule.Name()] = crateInfo{Idx: idx, Deps: deps}
254 return idx, true
/build/make/tools/zipalign/
DZipFile.cpp137 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/soong/java/
Dclasspath_fragment.go159 for idx, jar := range jars {
165 if idx < len(jars)-1 {
Dbase.go578 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 …]
Dbuilder.go301 func emitXrefRule(ctx android.ModuleContext, xrefFile android.WritablePath, idx int,
334 if idx >= 0 {
335 intermediatesDir += strconv.Itoa(idx)
Ddexpreopt_bootjars.go328 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/
Dsmart_status.go229 idx := strings.IndexRune(str, '\n')
230 if idx != -1 {
231 str = str[0:idx]
/build/soong/cc/
Dutil.go167 for idx, k := range android.SortedStringKeys(m) {
168 if idx > 0 {
Dsanitize.go1162 for idx, dep := range deps {
1164 deps[idx] = lib
Dcc.go2099 for idx, lib := range deps.RuntimeLibs {
2100 deps.RuntimeLibs[idx] = rewriteSnapshotLib(lib, getSnapshot().SharedLibs)
/build/soong/cc/symbolfile/
D__init__.py114 for idx, tag in enumerate(tags):
121 decoded_tags[idx] = Tag('='.join([name, decoded]))
/build/soong/bpfix/bpfix/
Dbpfix.go908 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/
Dandroidmk_test.go267 for idx, line := range androidMkLines {
268 expectedLine := expectedAndroidMkLines[idx]
Dconfig.go1542 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 {