Searched refs:len (Results 26 - 50 of 795) sorted by relevance

1234567891011>>

/hardware/invensense/6515/libsensors_iio/software/core/mllite/
H A Dstorage_manager.c131 long len; local
133 len = length; // Important so we get negative numbers
134 if (data == NULL || len == 0)
136 if (len < sizeof(struct data_header_t))
141 len = MIN(hd->size, len);
142 len = hd->size;
143 len -= sizeof(struct data_header_t);
145 checksum = inv_checksum(data, len);
149 while (len > (lon
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dstorage_manager.c131 long len; local
133 len = length; // Important so we get negative numbers
134 if (data == NULL || len == 0)
136 if (len < sizeof(struct data_header_t))
141 len = MIN(hd->size, len);
142 len = hd->size;
143 len -= sizeof(struct data_header_t);
145 checksum = inv_checksum(data, len);
149 while (len > (lon
[all...]
/hardware/nxp/secure_element/libese-spi/p73/pal/
H A DphNxpEsePal.cpp190 uint16_t len) {
192 char print_buffer[len * 3 + 1];
195 for (i = 0; i < len; i++) {
199 ALOGD_IF(ese_debug_enabled, "NxpEseDataX len = %3d > %s", len,
202 ALOGD_IF(ese_debug_enabled, "NxpEseDataR len = %3d > %s", len,
227 * data in len size
231 * \param[in] len - length of array to be updated
236 void* phPalEse_memset(void* buff, int val, size_t len) { argument
189 phPalEse_print_packet(const char* pString, const uint8_t* p_data, uint16_t len) argument
252 phPalEse_memcpy(void* dest, const void* src, size_t len) argument
[all...]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
H A Dp2p.h43 uint8 len; /* IE length */ member in struct:wifi_p2p_ie
88 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_info_se_s
115 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_intent_se_s
123 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_cfg_tmo_se_s
132 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_listen_channel_se_s
142 uint8 len[ member in struct:wifi_p2p_grp_bssid_se_s
150 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_grp_id_se_s
159 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_intf_se_s
169 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_status_se_s
205 uint8 len[2]; /* length not including eltId, len fields */ member in struct:wifi_p2p_ext_se_s
216 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_intintad_se_s
224 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_channel_se_s
243 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_chanlist_se_s
263 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_devinfo_se_s
274 uint8 len; member in struct:wifi_p2p_cid_fixed_s
287 uint8 len[2]; member in struct:wifi_p2p_devid_se_s
295 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_mgbt_se_s
305 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_grpinfo_se_s
312 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_op_channel_se_s
322 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_invite_flags_se_s
395 uint8 len[2]; /* Length */ member in struct:wifi_p2p_noa_se
476 uint8 len; /* IE length */ member in struct:wifi_p2psd_adp_ie
495 uint16 len; /* Length: 5 plus size of Query Data */ member in struct:wifi_p2psd_qreq_tlv
505 uint16 len; /* Length of service request TLV, 5 plus the size of request data */ member in struct:wifi_p2psd_qreq_frame
522 uint16 len; /* Length: 5 plus size of Query Data */ member in struct:wifi_p2psd_qresp_tlv
533 uint16 len; /* Lenth of service response TLV, 6 plus the size of resp data */ member in struct:wifi_p2psd_qresp_frame
[all...]
/hardware/nxp/nfc/halimpl/utils/
H A DphNxpConfig.h46 int GetNxpStrValue(const char* name, char* p_value, unsigned long len);
47 int GetNxpNumValue(const char* name, void* p_value, unsigned long len);
49 long* len);
/hardware/qcom/display/msm8996/hdmi_cec/
H A DQHDMIClient.cpp51 void QHDMIClient::onCECMessageRecieved(char *msg, ssize_t len) argument
53 ALOGD_IF(DEBUG, "%s: CEC message received len: %zd", __FUNCTION__, len);
54 cec_receive_message(mCtx, msg, len);
/hardware/qcom/display/msm8998/hdmi_cec/
H A DQHDMIClient.cpp51 void QHDMIClient::onCECMessageRecieved(char *msg, ssize_t len) argument
53 ALOGD_IF(DEBUG, "%s: CEC message received len: %zd", __FUNCTION__, len);
54 cec_receive_message(mCtx, msg, len);
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
H A Dviddec_parse_sc_fast_loop.c21 int len,
33 ((len - i) >= 4) ) /* more than four bytes left */
38 while( i < len )
45 while ( i < len )
106 ((len - i) > 4) ) /* more than four bytes left */
125 while ( i <= (len - 4) )
18 parser_find_next_startcode( const unsigned char *buf, int i, int len, unsigned int *pphase ) argument
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
H A DIPACM_Header.cpp158 int len = 0; local
167 len = (sizeof(struct ipa_ioc_del_hdr)) + (NUM_HDLS * sizeof(struct ipa_hdr_del));
168 pHeaderDescriptor = (struct ipa_ioc_del_hdr *)malloc(len);
175 memset(pHeaderDescriptor, 0, len);
211 int len, ret; local
214 len = sizeof(struct ipa_ioc_del_hdr_proc_ctx) + sizeof(struct ipa_hdr_proc_ctx_del);
215 pHeaderTable = (struct ipa_ioc_del_hdr_proc_ctx*)malloc(len);
221 memset(pHeaderTable, 0, len);
/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayUtils.cpp337 void getDump(char *buf, size_t len, const char *prefix, argument
345 strlcat(buf, str, len);
346 getDump(buf, len, "\tsrc", ov.src);
347 getDump(buf, len, "\tsrc_rect", ov.src_rect);
348 getDump(buf, len, "\tdst_rect", ov.dst_rect);
351 void getDump(char *buf, size_t len, const char *prefix, argument
358 strlcat(buf, str_src, len);
361 void getDump(char *buf, size_t len, const char *prefix, argument
367 strlcat(buf, str_rect, len);
370 void getDump(char *buf, size_t len, cons argument
380 getDump(char *buf, size_t len, const char *prefix, const msmfb_data& ov) argument
389 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_img_info& rot) argument
401 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_data_info& rot) argument
[all...]
/hardware/qcom/display/msm8994/liboverlay/
H A DoverlayUtils.cpp330 void getDump(char *buf, size_t len, const char *prefix, argument
338 strlcat(buf, str, len);
339 getDump(buf, len, "\tsrc", ov.src);
340 getDump(buf, len, "\tsrc_rect", ov.src_rect);
341 getDump(buf, len, "\tdst_rect", ov.dst_rect);
344 void getDump(char *buf, size_t len, const char *prefix, argument
351 strlcat(buf, str_src, len);
354 void getDump(char *buf, size_t len, const char *prefix, argument
360 strlcat(buf, str_rect, len);
363 void getDump(char *buf, size_t len, cons argument
373 getDump(char *buf, size_t len, const char *prefix, const msmfb_data& ov) argument
382 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_img_info& rot) argument
394 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_data_info& rot) argument
[all...]
/hardware/nxp/secure_element/1.0/
H A DSecureElement.cpp97 cmdApdu.len = data.size();
98 if (cmdApdu.len >= MIN_APDU_LENGTH) {
100 memcpy(cmdApdu.p_data, data.data(), cmdApdu.len);
108 result.resize(rspApdu.len);
109 memcpy(&result[0], rspApdu.p_data, rspApdu.len);
143 cmdApdu.len = manageChannelCommand.size();
147 memcpy(cmdApdu.p_data, manageChannelCommand.data(), cmdApdu.len);
153 } else if (rspApdu.p_data[rspApdu.len - 2] == 0x90 &&
154 rspApdu.p_data[rspApdu.len - 1] == 0x00) {
160 } else if (rspApdu.p_data[rspApdu.len
[all...]
/hardware/interfaces/bluetooth/1.0/default/test/
H A Dproperties.cc75 int len = strlen(properties[prop_index].value); local
76 memcpy(value, properties[prop_index].value, len);
77 value[len] = '\0';
78 return len;
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
H A Dloc_eng_xtra.cpp63 char* data, int len):
65 mData(new char[len]), mLen(len)
67 memcpy((void*)mData, (void*)data, len);
62 LocEngInjectXtraData(LocEngAdapter* adapter, char* data, int len) argument
H A Dloc_eng_dmn_conn_handler.h103 int loc_eng_dmn_conn_loc_api_server_if_request_handler(struct ctrl_msgbuf *pmsg, int len);
104 int loc_eng_dmn_conn_loc_api_server_if_release_handler(struct ctrl_msgbuf *pmsg, int len);
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A Dloc_eng_xtra.cpp63 char* data, int len):
65 mData(new char[len]), mLen(len)
67 memcpy((void*)mData, (void*)data, len);
62 LocEngInjectXtraData(LocEngAdapter* adapter, char* data, int len) argument
/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_uevents.cpp56 static bool getPanelResetStatus(hwc_context_t* ctx, const char* strUdata, int len) argument
60 while(((iter_str - strUdata) <= len) && (*iter_str)) {
75 static int getConnectedState(const char* strUdata, int len) argument
78 while(((iter_str - strUdata) <= len) && (*iter_str)) {
88 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) argument
90 bool bpanelReset = getPanelResetStatus(ctx, udata, len);
102 int switch_state = getConnectedState(udata, len);
211 int len = 0; local
223 len = uevent_next_event(udata, (int)sizeof(udata) - 2);
224 handle_uevent(ctx, udata, len);
[all...]
/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DConnectionDetector.cpp161 void FileConnectionDetector::handleInotifyData(ssize_t len, const char *data) { argument
162 const char *dataEnd = data + len;
166 for (; data < dataEnd; data += sizeof(struct inotify_event) + ev->len) {
192 ssize_t len = ::read(mInotifyFd, &buffer, sizeof(buffer)); local
193 if (len == -1 && errno == EAGAIN) {
196 } else if (len > static_cast<ssize_t>(sizeof(struct inotify_event))) {
197 handleInotifyData(len, reinterpret_cast<char*>(&buffer));
198 } else if (len < 0) {
203 // 0 <= len <= sizeof(struct inotify_event)
205 len, sizeo
[all...]
/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayUtils.cpp329 void getDump(char *buf, size_t len, const char *prefix, argument
337 getDump(buf, len, "\tsrc(msmfb_img)", ov.src);
338 getDump(buf, len, "\tsrc_rect(mdp_rect)", ov.src_rect);
339 getDump(buf, len, "\tdst_rect(mdp_rect)", ov.dst_rect);
342 void getDump(char *buf, size_t len, const char *prefix, argument
352 void getDump(char *buf, size_t len, const char *prefix, argument
361 void getDump(char *buf, size_t len, const char *prefix, argument
368 getDump(buf, len, "\tdata(msmfb_data)", ov.data);
371 void getDump(char *buf, size_t len, const char *prefix, argument
381 void getDump(char *buf, size_t len, cons argument
393 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_data_info& rot) argument
[all...]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
H A DHidParserExample.cpp28 if (p->data == nullptr || p->len == 0) {
32 bool parseResult = hidParser.parse(p->data, p->len);
50 if (p->data == nullptr || p->len == 0) {
54 bool parseResult = hidParser.parse(p->data, p->len);
81 if (p->data == nullptr || p->len == 0) {
85 bool parseResult = hidParser.parse(p->data, p->len);
/hardware/qcom/gps/msm8960/utils/
H A Dloc_target.cpp74 int len; local
76 len = strlen(line);
77 len = len < line_size - 1? len : line_size - 1;
78 line[len] = '\0';
/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Dbcmutils.c59 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) argument
63 if (len < 0)
64 len = 4096; /* "infinite" */
77 for (; p && len; p = PKTNEXT(osh, p)) {
78 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len);
81 len -= n;
91 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) argument
106 for (; p && len; p = PKTNEXT(osh, p)) {
107 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len);
110 len
125 int len; local
165 uint len, remain, align64; local
193 uint pkt_off = 0, len = 0; local
215 uint len = 0; local
629 int prec, len; local
811 int len, nlen; local
1232 bcm_iovar_lencheck(const bcm_iovar_t *vi, void *arg, int len, bool set) argument
1518 uint len[CNBUFS]; local
1555 int len; local
1589 int len = elt->len; local
1621 int len = elt->len; local
1642 bcm_format_field(const bcm_bit_desc_ex_t *bd, uint32 flags, char* buf, int len) argument
1667 bcm_format_flags(const bcm_bit_desc_t *bd, uint32 flags, char* buf, int len) argument
1720 bcm_format_hex(char *str, const void *bytes, int len) argument
1739 int len = sizeof(line); local
1794 bcm_chipname(uint chipid, char *buf, uint len) argument
1821 uint len, max_len; local
1848 int len; local
1873 uint len; local
2031 bcm_bprhex(struct bcmstrbuf *b, const char *msg, bool newline, uint8 *buf, int len) argument
2069 bcm_print_bytes(const char *name, const uchar *data, int len) argument
2159 process_nvram_vars(char *varbuf, unsigned int len) argument
[all...]
/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayUtils.cpp406 void getDump(char *buf, size_t len, const char *prefix, argument
414 strlcat(buf, str, len);
415 getDump(buf, len, "\tsrc", ov.src);
416 getDump(buf, len, "\tsrc_rect", ov.src_rect);
417 getDump(buf, len, "\tdst_rect", ov.dst_rect);
420 void getDump(char *buf, size_t len, const char *prefix, argument
427 strlcat(buf, str_src, len);
430 void getDump(char *buf, size_t len, const char *prefix, argument
436 strlcat(buf, str_rect, len);
439 void getDump(char *buf, size_t len, cons argument
449 getDump(char *buf, size_t len, const char *prefix, const msmfb_data& ov) argument
458 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_img_info& rot) argument
470 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_data_info& rot) argument
[all...]
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_handler.h103 int loc_eng_dmn_conn_loc_api_server_if_request_handler(struct ctrl_msgbuf *pmsg, int len);
104 int loc_eng_dmn_conn_loc_api_server_if_release_handler(struct ctrl_msgbuf *pmsg, int len);
/hardware/qcom/gps/msm8084/utils/
H A Dloc_cfg.h40 #define UTIL_UPDATE_CONF(conf_data, len, config_table) \
41 loc_update_conf((conf_data), (len), (config_table), \

Completed in 837 milliseconds

1234567891011>>