Searched refs:count (Results 26 - 50 of 122) sorted by relevance

12345

/development/tools/idegen/src/
H A DEclipse.java123 int count = 0;
126 if (count == 0) {
127 count++;
136 if (count > 1) {
142 count++;
153 if (count > 1) {
159 count++;
/development/ndk/samples/hello-neon/jni/
H A Dhelloneon.c101 int count = FIR_ITERATIONS; local
102 for (; count > 0; count--) {
136 int count = FIR_ITERATIONS; local
137 for (; count > 0; count--) {
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
H A DGLShape.java46 int count = 0;
50 count += face.getIndexCount();
52 return count;
/development/ndk/platforms/android-3/include/sys/
H A Datomics.h80 int __futex_wake(volatile void *ftx, int count);
H A D_system_properties.h52 unsigned volatile count; member in struct:prop_area
82 ** - prop_area.count will never decrease in value
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DMeasureText.java74 int count = mPaint.getTextWidths(text, 0, text.length(), widths);
83 float[] pts = new float[2 + count*2];
88 for (int i = 0; i < count; i++) {
97 canvas.drawPoints(pts, 0, (count + 1) << 1, mPaint);
H A DPictureLayout.java83 final int count = getChildCount();
88 for (int i = 0; i < count; i++) {
147 final int count = super.getChildCount();
149 for (int i = 0; i < count; i++) {
/development/ndk/platforms/android-9/arch-mips/include/asm/
H A Dio.h92 #define __BUILD_MEMORY_STRING(bwlq, type) static inline void writes##bwlq(volatile void __iomem *mem, const void *addr, unsigned int count) { const volatile type *__addr = addr; while (count--) { __mem_write##bwlq(*__addr, mem); __addr++; } } static inline void reads##bwlq(volatile void __iomem *mem, void *addr, unsigned int count) { volatile type *__addr = addr; while (count--) { *__addr = __mem_read##bwlq(mem); __addr++; } }
94 #define __BUILD_IOPORT_STRING(bwlq, type) static inline void outs##bwlq(unsigned long port, const void *addr, unsigned int count) { const volatile type *__addr = addr; while (count--) { __mem_out##bwlq(*__addr, port); __addr++; } } static inline void ins##bwlq(unsigned long port, void *addr, unsigned int count) { volatile type *__addr = addr; while (count--) { *__addr = __mem_in##bwlq(port); __addr++; } }
/development/apps/Development/src/com/android/development/
H A DDetails.java84 int count = mData.size();
85 for (int i=0; i<count; i++) {
89 contents.setPadding(3, 0, 0, i==count-1?0:3);
143 int count = mData.size();
144 for (int i=0; i<count; i++) {
H A DEnterURL.java162 int count = mHistory.size();
164 for (i=0; i<count; i++) {
173 if (i >= count) {
204 int count = mHistory.size();
205 for (int i=0; i<count; i++) {
275 int count = mHistory.size();
276 for (int i=0; i<count; i++) {
/development/tools/emulator/system/libqemu/
H A Dtest_host_1.c211 int ret, count; local
222 count = ret;
224 //printf(" received: %d bytes\n", count);
226 while (count > 0) {
227 ret = TFR(write(client, p, count));
236 count -= ret;
/development/ndk/platforms/android-3/include/linux/
H A Dfile.h43 atomic_t count; member in struct:files_struct
H A Ddevice.h64 ssize_t (*store)(struct bus_type *, const char * buf, size_t count);
90 ssize_t (*store)(struct device_driver *, const char * buf, size_t count);
122 ssize_t (*store)(struct class *, const char * buf, size_t count);
130 ssize_t (*store)(struct class_device *, const char * buf, size_t count);
167 const char *buf, size_t count);
/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Dpgalloc_32.h27 #define paravirt_alloc_pd_clone(pfn, clonepfn, start, count) do { } while (0)
/development/ndk/platforms/android-9/include/android/
H A Dasset_manager.h84 * Attempt to read 'count' bytes of data from the current offset.
88 int AAsset_read(AAsset* asset, void* buf, size_t count);
/development/tools/findunused/
H A Dfindunusedresources9 -p option prints out unused resources, otherwise a total count is printed
79 count=$(wc -l)
80 if [ "$count" != "0" ]
82 echo $app: $count unused resources
/development/tools/emulator/opengl/system/GLESv2_enc/
H A DGL2Encoder.cpp403 void GL2Encoder::sendVertexAttributes(GLint first, GLsizei count)
423 unsigned int datalen = state->elementSize * count;
442 void GL2Encoder::s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count)
445 ctx->sendVertexAttributes(first, count);
446 ctx->m_glDrawArrays_enc(ctx, mode, 0, count);
450 void GL2Encoder::s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices)
455 SET_ERROR_IF(count<0, GL_INVALID_VALUE);
480 ctx->sendVertexAttributes(0, count);
482 ctx->glDrawElementsOffset(ctx, mode, count, type, (GLuint)indices);
497 GLUtils::minmax<unsigned char>((unsigned char *)indices, count,
[all...]
H A Dgl2_entry.cpp49 void glDrawArrays(GLenum mode, GLint first, GLsizei count);
50 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
65 void glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
107 void glShaderSource(GLuint shader, GLsizei count, const GLchar** string, const GLint* length);
121 void glUniform1fv(GLint location, GLsizei count, const GLfloat* v);
123 void glUniform1iv(GLint location, GLsizei count, const GLint* v);
125 void glUniform2fv(GLint location, GLsizei count, const GLfloat* v);
127 void glUniform2iv(GLint location, GLsizei count, const GLint* v);
129 void glUniform3fv(GLint location, GLsizei count, const GLfloat* v);
131 void glUniform3iv(GLint location, GLsizei count, cons
470 glDrawArrays(GLenum mode, GLint first, GLsizei count) argument
476 glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) argument
570 glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) argument
822 glShaderSource(GLuint shader, GLsizei count, const GLchar** string, const GLint* length) argument
906 glUniform1fv(GLint location, GLsizei count, const GLfloat* v) argument
918 glUniform1iv(GLint location, GLsizei count, const GLint* v) argument
930 glUniform2fv(GLint location, GLsizei count, const GLfloat* v) argument
942 glUniform2iv(GLint location, GLsizei count, const GLint* v) argument
954 glUniform3fv(GLint location, GLsizei count, const GLfloat* v) argument
966 glUniform3iv(GLint location, GLsizei count, const GLint* v) argument
978 glUniform4fv(GLint location, GLsizei count, const GLfloat* v) argument
990 glUniform4iv(GLint location, GLsizei count, const GLint* v) argument
996 glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
1002 glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
1008 glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
1190 glMultiDrawArraysEXT(GLenum mode, GLint* first, GLsizei* count, GLsizei primcount) argument
1196 glMultiDrawElementsEXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices, GLsizei primcount) argument
1454 glDrawElementsOffset(GLenum mode, GLsizei count, GLenum type, GLuint offset) argument
1460 glDrawElementsData(GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen) argument
1466 glGetCompressedTextureFormats(int count, GLint* formats) argument
[all...]
H A Dgl2_enc.h65 void glDrawArrays_enc(void *self , GLenum mode, GLint first, GLsizei count);
66 void glDrawElements_enc(void *self , GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
81 void glGetAttachedShaders_enc(void *self , GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
123 void glShaderSource_enc(void *self , GLuint shader, GLsizei count, const GLchar** string, const GLint* length);
137 void glUniform1fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v);
139 void glUniform1iv_enc(void *self , GLint location, GLsizei count, const GLint* v);
141 void glUniform2fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v);
143 void glUniform2iv_enc(void *self , GLint location, GLsizei count, const GLint* v);
145 void glUniform3fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v);
147 void glUniform3iv_enc(void *self , GLint location, GLsizei count, cons
[all...]
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
H A DAccelerometerPlayActivity.java248 final int count = mBalls.length;
249 for (int i = 0; i < count; i++) {
278 final int count = mBalls.length;
281 for (int i = 0; i < count; i++) {
283 for (int j = i + 1; j < count; j++) {
439 final int count = particleSystem.getParticleCount();
440 for (int i = 0; i < count; i++) {
/development/tools/emulator/system/qemud/
H A Dqemud.c157 #define xrenew(p,count) (p) = xrealloc((p),sizeof(*(p))*(count))
508 int n, count; local
511 count = epoll_wait( l->epoll_fd, l->events, l->num_fds, -1 );
512 } while (count < 0 && errno == EINTR);
514 if (count < 0) {
519 if (count == 0) {
520 D("%s: huh ? epoll returned count=0", __FUNCTION__);
525 for (n = 0; n < count; n++) {
567 int count local
[all...]
/development/tools/emulator/system/sensors/
H A Dsensors_qemu.c430 sensors_event_t* data, int count)
435 D("%s: dev=%p data=%p count=%d ", __FUNCTION__, dev, data, count);
437 for (i = 0; i < count; i++) {
447 return count;
552 int mask, nn, count; local
578 count = 0;
583 sSensorList[count++] = sSensorListInit[nn];
585 D("%s: returned %d sensors (mask=%d)", __FUNCTION__, count, mask);
587 return count;
429 poll__poll(struct sensors_poll_device_t *dev, sensors_event_t* data, int count) argument
[all...]
/development/samples/USB/AdbTest/src/com/android/adb/
H A DAdbTestActivity.java95 int count = 0;
96 while (index > 0 && count <= maxLines) {
97 count++;
163 int count = device.getInterfaceCount();
164 for (int i = 0; i < count; i++) {
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
H A DSearchableDictionary.java96 int count = cursor.getCount();
98 count, new Object[] {count, query});
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DLoaderThrottle.java309 int count;
314 count = db.delete(MainTable.TABLE_NAME, where, whereArgs);
325 count = db.delete(MainTable.TABLE_NAME, finalWhere, whereArgs);
334 return count;
343 int count;
349 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs);
357 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs);
366 return count;

Completed in 759 milliseconds

12345