Searched refs:count (Results 1 - 25 of 122) sorted by last modified time

12345

/development/samples/training/basic/ActivityLifecycle/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/training/basic/FragmentBasics/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/bitmapfun/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/widget/ ...
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
H A DDiskLruCache.java133 * the application's version, the value count, and a blank line.
198 int count;
199 while ((count = reader.read(buffer)) != -1) {
200 writer.write(buffer, 0, count);
/development/samples/training/location-aware/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/multiscreen/newsreader/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/content/ ...
/development/tools/axl/
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...]
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
/development/tools/elftree/
H A Delftree.c128 int count; member in struct:dyn_state
135 for (i = 0; i < d->count; i++) {
185 d.count = shdr->sh_size / shdr->sh_entsize;
187 for (i = 0; i < d.count; i++) {
/development/tools/emulator/opengl/shared/OpenglCodecCommon/
H A DglUtils.cpp437 void glUtilsPackStrings(char *ptr, char **strings, GLint *length, GLsizei count) argument
441 for (int i = 0; i < count; i++) {
457 int glUtilsCalcShaderSourceLen( char **strings, GLint *length, GLsizei count) argument
460 for (int i = 0; i < count; i++) {
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/opengl/system/GLESv1_enc/
H A DGLEncoder.cpp394 void GLEncoder::sendVertexData(unsigned int first, unsigned int count)
417 unsigned int datalen = state->elementSize * count;
509 void GLEncoder::s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count)
513 ctx->sendVertexData(first, count);
514 ctx->m_glDrawArrays_enc(ctx, mode, /*first*/ 0, count);
517 void GLEncoder::s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices)
522 SET_ERROR_IF(count<0, GL_INVALID_VALUE);
546 ctx->sendVertexData(0, count);
548 ctx->glDrawElementsOffset(ctx, mode, count, type, (GLuint)indices);
563 GLUtils::minmax<unsigned char>((unsigned char *)indices, count,
[all...]
H A DGLEncoder.h127 static void s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count);
128 static void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices);
132 void sendVertexData(unsigned first, unsigned count);
H A Dgl_enc.cpp1155 void glDrawArrays_enc(void *self , GLenum mode, GLint first, GLsizei count) argument
1169 memcpy(ptr, &count, 4); ptr += 4;
2668 void glDrawElementsOffset_enc(void *self , GLenum mode, GLsizei count, GLenum type, GLuint offset) argument
2681 memcpy(ptr, &count, 4); ptr += 4;
2686 void glDrawElementsData_enc(void *self , GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen) argument
2700 memcpy(ptr, &count, 4); ptr += 4;
2707 void glGetCompressedTextureFormats_enc(void *self , int count, GLint* formats) argument
2713 const unsigned int __size_formats = (count * sizeof(GLint));
2720 memcpy(ptr, &count, 4); ptr += 4;
H A Dgl_enc.h90 void glDrawArrays_enc(void *self , GLenum mode, GLint first, GLsizei count);
91 void glDrawElements_enc(void *self , GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
182 void glDrawElementsOffset_enc(void *self , GLenum mode, GLsizei count, GLenum type, GLuint offset);
183 void glDrawElementsData_enc(void *self , GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen);
184 void glGetCompressedTextureFormats_enc(void *self , int count, GLint* formats);
284 void glMultiDrawArraysEXT_enc(void *self , GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
285 void glMultiDrawElementsEXT_enc(void *self , GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices, GLsizei primcount);
286 void glMultiDrawArraysSUN_enc(void *self , GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
287 void glMultiDrawElementsSUN_enc(void *self , GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices, GLsizei primcount);
H A Dgl_entry.cpp75 void glDrawArrays(GLenum mode, GLint first, GLsizei count);
76 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
167 void glDrawElementsOffset(GLenum mode, GLsizei count, GLenum type, GLuint offset);
168 void glDrawElementsData(GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen);
169 void glGetCompressedTextureFormats(int count, GLint* formats);
269 void glMultiDrawArraysEXT(GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
270 void glMultiDrawElementsEXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices, GLsizei primcount);
271 void glMultiDrawArraysSUN(GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
272 void glMultiDrawElementsSUN(GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices, GLsizei primcount);
707 void glDrawArrays(GLenum mode, GLint first, GLsizei count) argument
713 glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) argument
1261 glDrawElementsOffset(GLenum mode, GLsizei count, GLenum type, GLuint offset) argument
1267 glDrawElementsData(GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen) argument
1273 glGetCompressedTextureFormats(int count, GLint* formats) argument
1879 glMultiDrawArraysEXT(GLenum mode, GLint* first, GLsizei* count, GLsizei primcount) argument
1885 glMultiDrawElementsEXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices, GLsizei primcount) argument
1891 glMultiDrawArraysSUN(GLenum mode, GLint* first, GLsizei* count, GLsizei primcount) argument
1897 glMultiDrawElementsSUN(GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices, GLsizei primcount) argument
[all...]
/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 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...]
H A Dgl2_enc.cpp713 void glDrawArrays_enc(void *self , GLenum mode, GLint first, GLsizei count) argument
727 memcpy(ptr, &count, 4); ptr += 4;
985 void glGetAttachedShaders_enc(void *self , GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) argument
991 const unsigned int __size_count = ((count != NULL) ? (sizeof(GLsizei)) : 0);
1003 if (count != NULL) stream->readback(count, __size_count);
1962 void glUniform1fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
1968 const unsigned int __size_v = (count * sizeof(GLfloat));
1976 memcpy(ptr, &count, 4); ptr += 4;
1997 void glUniform1iv_enc(void *self , GLint location, GLsizei count, cons argument
2033 glUniform2fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
2069 glUniform2iv_enc(void *self , GLint location, GLsizei count, const GLint* v) argument
2106 glUniform3fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
2143 glUniform3iv_enc(void *self , GLint location, GLsizei count, const GLint* v) argument
2181 glUniform4fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
2219 glUniform4iv_enc(void *self , GLint location, GLsizei count, const GLint* v) argument
2238 glUniformMatrix2fv_enc(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
2258 glUniformMatrix3fv_enc(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
2278 glUniformMatrix4fv_enc(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
2823 glDrawElementsOffset_enc(void *self , GLenum mode, GLsizei count, GLenum type, GLuint offset) argument
2841 glDrawElementsData_enc(void *self , GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen) argument
2862 glGetCompressedTextureFormats_enc(void *self , 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...]
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...]
/development/tools/emulator/opengl/tests/gles_android_wrapper/
H A Dgles.cpp391 void glDrawArrays(GLenum mode, GLint first, GLsizei count) argument
393 getDispatch()->glDrawArrays(mode, first, count);
396 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument
398 getDispatch()->glDrawElements(mode, count, type, indices);
1256 void glMultiDrawArraysEXT(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) argument
1258 getDispatch()->glMultiDrawArraysEXT(mode, first, count, primcount);
1261 void glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount) argument
1263 getDispatch()->glMultiDrawElementsEXT(mode, count, type, indices, primcount);
/development/tools/emulator/system/camera/
H A DEmulatedFakeCamera2.cpp799 for (size_t i = 0; i < streams.count; i++) {
828 ALOGE("%s: error reading frame count tag: %s (%d)",
929 for (size_t i = 0; i < reprocessStreams.count; i++) {
958 for (size_t i = 0; i < streams.count; i++) {
985 ALOGE("%s: error reading frame count tag: %s (%d)",
1253 ALOGE("%s: error reading frame count tag: %s (%d)",
1995 #define ADD_OR_SIZE( tag, data, count ) \
1997 tag, data, count) ) != OK ) return ret
2321 #define ADD_OR_SIZE( tag, data, count ) \
2323 tag, data, count) ) !
[all...]
/development/tools/emulator/system/gps/
H A Dgps_qemu.c66 int count; member in struct:__anon608
73 int count = 0; local
100 if (count < MAX_NMEA_TOKENS) {
101 t->tokens[count].p = p;
102 t->tokens[count].end = q;
103 count += 1;
112 t->count = count;
113 return count;
122 if (index < 0 || index >= t->count) {
[all...]

Completed in 364 milliseconds

12345