Searched refs:sz (Results 1 - 25 of 106) sorted by relevance

12345

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
H A Dmem_ops_aligned.h46 #define mem_get_ne_aligned_generic(end,sz) \
47 static unsigned MEM_VALUE_T mem_get_##end##sz##_aligned(const void *vmem) {\
48 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\
52 #define mem_get_sne_aligned_generic(end,sz) \
53 static signed MEM_VALUE_T mem_get_s##end##sz##_aligned(const void *vmem) {\
54 const int##sz##_t *mem = (const int##sz##_t *)vmem;\
58 #define mem_get_se_aligned_generic(end,sz) \
59 static unsigned MEM_VALUE_T mem_get_##end##sz##_aligne
[all...]
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A 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);
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); */
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
H A 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);
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); */
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
H A 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);
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); */
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A 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);
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); */
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
H A 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);
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); */
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
H A 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);
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); */
/hardware/qcom/gps/msm8998/loc_api/libloc_api_50001/
H A 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);
H A Dloc_eng_dmn_conn_glue_pipe.c127 sz - size of the data in buffer
139 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument
143 result = write(fd, buf, sz);
147 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */
159 sz - size of the buffer
171 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument
175 len = read(fd, buf, sz);
179 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, len = %d\n", fd, (long) buf, (int) sz, len); */
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
H A Dsuperframe_test.cc50 const uint8_t marker = buffer[pkt->data.frame.sz - 1];
55 pkt->data.frame.sz >= index_sz &&
56 buffer[pkt->data.frame.sz - index_sz] == marker) {
60 modified_buf_ = new uint8_t[pkt->data.frame.sz - index_sz];
62 pkt->data.frame.sz - index_sz);
65 modified_pkt_.data.frame.sz -= index_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/
H A Dvpxstats.c25 stats->buf.sz = 0;
36 stats->buf.sz = stat_buf.st_size;
37 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE, fd, 0);
47 stats->buf.sz = stats->buf_alloc_sz = ftell(stats->file);
56 nbytes = fread(stats->buf.buf, 1, stats->buf.sz, stats->file);
57 res = (nbytes == stats->buf.sz);
69 stats->buf.sz = 0;
83 munmap(stats->buf.buf, stats->buf.sz);
101 if (stats->buf.sz + len > stats->buf_alloc_sz) {
115 stats->buf.sz
[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;
H A Dquantize.c26 int x, y, z, sz; local
47 sz = (z >> 31); /* sign of z */
48 x = (z ^ sz) - sz; /* x = abs(z) */
55 x = (y ^ sz) - sz; /* get the sign back */
73 int x, y, z, sz; local
87 sz = (z >> 31); /* sign of z */
88 x = (z ^ sz) - sz; /*
110 int x, y, z, sz; local
167 int sz; local
222 int x, y, z, sz; local
[all...]
/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/neon/
H A Dpicklpf_arm.c16 int sz);
H A Dfastquantizeb_neon.asm41 vshr.s16 q2, q0, #15 ; sz
63 veor.s16 q4, q2 ; y^sz
79 vsub.s16 q4, q2 ; x1=(y^sz)-sz = (y^sz)-(-1) (2's complement)
93 vsub.s16 q10, q12 ; x2=(y^sz)-sz = (y^sz)-(-1) (2's complement)
174 vshr.s16 q2, q0, #15 ; sz
205 veor.s16 q12, q2 ; y^sz
[all...]
/hardware/libhardware_legacy/uevent/
H A Duevent.c46 int sz = 64*1024; local
58 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz));
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
H A Dexample_xma.c165 mmap.id, mmap.sz, mmap.align,
169 mmap.priv = calloc(1, mmap.sz + align);
171 mmap.priv = malloc(mmap.sz + align);
176 alloc_sz += mmap.sz + align;

Completed in 470 milliseconds

12345