/art/test/651-checker-char-simd-minmax/src/ |
Main.java | 93 int total = interesting.length * interesting.length; local 94 char[] x = new char[total]; 95 char[] y = new char[total]; 96 char[] z = new char[total]; 109 for (int i = 0; i < total; i++) { 114 for (int i = 0; i < total; i++) { 119 for (int i = 0; i < total; i++) {
|
/device/google/contexthub/lib/nanohub/ |
nanoapp.c | 37 void assertMem(size_t used, size_t total) 39 if (used <= total) 41 fprintf(stderr, "Buffer size %zu is not big enough to complete operation; we need %zu bytes\n", total, used); 72 uint32_t len = 0, grow = 16384, total = 0; local 83 block = fread(dst + total, 1, grow, f); 84 total += block; 87 *size = total;
|
/external/lzma/CPP/7zip/UI/FileManager/ |
ProgressDialog.cpp | 108 UInt64 total, completed;
local 109 Sync.GetProgress(total, completed);
110 if (total != _range)
111 SetRange(total);
114 if (total == 0)
115 total = 1;
117 int percentValue = (int)(completed * 100 / total);
|
/external/skia/src/sksl/ |
SkSLMemoryLayout.h | 104 size_t total = 0; local 107 if (total % alignment != 0) { 108 total += alignment - total % alignment; 110 ASSERT(total % alignment == 0); 111 total += this->size(*f.fType); 116 return (total + alignment - 1) & ~(alignment - 1);
|
/external/skqp/src/sksl/ |
SkSLMemoryLayout.h | 104 size_t total = 0; local 107 if (total % alignment != 0) { 108 total += alignment - total % alignment; 110 ASSERT(total % alignment == 0); 111 total += this->size(*f.fType); 116 return (total + alignment - 1) & ~(alignment - 1);
|
/external/v8/src/compiler/ |
zone-stats.cc | 35 size_t total = 0; local 37 total += static_cast<size_t>(zone->allocation_size()); 41 total -= it->second; 44 return total; 76 size_t total = 0; local 78 total += static_cast<size_t>(zone->allocation_size()); 80 return total;
|
/hardware/nxp/secure_element/libese-spi/p73/utils/ |
ringbuffer.cpp | 25 size_t total; member in struct:ringbuffer_t 39 p->total = p->available = size; 56 return rb->total - rb->available; 67 if (rb->tail >= (rb->base + rb->total)) rb->tail = rb->base; 80 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; 93 uint8_t* b = ((rb->head - rb->base + offset) % rb->total) + rb->base; 100 if (b >= (rb->base + rb->total)) b = rb->base; 112 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; [all...] |
/system/bt/osi/src/ |
ringbuffer.cc | 26 size_t total; member in struct:ringbuffer_t 39 p->total = p->available = size; 56 return rb->total - rb->available; 67 if (rb->tail >= (rb->base + rb->total)) rb->tail = rb->base; 80 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; 93 uint8_t* b = ((rb->head - rb->base + offset) % rb->total) + rb->base; 100 if (b >= (rb->base + rb->total)) b = rb->base; 112 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; [all...] |
/system/nfc/utils/ |
ringbuffer.cc | 25 size_t total; member in struct:ringbuffer_t 39 p->total = p->available = size; 56 return rb->total - rb->available; 67 if (rb->tail >= (rb->base + rb->total)) rb->tail = rb->base; 80 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; 93 uint8_t* b = ((rb->head - rb->base + offset) % rb->total) + rb->base; 100 if (b >= (rb->base + rb->total)) b = rb->base; 112 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
PercentageColumn.java | 31 * Column that prints the coverage percentage for each item and the total 60 final ICoverageNode total) { 64 public void footer(final HTMLElement td, final ICoverageNode total, 67 cell(td, total); 79 final int total = counter.getTotalCount(); local 80 if (total == 0) {
|
/external/python/cpython3/PC/ |
_testconsole.c | 72 DWORD total = 0; local 73 while (total < size) { 75 if (!WriteConsoleInputW(hInput, &rec[total], (size - total), &wrote)) { 79 total += wrote;
|
/frameworks/base/services/core/java/com/android/server/ |
RandomBlock.java | 54 int total = 0; local 55 while(total < BLOCK_SIZE) { 56 int result = in.read(retval.block, total, BLOCK_SIZE - total); 60 total += result;
|
/prebuilts/go/darwin-x86/src/runtime/internal/atomic/ |
atomic_test.go | 35 total := uintptr(0) 37 atomic.Xadduintptr(&total, inc) 39 if want := uintptr(N * iter * inc); want != total { 40 t.Fatalf("xadduintpr error, want %d, got %d", want, total) 42 total = 0 44 atomic.Xadduintptr(&total, inc) 45 atomic.Xadduintptr(&total, uintptr(-int64(inc))) 47 if total != 0 { 48 t.Fatalf("xadduintpr total error, want %d, got %d", 0, total) [all...] |
/prebuilts/go/linux-x86/src/runtime/internal/atomic/ |
atomic_test.go | 35 total := uintptr(0) 37 atomic.Xadduintptr(&total, inc) 39 if want := uintptr(N * iter * inc); want != total { 40 t.Fatalf("xadduintpr error, want %d, got %d", want, total) 42 total = 0 44 atomic.Xadduintptr(&total, inc) 45 atomic.Xadduintptr(&total, uintptr(-int64(inc))) 47 if total != 0 { 48 t.Fatalf("xadduintpr total error, want %d, got %d", 0, total) [all...] |
/prebuilts/gdb/darwin-x86/share/gdb/python/gdb/command/ |
pretty_printers.py | 168 """Return a 2-tuple of number of enabled and total printers.""" 170 total = 0 178 total += len(printer.subprinters) 182 total += 1 183 return (enabled, total) 187 """Return a 2-tuble of the enabled state and total number of all printers. 235 total = 0 246 total += 1 258 total += 1 274 total += [all...] |
unwinders.py | 118 total = 0 122 total += 1 123 return total 129 total = 0 131 total += do_enable_unwinder1(gdb.frame_unwinders, name_re, flag) 133 total += do_enable_unwinder1(gdb.current_progspace().frame_unwinders, 137 total += do_enable_unwinder1(objfile.frame_unwinders, name_re, 139 print("%d unwinder%s %s" % (total, "" if total == 1 else "s",
|
/prebuilts/gdb/linux-x86/share/gdb/python/gdb/command/ |
pretty_printers.py | 168 """Return a 2-tuple of number of enabled and total printers.""" 170 total = 0 178 total += len(printer.subprinters) 182 total += 1 183 return (enabled, total) 187 """Return a 2-tuble of the enabled state and total number of all printers. 235 total = 0 246 total += 1 258 total += 1 274 total += [all...] |
unwinders.py | 118 total = 0 122 total += 1 123 return total 129 total = 0 131 total += do_enable_unwinder1(gdb.frame_unwinders, name_re, flag) 133 total += do_enable_unwinder1(gdb.current_progspace().frame_unwinders, 137 total += do_enable_unwinder1(objfile.frame_unwinders, name_re, 139 print("%d unwinder%s %s" % (total, "" if total == 1 else "s",
|
/art/test/651-checker-byte-simd-minmax/src/ |
Main.java | 147 int total = 256 * 256; local 148 byte[] x = new byte[total]; 149 byte[] y = new byte[total]; 150 byte[] z = new byte[total]; 163 for (int i = 0; i < total; i++) { 168 for (int i = 0; i < total; i++) { 173 for (int i = 0; i < total; i++) { 178 for (int i = 0; i < total; i++) { 183 for (int i = 0; i < total; i++) {
|
/art/test/651-checker-short-simd-minmax/src/ |
Main.java | 161 int total = interesting.length * interesting.length; local 162 short[] x = new short[total]; 163 short[] y = new short[total]; 164 short[] z = new short[total]; 177 for (int i = 0; i < total; i++) { 182 for (int i = 0; i < total; i++) { 187 for (int i = 0; i < total; i++) { 192 for (int i = 0; i < total; i++) { 197 for (int i = 0; i < total; i++) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
PaddedBufferedBlockCipher.java | 96 int total = len + bufOff; local 97 int leftOver = total % buf.length; 103 return total + buf.length; 106 return total; 109 return total - leftOver + buf.length; 123 int total = len + bufOff; local 124 int leftOver = total % buf.length; 128 return Math.max(0, total - buf.length); 131 return total - leftOver;
|
/external/libchrome/base/ |
callback_list_unittest.cc | 25 int total() const { return total_; } function in class:base::__anon24138::Listener 45 int total() const { return total_; } function in class:base::__anon24138::Remover 71 int total() const { return total_; } function in class:base::__anon24138::Adder 180 EXPECT_EQ(1, a.total()); 181 EXPECT_EQ(1, b.total()); 190 EXPECT_EQ(2, a.total()); 191 EXPECT_EQ(1, b.total()); 192 EXPECT_EQ(1, c.total()); 215 EXPECT_EQ(10, a.total()); 216 EXPECT_EQ(-10, b.total()); [all...] |
/external/tensorflow/tensorflow/core/lib/core/ |
threadpool.cc | 95 void ParallelFor(int64 total, int64 cost_per_unit, 97 CHECK_GE(total, 0); 98 CHECK_EQ(total, (int64)(Eigen::Index)total); 101 total, Eigen::TensorOpCost(0, 0, cost_per_unit), 128 void ThreadPool::ParallelFor(int64 total, int64 cost_per_unit, 130 impl_->ParallelFor(total, cost_per_unit, std::move(fn)); 134 int64 total, int64 cost_per_unit, 136 impl_->ParallelFor(total, cost_per_unit,
|
/frameworks/base/core/java/android/net/ |
TrafficStats.java | 472 long total = 0; local 474 total += addIfSupported(getTxPackets(iface)); 476 return total; 489 long total = 0; local 491 total += addIfSupported(getRxPackets(iface)); 493 return total; 506 long total = 0; local 508 total += addIfSupported(getTxBytes(iface)); 510 return total; 523 long total = 0 local 532 long total = 0; local 547 long total = 0; local [all...] |
/art/test/651-checker-double-simd-minmax/src/ |
Main.java | 86 int total = interesting.length * interesting.length; local 87 double[] x = new double[total]; 88 double[] y = new double[total]; 89 double[] z = new double[total]; 102 for (int i = 0; i < total; i++) { 107 for (int i = 0; i < total; i++) {
|