Home
last modified time | relevance | path

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

/build/tools/rgb2565/
Dto565.c104 unsigned short last, color, count; in to_565_rle() local
106 count = 0; in to_565_rle()
110 if (count) { in to_565_rle()
111 if ((color == last) && (count != 65535)) { in to_565_rle()
112 count++; in to_565_rle()
115 write(1, &count, 2); in to_565_rle()
117 total += count; in to_565_rle()
121 count = 1; in to_565_rle()
123 if (count) { in to_565_rle()
124 write(1, &count, 2); in to_565_rle()
[all …]
/build/tools/zipalign/
DZipFile.cpp177 int count = mEntries.size(); in discardEntries() local
179 while (--count >= 0) in discardEntries()
180 delete mEntries[count]; in discardEntries()
649 size_t count; in copyFpToFp() local
654 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp); in copyFpToFp()
657 if (count == 0) in copyFpToFp()
660 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyFpToFp()
662 if (fwrite(tmpBuf, 1, count, dstFp) != count) { in copyFpToFp()
663 LOGD("fwrite %d bytes failed\n", (int) count); in copyFpToFp()
679 size_t count; in copyDataToFp() local
[all …]
/build/tools/
Dfindleaves.py30 rootdepth = rootdir.count("/")
47 depth = 1 + root.count("/") - rootdepth
/build/tools/releasetools/
Dota_from_target_files212 for (uid, gid, _, _), count in d.iteritems():
213 ug[(uid, gid)] = ug.get((uid, gid), 0) + count
220 for k, count in d.iteritems():
222 if k[2] is not None and count >= best_dmode[0]: best_dmode = (count, k[2])
223 if k[3] is not None and count >= best_fmode[0]: best_fmode = (count, k[3])
/build/core/
Dchecktree23 spaces = ((s.count(" ") + 1) / 3) * 2
/build/tools/atree/
Datree.cpp267 deleted.count(it->outPath) == 0) { in main()