Searched refs:count (Results 1 – 6 of 6) sorted by relevance
/build/tools/rgb2565/ |
D | to565.c | 104 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/ |
D | ZipFile.cpp | 177 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/ |
D | findleaves.py | 30 rootdepth = rootdir.count("/") 47 depth = 1 + root.count("/") - rootdepth
|
/build/tools/releasetools/ |
D | ota_from_target_files | 212 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/ |
D | checktree | 23 spaces = ((s.count(" ") + 1) / 3) * 2
|
/build/tools/atree/ |
D | atree.cpp | 267 deleted.count(it->outPath) == 0) { in main()
|