HomeSort by relevance Sort by last modified time
    Searched refs:total (Results 1 - 25 of 299) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /system/core/libcutils/
uio.c 24 int total = 0; local
33 if (total == 0)
34 total = -1;
40 total += ret;
46 return total;
51 int total = 0; local
60 if (total == 0)
61 total = -1;
67 total += ret;
73 return total;
    [all...]
  /external/webkit/WebCore/xml/
XMLHttpRequestProgressEvent.h 40 static PassRefPtr<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned loaded = 0, unsigned total = 0)
42 return adoptRef(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total));
49 unsigned totalSize() const { return total(); }
53 XMLHttpRequestProgressEvent(const AtomicString& type, bool lengthComputable, unsigned loaded, unsigned total)
54 : ProgressEvent(type, lengthComputable, loaded, total)
  /dalvik/libcore/support/src/test/java/tests/support/
ThrowingReader.java 30 private int total = 0; field in class:ThrowingReader
41 total++;
49 if (total < throwAt) {
50 count = Math.min(count, (throwAt - total));
54 total += returned;
59 if (total == throwAt) {
  /external/webkit/WebCore/dom/
ProgressEvent.h 39 static PassRefPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned loaded, unsigned total)
41 return adoptRef(new ProgressEvent(type, lengthComputable, loaded, total));
53 unsigned total() const { return m_total; } function in class:WebCore::ProgressEvent
59 ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned loaded, unsigned total);
ProgressEvent.cpp 38 ProgressEvent::ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned loaded, unsigned total)
42 , m_total(total)
  /external/stlport/test/unit/
times_test.cpp 32 int total = accumulate(input, input + 4, 1, multiplies<int>()); local
33 CPPUNIT_ASSERT(total==70);
plusminus_test.cpp 36 int total = inner_product(input1, input1 + 4, input2, 0, plus<int>(), multiplies <int>()); local
38 CPPUNIT_ASSERT(total==77);
  /sdk/emulator/qtools/
hist_trace.cpp 23 int total = 0; local
44 total += 1;
53 per = 100.0 * hist[ii] / total;
55 sum_per = 100.0 * sum / total;
58 per = 100.0 * underflow / total;
60 per = 100.0 * overflow / total;
62 printf("total: %6d\n", total);
  /external/skia/src/views/
SkScrollBarView.cpp 46 void SkScrollBarView::setTotal(unsigned total)
48 if ((int)total < 0)
49 total = 0;
51 if (fTotalLength != total)
53 fTotalLength = total;
63 if (dom.findS32(node, "total", &value))
115 int total = fTotalLength; local
120 if (total <= 0 || shown <= 0 || shown >= total) // no bar to show
122 total = 1; // avoid divide-by-zero. should be done by skin/scrip
    [all...]
  /external/apache-http/src/org/apache/http/impl/io/
ContentLengthOutputStream.java 61 /** Total bytes written */
62 private long total = 0; field in class:ContentLengthOutputStream
108 if (this.total < this.contentLength) {
109 long max = this.contentLength - this.total;
114 this.total += len;
126 if (this.total < this.contentLength) {
128 this.total++;
  /external/sqlite/android/
PhoneNumberUtilsTest.cpp 32 #define EXPECT(function, input1, input2, expected, total, error) \
36 (total)++; \
51 (total), (error))
56 (total), (error))
59 int total = 0; local
155 printf("total: %d, error: %d\n\n", total, error);
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/
PaddedBlockCipher.java 45 int total = len + bufOff; local
46 int leftOver = total % buf.length;
52 return total + buf.length;
55 return total;
58 return total - leftOver + buf.length;
72 int total = len + bufOff; local
73 int leftOver = total % buf.length;
77 return total - buf.length;
80 return total - leftOver;
  /hardware/ti/wlan/wl1271/utils/
mem.c 115 TI_UINT32 total = size + sizeof(TMemBlock) + sizeof(TI_UINT32); local
121 pMemBlock = (TMemBlock *) os_memoryAlloc (pMemMng->hOs, total);
124 *(TI_UINT32 *)((TI_UINT8 *)pMemBlock + total - sizeof(TI_UINT32)) = MEM_BLOCK_END;
126 pMemMng->uCurAllocated += total;
153 TI_UINT32 total; local
155 total = number * size;
158 os_printf ("os_memoryCAlloc(%u, %u) : %u\n", number, size, total);
161 ptr = mem_Alloc (hMem, total);
165 os_memorySet (pMemMng->hOs, ptr, 0, total);
  /system/wlan/ti/wilink_6_1/utils/
mem.c 115 TI_UINT32 total = size + sizeof(TMemBlock) + sizeof(TI_UINT32); local
121 pMemBlock = (TMemBlock *) os_memoryAlloc (pMemMng->hOs, total);
124 *(TI_UINT32 *)((TI_UINT8 *)pMemBlock + total - sizeof(TI_UINT32)) = MEM_BLOCK_END;
126 pMemMng->uCurAllocated += total;
153 TI_UINT32 total; local
155 total = number * size;
158 os_printf ("os_memoryCAlloc(%u, %u) : %u\n", number, size, total);
161 ptr = mem_Alloc (hMem, total);
165 os_memorySet (pMemMng->hOs, ptr, 0, total);
  /frameworks/base/services/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;
  /dalvik/libcore/security/src/main/java/java/security/
Policy.java 112 PermissionCollection total = getPermissions(domain); local
114 if (total == null) {
115 total = inherent;
118 total.add(en.nextElement());
121 if (total != null && total.implies(permission)) {
  /external/junit/src/junit/swingui/
ProgressBar.java 30 public void start(int total) {
31 setMaximum(total);
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/
RandomBitsSupplier.java 130 int total = 0; local
136 bytesRead = bis.read(bytes, offset, numBytes-total);
146 total += bytesRead;
149 if ( total >= numBytes ) {
  /bionic/libc/netbsd/net/
getservent.c 57 int total = 0; local
67 /* first compute the total size */
69 total += namelen + 1;
74 total += (count+1)*sizeof(char*);
77 total += 1 + len2;
82 p2 = realloc( (char*)rs->servent.s_aliases, total );
  /external/clearsilver/util/
snprintf.c 155 int total; local
162 total = 0;
175 total += dopr_outch (buffer, &currlen, maxlen, ch);
279 total += fmtint (buffer, &currlen, maxlen, value, 10, min, max, flags);
289 total += fmtint (buffer, &currlen, maxlen, value, 8, min, max, flags);
299 total += fmtint (buffer, &currlen, maxlen, value, 10, min, max, flags);
311 total += fmtint (buffer, &currlen, maxlen, value, 16, min, max, flags);
319 total += fmtfp (buffer, &currlen, maxlen, fvalue, min, max, flags);
338 total += dopr_outch (buffer, &currlen, maxlen, va_arg (args, int));
342 total += fmtstr (buffer, &currlen, maxlen, strvalue, flags, min, max)
407 int total = 0; local
453 int total = 0; local
583 int total = 0; local
743 int total; local
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/
BufferedBlockCipher.java 113 int total = len + bufOff; local
118 leftOver = total % buf.length - (cipher.getBlockSize() + 2);
122 leftOver = total % buf.length;
125 return total - leftOver;
139 int total = len + bufOff; local
144 leftOver = total % buf.length - (cipher.getBlockSize() + 2);
148 leftOver = total % buf.length;
151 return total;
155 return total - leftOver + buf.length;
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/paddings/
PaddedBufferedBlockCipher.java 95 int total = len + bufOff; local
96 int leftOver = total % buf.length;
102 return total + buf.length;
105 return total;
108 return total - leftOver + buf.length;
122 int total = len + bufOff; local
123 int leftOver = total % buf.length;
127 return total - buf.length;
130 return total - leftOver;
  /external/qemu/
qemu-io.c 81 int count, int total, int cnt, int Cflag)
87 cvtstr((double)total, s1, sizeof(s1));
88 cvtstr(tdiv((double)total, *t), s2, sizeof(s2));
90 op, total, count, (long long)offset);
95 total, cnt, ts,
96 tdiv((double)total, *t),
101 static int do_read(char *buf, int64_t offset, int count, int *total)
108 *total = count;
112 static int do_write(char *buf, int64_t offset, int count, int *total)
119 *total = count
215 int total = 0; local
380 int count = 0, total; local
534 int total = 0; local
651 int count = 0, total; local
    [all...]
  /external/openssl/crypto/lhash/
lh_stats.c 117 unsigned long total=0,n_used=0; local
126 total+=num;
130 fprintf(out,"%lu items\n",total);
133 (int)(total/lh->num_nodes),
134 (int)((total%lh->num_nodes)*100/lh->num_nodes),
135 (int)(total/n_used),
136 (int)((total%n_used)*100/n_used));
226 unsigned long total=0,n_used=0; local
235 total+=num;
239 BIO_printf(out,"%lu items\n",total);
    [all...]
  /build/tools/droiddoc/src/
TodoFile.java 57 public int total; field in class:TodoFile.PackageStats
84 int total = 1; local
94 total++;
109 total++;
125 total++;
139 total++;
154 data.setValue(classBase + ".totalCount", ""+total);
155 data.setValue(classBase + ".percentGood", percent(errors, total));
166 ps.total += total;
    [all...]

Completed in 657 milliseconds

1 2 3 4 5 6 7 8 91011>>