/external/sqlite/android/ |
PhoneNumberUtilsTest.cpp | 34 #define EXPECT(function, input1, input2, expected, total, error) \ 38 (total)++; \ 53 (total), (error)) 58 (total), (error)) 64 (total)++; \ 77 int total = 0; local 189 printf("total: %d, error: %d\n\n", total, error);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
rasterize.rs | 38 static int total; 57 slope[total].x = (-(f1.y * (f3.z - f2.z) - f2.y * f3.z + f3.y * f2.z + (f2.y - f3.y) * f1.z) 59 slope[total].y = ((f1.x * (f3.z - f2.z) - f2.x * f3.z + f3.x * f2.z + (f2.x - f3.x) * f1.z) 61 zoff[total] = ((f1.x * (f3.y * f2.z - f2.y * f3.z) + f1.y * (f2.x * f3.z - f3.x * f2.z) + 64 p1[total] = f1.xy; 65 p2[total] = f2.xy; 66 p3[total] = f3.xy; 67 d12[total] = p1[total] - p2[total]; [all...] |
/external/doclava/src/com/google/doclava/ |
TodoFile.java | 58 public int total; field in class:TodoFile.PackageStats 85 int total = 1; local 95 total++; 109 total++; 124 total++; 138 total++; 153 data.setValue(classBase + ".totalCount", "" + total); 154 data.setValue(classBase + ".percentGood", percent(errors, total)); 165 ps.total += total; [all...] |
/system/bt/osi/src/ |
ringbuffer.c | 26 size_t total; member in struct:ringbuffer_t 45 p->total = p->available = size; 63 return rb->total - rb->available; 75 if (rb->tail >= (rb->base + rb->total)) 90 if (rb->head >= (rb->base + rb->total)) 91 rb->head -= rb->total; 106 if (b >= (rb->base + rb->total)) 120 if (rb->head >= (rb->base + rb->total)) 121 rb->head -= rb->total;
|
/external/fio/t/ |
stest.c | 25 unsigned long total; local 32 nr = total = 0; 33 while (total < 128*1024*1024UL) { 37 printf("fail at %lu, size %u\n", total, size); 42 total += size;
|
/system/bt/test/suite/cases/ |
rfcomm.c | 34 size_t total = 0; local 35 while (!strstr(response, HANDSHAKE_RESPONSE) && total < sizeof(response)) { 36 ssize_t len = read(fd, response + total, sizeof(response) - total); 38 total += len;
|
/external/lldb/test/python_api/type/ |
main.cpp | 36 int total = 0; local 40 ++total; 43 printf("We have a total number of %d tasks\n", total);
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
SynchronousHttpClient.java | 46 long total = 0; local 48 total += count; 51 return total;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
contrast.cpp | 34 float total = 0; local 41 total += lumArray[i]; 43 const float avg = total / numPixels;
|
/external/lzma/CPP/7zip/UI/Console/ |
PercentPrinter.h | 21 void SetTotal(UInt64 total) { m_Total = total; m_PrevValue = 0; }
|
/frameworks/base/core/java/android/net/ |
TrafficStats.java | 299 long total = 0; local 301 total += getTxPackets(iface); 303 return total; 316 long total = 0; local 318 total += getRxPackets(iface); 320 return total; 333 long total = 0; local 335 total += getTxBytes(iface); 337 return total; 350 long total = 0 local 359 long total = 0; local 371 long total = 0; local [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
plusminus_test.cpp | 36 int total = inner_product(input1, input1 + 4, input2, 0, plus<int>(), multiplies <int>()); local 38 CPPUNIT_ASSERT(total==77);
|
/ndk/tests/device/test-stlport/unit/ |
plusminus_test.cpp | 36 int total = inner_product(input1, input1 + 4, input2, 0, plus<int>(), multiplies <int>()); local 38 CPPUNIT_ASSERT(total==77);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
fpformat.py | 72 total = intpart + fraction 73 nextdigit = total[i+digs] 77 if total[n] != '9': break 80 total = '0' + total 83 total = total[:n] + chr(ord(total[n]) + 1) + '0'*(len(total)-n-1) 84 intpart, fraction = total[:i], total[i: [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
fpformat.py | 72 total = intpart + fraction 73 nextdigit = total[i+digs] 77 if total[n] != '9': break 80 total = '0' + total 83 total = total[:n] + chr(ord(total[n]) + 1) + '0'*(len(total)-n-1) 84 intpart, fraction = total[:i], total[i: [all...] |
/device/generic/goldfish/libqemu/ |
test_guest_1.c | 64 size_t total = 0; local 76 total += len; 102 total*1.0 / (1024.*1024.*(time1-time0)), 1.0*total, time1-time0);
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/ |
debugapp.py | 39 total = environ.get('CONTENT_LENGTH') 40 if total: 41 remaining = int(total) 44 print("%s of %s remaining" % (remaining, total))
|
/external/jemalloc/test/integration/ |
sdallocx.c | 15 size_t nsz, sz, alignment, total; local 25 total = 0; 34 total += nsz; 35 if (total >= (MAXALIGN << 1))
|
/external/libvpx/libvpx/third_party/libwebm/ |
mkvreader.hpp | 27 virtual int Length(long long* total, long long* available);
|
/external/linux-tools-perf/src/tools/perf/ui/gtk/ |
progress.c | 10 static void gtk_progress_update(u64 curr, u64 total, const char *title) 12 double fraction = total ? 1.0 * curr / total : 0.0; 35 snprintf(buf, sizeof(buf), "%"PRIu64" / %"PRIu64, curr, total);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
mkvreader.hpp | 30 virtual int Length(long long* total, long long* available);
|
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/test/ |
GridLayoutTest.java | 54 int total = getActivity().findViewById(R.id.gridView).getWidth(); local 57 assertTrue("test sanity", total > 0); 67 int total = getActivity().findViewById(R.id.gridView).getWidth(); local 70 assertTrue("test sanity", total > 0); 80 int total = getActivity().findViewById(R.id.gridView).getWidth(); local 83 assertTrue("test sanity", total > 0); 96 assertEquals(total, left); 104 int total = gridView.getHeight(); local 107 assertTrue("test sanity", total > 0); 109 assertTrue("total height should be smaller than what it could be" [all...] |
/bionic/libc/dns/net/ |
getservent.c | 58 int total = 0; local 68 /* first compute the total size */ 70 total += namelen + 1; 75 total += (count+1)*sizeof(char*); 78 total += 1 + len2; 83 p2 = realloc( (char*)rs->servent.s_aliases, total );
|
/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/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/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...] |