Home
last modified time | relevance | path

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

123456789

/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/ndk/platforms/android-L/include/
Dunistd.h221 ssize_t read(int fd, void* buf, size_t count) { in read() argument
225 if (__builtin_constant_p(count) && (count > SSIZE_MAX)) { in read()
230 return __read_real(fd, buf, count); in read()
233 if (__builtin_constant_p(count) && (count > bos)) { in read()
237 if (__builtin_constant_p(count) && (count <= bos)) { in read()
238 return __read_real(fd, buf, count); in read()
242 return __read_chk(fd, buf, count, bos); in read()
Dsched.h96 #define CPU_ALLOC_SIZE(count) \ argument
97 __CPU_ELT((count) + (__CPU_BITS - 1)) * sizeof(__CPU_BITTYPE)
99 #define CPU_ALLOC(count) __sched_cpualloc((count)) argument
102 extern cpu_set_t* __sched_cpualloc(size_t count);
/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/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/
DCheeses.java173 public static ArrayList<String> randomList(int count) { in randomList() argument
178 count = Math.min(count, CHEESES.length); in randomList()
180 while (items.size() < count) { in randomList()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/
DCheeses.java173 public static ArrayList<String> randomList(int count) { in randomList() argument
178 count = Math.min(count, CHEESES.length); in randomList()
180 while (items.size() < count) { in randomList()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/
DCheeses.java173 public static ArrayList<String> randomList(int count) { in randomList() argument
178 count = Math.min(count, CHEESES.length); in randomList()
180 while (items.size() < count) { in randomList()
/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/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/ndk/sources/android/ndk_helper/
DgestureDetector.cpp141 int32_t count = AMotionEvent_getPointerCount( event ); in FindIndex() local
142 for( uint32_t i = 0; i < count; ++i ) in FindIndex()
157 int32_t count = AMotionEvent_getPointerCount( event ); in Detect() local
168 if( count == 2 ) in Detect()
199 if( count != 2 ) in Detect()
208 switch( count ) in Detect()
256 int32_t count = AMotionEvent_getPointerCount( event ); in FindIndex() local
257 for( uint32_t i = 0; i < count; ++i ) in FindIndex()
274 int32_t count = AMotionEvent_getPointerCount( event ); in Detect() local
307 if( count == 2 ) in Detect()
[all …]
/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/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-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-L/include/sys/
Dsendfile.h37 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count);
38 extern ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count);
/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
/development/samples/Vault/src/com/example/android/vault/
DUtils.java63 int count; in readFully() local
64 while ((count = in.read(buffer)) != -1) { in readFully()
65 bytes.write(buffer, 0, count); in readFully()
/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/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java152 int count; in delete() local
155 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete()
161 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete()
173 return count; in delete()
184 int count; in update() local
187 count = builder.table(FeedContract.Entry.TABLE_NAME) in update()
193 count = builder.table(FeedContract.Entry.TABLE_NAME) in update()
204 return count; in update()
/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-L/include/linux/netfilter/
Dxt_multiport.h32 __u8 count; member
39 __u8 count; member
/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()

123456789