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

1234567891011>>

/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
H A Dinv_sysfs_utils.c35 int count; local
42 count = fprintf(fp, "%ld", data);
44 return count;
57 int count; local
64 count = fread(data, 1, num_bytes, fp);
66 return count;
79 int count; local
81 count = read(fd, str, sizeof(str));
82 if (!count)
83 return count;
106 int count; local
132 int count; local
152 int count; local
172 int count; local
192 int count; local
212 int count; local
232 int count; local
253 int count; local
274 int count = 0; local
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
H A Dinv_sysfs_utils.c29 int count; local
36 count = fprintf(fp, "%ld", data);
38 return count;
51 int count; local
58 count = fread(data, 1, num_bytes, fp);
60 return count;
73 int count; local
75 count = read(fd, str, sizeof(str));
76 if (!count)
77 return count;
100 int count; local
126 int count; local
146 int count; local
166 int count; local
186 int count; local
206 int count; local
226 int count; local
247 int count; local
268 int count = 0; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_reader.c28 r->count = -8;
39 int count = r->count; local
40 int shift = BD_VALUE_SIZE - CHAR_BIT - (count + CHAR_BIT);
46 count += LOTS_OF_BITS;
52 count += CHAR_BIT;
60 r->count = count;
65 while (r->count > CHAR_BIT && r->count < BD_VALUE_SIZ
[all...]
H A Dvp9_reader.h35 int count; member in struct:__anon602
51 int count; local
55 if (r->count < 0)
59 count = r->count;
75 count -= shift;
78 r->count = count;
/hardware/libhardware/modules/camera/
H A DMetadata.h34 int addUInt8(uint32_t tag, int count, const uint8_t *data);
36 int addInt32(uint32_t tag, int count, const int32_t *data);
37 int addFloat(uint32_t tag, int count, const float *data);
38 int addInt64(uint32_t tag, int count, const int64_t *data);
39 int addDouble(uint32_t tag, int count, const double *data);
40 int addRational(uint32_t tag, int count,
52 // Validate the tag, type and count for a metadata entry
53 bool validate(uint32_t tag, int tag_type, int count);
55 int add(uint32_t tag, int count, const void *tag_data);
H A DMetadata.cpp66 int Metadata::addUInt8(uint32_t tag, int count, const uint8_t *data) argument
68 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL;
69 return add(tag, count, data);
77 int Metadata::addInt32(uint32_t tag, int count, const int32_t *data) argument
79 if (!validate(tag, TYPE_INT32, count)) return -EINVAL;
80 return add(tag, count, data);
83 int Metadata::addFloat(uint32_t tag, int count, const float *data) argument
85 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL;
86 return add(tag, count, data);
89 int Metadata::addInt64(uint32_t tag, int count, cons argument
95 addDouble(uint32_t tag, int count, const double *data) argument
101 addRational(uint32_t tag, int count, const camera_metadata_rational_t *data) argument
108 validate(uint32_t tag, int tag_type, int count) argument
130 add(uint32_t tag, int count, const void *tag_data) argument
[all...]
/hardware/intel/common/libwsbm/src/
H A Dwsbm_atomic.h13 int32_t count; member in struct:_WsbmAtomic
17 #define wsbmAtomicSet(_v, _i) (((_v)->count) = (_i))
18 #define wsbmAtomicRead(_v) ((_v)->count)
24 __asm__ __volatile__("lock; incl %0; sete %1":"+m"(v->count), "=qm"(c)
35 __asm__ __volatile__("lock; addl %2,%0; sets %1":"+m"(v->count), "=qm"(c)
46 __asm__ __volatile__("lock; decl %0; sete %1":"+m"(v->count), "=qm"(c)
55 __asm__ __volatile__("lock; incl %0":"+m"(v->count));
61 __asm__ __volatile__("lock; decl %0":"+m"(v->count));
70 :"r"(new), "m"(v->count), "0"(old)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
H A Ddboolhuff.h39 unsigned char *output, int count);
46 int count; member in struct:__anon536
68 int count; local
73 if(br->count < 0)
77 count = br->count;
94 count -= shift;
97 br->count = count;
120 * Variable 'count' store
[all...]
H A Ddboolhuff.c23 br->count = -8;
41 int count = br->count; local
42 int shift = VP8_BD_VALUE_SIZE - 8 - (count + 8);
57 count += VP8_LOTS_OF_BITS;
65 count += CHAR_BIT;
74 br->count = count;
/hardware/ti/omap4-aah/
H A Dstacktrace.c37 size_t count; member in struct:__anon3531
52 if (state->count) {
57 state->count--;
71 state.count = max_entries;
74 return max_entries - state.count;
/hardware/ti/omap4xxx/
H A Dstacktrace.c37 size_t count; member in struct:__anon3632
52 if (state->count) {
57 state->count--;
71 state.count = max_entries;
74 return max_entries - state.count;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Dboolhuff.h33 int count; member in struct:__anon548
69 int count = br->count; local
98 count += shift;
100 if (count >= 0)
102 int offset = shift - count;
121 shift = count;
123 count -= 8 ;
127 br->count = count;
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_writer.h26 int count; member in struct:__anon653
40 int count = br->count; local
57 count += shift;
59 if (count >= 0) {
60 int offset = shift - count;
75 shift = count;
77 count -= 8;
81 br->count = count;
[all...]
H A Dvp9_writer.c19 br->count = -24;
/hardware/invensense/60xx/libsensors_iio/
H A DMPLSupport.cpp47 int count, fd; local
55 count = read_attribute_sensor(fd, buf, sizeof(buf));
56 if(count < 1) {
60 count = sscanf(buf, "%ld", data);
61 if(count)
74 int count = 0; local
76 count = pread(fd, data, size, 0);
77 if(count < 1) {
78 LOGE("HAL:read fails with error code=%d", count);
81 return count;
[all...]
/hardware/libhardware/modules/usbaudio/
H A Dalsa_device_proxy.h46 int proxy_write(const alsa_device_proxy * proxy, const void *data, unsigned int count);
47 int proxy_read(const alsa_device_proxy * proxy, void *data, unsigned int count);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Drate_hist.c25 int count; member in struct:hist_bucket
59 hist->bucket[i].count = 0;
116 hist->bucket[idx].count++;
129 if (bucket[i].count < bucket[small_bucket].count)
131 if (bucket[i].count > bucket[big_bucket].count)
146 else if (bucket[small_bucket - 1].count < bucket[small_bucket + 1].count)
158 bucket[merge_bucket].count
[all...]
/hardware/intel/img/libdrm/tests/
H A Dgetstats.c47 assert(stats.count >= 0);
/hardware/intel/common/utils/ituxd/jni/
H A DthermalJNI.cpp49 ssize_t count = read(fd, buf, size); local
50 if (count > 0) {
51 while (count > 0 && buf[count-1] == '\n')
52 count--;
53 buf[count] = '\0';
59 return count;
89 int count = 0; local
92 snprintf(full_path, SIZE, "%s%d/type", base_path, count);
100 if (!strcmp(name, buf)) return count;
114 int count = 0; local
[all...]
/hardware/ti/omap4-aah/ion/
H A Dion_test_2.c63 int ion_alloc_test(int count) argument
74 handle = (struct ion_handle **)malloc(count * sizeof(struct ion_handle *));
81 count_alloc = count;
82 for(i = 0; i < count; i++) {
108 if(ret || (count_alloc != count)) {
110 if(count_alloc != count)
151 int ion_map_test(int count) argument
164 handle = (struct ion_handle **)malloc(count * sizeof(struct ion_handle *));
170 count_alloc = count;
171 count_map = count;
356 unsigned int count = 1, iteration = 1, j, custom_test_num = 1; local
[all...]
/hardware/libhardware/modules/sensors/
H A DSensorEventQueue.h55 // This increases size() by count.
57 void markAsWritten(int count);
/hardware/qcom/display/msm8226/liboverlay/pipes/
H A DoverlayGenPipe.cpp112 bool GenericPipe::validateAndSet(GenericPipe* pipeArray[], const int& count, argument
114 Ctrl* ctrlArray[count];
117 for(int i = 0; i < count; i++) {
121 return Ctrl::validateAndSet(ctrlArray, count, fbFd);
/hardware/ti/omap4-aah/domx/mm_osal/inc/
H A Dtimm_osal_semaphores.h72 pSemaphore, TIMM_OSAL_U32 * count);
/hardware/ti/omap4-aah/libtiutils/
H A DSemaphore.h42 ///Create the semaphore with initial count value
43 status_t Create(int count=0);
51 ///Current semaphore count
/hardware/ti/omap4xxx/domx/mm_osal/inc/
H A Dtimm_osal_semaphores.h72 pSemaphore, TIMM_OSAL_U32 * count);

Completed in 624 milliseconds

1234567891011>>