Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 31) sorted by relevance

12

/build/soong/bp2build/
Dmetrics.go25 count := metrics.RuleClassCount[ruleClass]
26 fmt.Printf("[bp2build] %s: %d targets\n", ruleClass, count)
27 generatedTargetCount += count
/build/make/tools/
Dsoong_to_convert.py64 count = 0
70 count += 1 + count_deps(depsdb, dep, seen)
71 return count
111 for (count, module, module_type) in results:
112 print("{:>{}} {}".format(count, count_width, module))
Dparsedeps.py24 self.count = 0
36 self.count = self.count + 1
109 print "Read %d dependencies. %d targets." % (deps.count, len(deps.lines))
Dfindleaves.py31 rootdepth = rootdir.count("/")
48 depth = 1 + root.count("/") - rootdepth
Dmk2bp_catalog.py192 self.count = 0
196 self.count += 1
197 return self.count-1
257 count = 0
263 count += 1 + count_deps(depsdb, dep, seen)
264 return count
Dproduct_debug.py61 href = ("../" * variables["FILE"].count("/")) + href + ".html"
Dfat16copy.py427 def read(self, count): argument
431 if self.idx + count > self.size:
432 count = self.size - self.idx
434 ret = f.read(count)
/build/make/tools/zipalign/
DZipFile.cpp179 int count = mEntries.size(); in discardEntries() local
181 while (--count >= 0) in discardEntries()
182 delete mEntries[count]; in discardEntries()
790 size_t count; in copyFpToFp() local
795 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp); in copyFpToFp()
798 ALOGW("fread %zu bytes failed, %s", count, strerror(errno)); in copyFpToFp()
801 if (count == 0) in copyFpToFp()
804 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyFpToFp()
806 if (fwrite(tmpBuf, 1, count, dstFp) != count) { in copyFpToFp()
807 ALOGW("fwrite %zu bytes failed, %s", count, strerror(errno)); in copyFpToFp()
[all …]
/build/soong/ui/terminal/
Dutil.go67 advance := func(write, read []byte, count int) ([]byte, []byte) {
68 copy(write, read[:count])
69 return write[count:], read[count:]
/build/soong/ui/build/paths/
Dlogs_test.go85 count := 0
89 if count != 10 {
90 t.Errorf("Expected 10 logs, got %d", count)
102 count++
104 if count == 10 {
/build/soong/ui/status/
Dkati.go34 count int member
72 k.count += 1
78 if err == nil && idx+k.extra != k.count {
79 k.extra = k.count - idx
/build/soong/third_party/zip/
Dwriter.go42 if w.cw.count != 0 {
45 w.cw.count = n
69 start := w.cw.count
124 end := w.cw.count
255 offset: uint64(w.cw.count),
377 fh.CompressedSize64 = uint64(w.compCount.count)
378 fh.UncompressedSize64 = uint64(w.rawCount.count)
420 count int64 member
425 w.count += int64(n)
Dandroid.go43 offset: uint64(w.cw.count),
156 offset: uint64(w.cw.count),
199 fh.CompressedSize64 = uint64(w.compCount.count)
/build/make/tools/warn/
Dwarn_common.py237 count = 0
241 count += 1
242 if count > 9999:
246 if count < 100:
252 if count > 10:
/build/soong/java/
Dsdk.go375 count := 0
380 count++
383 if count != len(apiTxtFileModules) {
384 … ctx.Errorf("Could not find all the expected API modules %v, found %d\n", apiTxtFileModules, count)
/build/soong/cmd/multiproduct_kati/
Dmain.go518 count := each
520 count += 1
523 ret = append(ret, list[:count])
524 list = list[count:]
/build/soong/ui/build/
Dproc_sync_test.go57 func newCountWaiter(count int) (waiter *countWaiter) {
58 return &countWaiter{0, count}
/build/make/core/
Dchecktree23 spaces = ((s.count(" ") + 1) / 3) * 2
/build/soong/finder/
Dfinder.go532 count := 1
534 count += child.approximateNumDescendents
536 m.approximateNumDescendents = count
537 return count
713 count := 0
718 nodes[count] = dirFullInfo{
725 count++
/build/make/
Dhelp.sh22 task count that it thinks is optimal for your system.
/build/soong/android/
Dnamespace_test.go683 count := 0
685 count++
688 return count
Dvariable.go616 count := strings.Count(s, "%")
617 if count == 0 {
621 if count > 1 {
/build/soong/android/soongconfig/
Dmodules.go710 count := strings.Count(s, "%")
711 if count == 0 {
715 if count > 1 {
/build/soong/finder/fs/
Dfs.go242 func (m *MockFs) followLinks(path string, followLastLink bool, count int) (canonicalPath string, er…
253 parentPath, err = m.followLinks(parentPath, true, count)
272 if count <= 0 {
290 return m.followLinks(target, followLastLink, count-1)
/build/make/tools/atree/
Datree.cpp287 deleted.count(it->outPath) == 0) { in main()

12