/hardware/nxp/nfc/halimpl/log/ |
D | phNxpLog.cc | 60 int len = property_get(PROP_NAME_NXPLOG_GLOBAL_LOGLEVEL, valueStr, ""); in phNxpLog_SetGlobalLogLevel() local 61 if (len > 0) { in phNxpLog_SetGlobalLogLevel() 81 int len; in phNxpLog_SetHALLogLevel() local 90 len = property_get(PROP_NAME_NXPLOG_HAL_LOGLEVEL, valueStr, ""); in phNxpLog_SetHALLogLevel() 91 if (len > 0) { in phNxpLog_SetHALLogLevel() 109 int len; in phNxpLog_SetExtnsLogLevel() local 117 len = property_get(PROP_NAME_NXPLOG_EXTNS_LOGLEVEL, valueStr, ""); in phNxpLog_SetExtnsLogLevel() 118 if (len > 0) { in phNxpLog_SetExtnsLogLevel() 136 int len; in phNxpLog_SetTmlLogLevel() local 144 len = property_get(PROP_NAME_NXPLOG_TML_LOGLEVEL, valueStr, ""); in phNxpLog_SetTmlLogLevel() [all …]
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
D | netlink.h | 79 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) argument 81 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN) argument 82 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) argument 84 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 86 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument 88 (nlh)->nlmsg_len <= (len)) 89 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument 180 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) argument
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
D | netlink.h | 79 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) argument 81 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN) argument 82 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) argument 84 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 86 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument 88 (nlh)->nlmsg_len <= (len)) 89 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument 180 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) argument
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
D | netlink.h | 87 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) argument 90 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN) argument 91 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) argument 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(… argument 95 …e NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct … argument 96 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument 167 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) argument
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
D | netlink.h | 87 #define NLMSG_ALIGN(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1)) argument 90 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN) argument 91 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) argument 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *)… argument 95 …ine NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct… argument 96 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument 167 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) argument
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 59 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktcopy() argument 63 if (len < 0) in pktcopy() 64 len = 4096; /* "infinite" */ in pktcopy() 77 for (; p && len; p = PKTNEXT(osh, p)) { in pktcopy() 78 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len); in pktcopy() 81 len -= n; in pktcopy() 91 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktfrombuf() argument 106 for (; p && len; p = PKTNEXT(osh, p)) { in pktfrombuf() 107 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len); in pktfrombuf() 110 len -= n; in pktfrombuf() [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 84 inv_error_t inv_write_cal(unsigned char *cal, size_t len) in inv_write_cal() argument 90 if (len <= 0) { in inv_write_cal() 94 MPL_LOGV("cal data size to write = %d", len); in inv_write_cal() 101 bytesWritten = fwrite(cal, 1, len, fp); in inv_write_cal() 102 if (bytesWritten != len) { in inv_write_cal() 104 bytesWritten, len); in inv_write_cal() 137 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len) in inv_load_cal_V0() argument 149 result = inv_load_mpl_states(calData, len); in inv_load_cal_V0() 176 inv_error_t inv_load_cal_V1(unsigned char *calData, size_t len) in inv_load_cal_V1() argument 197 int len = 0; in inv_load_cal() local [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 84 inv_error_t inv_write_cal(unsigned char *cal, size_t len) in inv_write_cal() argument 90 if (len <= 0) { in inv_write_cal() 94 MPL_LOGV("cal data size to write = %d", len); in inv_write_cal() 101 bytesWritten = fwrite(cal, 1, len, fp); in inv_write_cal() 102 if (bytesWritten != len) { in inv_write_cal() 104 bytesWritten, len); in inv_write_cal() 137 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len) in inv_load_cal_V0() argument 149 result = inv_load_mpl_states(calData, len); in inv_load_cal_V0() 176 inv_error_t inv_load_cal_V1(unsigned char *calData, size_t len) in inv_load_cal_V1() argument 197 int len = 0; in inv_load_cal() local [all …]
|
/hardware/qcom/sdm845/display/libqservice/ |
D | IQHDMIClient.cpp | 57 void onCECMessageRecieved(char *msg, ssize_t len) in onCECMessageRecieved() argument 61 data.writeInt32((int32_t)len); in onCECMessageRecieved() 62 void *buf = data.writeInplace(len); in onCECMessageRecieved() 64 memcpy(buf, msg, len); in onCECMessageRecieved() 85 ssize_t len = data.readInt32(); in onTransact() local 87 if(len >= 0 && len <= (ssize_t) data.dataAvail()) { in onTransact() 88 msg = data.readInplace(len); in onTransact() 91 len = 0; in onTransact() 94 onCECMessageRecieved((char*) msg, len); in onTransact()
|
/hardware/qcom/display/msm8996/libqservice/ |
D | IQHDMIClient.cpp | 57 void onCECMessageRecieved(char *msg, ssize_t len) in onCECMessageRecieved() argument 61 data.writeInt32((int32_t)len); in onCECMessageRecieved() 62 void *buf = data.writeInplace(len); in onCECMessageRecieved() 64 memcpy(buf, msg, len); in onCECMessageRecieved() 85 ssize_t len = data.readInt32(); in onTransact() local 87 if(len >= 0 && len <= (ssize_t) data.dataAvail()) { in onTransact() 88 msg = data.readInplace(len); in onTransact() 91 len = 0; in onTransact() 94 onCECMessageRecieved((char*) msg, len); in onTransact()
|
/hardware/qcom/display/msm8084/libqservice/ |
D | IQHDMIClient.cpp | 57 void onCECMessageRecieved(char *msg, ssize_t len) in onCECMessageRecieved() argument 61 data.writeInt32(len); in onCECMessageRecieved() 62 void *buf = data.writeInplace(len); in onCECMessageRecieved() 63 memcpy(buf, msg, len); in onCECMessageRecieved() 84 ssize_t len = data.readInt32(); in onTransact() local 86 if(len >= 0 && len <= (ssize_t) data.dataAvail()) { in onTransact() 87 msg = data.readInplace(len); in onTransact() 90 len = 0; in onTransact() 92 onCECMessageRecieved((char*) msg, len); in onTransact()
|
/hardware/qcom/display/msm8998/libqservice/ |
D | IQHDMIClient.cpp | 57 void onCECMessageRecieved(char *msg, ssize_t len) in onCECMessageRecieved() argument 61 data.writeInt32((int32_t)len); in onCECMessageRecieved() 62 void *buf = data.writeInplace(len); in onCECMessageRecieved() 64 memcpy(buf, msg, len); in onCECMessageRecieved() 85 ssize_t len = data.readInt32(); in onTransact() local 87 if(len >= 0 && len <= (ssize_t) data.dataAvail()) { in onTransact() 88 msg = data.readInplace(len); in onTransact() 91 len = 0; in onTransact() 94 onCECMessageRecieved((char*) msg, len); in onTransact()
|
/hardware/qcom/display/msm8909w_3100/libqservice/ |
D | IQHDMIClient.cpp | 57 void onCECMessageRecieved(char *msg, ssize_t len) in onCECMessageRecieved() argument 61 data.writeInt32((int32_t)len); in onCECMessageRecieved() 62 void *buf = data.writeInplace(len); in onCECMessageRecieved() 64 memcpy(buf, msg, len); in onCECMessageRecieved() 85 ssize_t len = data.readInt32(); in onTransact() local 87 if(len >= 0 && len <= (ssize_t) data.dataAvail()) { in onTransact() 88 msg = data.readInplace(len); in onTransact() 91 len = 0; in onTransact() 94 onCECMessageRecieved((char*) msg, len); in onTransact()
|
/hardware/qcom/display/msm8909/libqservice/ |
D | IQHDMIClient.cpp | 57 void onCECMessageRecieved(char *msg, ssize_t len) in onCECMessageRecieved() argument 61 data.writeInt32((int32_t)len); in onCECMessageRecieved() 62 void *buf = data.writeInplace(len); in onCECMessageRecieved() 64 memcpy(buf, msg, len); in onCECMessageRecieved() 85 ssize_t len = data.readInt32(); in onTransact() local 87 if(len >= 0 && len <= (ssize_t) data.dataAvail()) { in onTransact() 88 msg = data.readInplace(len); in onTransact() 91 len = 0; in onTransact() 94 onCECMessageRecieved((char*) msg, len); in onTransact()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
D | p2p.h | 43 uint8 len; /* IE length */ member 88 uint8 len[2]; /* SE length not including eltId, len fields */ member 115 uint8 len[2]; /* SE length not including eltId, len fields */ member 123 uint8 len[2]; /* SE length not including eltId, len fields */ member 132 uint8 len[2]; /* SE length not including eltId, len fields */ member 142 uint8 len[2]; /* SE length not including eltId, len fields */ member 150 uint8 len[2]; /* SE length not including eltId, len fields */ member 159 uint8 len[2]; /* SE length not including eltId, len fields */ member 169 uint8 len[2]; /* SE length not including eltId, len fields */ member 205 uint8 len[2]; /* length not including eltId, len fields */ member [all …]
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayUtils.cpp | 330 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 338 strlcat(buf, str, len); in getDump() 339 getDump(buf, len, "\tsrc", ov.src); in getDump() 340 getDump(buf, len, "\tsrc_rect", ov.src_rect); in getDump() 341 getDump(buf, len, "\tdst_rect", ov.dst_rect); in getDump() 344 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 351 strlcat(buf, str_src, len); in getDump() 354 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 360 strlcat(buf, str_rect, len); in getDump() 363 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument [all …]
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayUtils.cpp | 337 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 345 strlcat(buf, str, len); in getDump() 346 getDump(buf, len, "\tsrc", ov.src); in getDump() 347 getDump(buf, len, "\tsrc_rect", ov.src_rect); in getDump() 348 getDump(buf, len, "\tdst_rect", ov.dst_rect); in getDump() 351 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 358 strlcat(buf, str_src, len); in getDump() 361 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 367 strlcat(buf, str_rect, len); in getDump() 370 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | storage_manager.c | 131 long len; in inv_load_mpl_states() local 133 len = length; // Important so we get negative numbers in inv_load_mpl_states() 134 if (data == NULL || len == 0) in inv_load_mpl_states() 136 if (len < sizeof(struct data_header_t)) in inv_load_mpl_states() 141 len = MIN(hd->size, len); in inv_load_mpl_states() 142 len = hd->size; in inv_load_mpl_states() 143 len -= sizeof(struct data_header_t); in inv_load_mpl_states() 145 checksum = inv_checksum(data, len); in inv_load_mpl_states() 149 while (len > (long)sizeof(struct data_header_t)) { in inv_load_mpl_states() 153 len -= sizeof(struct data_header_t); in inv_load_mpl_states() [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | storage_manager.c | 131 long len; in inv_load_mpl_states() local 133 len = length; // Important so we get negative numbers in inv_load_mpl_states() 134 if (data == NULL || len == 0) in inv_load_mpl_states() 136 if (len < sizeof(struct data_header_t)) in inv_load_mpl_states() 141 len = MIN(hd->size, len); in inv_load_mpl_states() 142 len = hd->size; in inv_load_mpl_states() 143 len -= sizeof(struct data_header_t); in inv_load_mpl_states() 145 checksum = inv_checksum(data, len); in inv_load_mpl_states() 149 while (len > (long)sizeof(struct data_header_t)) { in inv_load_mpl_states() 153 len -= sizeof(struct data_header_t); in inv_load_mpl_states() [all …]
|
/hardware/nxp/secure_element/libese-spi/p73/pal/ |
D | phNxpEsePal.cpp | 190 uint16_t len) { in phPalEse_print_packet() argument 192 char print_buffer[len * 3 + 1]; in phPalEse_print_packet() 195 for (i = 0; i < len; i++) { in phPalEse_print_packet() 199 ALOGD_IF(ese_debug_enabled, "NxpEseDataX len = %3d > %s", len, in phPalEse_print_packet() 202 ALOGD_IF(ese_debug_enabled, "NxpEseDataR len = %3d > %s", len, in phPalEse_print_packet() 236 void* phPalEse_memset(void* buff, int val, size_t len) { in phPalEse_memset() argument 237 return memset(buff, val, len); in phPalEse_memset() 252 void* phPalEse_memcpy(void* dest, const void* src, size_t len) { in phPalEse_memcpy() argument 253 return memcpy(dest, src, len); in phPalEse_memcpy()
|
/hardware/nxp/secure_element/1.0/ |
D | SecureElement.cpp | 101 cmdApdu.len = data.size(); in transmit() 102 if (cmdApdu.len >= MIN_APDU_LENGTH) { in transmit() 104 memcpy(cmdApdu.p_data, data.data(), cmdApdu.len); in transmit() 112 result.resize(rspApdu.len); in transmit() 113 memcpy(&result[0], rspApdu.p_data, rspApdu.len); in transmit() 147 cmdApdu.len = manageChannelCommand.size(); in openLogicalChannel() 151 memcpy(cmdApdu.p_data, manageChannelCommand.data(), cmdApdu.len); in openLogicalChannel() 157 } else if (rspApdu.p_data[rspApdu.len - 2] == 0x90 && in openLogicalChannel() 158 rspApdu.p_data[rspApdu.len - 1] == 0x00) { in openLogicalChannel() 164 } else if (rspApdu.p_data[rspApdu.len - 2] == 0x6A && in openLogicalChannel() [all …]
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayUtils.cpp | 406 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 414 strlcat(buf, str, len); in getDump() 415 getDump(buf, len, "\tsrc", ov.src); in getDump() 416 getDump(buf, len, "\tsrc_rect", ov.src_rect); in getDump() 417 getDump(buf, len, "\tdst_rect", ov.dst_rect); in getDump() 420 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 427 strlcat(buf, str_src, len); in getDump() 430 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 436 strlcat(buf, str_rect, len); in getDump() 439 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument [all …]
|
/hardware/nxp/secure_element/1.1/ |
D | SecureElement.cpp | 142 cmdApdu.len = data.size(); in transmit() 143 if (cmdApdu.len >= MIN_APDU_LENGTH) { in transmit() 145 memcpy(cmdApdu.p_data, data.data(), cmdApdu.len); in transmit() 153 result.resize(rspApdu.len); in transmit() 154 memcpy(&result[0], rspApdu.p_data, rspApdu.len); in transmit() 188 cmdApdu.len = manageChannelCommand.size(); in openLogicalChannel() 192 memcpy(cmdApdu.p_data, manageChannelCommand.data(), cmdApdu.len); in openLogicalChannel() 198 } else if (rspApdu.p_data[rspApdu.len - 2] == 0x90 && in openLogicalChannel() 199 rspApdu.p_data[rspApdu.len - 1] == 0x00) { in openLogicalChannel() 205 } else if (rspApdu.p_data[rspApdu.len - 2] == 0x6A && in openLogicalChannel() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | gscan_event_handler.cpp | 225 u32 len = 0; in gscan_parse_hotlist_ap_results() local 264 len = nla_len(tb2[ in gscan_parse_hotlist_ap_results() 266 len = in gscan_parse_hotlist_ap_results() 267 sizeof(results->ssid) <= len ? sizeof(results->ssid) : len; in gscan_parse_hotlist_ap_results() 270 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_SSID]), len); in gscan_parse_hotlist_ap_results() 280 len = nla_len( in gscan_parse_hotlist_ap_results() 282 len = in gscan_parse_hotlist_ap_results() 283 sizeof(results->bssid) <= len ? sizeof(results->bssid) : len; in gscan_parse_hotlist_ap_results() 286 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_BSSID]), len); in gscan_parse_hotlist_ap_results() 358 u32 len = 0; in gscan_get_significant_change_results() local [all …]
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayUtils.cpp | 329 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 337 getDump(buf, len, "\tsrc(msmfb_img)", ov.src); in getDump() 338 getDump(buf, len, "\tsrc_rect(mdp_rect)", ov.src_rect); in getDump() 339 getDump(buf, len, "\tdst_rect(mdp_rect)", ov.dst_rect); in getDump() 342 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 352 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 361 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 368 getDump(buf, len, "\tdata(msmfb_data)", ov.data); in getDump() 371 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 381 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument [all …]
|