Searched refs:len (Results 201 - 225 of 795) sorted by relevance

1234567891011>>

/hardware/qcom/display/msm8909w_3100/libqservice/
H A DQService.cpp89 void QService::onCECMessageReceived(char *msg, ssize_t len) { argument
92 mHDMIClient->onCECMessageRecieved(msg, len);
/hardware/qcom/display/msm8996/libqservice/
H A DQService.cpp89 void QService::onCECMessageReceived(char *msg, ssize_t len) { argument
92 mHDMIClient->onCECMessageRecieved(msg, len);
/hardware/qcom/display/msm8998/libqservice/
H A DQService.cpp89 void QService::onCECMessageReceived(char *msg, ssize_t len) { argument
92 mHDMIClient->onCECMessageRecieved(msg, len);
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dbcmendian.h116 #define bcmswap16_buf(buf, len) ({ \
118 uint _wds = (len) / 2; \
200 /* len - byte length of buffer */
202 bcmswap16_buf(uint16 *buf, uint len) argument
204 len = len / 2;
206 while (len--) {
/hardware/qcom/display/msm8909/libqdutils/
H A Dqd_utils.cpp136 size_t len = MAX_STRING_LENGTH; local
139 while ((read = getline(&line, &len, fileptr)) != -1) {
206 size_t len = MAX_STRING_LENGTH; local
225 if (getline(&line, &len, connectFile) < 0) {
245 size_t len = MAX_STRING_LENGTH; local
264 while (getline(&line, &len, configFile) != -1) {
/hardware/qcom/display/msm8909w_3100/libqdutils/
H A Dqd_utils.cpp136 size_t len = MAX_STRING_LENGTH; local
139 while ((read = getline(&line, &len, fileptr)) != -1) {
206 size_t len = MAX_STRING_LENGTH; local
225 if (getline(&line, &len, connectFile) < 0) {
245 size_t len = MAX_STRING_LENGTH; local
264 while (getline(&line, &len, configFile) != -1) {
/hardware/qcom/display/msm8998/libqdutils/
H A Dqd_utils.cpp136 size_t len = MAX_STRING_LENGTH; local
139 while ((read = getline(&line, &len, fileptr)) != -1) {
206 size_t len = MAX_STRING_LENGTH; local
225 if (getline(&line, &len, connectFile) < 0) {
245 size_t len = MAX_STRING_LENGTH; local
264 while (getline(&line, &len, configFile) != -1) {
/hardware/qcom/gps/msm8998/utils/
H A Dloc_target.cpp82 int len; local
84 len = strlen(line);
85 len = len < line_size - 1? len : line_size - 1;
86 line[len] = '\0';
/hardware/qcom/display/msm8084/libexternal/
H A Dexternal.cpp175 ssize_t len = -1; local
193 len = read(hdmiScanInfoFile, scanInfo, sizeof(scanInfo)-1);
195 __FUNCTION__, scanInfo, len);
196 if (len <= 0) {
202 scanInfo[len] = '\0'; /* null terminate the string */
307 ssize_t len = -1; local
315 len = read(hdmiEDIDFile, edidStr, sizeof(edidStr)-1);
317 __FUNCTION__, edidStr, len);
318 if ( len <= 0) {
324 while (len >
[all...]
/hardware/qcom/display/msm8226/libexternal/
H A Dexternal.cpp175 ssize_t len = -1; local
193 len = read(hdmiScanInfoFile, scanInfo, sizeof(scanInfo)-1);
195 __FUNCTION__, scanInfo, len);
196 if (len <= 0) {
202 scanInfo[len] = '\0'; /* null terminate the string */
307 ssize_t len = -1; local
315 len = read(hdmiEDIDFile, edidStr, sizeof(edidStr)-1);
317 __FUNCTION__, edidStr, len);
318 if ( len <= 0) {
324 while (len >
[all...]
/hardware/qcom/display/msm8994/libhdmi/
H A Dhdmi.cpp238 ssize_t len = -1; local
250 len = read(hdmiScanInfoFile, scanInfo, sizeof(scanInfo)-1);
252 __FUNCTION__, scanInfo, len);
253 if (len <= 0) {
258 scanInfo[len] = '\0'; /* null terminate the string */
358 ssize_t len = -1; local
365 len = read(hdmiEDIDFile, edidStr, sizeof(edidStr)-1);
367 __FUNCTION__, edidStr, len);
368 if (len <= 0) {
373 while (len >
[all...]
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
H A Dhw_ar3k.c126 static int send_hci_cmd_sync(int dev, uint8_t *cmd, int len, uint8_t **event) argument
132 if (len == 0)
133 return len;
137 if (write(dev, (unsigned char *)cmd, len) != len)
152 return len;
246 static void load_hci_ps_hdr(uint8_t *cmd, uint8_t ps_op, int len, int index) argument
252 ch->plen = len + PS_HDR_LEN;
258 cmd[3] = len;
293 static int write_cmd(int fd, uint8_t *buffer, int len) argument
871 set_patch_ram(int dev, char *patch_loc, int len) argument
[all...]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
H A Dhw_ar3k.c128 static int send_hci_cmd_sync(int dev, uint8_t *cmd, int len, uint8_t **event) argument
134 if (len == 0)
135 return len;
139 if (write(dev, (unsigned char *)cmd, len) != len)
154 return len;
248 static void load_hci_ps_hdr(uint8_t *cmd, uint8_t ps_op, int len, int index) argument
254 ch->plen = len + PS_HDR_LEN;
260 cmd[3] = len;
295 static int write_cmd(int fd, uint8_t *buffer, int len) argument
873 set_patch_ram(int dev, char *patch_loc, int len) argument
[all...]
/hardware/qcom/bt/msm8998/libbt-vendor/src/
H A Dhw_ar3k.c130 static int send_hci_cmd_sync(int dev, uint8_t *cmd, int len, uint8_t **event) argument
136 if (len == 0)
137 return len;
141 if (write(dev, (unsigned char *)cmd, len) != len)
156 return len;
250 static void load_hci_ps_hdr(uint8_t *cmd, uint8_t ps_op, int len, int index) argument
256 ch->plen = len + PS_HDR_LEN;
262 cmd[3] = len;
297 static int write_cmd(int fd, uint8_t *buffer, int len) argument
875 set_patch_ram(int dev, char *patch_loc, int len) argument
[all...]
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dnan_ind.cpp1074 u32 len = 0; local
1091 len = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_PEER_DISCOVERY_MAC_ADDR]);
1092 len = ((sizeof(event->peer_disc_mac_addr) <= len) ? sizeof(event->peer_disc_mac_addr) : len);
1093 memcpy(&event->peer_disc_mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_PEER_DISCOVERY_MAC_ADDR]), len);
1098 len = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_NDP_APP_INFO]);
1099 len = ((sizeof(event->app_info.ndp_app_info) <= len) ? sizeof(event->app_info.ndp_app_info) : len);
1111 u32 len = 0; local
1215 u32 len = 0; local
[all...]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
H A Dwifi_logger.cpp325 int len = reply.get_vendor_data_len(); local
327 ALOGD("len = %d, expected len = %d", len, *mBuffSize);
328 memcpy(mBuff, data, min(len, *mBuffSize));
329 if (*mBuffSize < len)
331 *mBuffSize = len;
342 int len = reply.get_vendor_data_len(); local
345 if (vendor_data == NULL || len == 0) {
382 int len local
537 int len = event.get_vendor_data_len(); local
655 int len = reply.get_vendor_data_len(); local
685 int len = event.get_vendor_data_len(); local
837 int len = reply.get_vendor_data_len(); local
1038 int len = reply.get_vendor_data_len(); local
[all...]
/hardware/qcom/bt/msm8909/libbt-vendor/src/
H A Dhw_ar3k.c124 static int send_hci_cmd_sync(int dev, uint8_t *cmd, int len, uint8_t **event) argument
130 if (len == 0)
131 return len;
135 if (write(dev, (unsigned char *)cmd, len) != len)
150 return len;
244 static void load_hci_ps_hdr(uint8_t *cmd, uint8_t ps_op, int len, int index) argument
250 ch->plen = len + PS_HDR_LEN;
256 cmd[3] = len;
291 static int write_cmd(int fd, uint8_t *buffer, int len) argument
869 set_patch_ram(int dev, char *patch_loc, int len) argument
[all...]
/hardware/qcom/bt/msm8992/libbt-vendor/src/
H A Dhw_ar3k.c124 static int send_hci_cmd_sync(int dev, uint8_t *cmd, int len, uint8_t **event) argument
130 if (len == 0)
131 return len;
135 if (write(dev, (unsigned char *)cmd, len) != len)
150 return len;
244 static void load_hci_ps_hdr(uint8_t *cmd, uint8_t ps_op, int len, int index) argument
250 ch->plen = len + PS_HDR_LEN;
256 cmd[3] = len;
291 static int write_cmd(int fd, uint8_t *buffer, int len) argument
869 set_patch_ram(int dev, char *patch_loc, int len) argument
[all...]
/hardware/qcom/display/msm8960/libexternal/
H A Dexternal.cpp228 int len = -1; local
244 len = read(hdmiScanInfoFile, scanInfo, sizeof(scanInfo)-1);
246 __FUNCTION__, scanInfo, len);
247 if (len <= 0) {
253 scanInfo[len] = '\0'; /* null terminate the string */
411 int len = -1; local
418 len = read(hdmiEDIDFile, mEDIDs, sizeof(mEDIDs)-1);
420 __FUNCTION__, mEDIDs, len);
421 if ( len <= 0) {
426 while (len >
[all...]
/hardware/ril/reference-ril/
H A Datchannel.c55 void AT_DUMP(const char* prefix, const char* buff, int len) argument
57 if (len < 0)
58 len = strlen(buff);
59 RLOGD("%.*s", len, buff);
353 size_t len; local
355 len = strlen(s_ATBufferCur);
357 memmove(s_ATBuffer, s_ATBufferCur, len + 1);
358 p_read = s_ATBuffer + len;
480 size_t len = strlen(s); local
492 while (cur < len) {
519 size_t len = strlen(s); local
[all...]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_stream.c2709 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline);
2720 buf_planes->plane_info.mp[1].len =
2730 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len +
2731 buf_planes->plane_info.mp[1].len,
2746 buf_planes->plane_info.mp[0].len =
2758 buf_planes->plane_info.mp[1].len =
2768 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len +
2769 buf_planes->plane_info.mp[1].len,
2784 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline);
2795 buf_planes->plane_info.mp[1].len
[all...]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
H A Dviddec_pm_utils_list.c41 accumulated_size = list->sc_ibuf[index].len - list->start_offset;
53 if((accumulated_size + list->sc_ibuf[index].len) >= byte)
59 accumulated_size += list->sc_ibuf[index].len;
78 end = list->sc_ibuf[0].len - list->start_offset;
86 end += list->sc_ibuf[items].len;
116 Most of the time len >0. However we can have a condition on EOS where the last buffer can be
/hardware/libhardware/include/hardware/
H A Dbluetooth.h257 int len; member in struct:__anon1224
372 typedef void (*dut_mode_recv_callback)(uint16_t opcode, uint8_t *buf, uint8_t len);
546 int (*dut_mode_send)(uint16_t opcode, uint8_t *buf, uint8_t len);
549 int (*le_test_mode)(uint16_t opcode, uint8_t *buf, uint8_t len);
581 * first |len| bytes of the its device address match |addr|.
584 void (*interop_database_add)(uint16_t feature, const RawAddress *addr, size_t len);
/hardware/nxp/nfc/halimpl/utils/
H A DphNxpNciHal_utils.cc432 uint16_t len) {
434 char print_buffer[len * 3 + 1];
437 for (i = 0; i < len; i++) {
441 NXPLOG_NCIX_D("len = %3d > %s", len, print_buffer);
443 NXPLOG_NCIR_D("len = %3d > %s", len, print_buffer);
431 phNxpNciHal_print_packet(const char* pString, const uint8_t* p_data, uint16_t len) argument
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/
H A DQCameraHAL3Test.cpp110 alloc.len = (size_t)(buf_size);
111 alloc.len = (alloc.len + 4095U) & (~4095U);
129 LOGD("%s ION FD %d len %d\n", __func__, ion_info_fd.fd, alloc.len);
135 nh_test->data[4] = alloc.len;

Completed in 689 milliseconds

1234567891011>>