Searched refs:buf (Results 26 - 50 of 170) sorted by relevance

1234567

/hardware/ril/mock-ril/src/cpp/
H A Dnode_util.cpp51 v8::Local<v8::Value> Encode(const void *buf, size_t len, enum encoding encoding) { argument
57 const unsigned char *cbuf = static_cast<const unsigned char*>(buf);
69 v8::Local<v8::String> chunk = v8::String::New((const char*)buf, len);
96 ssize_t DecodeWrite(char *buf, argument
118 str->WriteUtf8(buf, buflen, NULL, v8::String::HINT_MANY_WRITES_EXPECTED);
123 str->WriteAscii(buf, 0, buflen, v8::String::HINT_MANY_WRITES_EXPECTED);
138 buf[i] = b[0];
H A Dnode_util.h29 v8::Local<v8::Value> Encode(const void *buf, size_t len,
33 ssize_t DecodeWrite(char *buf,
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
H A Dloc_api_rpcgen_common_xdr.c39 register int32_t *buf; local
49 register int32_t *buf; local
59 register int32_t *buf; local
69 register int32_t *buf; local
79 register int32_t *buf; local
89 register int32_t *buf; local
113 register int32_t *buf; local
169 register int32_t *buf; local
179 register int32_t *buf; local
189 register int32_t *buf; local
199 register int32_t *buf; local
227 register int32_t *buf; local
237 register int32_t *buf; local
260 register int32_t *buf; local
273 register int32_t *buf; local
283 register int32_t *buf; local
293 register int32_t *buf; local
303 register int32_t *buf; local
325 register int32_t *buf; local
337 register int32_t *buf; local
347 register int32_t *buf; local
359 register int32_t *buf; local
372 register int32_t *buf; local
386 register int32_t *buf; local
412 register int32_t *buf; local
424 register int32_t *buf; local
434 register int32_t *buf; local
444 register int32_t *buf; local
454 register int32_t *buf; local
464 register int32_t *buf; local
474 register int32_t *buf; local
487 register int32_t *buf; local
513 register int32_t *buf; local
523 register int32_t *buf; local
538 register int32_t *buf; local
553 register int32_t *buf; local
568 register int32_t *buf; local
586 register int32_t *buf; local
615 register int32_t *buf; local
628 register int32_t *buf; local
638 register int32_t *buf; local
650 register int32_t *buf; local
665 register int32_t *buf; local
675 register int32_t *buf; local
710 register int32_t *buf; local
720 register int32_t *buf; local
732 register int32_t *buf; local
762 register int32_t *buf; local
774 register int32_t *buf; local
784 register int32_t *buf; local
794 register int32_t *buf; local
805 register int32_t *buf; local
817 register int32_t *buf; local
827 register int32_t *buf; local
838 register int32_t *buf; local
852 register int32_t *buf; local
870 register int32_t *buf; local
896 register int32_t *buf; local
908 register int32_t *buf; local
918 register int32_t *buf; local
928 register int32_t *buf; local
938 register int32_t *buf; local
948 register int32_t *buf; local
960 register int32_t *buf; local
974 register int32_t *buf; local
984 register int32_t *buf; local
1010 register int32_t *buf; local
1022 register int32_t *buf; local
1032 register int32_t *buf; local
1044 register int32_t *buf; local
1056 register int32_t *buf; local
1066 register int32_t *buf; local
1078 register int32_t *buf; local
1088 register int32_t *buf; local
1098 register int32_t *buf; local
1108 register int32_t *buf; local
1136 register int32_t *buf; local
1146 register int32_t *buf; local
1158 register int32_t *buf; local
1168 register int32_t *buf; local
1188 register int32_t *buf; local
1200 register int32_t *buf; local
1212 register int32_t *buf; local
1224 register int32_t *buf; local
1234 register int32_t *buf; local
1264 register int32_t *buf; local
1274 register int32_t *buf; local
1284 register int32_t *buf; local
1299 register int32_t *buf; local
1316 register int32_t *buf; local
1326 register int32_t *buf; local
1338 register int32_t *buf; local
1348 register int32_t *buf; local
1366 register int32_t *buf; local
1383 register int32_t *buf; local
1397 register int32_t *buf; local
1413 register int32_t *buf; local
1423 register int32_t *buf; local
1433 register int32_t *buf; local
1458 register int32_t *buf; local
1468 register int32_t *buf; local
1485 register int32_t *buf; local
1495 register int32_t *buf; local
1505 register int32_t *buf; local
1515 register int32_t *buf; local
1529 register int32_t *buf; local
1644 register int32_t *buf; local
1711 register int32_t *buf; local
1725 register int32_t *buf; local
[all...]
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/
H A Dloc_api_common_xdr.c11 register int32_t *buf; local
21 register int32_t *buf; local
31 register int32_t *buf; local
41 register int32_t *buf; local
51 register int32_t *buf; local
61 register int32_t *buf; local
71 register int32_t *buf; local
81 register int32_t *buf; local
91 register int32_t *buf; local
101 register int32_t *buf; local
111 register int32_t *buf; local
121 register int32_t *buf; local
131 register int32_t *buf; local
155 register int32_t *buf; local
211 register int32_t *buf; local
221 register int32_t *buf; local
231 register int32_t *buf; local
241 register int32_t *buf; local
269 register int32_t *buf; local
279 register int32_t *buf; local
302 register int32_t *buf; local
315 register int32_t *buf; local
325 register int32_t *buf; local
335 register int32_t *buf; local
345 register int32_t *buf; local
367 register int32_t *buf; local
379 register int32_t *buf; local
389 register int32_t *buf; local
401 register int32_t *buf; local
414 register int32_t *buf; local
436 register int32_t *buf; local
448 register int32_t *buf; local
458 register int32_t *buf; local
468 register int32_t *buf; local
478 register int32_t *buf; local
488 register int32_t *buf; local
498 register int32_t *buf; local
511 register int32_t *buf; local
537 register int32_t *buf; local
547 register int32_t *buf; local
562 register int32_t *buf; local
577 register int32_t *buf; local
592 register int32_t *buf; local
610 register int32_t *buf; local
639 register int32_t *buf; local
652 register int32_t *buf; local
662 register int32_t *buf; local
674 register int32_t *buf; local
689 register int32_t *buf; local
699 register int32_t *buf; local
734 register int32_t *buf; local
744 register int32_t *buf; local
756 register int32_t *buf; local
786 register int32_t *buf; local
798 register int32_t *buf; local
808 register int32_t *buf; local
818 register int32_t *buf; local
829 register int32_t *buf; local
841 register int32_t *buf; local
851 register int32_t *buf; local
862 register int32_t *buf; local
876 register int32_t *buf; local
898 register int32_t *buf; local
910 register int32_t *buf; local
920 register int32_t *buf; local
930 register int32_t *buf; local
940 register int32_t *buf; local
952 register int32_t *buf; local
962 register int32_t *buf; local
984 register int32_t *buf; local
996 register int32_t *buf; local
1006 register int32_t *buf; local
1018 register int32_t *buf; local
1030 register int32_t *buf; local
1040 register int32_t *buf; local
1052 register int32_t *buf; local
1062 register int32_t *buf; local
1072 register int32_t *buf; local
1082 register int32_t *buf; local
1110 register int32_t *buf; local
1120 register int32_t *buf; local
1132 register int32_t *buf; local
1142 register int32_t *buf; local
1162 register int32_t *buf; local
1174 register int32_t *buf; local
1186 register int32_t *buf; local
1198 register int32_t *buf; local
1208 register int32_t *buf; local
1238 register int32_t *buf; local
1248 register int32_t *buf; local
1263 register int32_t *buf; local
1273 register int32_t *buf; local
1285 register int32_t *buf; local
1295 register int32_t *buf; local
1313 register int32_t *buf; local
1330 register int32_t *buf; local
1344 register int32_t *buf; local
1360 register int32_t *buf; local
1370 register int32_t *buf; local
1380 register int32_t *buf; local
1405 register int32_t *buf; local
1415 register int32_t *buf; local
1425 register int32_t *buf; local
1435 register int32_t *buf; local
1449 register int32_t *buf; local
1534 register int32_t *buf; local
1587 register int32_t *buf; local
1601 register int32_t *buf; local
[all...]
/hardware/qcom/media/mm-video/vidc/common/src/
H A Dextra_data_handler.cpp126 OMX_S32 extra_data_handler::parse_rbsp(OMX_U8 *buf, OMX_U32 len) argument
134 startcode = buf[0] << 16 | buf[1] <<8 | buf[2];
137 startcode |= buf[i++];
143 forbidden_zero_bit = (buf[i] & 0x80) >>7;
148 nal_ref_idc = (buf[i] & 0x60) >>5;
151 nal_unit_type = (buf[i++] & 0x1F);
154 if(!(buf[i] + buf[
398 create_rbsp(OMX_U8 *buf, OMX_U32 nalu_type) argument
[all...]
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
H A DV4LCameraAdapter.cpp132 mVideoInfo->buf.index = i;
133 mVideoInfo->buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
134 mVideoInfo->buf.memory = V4L2_MEMORY_MMAP;
136 ret = ioctl(mCameraHandle, VIDIOC_QBUF, &mVideoInfo->buf);
248 memset (&mVideoInfo->buf, 0, sizeof (struct v4l2_buffer));
250 mVideoInfo->buf.index = i;
251 mVideoInfo->buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
252 mVideoInfo->buf.memory = V4L2_MEMORY_MMAP;
254 ret = ioctl (mCameraHandle, VIDIOC_QUERYBUF, &mVideoInfo->buf);
261 mVideoInfo->buf
[all...]
/hardware/ti/wlan/wl1271/Test/
H A Dfwdriverdebug.h85 unsigned long buf[20]; member in struct:__anon2730
120 void FW_ComparePacket (char *buf);
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_msg.c215 char buf[128]; local
218 length = loc_eng_dmn_conn_glue_piperead(msgqid, buf, 128);
219 LOC_LOGD("%s:%d] %s\n", __func__, __LINE__, buf);
/hardware/ti/wlan/wl1271/utils/
H A Dbmtrace_api.h50 int print_out_buffer(char *buf);
80 #define CL_TRACE_PRINT(buf) print_out_buffer(buf)
96 #define CL_TRACE_PRINT(buf) print_out_buffer(buf)
112 #define CL_TRACE_PRINT(buf) print_out_buffer(buf)
128 #define CL_TRACE_PRINT(buf) print_out_buffer(buf)
144 #define CL_TRACE_PRINT(buf) print_out_buffe
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/
H A DExynosVideoDecoder.c803 struct v4l2_buffer buf; local
853 memset(&buf, 0, sizeof(buf));
856 buf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
857 buf.memory = V4L2_MEMORY_MMAP;
858 buf.m.planes = planes;
859 buf.length = VIDEO_DECODER_INBUF_PLANES;
862 buf.index = i;
863 if (exynos_v4l2_querybuf(pCtx->hDec, &buf) != 0) {
871 buf
922 struct v4l2_buffer buf; local
1386 struct v4l2_buffer buf; local
1472 struct v4l2_buffer buf; local
1548 struct v4l2_buffer buf; local
1592 struct v4l2_buffer buf; local
[all...]
/hardware/ti/wpan/ti_st/uim-sysfs/
H A Duim.c141 int read_hci_event(int fd, unsigned char *buf, int size) argument
158 rd = read(fd, buf, 1);
166 if (buf[0] == RESP_PREFIX) {
174 rd = read(fd, buf + count, 3 - count);
181 if (buf[2] < (size - 3))
182 remain = buf[2];
187 rd = read(fd, buf + count, remain - (count - 3));
353 unsigned char buf[32]; local
364 memset(buf, 0, 32);
370 len = read(fd, buf, 3
595 char buf[16]; local
[all...]
/hardware/msm7k/libgralloc-qsd8k/tests/
H A Dpmemalloc_test.cpp323 uint8_t buf[0x300 + 0x100]; // Create a buffer to get memzero'd local
324 pma.set_master_values(1234, buf); // Indicate that the pma has been successfully init'd
335 ASSERT_EQ(uint8_t(0), buf[i]);
350 uint8_t buf[0x300 + 0x100]; // Create a buffer to get memzero'd local
351 pma.set_master_values(1234, buf); // Indicate that the pma has been successfully init'd
362 ASSERT_EQ(0, buf[i]);
389 uint8_t buf[0x300 + 0x100]; // Create a buffer to get memzero'd local
390 pma.set_master_values(1234, buf); // Indicate that the pma has been successfully init'd
422 uint8_t buf[0x300 + 0x100]; // Create a buffer to get memzero'd local
423 pma.set_master_values(1234, buf); // Indicat
456 uint8_t buf[0x300 + 0x100]; // Create a buffer to get memzero'd local
491 uint8_t buf[0x100]; // Create a buffer to get memzero'd local
514 uint8_t buf[0x100]; // Create a buffer to get memzero'd local
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/
H A DExynosVideoEncoder.c1152 struct v4l2_buffer buf; local
1193 memset(&buf, 0, sizeof(buf));
1196 buf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
1197 buf.memory = V4L2_MEMORY_MMAP;
1198 buf.m.planes = planes;
1199 buf.length = VIDEO_ENCODER_INBUF_PLANES;
1202 buf.index = i;
1203 if (exynos_v4l2_querybuf(pCtx->hEnc, &buf) != 0) {
1212 buf
1274 struct v4l2_buffer buf; local
1780 struct v4l2_buffer buf; local
1860 struct v4l2_buffer buf; local
1958 struct v4l2_buffer buf; local
1999 struct v4l2_buffer buf; local
2137 struct v4l2_buffer buf; local
2211 struct v4l2_buffer buf; local
[all...]
/hardware/libhardware_legacy/wifi/
H A Dwifi.c411 char buf[2048]; local
446 while ((nread = TEMP_FAILURE_RETRY(read(srcfd, buf, sizeof(buf)))) != 0) {
454 TEMP_FAILURE_RETRY(write(destfd, buf, nread));
742 int wifi_wait_on_socket(int index, char *buf, size_t buflen) argument
753 strncpy(buf, WPA_EVENT_TERMINATING " - connection closed", buflen-1);
754 buf[buflen-1] = '\0';
755 return strlen(buf);
758 result = wifi_ctrl_recv(index, buf, &nread);
762 strncpy(buf, WPA_EVENT_TERMINATIN
802 wifi_wait_for_event(const char *ifname, char *buf, size_t buflen) argument
[all...]
/hardware/libhardware_legacy/include/hardware_legacy/
H A Dwifi.h80 * @param buf is the buffer that receives the event
87 int wifi_wait_for_event(const char *iface, char *buf, size_t len);
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/
H A DSession.cpp107 mcResult_t Session::addBulkBuf(addr_t buf, uint32_t len, BulkBufferDescriptor **blkBuf) argument
119 if ((*iterator)->virtAddr == buf) {
126 mcResult_t ret = mcKMod->registerWsmL2(buf, len, 0, &handle, &pPhysWsmL2);
136 *blkBuf = new BulkBufferDescriptor(buf, 0x0, len, handle, pPhysWsmL2);
H A DSession.h113 * @param buf The virtual address of bulk buffer.
120 mcResult_t addBulkBuf(addr_t buf, uint32_t len, BulkBufferDescriptor **blkBuf);
126 * @param buf The virtual address of the bulk buffer.
130 mcResult_t removeBulkBuf(addr_t buf);
135 * @param buf The secure virtual address of the bulk buffer.
/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Dbcmutils.c59 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) argument
79 bcopy(PKTDATA(osh, p) + offset, buf, n);
80 buf += n;
91 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) argument
108 bcopy(buf, PKTDATA(osh, p) + offset, n);
109 buf += n;
997 bcm_ether_ntoa(const struct ether_addr *ea, char *buf) argument
1005 char *p = buf;
1016 return (buf);
1020 bcm_ip_ntoa(struct ipv4_addr *ia, char *buf) argument
1457 uint8 *buf; local
1519 bcm_parse_tlvs(void *buf, int buflen, uint key) argument
1550 bcm_parse_ordered_tlvs(void *buf, int buflen, uint key) argument
1581 bcm_format_flags(const bcm_bit_desc_t *bd, uint32 flags, char* buf, int len) argument
1650 prhex(const char *msg, uchar *buf, uint nbytes) argument
1711 bcm_chipname(uint chipid, char *buf, uint len) argument
1722 bcm_brev_str(uint32 brev, char *buf) argument
1736 printbig(char *buf) argument
1761 bcmdumpfields(bcmutl_rdreg_rtn read_rtn, void *arg0, uint arg1, struct fielddesc *fielddesc_array, char *buf, uint32 bufsize) argument
1788 bcm_mkiovar(char *name, char *data, uint datalen, char *buf, uint buflen) argument
1911 bcm_binit(struct bcmstrbuf *b, char *buf, uint size) argument
1948 bcm_bprhex(struct bcmstrbuf *b, const char *msg, bool newline, uint8 *buf, int len) argument
2007 bcm_format_ssid(char* buf, const uchar ssid[], uint ssid_len) argument
[all...]
H A Ddhdu.c94 char *buf, uint buflen, int *perr);
100 static int read_vars(char *fname, char *buf, int buf_maxlen);
113 static char *buf = (char*) &bufstruct_dhd.bufdata; variable
423 char *buf; local
437 buf = malloc(len);
438 if (buf == NULL) {
443 *(buf+i) = 0;
449 strcat(buf+row*80, cmd->name);
450 pad = 18 * (col + 1) - strlen(buf+row*80);
454 strcat(buf
548 dhd_hexdump(uchar *buf, uint nbytes, uint saddr) argument
1378 read_vars(char *fname, char *buf, int buf_maxlen) argument
2585 dhd_iovar_mkbuf(char *name, char *data, uint datalen, char *buf, uint buflen, int *perr) argument
2701 char buf[HCI_CMD_PREAMBLE_SIZE + HCI_CMD_DATA_SIZE]; member in union:__anon62
2791 uint8 buf[HCI_ACL_DATA_PREAMBLE_SIZE + 2048]; member in union:__anon63
[all...]
H A Ddhdu_common.h65 extern int wl_get(void *wl, int cmd, void *buf, int len);
66 extern int wl_set(void *wl, int cmd, void *buf, int len);
/hardware/broadcom/wlan/bcm4329/dhdutil/
H A Dbcmutils.c60 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) argument
80 bcopy(PKTDATA(osh, p) + offset, buf, n);
81 buf += n;
92 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) argument
109 bcopy(buf, PKTDATA(osh, p) + offset, n);
110 buf += n;
871 bcm_ether_ntoa(const struct ether_addr *ea, char *buf) argument
874 snprintf(buf, 18, template,
877 return (buf);
881 bcm_ip_ntoa(struct ipv4_addr *ia, char *buf) argument
1348 uint8 *buf; local
1410 bcm_parse_tlvs(void *buf, int buflen, uint key) argument
1440 bcm_parse_ordered_tlvs(void *buf, int buflen, uint key) argument
1470 bcm_format_flags(const bcm_bit_desc_t *bd, uint32 flags, char* buf, int len) argument
1543 prhex(const char *msg, uchar *buf, uint nbytes) argument
1601 bcm_chipname(uint chipid, char *buf, uint len) argument
1612 bcm_brev_str(uint32 brev, char *buf) argument
1626 printbig(char *buf) argument
1651 bcmdumpfields(bcmutl_rdreg_rtn read_rtn, void *arg0, uint arg1, struct fielddesc *fielddesc_array, char *buf, uint32 bufsize) argument
1678 bcm_mkiovar(char *name, char *data, uint datalen, char *buf, uint buflen) argument
1802 bcm_binit(struct bcmstrbuf *b, char *buf, uint size) argument
1881 bcm_format_ssid(char* buf, const uchar ssid[], uint ssid_len) argument
[all...]
H A Ddhdu.c83 char *buf, uint buflen, int *perr);
89 static int read_vars(char *fname, char *buf, int buf_maxlen);
100 static char *buf = (char*) &bufstruct_dhd.bufdata; variable
406 char *buf; local
420 buf = malloc(len);
421 if (buf == NULL) {
426 *(buf+i) = 0;
432 strcat(buf+row*80, cmd->name);
433 pad = 18 * (col + 1) - strlen(buf+row*80);
437 strcat(buf
531 dhd_hexdump(uchar *buf, uint nbytes, uint saddr) argument
1357 read_vars(char *fname, char *buf, int buf_maxlen) argument
2452 dhd_iovar_mkbuf(char *name, char *data, uint datalen, char *buf, uint buflen, int *perr) argument
2541 char buf[HCI_CMD_PREAMBLE_SIZE + HCI_CMD_DATA_SIZE]; member in union:__anon3
2637 uint8 buf[HCI_ACL_DATA_PREAMBLE_SIZE + 2048]; member in union:__anon4
[all...]
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/
H A Dmm_camera_stream.c48 mm_camera_buf_def_t *buf);
148 /* enqueue to super buf thread */
157 memcpy(&node->u.buf, buf_info, sizeof(mm_camera_buf_info_t));
183 memcpy(&node->u.buf, buf_info, sizeof(mm_camera_buf_info_t));
223 idx = buf_info.buf->buf_idx;
228 /* update buf ref count */
230 /* need to add into super buf since bundled, add ref count */
253 mm_camera_buf_def_t *buf = super_buf->bufs[0]; local
266 /* 1) copy buf into local buf */
1041 mm_stream_qbuf(mm_stream_t *my_obj, mm_camera_buf_def_t *buf) argument
[all...]
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
H A Dbcmendian.h67 #define ltoh16_buf(buf, i)
68 #define htol16_buf(buf, i)
112 #define bcmswap16_buf(buf, len) ({ \
113 uint16 *_buf = (uint16 *)(buf); \
198 bcmswap16_buf(uint16 *buf, uint len) argument
203 *buf = bcmswap16(*buf);
204 buf++;
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dbcmendian.h67 #define ltoh16_buf(buf, i)
68 #define htol16_buf(buf, i)
112 #define bcmswap16_buf(buf, len) ({ \
113 uint16 *_buf = (uint16 *)(buf); \
198 bcmswap16_buf(uint16 *buf, uint len) argument
203 *buf = bcmswap16(*buf);
204 buf++;

Completed in 709 milliseconds

1234567