/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SwipeTracker.java | 36 final int count = ev.getHistorySize(); local 37 for (int i = 0; i < count; i++) { 66 final int count = buffer.size(); local 67 for (int pos = 1; pos < count; pos++) { 101 private int count; // the number of valid data 112 top = end = count = 0; 116 return count; 133 if (count < bufSize) { 134 count++; 153 count-- [all...] |
/bionic/libc/string/ |
strtotimeval.c | 43 int count; local 49 count = 0; 52 if ( ++count < 7 ) 57 for ( ; count < 6; count++ )
|
/development/simulator/wrapsim/ |
DevAudio.c | 59 static ssize_t writeAudio(FakeDev* dev, int fd, const void* buf, size_t count) 66 snd_pcm_writei(state->handle, buf, count / 4); 67 return count; 71 usleep(count * 10000 / (441 * 4)); 72 return count;
|
/external/chromium/base/ |
atomicops_unittest.cc | 19 AtomicType count; member in struct:__anon2124 28 s.count = 0; 31 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 1), 1); 32 EXPECT_EQ(s.count, 1); 36 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 2), 3); 37 EXPECT_EQ(s.count, 3); 41 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 3), 6); 42 EXPECT_EQ(s.count, 6); 46 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -3), 3); 47 EXPECT_EQ(s.count, 3) [all...] |
/external/e2fsprogs/tests/f_illitable/ |
expect.1 | 30 Free blocks count wrong for group #0 (77, counted=89). 33 Free blocks count wrong (77, counted=89). 36 Free inodes count wrong for group #0 (20, counted=21). 39 Directories count wrong for group #0 (3, counted=2). 42 Free inodes count wrong (20, counted=21).
|
/external/kernel-headers/original/asm-arm/ |
semaphore.h | 16 atomic_t count; member in struct:semaphore 23 .count = ATOMIC_INIT(cnt), \ 27 #define __DECLARE_SEMAPHORE_GENERIC(name,count) \ 28 struct semaphore name = __SEMAPHORE_INIT(name,count) 35 atomic_set(&sem->count, val);
|
/external/webkit/SunSpider/tests/sunspider-0.9/ |
access-fannkuch.js | 9 var count = Array(n); 25 while (r != 1) { count[r - 1] = r; r--; } 57 count[r] = count[r] - 1; 58 if (count[r] > 0) break;
|
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
access-fannkuch.js | 9 var count = Array(n); 25 while (r != 1) { count[r - 1] = r; r--; } 57 count[r] = count[r] - 1; 58 if (count[r] > 0) break;
|
/external/webkit/WebKit/win/Interfaces/ |
IWebKitStatistics.idl | 40 HRESULT webViewCount([out, retval] int* count); 41 HRESULT frameCount([out, retval] int* count); 42 HRESULT dataSourceCount([out, retval] int* count); 43 HRESULT viewCount([out, retval] int* count); 44 HRESULT HTMLRepresentationCount([out, retval] int* count);
|
/external/wpa_supplicant/wpa_gui/ |
scanresults.ui.h | 62 bssid = cols.count() > 0 ? cols[0] : ""; 63 freq = cols.count() > 1 ? cols[1] : ""; 64 signal = cols.count() > 2 ? cols[2] : ""; 65 flags = cols.count() > 3 ? cols[3] : ""; 66 ssid = cols.count() > 4 ? cols[4] : "";
|
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui/ |
scanresults.ui.h | 62 bssid = cols.count() > 0 ? cols[0] : ""; 63 freq = cols.count() > 1 ? cols[1] : ""; 64 signal = cols.count() > 2 ? cols[2] : ""; 65 flags = cols.count() > 3 ? cols[3] : ""; 66 ssid = cols.count() > 4 ? cols[4] : "";
|
/frameworks/base/libs/rs/java/Fountain/res/raw/ |
fountain2.rs | 13 int count; 29 int count = Control->count; 51 if (newPart >= count) { 58 for (ct=0; ct < count; ct++) {
|
/external/ppp/pppd/ |
md4.c | 112 for (i=0;i<8;i++) MDp->count[i] = 0; 119 ** Does not update MDp->count. 195 /* MD4Update(MDp,X,count) 197 ** count -- the number of bits of X to use. 199 ** Update MDp using the number of bits of X given by count. 201 ** The routine completes the MD computation when count < 512, so 203 ** count less than 512. A call with count 0 will be ignored if the 205 ** count 0 can be given as a "courtesy close" to force termination 209 MD4Update(MDp,X,count) [all...] |
/libcore/luni/src/main/java/org/apache/xml/serializer/ |
SerializerTraceWriter.java | 72 private int count; field in class:SerializerTraceWriter 83 count = 0; 116 if (count > 0) 118 char[] chars = new char[count]; 119 for(int i=0; i<count; i++) 129 count = 0; 184 if (count >= buf_length) 189 buf[count++] = (byte) (c); 193 buf[count++] = (byte) (0xc0 + (c >> 6)); 194 buf[count++] = (byte) (0x80 + (c & 0x3f)) [all...] |
/external/skia/src/animator/ |
SkDrawGradient.cpp | 91 for (int index = 0; index < fDrawColors.count(); index++) 107 int count = fDrawColors.count(); local 108 fColors.setCount(count); 109 for (int index = 0; index < count; index++) 111 return count; 134 if (offsets.count() != 0) { 135 if (offsets.count() != fDrawColors.count()) { 143 if (offsets[offsets.count()-1] != SK_Scalar1) [all...] |
/external/skia/src/core/ |
SkBitmapProcState_sample.h | 21 int count, DSTTYPE* SK_RESTRICT colors) { 22 SkASSERT(count > 0 && colors != NULL); 35 for (i = (count >> 1); i > 0; --i) { 48 if (count & 1) { 63 int count, DSTTYPE* SK_RESTRICT colors) { 64 SkASSERT(count > 0 && colors != NULL); 86 BITMAPPROC_MEMSET(colors, dstValue, count); 89 for (i = (count >> 2); i > 0; --i) { 103 for (i = (count & 3); i > 0; --i) { 118 int count, DSTTYPE* SK_RESTRICT colors) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
ignoreCase.js | 38 var count = 0; variable 42 testcases[count++] = new TestCase ( SECTION, "/xyz/i.ignoreCase", 46 testcases[count++] = new TestCase ( SECTION, "/xyz/.ignoreCase", 50 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/[a-z]+/ig)", 54 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/[a-z]+/i)", 58 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/([a-z]+)/ig)", 62 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/([a-z]+)/i)", 66 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/[a-z]+/)", 70 testcases[count++] = new TestCase ( SECTION, "(new RegExp('xyz','i')).ignoreCase", 74 testcases[count++] = new TestCase ( SECTION, "(new RegExp('xyz')).ignoreCase" [all...] |
/frameworks/base/core/jni/android/graphics/ |
Shader.cpp | 88 size_t count = env->GetArrayLength(colorArray); local 91 SkAutoSTMalloc<8, SkScalar> storage(posArray ? count : 0); 95 AutoJavaFloatArray autoPos(env, posArray, count); 98 for (size_t i = 0; i < count; i++) 104 pos, count, 138 size_t count = env->GetArrayLength(colorArray); local 141 SkAutoSTMalloc<8, SkScalar> storage(posArray ? count : 0); 145 AutoJavaFloatArray autoPos(env, posArray, count); 148 for (size_t i = 0; i < count; i++) 155 pos, count, 186 size_t count = env->GetArrayLength(jcolors); local [all...] |
/frameworks/base/core/jni/ |
android_text_AndroidCharacter.cpp | 61 static void getDirectionalities(JNIEnv* env, jobject obj, jcharArray srcArray, jbyteArray destArray, int count) 70 if (env->GetArrayLength(srcArray) < count || env->GetArrayLength(destArray) < count) { 75 for (int i = 0; i < count; i++) { 77 i + 1 < count && 114 int start, int count, jbyteArray destArray) 123 if (start < 0 || start > start + count 124 || env->GetArrayLength(srcArray) < (start + count) 125 || env->GetArrayLength(destArray) < count) { 130 for (int i = 0; i < count; i++) [all...] |
/libcore/luni/src/main/java/java/io/ |
BufferedOutputStream.java | 45 protected int count; field in class:BufferedOutputStream 94 * Writes {@code count} bytes from the byte array {@code buffer} starting at 116 * If offset or count is outside of bounds. 142 if (length >= (internalBuffer.length - count)) { 146 // the length is always less than (internalBuffer.length - count) here so arraycopy is safe 147 System.arraycopy(buffer, offset, internalBuffer, count, length); 148 count += length; 166 * copied into the buffer and the count incremented. Otherwise, the buffer 178 if (count == buf.length) { 179 out.write(buf, 0, count); [all...] |
/ndk/build/awk/ |
gen-windows-host-path.awk | 54 # setup our count 55 count = 0 60 count ++ 61 host[count] = $1 62 cygwin[count] = $3 71 count1 = count 84 count++ 85 host[count] = host[nn] 86 cygwin[count] = substr(cygwin[nn],1,length(cygwin[nn])-1) up 93 count+ [all...] |
/external/webkit/WebKit/qt/tests/qwebelement/ |
tst_qwebelement.cpp | 121 QCOMPARE(list.count(), 2); 196 QCOMPARE(body.classes().count(), 0); 200 QCOMPARE(classes.count(), 4); 214 QCOMPARE(p.classes().count(), 5); 226 QCOMPARE(p.classes().count(), 4); 229 QCOMPARE(p.classes().count(), 3); 234 QCOMPARE(p.classes().count(), 5); 238 QCOMPARE(p.classes().count(), 4); 241 QCOMPARE(p.classes().count(), 3); 243 QCOMPARE(p.classes().count(), 3) [all...] |
/external/chromium/third_party/icu/source/common/ |
utf_impl.c | 110 uint8_t count=UTF8_COUNT_TRAIL_BYTES(c); local 111 if((i)+count<=(length)) { 114 UTF8_MASK_LEAD_BYTE((c), count); 115 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */ 116 switch(count) { 120 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */ 153 * that needs count bytes so that UTF8_GET_CHAR_SAFE() works right. 163 /* illegal is also set if count>=4 */ 164 if(illegal || (c)<utf8_minLegal[count] || (UTF_IS_SURROGATE(c) && strict!=-2)) { 166 uint8_t errorCount=count; 247 uint8_t b, count=1, shift=6; local [all...] |
/external/e2fsprogs/e2fsck/ |
ea_refcount.c | 29 blk_t count; member in struct:ea_refcount 69 refcount->count = 0; 82 * of any count == zero entries 90 for (i = 0, j = 0; i < refcount->count; i++) { 99 refcount->count, j); 101 refcount->count = j; 117 if (refcount->count >= refcount->size) { 131 num = (int) refcount->count - pos; 138 refcount->count++; 162 high = (int) refcount->count-1 [all...] |
/external/icu4c/common/ |
utf_impl.c | 110 uint8_t count=UTF8_COUNT_TRAIL_BYTES(c); local 111 if((i)+count<=(length)) { 114 UTF8_MASK_LEAD_BYTE((c), count); 115 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */ 116 switch(count) { 120 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */ 153 * that needs count bytes so that UTF8_GET_CHAR_SAFE() works right. 163 /* illegal is also set if count>=4 */ 164 if(illegal || (c)<utf8_minLegal[count] || (UTF_IS_SURROGATE(c) && strict!=-2)) { 166 uint8_t errorCount=count; 247 uint8_t b, count=1, shift=6; local [all...] |