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

123456

/hardware/ti/omap4xxx/
H A Dstacktrace.c37 size_t count; member in struct:__anon1624
52 if (state->count) {
57 state->count--;
71 state.count = max_entries;
74 return max_entries - state.count;
/hardware/invensense/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 Dsensors_mpl.cpp89 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...]
H A DSensorBase.h52 virtual int readEvents(sensors_event_t* data, int count) = 0;
/hardware/ti/omap4xxx/domx/mm_osal/inc/
H A Dtimm_osal_semaphores.h72 pSemaphore, TIMM_OSAL_U32 * count);
H A Dtimm_osal_pipes.h82 pPipe, TIMM_OSAL_U32 * count);
/hardware/ti/omap4xxx/libtiutils/
H A DSemaphore.h39 ///Create the semaphore with initial count value
40 status_t Create(int count=0);
48 ///Current semaphore count
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/ti/omap3/omx/system/src/openmax_il/perf/tests/
H A DPERF.awk85 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 Dperf_unittest.c73 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 Dalsa_mixer.c135 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...]
H A Darec.c178 int record_file(unsigned rate, unsigned channels, int fd, unsigned count, unsigned flags, const char *device) argument
342 if (rec_size >= count)
372 if (rec_size >= count)
376 fprintf(stderr, " rec_size =%d count =%d\n", rec_size, count);
392 uint32_t count; local
406 count = rec_max_sz;
408 count = rate * ch * 2;
409 count *= (uint32_t)duration;
411 count
428 uint32_t count = 0; local
[all...]
/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/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/samsung_slsi/exynos5/libcamera/
H A DExynosJpegEncoderForCamera.h105 unsigned int count,
110 unsigned int count,
115 unsigned int count,
122 unsigned int count,
/hardware/samsung_slsi/exynos5/libcamera2/
H A DExynosJpegEncoderForCamera.h103 unsigned int count,
108 unsigned int count,
113 unsigned int count,
120 unsigned int count,
H A DMetadataConverter.h54 status_t CheckEntryTypeMismatch(camera_metadata_entry_t * entry, uint8_t type, size_t count);
/hardware/ti/wlan/lib/
H A Dscanmerge.h40 unsigned long count; member in struct:SCANMERGE_STRUCT
/hardware/ti/omap4xxx/domx/domx/omx_proxy_common/src/
H A Domx_proxy_common.c260 /*nData1 will be pBufferHeader, nData2 will be present count. Need to find local
267 for (count = 0; count < pCompPrv->nTotalBuffers; ++count)
269 if (pCompPrv->tBufList[count].pBufHeaderRemote ==
273 pCompPrv->tBufList[count].pBufHeader;
275 (OMX_U8 *) pCompPrv->tBufList[count].
280 PROXY_assert((count != pCompPrv->nTotalBuffers),
333 OMX_U16 count; local
346 for (count
401 OMX_U16 count; local
474 OMX_U32 count = 0; local
589 OMX_U32 count = 0; local
1213 OMX_U32 count = 0, nStride = 0; local
1946 OMX_U32 count = 0, nStride = 0; local
[all...]
/hardware/ti/wlan/mac80211/ti-utils/scripts/
H A Dmkcard.sh5 dd if=/dev/zero of=$DRIVE bs=1024 count=1024
/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/invensense/libsensors/
H A DSensorBase.h56 virtual int readEvents(sensors_event_t* data, int count) = 0;
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/
H A Duim.c202 int count = 0; local
229 count++;
232 while (count < 3) {
233 rd = read(fd, buf + count, 3 - count);
237 count += rd;
247 while ((count - 3) < remain) {
248 rd = read(fd, buf + count, remain - (count - 3));
252 count
[all...]
/hardware/ti/wpan/ti_st/uim-sysfs/
H A Duim.c144 int count = 0; local
170 count++;
173 while (count < 3) {
174 rd = read(fd, buf + count, 3 - count);
177 count += rd;
186 while ((count - 3) < remain) {
187 rd = read(fd, buf + count, remain - (count - 3));
190 count
[all...]

Completed in 442 milliseconds

123456