/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
H A D | inv_sysfs_utils.c | 29 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/libhardware/modules/camera/ |
H A D | Metadata.h | 35 int addUInt8(uint32_t tag, int count, uint8_t *data); 36 int addInt32(uint32_t tag, int count, int32_t *data); 37 int addFloat(uint32_t tag, int count, float *data); 38 int addInt64(uint32_t tag, int count, int64_t *data); 39 int addDouble(uint32_t tag, int count, double *data); 40 int addRational(uint32_t tag, int count, 46 // Validate the tag, type and count for a metadata entry 47 bool validate(uint32_t tag, int tag_type, int count); 49 int add(uint32_t tag, int count, void *tag_data); 53 Entry(uint32_t tag, void *data, int count); [all...] |
H A D | Metadata.cpp | 89 int Metadata::addUInt8(uint32_t tag, int count, uint8_t *data) argument 91 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; 92 return add(tag, count, data); 95 int Metadata::addInt32(uint32_t tag, int count, int32_t *data) argument 97 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; 98 return add(tag, count, data); 101 int Metadata::addFloat(uint32_t tag, int count, float *data) argument 103 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; 104 return add(tag, count, data); 107 int Metadata::addInt64(uint32_t tag, int count, int64_ argument 113 addDouble(uint32_t tag, int count, double *data) argument 119 addRational(uint32_t tag, int count, camera_metadata_rational_t *data) argument 126 validate(uint32_t tag, int tag_type, int count) argument 148 add(uint32_t tag, int count, void *tag_data) argument 208 Entry(uint32_t tag, void *data, int count) argument [all...] |
H A D | Camera.h | 61 void destroyStreams(Stream **array, int count); 63 bool isValidStreamSet(Stream **array, int count); 65 void setupStreams(Stream **array, int count);
|
/hardware/ti/omap4xxx/ |
H A D | stacktrace.c | 37 size_t count; member in struct:__anon2277 52 if (state->count) { 57 state->count--; 71 state.count = max_entries; 74 return max_entries - state.count;
|
/hardware/invensense/60xx/libsensors_iio/ |
H A D | MPLSupport.cpp | 47 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...] |
H A D | sensors_mpl.cpp | 89 int pollEvents(sensors_event_t* data, int count);
155 int sensors_poll_context_t::pollEvents(sensors_event_t *data, int count)
argument 166 for (int i = 0; count && i < numSensorDrivers; i++) {
176 ((MPLSensor*) mSensor)->readCompassEvents(NULL, count);
181 nb = ((MPLSensor*) mSensor)->executeOnData(data, count);
183 count -= nb;
189 nb = ((MPLSensor*) mSensor)->readDmpOrientEvents(data, count);
192 count -= nb;
230 sensors_event_t* data, int count)
233 return ctx->pollEvents(data, count);
229 poll__poll(struct sensors_poll_device_t *dev, sensors_event_t* data, int count) argument [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
H A D | mm_jpeg_exif.c | 50 * @count : number of data in uint of its type 62 exif_tag_type_t type, uint32_t count, void *data) 74 p_info_data[numOfEntries].tag_entry.count = count; 78 if (count > 1) { 79 uint8_t *values = (uint8_t *)malloc(count); 84 memcpy(values, data, count); 94 str = (char *)malloc(count + 1); 99 memset(str, 0, count + 1); 100 memcpy(str, data, count); 61 addExifEntry(QOMX_EXIF_INFO *p_exif_info, exif_tag_id_t tagid, exif_tag_type_t type, uint32_t count, void *data) argument [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
H A D | sensors_mpl.cpp | 92 int pollEvents(sensors_event_t* data, int count);
202 int sensors_poll_context_t::pollEvents(sensors_event_t *data, int count)
213 LOGI_IF(0, "poll nb=%d, count=%d, pt=%d", nb, count, polltime);
215 for (int i = 0; count && i < numSensorDrivers; i++) {
226 nb = ((MPLSensor*) mSensor)->readDmpOrientEvents(data, count);
229 count -= nb;
235 nb = ((MPLSensor*) mSensor)->readDmpSignificantMotionEvents(data, count);
237 count -= nb;
242 nb = ((MPLSensor*) mSensor)->readDmpPedometerEvents(data, count, ID_ 343 poll__poll(struct sensors_poll_device_t *dev, sensors_event_t* data, int count) argument [all...] |
H A D | MPLSupport.cpp | 33 int count, fd; local 41 count = read_attribute_sensor(fd, buf, sizeof(buf)); 42 if(count < 1) { 46 count = sscanf(buf, "%ld", data); 47 if(count) 60 int count = 0; local 62 count = pread(fd, data, size, 0); 63 if(count < 1) { 64 LOGE("HAL:read fails with error code=%d", count); 67 return count; [all...] |
/hardware/libhardware/tests/camera2/ |
H A D | CameraMultiStreamTests.cpp | 119 void GetMinSize(const int32_t* data, size_t count, argument 124 for (size_t i = 0; i < count; i+=2) { 137 void GetMaxSize(const int32_t* data, size_t count, argument 142 for (size_t i = 0; i < count; i+=2) { 240 EXPECT_EQ(1u, entry.count); 241 if (entry.count == 1) { 250 EXPECT_EQ(1u, entry.count); 251 if (entry.count == 1) { 260 EXPECT_EQ(1u, entry.count); 261 if (entry.count 502 size_t count = availableProcessedSizes.count; local [all...] |
/hardware/ti/omap4xxx/domx/mm_osal/inc/ |
H A D | timm_osal_semaphores.h | 72 pSemaphore, TIMM_OSAL_U32 * count);
|
/hardware/ti/omap4xxx/libtiutils/ |
H A D | Semaphore.h | 39 ///Create the semaphore with initial count value 40 status_t Create(int count=0); 48 ///Current semaphore count
|
H A D | Semaphore.cpp | 53 @param count >=0 78 @brief Create the semaphore with initial count value 80 @param count >=0 83 @return BAD_VALUE If an invalid count value is passed (<0) 87 status_t Semaphore::Create(int count) argument 91 ///count cannot be less than zero 92 if(count<0) 113 return ErrorUtils::posixToAndroidError(sem_init(mSemaphore, 0x00, count)); 163 @brief Current semaphore count 166 @return Current count valu [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
H A D | PERF.awk | 85 count = boundary ? skip : 0; 125 # increase the count from the boundary 126 if (count == after) { 141 if (count < after) { count++; } 152 count = /started/ ? 0 : skip;
|
H A D | perf_unittest.c | 73 unsigned long count = 0, delta; local 80 for (count = 0; count < 1000; count++) 96 sum_d /= count; 97 sum_dd /= count; 111 /* count how many times we can get the time in a second */ 115 count++; 121 count, 122 1000000.0/count, [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | alsa_mixer.c | 135 for (n = 0; n < mixer->count; n++) { 177 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl)); 178 mixer->info = calloc(elist.count, sizeof(struct snd_ctl_elem_info)); 182 eid = calloc(elist.count, sizeof(struct snd_ctl_elem_id)); 186 mixer->count = elist.count; 188 elist.space = mixer->count; 193 for (n = 0; n < mixer->count; n++) { 236 for (n = 0; n < mixer->count; n++) { 243 ei->count, 479 mixer_ctl_mulvalues(struct mixer_ctl *ctl, int count, char ** argv) argument 613 set_volume_simple(struct mixer_ctl *ctl, char **ptr, long pmin, long pmax, int count) argument 693 mixer_ctl_set_value(struct mixer_ctl *ctl, int count, char ** argv) argument [all...] |
/hardware/libhardware/tests/nusensors/ |
H A D | nusensors.cpp | 79 int count = module->get_sensors_list(module, &list); local 80 printf("%d sensors found:\n", count); 81 for (int i=0 ; i<count ; i++) { 103 for (int i=0 ; i<count ; i++) { 112 for (int i=0 ; i<count ; i++) { 180 for (int i=0 ; i<count ; i++) {
|
/hardware/qcom/camera/QCamera2/HAL/ |
H A D | QCameraMem.h | 55 virtual int allocate(int count, int size) = 0; 77 int alloc(int count, int size, int heap_id); 95 virtual int allocate(int count, int size); 114 virtual int allocate(int count, int size); 134 virtual int allocate(int count, int size); 155 virtual int allocate(int count, int size);
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | ALSAControl.cpp | 111 status_t ALSAControl::setext(const char *name, int count, char **setValues) argument 115 ALOGD("setext:: name %s count %d", name, count); 127 ret = mixer_ctl_set_value(ctl, count, setValues);
|
H A D | AudioUtil.cpp | 131 int count = 0; local 153 memcpy(&count, data, sizeof(int)); 155 ALOGV("#Audio Block Count is %d",count); 162 while (length >= MIN_AUDIO_DESC_LENGTH && count < MAX_SHORT_AUDIO_DESC_CNT) { 209 int count = 0; local 233 memcpy(&count, data, sizeof(int)); 234 ALOGV("Count is %d",count); 239 ALOGV("Total speaker allocation Block count # %d\n",count); 241 for (int i = 0; i < count; [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/ |
H A D | fast_no_motion.h | 28 void inv_set_default_number_of_samples(int count);
|
/hardware/samsung_slsi/exynos5/libcamera/ |
H A D | ExynosJpegEncoderForCamera.h | 105 unsigned int count, 110 unsigned int count, 115 unsigned int count, 122 unsigned int count,
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
H A D | ExynosJpegEncoderForCamera.h | 103 unsigned int count, 108 unsigned int count, 113 unsigned int count, 120 unsigned int count,
|
/hardware/ti/wlan/lib/ |
H A D | scanmerge.h | 40 unsigned long count; member in struct:SCANMERGE_STRUCT
|