Searched refs:count (Results 51 - 75 of 127) sorted by relevance

123456

/device/htc/flounder/sensor_hub/libsensors/
H A Dsensors.cpp594 int pollEvents(sensors_event_t* data, int count);
697 int sensors_poll_context_t::pollEvents(sensors_event_t* data, int count)
703 for (int i=0 ; count && i<numSensorDrivers ; i++) {
706 int nb = sensor->readEvents(data, count);
707 if (nb < count) {
711 count -= nb;
717 if (count) {
737 } while (n && count);
790 sensors_event_t* data, int count) {
792 return ctx->pollEvents(data, count);
[all...]
H A DCwMcuSensor.h118 virtual int readEvents(sensors_event_t* data, int count);
/device/generic/goldfish/sensors/
H A Dsensors_qemu.c434 sensors_event_t* data, int count)
439 D("%s: dev=%p data=%p count=%d ", __FUNCTION__, dev, data, count);
441 for (i = 0; i < count; i++) {
451 return count;
556 int mask, nn, count; local
582 count = 0;
587 sSensorList[count++] = sSensorListInit[nn];
589 D("%s: returned %d sensors (mask=%d)", __FUNCTION__, count, mask);
591 return count;
433 poll__poll(struct sensors_poll_device_1 *dev, sensors_event_t* data, int count) argument
[all...]
/device/generic/goldfish/opengl/system/GLESv1_enc/
H A DGLEncoder.cpp396 void GLEncoder::sendVertexData(unsigned int first, unsigned int count)
419 unsigned int datalen = state->elementSize * count;
511 void GLEncoder::s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count)
515 ctx->sendVertexData(first, count);
516 ctx->m_glDrawArrays_enc(ctx, mode, /*first*/ 0, count);
519 void GLEncoder::s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices)
524 SET_ERROR_IF(count<0, GL_INVALID_VALUE);
548 ctx->sendVertexData(0, count);
550 ctx->glDrawElementsOffset(ctx, mode, count, type, (uintptr_t)indices);
565 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_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, const GLint* first, const GLsizei* count, GLsizei primcount);
270 void glMultiDrawElementsEXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid* const* 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, const GLint* first, const GLsizei* count, GLsizei primcount) argument
1885 glMultiDrawElementsEXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid* const* 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...]
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/
H A Dmm_jpeg.h71 int count; member in struct:__anon254
119 /* job history count to generate unique id */
194 exif_tag_type_t type, uint32_t count, void *data);
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
H A Dmm_jpeg.h72 int count; member in struct:__anon761
121 /* job history count to generate unique id */
197 exif_tag_type_t type, uint32_t count, void *data);
/device/moto/shamu/camera/QCamera2/HAL/
H A DQCameraPostProc.cpp2465 if (m_Entries[i].tag_entry.count > 1 &&
2482 if (m_Entries[i].tag_entry.count > 1 &&
2491 if (m_Entries[i].tag_entry.count > 1 &&
2500 if (m_Entries[i].tag_entry.count > 1 &&
2517 if (m_Entries[i].tag_entry.count > 1 &&
2526 if (m_Entries[i].tag_entry.count > 1 &&
2545 * @count : number of data in uint of its type
2554 uint32_t count,
2565 m_Entries[m_nNumEntries].tag_entry.count = count;
2552 addEntry(exif_tag_id_t tagid, exif_tag_type_t type, uint32_t count, void *data) argument
[all...]
H A DQCameraPostProc.h94 uint32_t count,
/device/generic/goldfish/libqemu/
H A Dtest_host_2.c112 int ret, count; local
/device/generic/goldfish/gps/
H A Dgps_qemu.c66 int count; member in struct:__anon465
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...]
/device/asus/flo/camera/QCamera2/HAL3/
H A DQCamera3Channel.cpp1371 * @count : lenght of the dateTime string
1377 int32_t getExifDateTime(char *dateTime, uint32_t &count) argument
1390 count = 20;
1443 * @count : lenght of the string
1450 uint32_t &count, char* value)
1454 count = EXIF_ASCII_PREFIX_SIZE;
1456 count += strlen(value);
1457 gpsProcessingMethod[count++] = '\0'; // increase 1 for the last NULL char
1626 uint32_t count = 0; local
1631 count
1449 getExifGpsProcessingMethod(char *gpsProcessingMethod, uint32_t &count, char* value) argument
[all...]
H A DQCamera3PostProc.h83 uint32_t count,
/device/asus/flo/camera/QCamera2/HAL/
H A DQCameraPostProc.h87 uint32_t count,
/device/lge/hammerhead/camera/QCamera2/HAL/
H A DQCameraPostProc.h87 uint32_t count,
/device/lge/mako/camera/mm-camera-interface/
H A Dmm_camera_channel.c559 int count = 0; local
564 count = mm_camera_stream_frame_get_q_cnt(mq);
565 if(count < mm_camera_stream_frame_get_q_cnt(sq))
566 count = mm_camera_stream_frame_get_q_cnt(sq);
568 count, frame_attr->look_back, mq->match_cnt, sq->match_cnt);
570 count -= frame_attr->look_back;
571 CDBG("count=%d, frame_attr->look_back=%d,mq->match_cnt=%d, sq->match_cnt=%d",
572 count, frame_attr->look_back, mq->match_cnt,sq->match_cnt);
573 for(i=0; i < count; i++) {
594 count, frame_att
[all...]
/device/moto/shamu/camera/QCamera/HAL2/core/src/
H A DQCameraHWI.cpp64 for (uint32_t i = 0; i < streams.count; i++) {
90 for (uint32_t i = 0; i < streams.count; i++) {
101 for (uint32_t i = 0; i < streams.count; i++) {
165 for (uint32_t i = 0; i < streams.count; i++) {
169 /* Increment the frame pending count in each stream class */
H A DQCameraStream_Preview.cpp188 static int count = 0; local
197 count++;
198 if(count < 100) {
199 snprintf(buf, sizeof(buf), "/data/mzhu%d.yuv", count);
H A DQCameraHWI_Metatags.cpp115 #define ADD_OR_SIZE( tag, data, count ) \
117 tag, data, count) ) != OK ) return ret
419 #define ADD_OR_SIZE( tag, data, count ) \
421 tag, data, count) ) != OK ) return ret
/device/generic/goldfish/opengl/system/GLESv2_enc/
H A Dgl2_enc.cpp716 void glDrawArrays_enc(void *self , GLenum mode, GLint first, GLsizei count) argument
730 memcpy(ptr, &count, 4); ptr += 4;
988 void glGetAttachedShaders_enc(void *self , GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) argument
994 const unsigned int __size_count = ((count != NULL) ? (sizeof(GLsizei)) : 0);
1006 if (count != NULL) stream->readback(count, __size_count);
1965 void glUniform1fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
1971 const unsigned int __size_v = (count * sizeof(GLfloat));
1979 memcpy(ptr, &count, 4); ptr += 4;
2000 void glUniform1iv_enc(void *self , GLint location, GLsizei count, cons argument
2036 glUniform2fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
2072 glUniform2iv_enc(void *self , GLint location, GLsizei count, const GLint* v) argument
2109 glUniform3fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
2146 glUniform3iv_enc(void *self , GLint location, GLsizei count, const GLint* v) argument
2184 glUniform4fv_enc(void *self , GLint location, GLsizei count, const GLfloat* v) argument
2222 glUniform4iv_enc(void *self , GLint location, GLsizei count, const GLint* v) argument
2241 glUniformMatrix2fv_enc(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
2261 glUniformMatrix3fv_enc(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
2281 glUniformMatrix4fv_enc(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) argument
2826 glDrawElementsOffset_enc(void *self , GLenum mode, GLsizei count, GLenum type, GLuint offset) argument
2844 glDrawElementsData_enc(void *self , GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen) argument
2865 glGetCompressedTextureFormats_enc(void *self , int count, GLint* formats) argument
[all...]
/device/lge/hammerhead/camera/QCamera2/HAL3/
H A DQCamera3Channel.cpp1529 * @count : length of the dateTime string
1537 uint32_t &count, uint32_t &subsecCount)
1551 count = 20;
1608 * @count : lenght of the string
1615 uint32_t &count, char* value)
1619 count = EXIF_ASCII_PREFIX_SIZE;
1621 count += strlen(value);
1622 gpsProcessingMethod[count++] = '\0'; // increase 1 for the last NULL char
1792 uint32_t count = 0; local
1801 count
1536 getExifDateTime(char *dateTime, char *subsecTime, uint32_t &count, uint32_t &subsecCount) argument
1614 getExifGpsProcessingMethod(char *gpsProcessingMethod, uint32_t &count, char* value) argument
[all...]
H A DQCamera3PostProc.h85 uint32_t count,
/device/generic/goldfish/camera/
H A DEmulatedFakeCamera3.cpp1319 /*count*/1);
1337 if (e.count == 0) {
1344 if (e.count == 0) {
1390 if (e.count == 0) {
1411 if (e.count == 0) {
1419 if (e.count != 0) {
1426 } else if (e.count > 0) {
1429 e.count);
1433 if (e.count != 0) {
1436 if (e.count
[all...]
/device/moto/shamu/camera/QCamera2/HAL3/
H A DQCamera3PostProc.h90 uint32_t count,

Completed in 3617 milliseconds

123456