Searched defs:count (Results 1 - 25 of 133) sorted by relevance

123456

/hardware/ti/wlan/lib/
H A Dscanmerge.h40 unsigned long count; member in struct:SCANMERGE_STRUCT
/hardware/invensense/65xx/libsensors_iio/
H A DCompassSensor.AKM.h53 virtual int readEvents(sensors_event_t *data, int count) { return 0; } argument
H A DPressureSensor.IIO.secondary.h50 virtual int readEvents(sensors_event_t *data, int count) { return 0; } argument
H A DCompassSensor.IIO.9150.h52 virtual int readEvents(sensors_event_t *data, int count) { return 0; } argument
/hardware/libhardware/tests/nusensors/
H A Dnusensors.cpp79 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/ti/omap4xxx/domx/mm_osal/src/
H A Dtimm_osal_semaphores.c273 TIMM_OSAL_U32 * count)
291 *count = sval;
272 TIMM_OSAL_GetSemaphoreCount(TIMM_OSAL_PTR pSemaphore, TIMM_OSAL_U32 * count) argument
H A Dtimm_osal_pipes.c204 /*Update message count and size */
434 TIMM_OSAL_U32 * count)
443 *count = pipe->pi_messages;
447 *count = pHandle->messageCount;
433 TIMM_OSAL_GetPipeReadyMessageCount(TIMM_OSAL_PTR pPipe, TIMM_OSAL_U32 * count) argument
/hardware/ti/omap4xxx/
H A Dstacktrace.c37 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/qcom/audio/legacy/alsa_sound/
H A DALSAControl.cpp111 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 DAudioUtil.cpp131 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/ti/omap4xxx/libtiutils/
H A DSemaphore.cpp53 @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/akm/AK8975_FS/libsensors/
H A DAkmSensor.cpp194 int AkmSensor::readEvents(sensors_event_t* data, int count) argument
196 if (count < 1)
206 while (count && mInputReader.readEvent(&event)) {
213 for (int j=0 ; count && mPendingMask && j<numSensors ; j++) {
223 count--;
H A DAdxlSensor.cpp178 int AdxlSensor::readEvents(sensors_event_t* data, int count) argument
180 if (count < 1)
197 while (count && mInputReader.readEvent(&event)) {
212 count--;
H A DKionixSensor.cpp156 int KionixSensor::readEvents(sensors_event_t* data, int count) argument
158 if (count < 1)
175 while (count && mInputReader.readEvent(&event)) {
190 count--;
/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...]
H A DCompassSensor.IIO.9150.h51 virtual int readEvents(sensors_event_t *data, int count) { return 0; } argument
/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/libhardware/tests/hwc/
H A Dtest-arrows.c143 int w, h, count; local
146 count = atoi(argv[1]);
157 if (count > 0)
158 if (--count == 0)
/hardware/libhardware_legacy/uevent/
H A Duevent.c85 int count = recv(fd, buffer, buffer_length, 0); local
86 if (count > 0) {
93 return count;
/hardware/samsung_slsi/exynos5/libcamera2/
H A DMetadataConverter.cpp57 ALOGV("DEBUG(%s):Metadata Missmatch tag(%s) type (%d) count(%d)",
58 __FUNCTION__, get_camera_metadata_tag_name(entry->tag), entry->type, entry->count);
65 uint8_t type, size_t count)
67 if (!((entry->type==type)&&(entry->count==count)))
69 ALOGV("DEBUG(%s):Metadata Missmatch tag(%s) type (%d) count(%d)",
70 __FUNCTION__, get_camera_metadata_tag_name(entry->tag), entry->type, entry->count);
191 for (i=0 ; i<curr_entry.count ; i++)
204 for (i=0 ; i<curr_entry.count ; i++)
211 if (curr_entry.count > 3
64 CheckEntryTypeMismatch(camera_metadata_entry_t * entry, uint8_t type, size_t count) argument
[all...]
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
H A Ddriver_cmd_nl80211.c93 int wpa_driver_set_p2p_noa(void *priv, u8 count, int start, int duration) argument
99 snprintf(buf, sizeof(buf), "P2P_SET_NOA %d %d %d", count, start, duration);
/hardware/libhardware/modules/camera/
H A DMetadata.cpp89 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...]
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsaucm_test.c165 int count = 0; local
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg_exif.c50 * @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/qcom/media/mm-video-legacy/vidc/vdec/inc/
H A DMap.h131 int count =0; local
136 count++;
138 return count;

Completed in 819 milliseconds

123456