Searched defs:sz (Results 1 - 25 of 43) sorted by relevance

12

/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.c126 sz - size of the data in buffer
138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
142 result = write(fd, buf, sz);
146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */
158 sz - size of the buffer
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
174 len = read(fd, buf, sz);
178 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, len = %d\n", fd, (long) buf, (int) sz, len); */
H A Dloc_eng_dmn_conn.cpp119 int length, sz; local
125 sz = sizeof(struct ctrl_msgbuf) + 256;
126 p_cmsgbuf = (struct ctrl_msgbuf *) malloc(sz);
135 length = loc_eng_dmn_conn_glue_msgrcv(loc_api_server_msgqid, p_cmsgbuf, sz);
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.c126 sz - size of the data in buffer
138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
142 result = write(fd, buf, sz);
146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */
158 sz - size of the buffer
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
174 len = read(fd, buf, sz);
178 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, len = %d\n", fd, (long) buf, (int) sz, len); */
H A Dloc_eng_dmn_conn.cpp119 int length, sz; local
125 sz = sizeof(struct ctrl_msgbuf) + 256;
126 p_cmsgbuf = (struct ctrl_msgbuf *) malloc(sz);
135 length = loc_eng_dmn_conn_glue_msgrcv(loc_api_server_msgqid, p_cmsgbuf, sz);
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.c126 sz - size of the data in buffer
138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
142 result = write(fd, buf, sz);
146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */
158 sz - size of the buffer
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
174 len = read(fd, buf, sz);
178 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, len = %d\n", fd, (long) buf, (int) sz, len); */
H A Dloc_eng_dmn_conn.cpp119 int length, sz; local
125 sz = sizeof(struct ctrl_msgbuf) + 256;
126 p_cmsgbuf = (struct ctrl_msgbuf *) malloc(sz);
135 length = loc_eng_dmn_conn_glue_msgrcv(loc_api_server_msgqid, p_cmsgbuf, sz);
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.c126 sz - size of the data in buffer
138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
142 result = write(fd, buf, sz);
146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */
158 sz - size of the buffer
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
174 len = read(fd, buf, sz);
178 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, len = %d\n", fd, (long) buf, (int) sz, len); */
H A Dloc_eng_dmn_conn.cpp119 int length, sz; local
125 sz = sizeof(struct ctrl_msgbuf) + 256;
126 p_cmsgbuf = (struct ctrl_msgbuf *) malloc(sz);
135 length = loc_eng_dmn_conn_glue_msgrcv(loc_api_server_msgqid, p_cmsgbuf, sz);
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.c126 sz - size of the data in buffer
138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
142 result = write(fd, buf, sz);
146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */
158 sz - size of the buffer
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
174 len = read(fd, buf, sz);
178 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, len = %d\n", fd, (long) buf, (int) sz, len); */
H A Dloc_eng_dmn_conn.cpp119 int length, sz; local
125 sz = sizeof(struct ctrl_msgbuf) + 256;
126 p_cmsgbuf = (struct ctrl_msgbuf *) malloc(sz);
135 length = loc_eng_dmn_conn_glue_msgrcv(loc_api_server_msgqid, p_cmsgbuf, sz);
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.c126 sz - size of the data in buffer
138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
142 result = write(fd, buf, sz);
146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */
158 sz - size of the buffer
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
174 len = read(fd, buf, sz);
178 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, len = %d\n", fd, (long) buf, (int) sz, len); */
H A Dloc_eng_dmn_conn.cpp119 int length, sz; local
125 sz = sizeof(struct ctrl_msgbuf) + 256;
126 p_cmsgbuf = (struct ctrl_msgbuf *) malloc(sz);
135 length = loc_eng_dmn_conn_glue_msgrcv(loc_api_server_msgqid, p_cmsgbuf, sz);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/
H A Dvpx_decoder.h86 * to their bitstream by setting the sz member appropriately.
89 unsigned int sz; /**< Size of this structure */ member in struct:vpx_codec_stream_info
H A Dvpx_codec.h487 unsigned long sz; /**< size of the segment, in bytes */ member in struct:vpx_codec_mmap
/hardware/intel/img/hwcomposer/merrifield/common/observers/
H A DUeventObserver.cpp61 int sz = 64 * 1024; local
73 if (setsockopt(mUeventFd, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz))) {
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/
H A DUeventObserver.cpp61 int sz = 64 * 1024; local
73 if (setsockopt(mUeventFd, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz))) {
/hardware/libhardware_legacy/uevent/
H A Duevent.c46 int sz = 64*1024; local
58 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz));
/hardware/bsp/intel/soc/common/bootctrl/
H A Dbootctrl.c43 ssize_t sz, size; local
60 sz = read(fd, buf, size);
61 if (sz == 0) {
63 } else if (sz < 0) {
72 size -= sz;
73 buf += sz;
89 ssize_t sz, size; local
107 sz = write(fd, buf, size);
108 if (sz == 0) {
110 } else if (sz <
141 ssize_t size = COMMAND_LINE_SIZE, sz; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Dlookahead.c21 unsigned int sz; /* Number of buffers currently in the queue */ member in struct:lookahead_ctx
116 if(ctx->sz + 2 > ctx->max_sz)
118 ctx->sz++;
184 if(ctx->sz && (drain || ctx->sz == ctx->max_sz - 1))
187 ctx->sz--;
203 if(index < ctx->sz)
229 return ctx->sz;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_lookahead.c23 unsigned int sz; /* Number of buffers currently in the queue */ member in struct:lookahead_ctx
102 if (ctx->sz + 1 + MAX_PRE_FRAMES > ctx->max_sz)
104 ctx->sz++;
169 if (ctx->sz && (drain || ctx->sz == ctx->max_sz - MAX_PRE_FRAMES)) {
171 ctx->sz--;
183 if (index < (int)ctx->sz) {
203 return ctx->sz;
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
H A Dstorage_manager.c171 * @param[out] data Place to store data, size of sz, must be at least size
173 * @param[in] sz Size of data.
176 inv_error_t inv_save_mpl_states(unsigned char *data, size_t sz) argument
182 if (data == NULL || sz == 0)
184 if (sz >= ds.total_size) {
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dstorage_manager.c171 * @param[out] data Place to store data, size of sz, must be at least size
173 * @param[in] sz Size of data.
176 inv_error_t inv_save_mpl_states(unsigned char *data, size_t sz) argument
182 if (data == NULL || sz == 0)
184 if (sz >= ds.total_size) {
/hardware/broadcom/libbt/src/
H A Dupio.c150 int fd, sz, id; local
166 sz = read(fd, &buf, sizeof(buf));
169 if (sz >= 9 && memcmp(buf, "bluetooth", 9) == 0)
288 int sz; local
335 sz = write(fd, &buffer, 1);
337 if (sz < 0) {
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Drate_hist.c30 int *sz; member in struct:rate_hist
55 hist->sz = calloc(hist->samples, sizeof(*hist->sz));
68 free(hist->sz);
86 hist->sz[idx] = (int)pkt->data.frame.sz;
100 sum_sz += hist->sz[i_idx];
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
H A Dobj_int_extract.c71 int parse_macho(uint8_t *base_buf, size_t sz, output_fmt_t mode) { argument
217 #define COPY_STRUCT(dst, buf, ofst, sz) do {\
218 if(ofst + sizeof((*(dst))) > sz) goto bail;\
233 size_t sz; /* Buffer size */ member in struct:__anon975
244 COPY_STRUCT(&elf->e_ident, elf->buf, 0, elf->sz);
260 COPY_STRUCT(&elf->hdr32, elf->buf, 0, elf->sz);
277 COPY_STRUCT(&elf->hdr64, elf->buf, 0, elf->sz);
306 elf->sz);
322 elf->sz);
366 COPY_STRUCT(sym32, elf->buf, ofst, elf->sz);
387 parse_elf(uint8_t *buf, size_t sz, output_fmt_t mode) argument
632 parse_coff(uint8_t *buf, size_t sz) argument
[all...]

Completed in 1438 milliseconds

12