Searched refs:count (Results 1 - 25 of 122) sorted by relevance

12345

/development/tools/axl/
H A DudpEater.py38 count = 0
39 while count < 400:
41 print 'Received packet', count, data[:34]
42 count += 1
H A 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
H A 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):
221 if count > 1
[all...]
/development/ndk/platforms/android-3/arch-arm/include/asm/
H A Dsemaphore.h24 atomic_t count; member in struct:semaphore
29 #define __SEMAPHORE_INIT(name, cnt) { .count = ATOMIC_INIT(cnt), .wait = __WAIT_QUEUE_HEAD_INITIALIZER((name).wait), }
31 #define __DECLARE_SEMAPHORE_GENERIC(name,count) struct semaphore name = __SEMAPHORE_INIT(name,count)
/development/ndk/platforms/android-3/include/linux/netfilter/
H A Dxt_multiport.h27 u_int8_t count; member in struct:xt_multiport
34 u_int8_t count; member in struct:xt_multiport_v1
H A Dxt_connbytes.h32 } count; member in struct:xt_connbytes_info
H A Dxt_statistic.h37 u_int32_t count; member in struct:xt_statistic_info::__anon158::__anon160
/development/tools/emulator/system/libqemu/
H A Dtest_guest_1.c20 * for count in range(0,100):
21 * msg = "Hello Word " + count
62 int count; local
66 for (count = 0; count < maxCount; count++) {
68 int len = snprintf(buff, sizeof(buff), "Hello World %d\n", count);
69 printf("%4d: Sending %d bytes\n", count, len);
84 printf("%4d: Received %d bytes\n", count, ret);
H A Dtest_guest_2.c60 int nn, count; local
162 for (count = 0; count < maxCount; count++) {
167 fprintf(stderr,"%d: Sending %d bytes failed: %s\n", count, bufferSize, strerror(errno));
226 if (count > 0 && (count % 200) == 0) {
227 printf("... %d\n", count);
/development/ndk/platforms/android-3/include/linux/
H A Dkeychord.h25 __u16 count; member in struct:input_keychord
H A Dpercpu_counter.h22 s64 count; member in struct:percpu_counter
H A Dmutex.h24 atomic_t count; member in struct:mutex
40 #define __MUTEX_INITIALIZER(lockname) { .count = ATOMIC_INIT(1) , .wait_lock = SPIN_LOCK_UNLOCKED , .wait_list = LIST_HEAD_INIT(lockname.wait_list) __DEBUG_MUTEX_INITIALIZER(lockname) __DEP_MAP_MUTEX_INITIALIZER(lockname) }
H A Dproc_fs.h29 int count, int *eof, void *data);
31 unsigned long count, void *data);
51 atomic_t count; member in struct:proc_dir_entry
/development/ndk/platforms/android-3/include/sys/
H A Dsendfile.h36 extern ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count);
/development/tools/emulator/opengl/shared/OpenglCodecCommon/
H A DglUtils.h58 void glUtilsPackStrings(char *ptr, char **strings, GLint *length, GLsizei count);
59 int glUtilsCalcShaderSourceLen(char **strings, GLint *length, GLsizei count);
66 template <class T> void minmax(T *indices, int count, int *min, int *max) { argument
70 for (int i = 0; i < count; i++) {
77 template <class T> void shiftIndices(T *indices, int count, int offset) { argument
79 for (int i = 0; i < count; i++) {
86 template <class T> void shiftIndices(T *src, T *dst, int count, int offset) argument
88 for (int i = 0; i < count; i++) {
/development/tools/emulator/system/qemu-props/
H A Dqemu-props.c48 int qemud_fd, count = 0; local
107 count += 1;
114 DD("exiting (%d properties set).", count);
/development/samples/ApiDemos/src/com/example/android/apis/animation/
H A DFixedGridLayout.java62 int count = getChildCount();
63 for (int index=0; index<count; index++) {
69 int minCount = count > 3 ? count : 3;
85 int count = getChildCount();
86 for (int index=0; index<count; index++) {
/development/tools/findunused/
H A 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/platforms/android-3/include/
H A Dsha1.h20 uint32_t count[2]; member in struct:__anon329
H A Dsemaphore.h36 volatile unsigned int count; member in struct:__anon328
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
H A DFixedGridLayout.java75 int count = getChildCount();
76 for (int index=0; index<count; index++) {
81 setMeasuredDimension(resolveSize(mCellWidth*count, widthMeasureSpec),
82 resolveSize(mCellHeight*count, heightMeasureSpec));
96 int count = getChildCount();
97 for (int index=0; index<count; index++) {
/development/tools/jdwpspy/
H A DMain.cpp67 int count = ((int)length > 16-gap) ? 16-gap : (int) length; /* cap length */ local
68 assert(count != 0);
69 assert(count+gap <= 16);
78 for (i = gap ; i < count+gap; i++) {
99 length -= count;
100 offset += count;
/development/ndk/platforms/android-3/include/linux/nfsd/
H A Dxdr.h37 __u32 count; member in struct:nfsd_readargs
90 __u32 count; member in struct:nfsd_readdirargs
110 unsigned long count; member in struct:nfsd_readres
115 int count; member in struct:nfsd_readdirres
/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Dio_32.h31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type value = in##bwl##_local(port); slow_down_io(); return value; } __BUILDIO(bwl,bw,type) static inline void out##bwl##_p(unsigned type value, int port) { out##bwl(value, port); slow_down_io(); } static inline unsigned type in##bwl##_p(int port) { unsigned type value = in##bwl(port); slow_down_io(); return value; } static inline void outs##bwl(int port, const void *addr, unsigned long count) { __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "d"(port)); } static inline void ins##bwl(int port, void *addr, unsigned long count) { __asm__ __volatile__("rep; ins" #bwl : "+D"(addr), "+c"(count) : "d"(port)); }
/development/tools/emulator/opengl/system/GLESv2_enc/
H A DGL2Encoder.h59 void sendVertexAttributes(GLint first, GLsizei count);
86 static void s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count);
89 static void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices);
120 static void s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar **string, const GLint *length);
177 static void s_glUniform1fv(void *self , GLint location, GLsizei count, const GLfloat* v);
179 static void s_glUniform1iv(void *self , GLint location, GLsizei count, const GLint* v);
181 static void s_glUniform2fv(void *self , GLint location, GLsizei count, const GLfloat* v);
183 static void s_glUniform2iv(void *self , GLint location, GLsizei count, const GLint* v);
185 static void s_glUniform3fv(void *self , GLint location, GLsizei count, const GLfloat* v);
187 static void s_glUniform3iv(void *self , GLint location, GLsizei count, cons
[all...]

Completed in 422 milliseconds

12345