/prebuilts/clang/host/darwin-x86/clang-4691093/share/opt-viewer/ |
opt-stats.py | 62 total = len(all_remarks) variable 63 print("{:24s} {:10d}".format("Total number of remarks", total)) 73 print(" {:30s} {:2.0f}%". format(passname, count * 100. / total)) 78 print(" {:30s} {:2.0f}%". format(name, count * 100. / total))
|
/prebuilts/clang/host/linux-x86/clang-4579689/share/opt-viewer/ |
opt-stats.py | 62 total = len(all_remarks) variable 63 print("{:24s} {:10d}".format("Total number of remarks", total)) 73 print(" {:30s} {:2.0f}%". format(passname, count * 100. / total)) 78 print(" {:30s} {:2.0f}%". format(name, count * 100. / total))
|
/prebuilts/clang/host/linux-x86/clang-4630689/share/opt-viewer/ |
opt-stats.py | 62 total = len(all_remarks) variable 63 print("{:24s} {:10d}".format("Total number of remarks", total)) 73 print(" {:30s} {:2.0f}%". format(passname, count * 100. / total)) 78 print(" {:30s} {:2.0f}%". format(name, count * 100. / total))
|
/prebuilts/clang/host/linux-x86/clang-4639204/share/opt-viewer/ |
opt-stats.py | 62 total = len(all_remarks) variable 63 print("{:24s} {:10d}".format("Total number of remarks", total)) 73 print(" {:30s} {:2.0f}%". format(passname, count * 100. / total)) 78 print(" {:30s} {:2.0f}%". format(name, count * 100. / total))
|
/prebuilts/clang/host/linux-x86/clang-4691093/share/opt-viewer/ |
opt-stats.py | 62 total = len(all_remarks) variable 63 print("{:24s} {:10d}".format("Total number of remarks", total)) 73 print(" {:30s} {:2.0f}%". format(passname, count * 100. / total)) 78 print(" {:30s} {:2.0f}%". format(name, count * 100. / total))
|
/system/extras/showmap/ |
showmap.cpp | 246 static void print_mi(mapinfo *mi, bool total) 249 if (total) { 267 mapinfo total; local 268 memset(&total, 0, sizeof(total)); 281 total.shared_clean += mi->shared_clean; 282 total.shared_dirty += mi->shared_dirty; 283 total.private_clean += mi->private_clean; 284 total.private_dirty += mi->private_dirty; 285 total.swap += mi->swap [all...] |
/system/update_engine/scripts/update_payload/ |
histogram.py | 43 self.total = sum([count for key, count in self.data]) 100 if self.total: 101 bar_len = count * self.scale / self.total 108 percent_str = format_utils.NumToPercent(count, self.total)
|
format_utils.py | 8 def NumToPercent(num, total, min_precision=1, max_precision=5): 9 """Returns the percentage (string) of |num| out of |total|. 26 total: the value of the whole 30 Percentage string, or None if percent cannot be computed (i.e. total is 34 if total == 0: 41 percent = num * 100 * factor / total
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
DexTranslationAdvice.java | 99 * Calculates the total rop width of the list of SSA registers 106 int total = 0; local 109 total += sources.get(i).getCategory(); 112 return total;
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
fread.c | 61 size_t total;
local 81 total = resid;
92 return ((total - resid) / size);
|
/external/autotest/frontend/client/src/autotest/common/ |
StatusSummary.java | 13 public int total = 0; // TEST_NA is included here, but not in any other field in class:StatusSummary 24 summary.total = getField(group, groupCountField); 43 return total;
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
SynchronousHttpClient.java | 46 long total = 0; local 48 total += count; 51 return total;
|
/external/tensorflow/tensorflow/core/platform/ |
variant_coding.cc | 43 int64 total = 0; local 46 total += size; 48 if (total != static_cast<int64>(reader.size())) {
|
/frameworks/base/libs/hwui/ |
Caches.cpp | 162 uint32_t total = 0; local 163 log.appendFormat("Current memory usage / total memory usage (bytes):\n"); 177 log.appendFormat(" Layers total %8d (numLayers = %zu)\n", memused, 179 total += memused; 200 total += textureCache.getSize(); 201 total += renderBufferCache.getSize(); 202 total += gradientCache.getSize(); 203 total += pathCache.getSize(); 204 total += tessellationCache.getSize(); 205 total += dropShadowCache.getSize() [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
StopWatch.java | 46 /** Stop it and log the result, if the total time >= {@code timeThresholdToLog}. */ 54 final long total = stop - start; local 55 if (total < timeThresholdToLog) { 62 sb.append(total);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ScrollBarView.java | 61 // The content position is between 0 to "total". The current position is 63 public void setContentPosition(int position, int total) { 64 if (position == mContentPosition && total == mContentTotal) { 71 mContentTotal = total;
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageItemPreference.java | 49 public void setStorageSize(long size, long total) { 56 if (total == 0) { 59 mProgressPercent = (int)(size * PROGRESS_MAX / total);
|
/system/core/libdiskconfig/ |
diskutils.c | 42 uint64_t total = 0; local 77 total += nr_bytes; 105 ALOGI("Wrote %" PRIu64 " bytes to %s @ %lld", total, dst, (long long)offset);
|
/bionic/libc/dns/net/ |
getservent.c | 43 int total = 0; local 53 /* first compute the total size */ 55 total += namelen + 1; 60 total += (count+1)*sizeof(char*); 63 total += 1 + len2; 68 p2 = realloc( (char*)rs->servent.s_aliases, total );
|
/external/mesa3d/src/compiler/glsl/glcpp/tests/ |
glcpp-test-cr-lf | 16 total=0 31 total=$((total+1)) 136 echo "$pass/$total tests returned correct results" 139 if [ "$pass" = "$total" ]; then
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_batchbuffer.h | 114 intel->batch.total = n; 124 assert(batch->total != 0); 125 if (_n != batch->total) { 127 _n, batch->total); 130 batch->total = 0;
|
/external/pdfium/core/fxcrt/ |
fx_memory.h | 41 FX_SAFE_SIZE_T total = member_size; local 42 total *= num_members; 43 if (!total.IsValid()) 48 total.ValueOrDie(), "GeneralPartition"); 50 memset(result, 0, total.ValueOrDie());
|
/libcore/ojluni/src/main/java/java/util/zip/ |
DeflaterInputStream.java | 238 int total = (int)Math.min(n, Integer.MAX_VALUE); local 240 while (total > 0) { 242 int len = read(rbuf, 0, (total <= rbuf.length ? total : rbuf.length)); 248 total -= len;
|
InflaterInputStream.java | 213 int total = 0; local 214 while (total < max) { 215 int len = max - total; 224 total += len; 226 return total;
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
RamDisk.java | 61 int total = 0; local 64 total += read; 69 if (total < DEFAULT_SECTOR_SIZE) throw new IOException( 70 "read only " + total + " bytes"); //NOI18N 72 final ByteBuffer bb = ByteBuffer.wrap(bos.toByteArray(), 0, total);
|