Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 19 of 19) sorted by relevance

/hardware/broadcom/libbt/src/
Dupio.c149 int fd, sz, id; in init_rfkill() local
165 sz = read(fd, &buf, sizeof(buf)); in init_rfkill()
168 if (sz >= 9 && memcmp(buf, "bluetooth", 9) == 0) in init_rfkill()
253 int sz; in upio_set_bluetooth_power() local
300 sz = write(fd, &buffer, 1); in upio_set_bluetooth_power()
302 if (sz < 0) { in upio_set_bluetooth_power()
/hardware/libhardware_legacy/uevent/
Duevent.c45 int sz = 64*1024; in uevent_init() local
57 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz)); in uevent_init()
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/
Duim.c615 int fd, id, sz; in change_rfkill_perms() local
625 sz = read(fd, &buf, sizeof(buf)); in change_rfkill_perms()
627 if (sz >= 9 && memcmp(buf, "bluetooth", 9) == 0) { in change_rfkill_perms()
638 sz = chown(path, AID_BLUETOOTH, AID_BLUETOOTH); in change_rfkill_perms()
639 if (sz < 0) { in change_rfkill_perms()
647 sz = chmod(path, 0660); in change_rfkill_perms()
648 if (sz < 0) { in change_rfkill_perms()
652 UIM_DBG("changed permissions for %s(%d) \n", path, sz); in change_rfkill_perms()
/hardware/ti/wpan/ti_st/uim-sysfs/
Duim.c593 int fd, id, sz; in change_rfkill_perms() local
603 sz = read(fd, &buf, sizeof(buf)); in change_rfkill_perms()
605 if (sz >= 9 && memcmp(buf, "bluetooth", 9) == 0) { in change_rfkill_perms()
615 sz = chown(path, AID_BLUETOOTH, AID_BLUETOOTH); in change_rfkill_perms()
616 if (sz < 0) { in change_rfkill_perms()
624 sz = chmod(path, 0660); in change_rfkill_perms()
625 if (sz < 0) { in change_rfkill_perms()
629 UIM_DBG("changed permissions for %s(%d) \n", path, sz); in change_rfkill_perms()
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/
Dperf_log.h234 #define __PERF_GET_INDEXED_CHAR(sz, i) (strlen(sz) <= i ? '/' : sz[strlen(sz) - i - 1]) … argument
237 #define __PERF_ENCODE_INDEXED(sz, i) \ argument
238 __PERF_ENCODE_CHAR(__PERF_GET_INDEXED_CHAR(sz, i))
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dstorage_manager.c176 inv_error_t inv_save_mpl_states(unsigned char *data, size_t sz) in inv_save_mpl_states() argument
182 if (data == NULL || sz == 0) in inv_save_mpl_states()
184 if (sz >= ds.total_size) { in inv_save_mpl_states()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/
Dvideo_encoder_test.c552 ptemp [i]->sz = buffersize; in allocate_buffer()
608 enc_buffer.sz = encoder_context->ptr_outputbuffer [i]->sz; in start_encoding()
636 enc_buffer.sz = encoder_context->ptr_inputbuffer [i]->sz; in start_encoding()
811 enc_buffer.sz = tempbuffer->sz; in video_thread()
853 enc_buffer.sz = tempbuffer->sz; in video_thread()
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
Dvideo_encoder_test.c590 ptemp [i]->sz = buffersize; in allocate_buffer()
652 enc_buffer.sz = encoder_context->ptr_outputbuffer [i]->sz; in start_encoding()
680 enc_buffer.sz = encoder_context->ptr_inputbuffer [i]->sz; in start_encoding()
865 enc_buffer.sz = tempbuffer->sz; in video_thread()
907 enc_buffer.sz = tempbuffer->sz; in video_thread()
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Dstorage_manager.c172 inv_error_t inv_save_mpl_states(unsigned char *data, size_t sz) in inv_save_mpl_states() argument
178 if (sz >= ds.total_size) { in inv_save_mpl_states()
/hardware/ti/wlan/mac80211/ti-utils/
Dnvs.c722 int sz=0, size; in dump_nvs_file() local
732 for ( ; sz < size; sz++) { in dump_nvs_file()
733 if (sz%16 == 0) { in dump_nvs_file()
734 printf("\n %04X ", sz); in dump_nvs_file()
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device.cpp1487 dev_buffer.sz = pmem_tmp->size; in venc_use_buf()
1502 dev_buffer.sz = luma_size_2k + ((luma_size/2 + 2047) & ~2047); in venc_use_buf()
1513 dev_buffer.sz = ((dev_buffer.sz + 4095) & ~4095); in venc_use_buf()
1517 dev_buffer.sz = ((dev_buffer.sz + (buff_alloc_property.alignment - 1)) & in venc_use_buf()
1521 dev_buffer.maped_size = dev_buffer.sz; in venc_use_buf()
1543 dev_buffer.sz = pmem_tmp->size; in venc_use_buf()
1585 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
1606 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
1661 frameinfo.sz = bufhdr->nFilledLen; in venc_empty_buf()
1744 frameinfo.sz = bufhdr->nAllocLen; in venc_fill_buf()
Dvideo_encoder_device_copper.cpp1524 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
1542 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp1586 dev_buffer.sz = pmem_tmp->size; in venc_use_buf()
1600 dev_buffer.sz = luma_size_2k + ((luma_size/2 + 2047) & ~2047); in venc_use_buf()
1611 dev_buffer.sz = ((dev_buffer.sz + 4095) & ~4095); in venc_use_buf()
1613 dev_buffer.sz = ((dev_buffer.sz + (buff_alloc_property.alignment - 1)) & in venc_use_buf()
1618 dev_buffer.maped_size = dev_buffer.sz; in venc_use_buf()
1637 dev_buffer.sz = pmem_tmp->size; in venc_use_buf()
1675 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
1693 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
1749 frameinfo.sz = bufhdr->nFilledLen; in venc_empty_buf()
1827 frameinfo.sz = bufhdr->nAllocLen; in venc_fill_buf()
Dvideo_encoder_device_v4l2.cpp1763 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
1774 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_vidc_enc.h284 size_t sz; member
294 unsigned long sz; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_vidc_enc.h487 size_t sz; member
496 unsigned long sz; member
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_pcm.c384 int sz; in oops() local
389 sz = strnlen(pcm->error, PCM_ERROR_MAX); in oops()
392 snprintf(pcm->error + sz, PCM_ERROR_MAX - sz, in oops()
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_vidc_enc.h306 size_t sz; member
316 unsigned long sz; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_vidc_enc.h535 size_t sz; member
544 unsigned long sz; member