Home
last modified time | relevance | path

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

/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_glue_pipe.c130 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument
134 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite()
162 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument
166 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
Dloc_eng_dmn_conn.cpp65 int length, sz; in loc_api_server_proc() local
71 sz = sizeof(struct ctrl_msgbuf) + 256; in loc_api_server_proc()
72 p_cmsgbuf = (struct ctrl_msgbuf *) malloc(sz); in loc_api_server_proc()
81 length = loc_eng_dmn_conn_glue_msgrcv(loc_api_server_msgqid, p_cmsgbuf, sz); in loc_api_server_proc()
Dloc_eng_dmn_conn_glue_pipe.h40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz);
41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
/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/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/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/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/qcom/media/mm-video/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/libsensors_iio/software/core/mllite/
Dstorage_manager.c169 inv_error_t inv_save_mpl_states(unsigned char *data, size_t sz) in inv_save_mpl_states() argument
175 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/vidc/venc/src/
Dvideo_encoder_device.cpp1473 dev_buffer.sz = pmem_tmp->size; in venc_use_buf()
1488 dev_buffer.sz = luma_size_2k + ((luma_size/2 + 2047) & ~2047); in venc_use_buf()
1499 dev_buffer.sz = ((dev_buffer.sz + 4095) & ~4095); in venc_use_buf()
1503 dev_buffer.sz = ((dev_buffer.sz + (buff_alloc_property.alignment - 1)) & in venc_use_buf()
1507 dev_buffer.maped_size = dev_buffer.sz; in venc_use_buf()
1529 dev_buffer.sz = pmem_tmp->size; in venc_use_buf()
1571 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
1592 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
1647 frameinfo.sz = bufhdr->nFilledLen; in venc_empty_buf()
1730 frameinfo.sz = bufhdr->nAllocLen; in venc_fill_buf()
Dvideo_encoder_device_copper.cpp1523 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
1541 dev_buffer.sz = pmem_tmp->size; in venc_free_buf()
/hardware/qcom/audio/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()