Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 109) sorted by relevance

12345

/development/tools/emulator/system/libqemu/
Dtest_guest_1.c62 int count; in main() local
66 for (count = 0; count < maxCount; count++) { in main()
68 int len = snprintf(buff, sizeof(buff), "Hello World %d\n", count); in main()
69 printf("%4d: Sending %d bytes\n", count, len); in main()
84 printf("%4d: Received %d bytes\n", count, ret); in main()
Dtest_guest_2.c60 int nn, count; in main() local
162 for (count = 0; count < maxCount; count++) { in main()
167 fprintf(stderr,"%d: Sending %d bytes failed: %s\n", count, bufferSize, strerror(errno)); in main()
226 if (count > 0 && (count % 200) == 0) { in main()
227 printf("... %d\n", count); in main()
Dtest_host_1.c211 int ret, count; in main() local
222 count = ret; in main()
226 while (count > 0) { in main()
227 ret = TFR(write(client, p, count)); in main()
236 count -= ret; in main()
/development/tools/axl/
DudpServer.py21 count = 0
22 while count < 500:
23 print 'Sending packet', count, 'to', address[0]
24 svrsocket.sendto("%3.3s%s" % (count, buf), address)
26 count += 1
DudpEater.py38 count = 0
39 while count < 400:
41 print 'Received packet', count, data[:34]
42 count += 1
Daxl.py188 self.count = 0
192 self.count += len(data)
193 if self.count == 190890:
201 self.count = 0
205 if self.count == 0: self.write("HTTP/1.1 200 OK\r\n\r\n")
206 self.count += 1
213 self.count = 0
217 if self.count == 0: self.write("HTTP/1.1 200 OK\r\n\r\n")
220 def sendPack(self, count): argument
221 if count > 10:
[all …]
/development/ndk/platforms/android-3/arch-arm/include/asm/
Dsemaphore.h24 atomic_t count; member
29 #define __SEMAPHORE_INIT(name, cnt) { .count = ATOMIC_INIT(cnt), .wait = __WAIT_QUEUE_HEAD_INI…
31 #define __DECLARE_SEMAPHORE_GENERIC(name,count) struct semaphore name = __SEMAPHORE_INIT(name,cou… argument
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DFixedGridLayout.java62 int count = getChildCount(); in onMeasure() local
63 for (int index=0; index<count; index++) { in onMeasure()
69 int minCount = count > 3 ? count : 3; in onMeasure()
85 int count = getChildCount(); in onLayout() local
86 for (int index=0; index<count; index++) { in onLayout()
/development/tools/jdwpspy/
DMain.cpp66 int count = ((int)length > 16-gap) ? 16-gap : (int) length; /* cap length */ in printHexDumpEx() local
67 assert(count != 0); in printHexDumpEx()
68 assert(count+gap <= 16); in printHexDumpEx()
77 for (i = gap ; i < count+gap; i++) { in printHexDumpEx()
98 length -= count; in printHexDumpEx()
99 offset += count; in printHexDumpEx()
/development/tools/findunused/
Dfindunusedstrings7 -p option prints out unused strings, otherwise a total count is printed
41 count=$(wc -l)
42 if [ "$count" != "0" ]
44 echo $app: $count unused strings
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
DFixedGridLayout.java75 int count = getChildCount(); in onMeasure() local
76 for (int index=0; index<count; index++) { in onMeasure()
81 setMeasuredDimension(resolveSize(mCellWidth*count, widthMeasureSpec), in onMeasure()
82 resolveSize(mCellHeight*count, heightMeasureSpec)); in onMeasure()
96 int count = getChildCount(); in onLayout() local
97 for (int index=0; index<count; index++) { in onLayout()
/development/ndk/samples/hello-neon/jni/
Dhelloneon.c101 int count = FIR_ITERATIONS; in Java_com_example_neon_HelloNeon_stringFromJNI() local
102 for (; count > 0; count--) { in Java_com_example_neon_HelloNeon_stringFromJNI()
136 int count = FIR_ITERATIONS; in Java_com_example_neon_HelloNeon_stringFromJNI() local
137 for (; count > 0; count--) { in Java_com_example_neon_HelloNeon_stringFromJNI()
/development/tools/emulator/system/qemu-props/
Dqemu-props.c48 int qemud_fd, count = 0; in main() local
107 count += 1; in main()
114 DD("exiting (%d properties set).", count); in main()
/development/tools/idegen/src/
DEclipse.java123 int count = 0; in constructExcluding() local
126 if (count == 0) { in constructExcluding()
127 count++; in constructExcluding()
136 if (count > 1) { in constructExcluding()
142 count++; in constructExcluding()
153 if (count > 1) { in constructExcluding()
159 count++; in constructExcluding()
/development/ndk/platforms/android-3/include/linux/netfilter/
Dxt_multiport.h27 u_int8_t count; member
34 u_int8_t count; member
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dio_32.h31count) { __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "d"(port)); } stati…
/development/ndk/platforms/android-3/include/linux/nfsd/
Dxdr.h37 __u32 count; member
90 __u32 count; member
110 unsigned long count; member
115 int count; member
/development/ndk/platforms/android-3/include/linux/
Dproc_fs.h29 int count, int *eof, void *data);
31 unsigned long count, void *data);
51 atomic_t count; member
Dmutex.h24 atomic_t count; member
40 #define __MUTEX_INITIALIZER(lockname) { .count = ATOMIC_INIT(1) , .wait_lock = SPIN_LOCK_UNLOCK…
Dpercpu_counter.h22 s64 count; member
Dkeychord.h25 __u16 count; member
/development/ndk/platforms/android-9/arch-mips/include/asm/
Dio.h92count) { const volatile type *__addr = addr; while (count--) { __mem_write##bwlq(*__addr,…
94count) { const volatile type *__addr = addr; while (count--) { __mem_out##bwlq(*__addr, p…
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DMeasureText.java74 int count = mPaint.getTextWidths(text, 0, text.length(), widths); in showText() local
83 float[] pts = new float[2 + count*2]; in showText()
88 for (int i = 0; i < count; i++) { in showText()
97 canvas.drawPoints(pts, 0, (count + 1) << 1, mPaint); in showText()
/development/apps/Development/src/com/android/development/
DDetails.java84 int count = mData.size(); in addDataViews() local
85 for (int i=0; i<count; i++) { in addDataViews()
89 contents.setPadding(3, 0, 0, i==count-1?0:3); in addDataViews()
143 int count = mData.size();
144 for (int i=0; i<count; i++) {
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLShape.java46 int count = 0; in getIndexCount() local
50 count += face.getIndexCount(); in getIndexCount()
52 return count; in getIndexCount()

12345