Home
last modified time | relevance | path

Searched refs:str_len (Results 1 – 10 of 10) sorted by relevance

/hardware/st/nfc/st21nfc/adaptation/
Dconfig.cpp51 size_t str_len() const { return m_str_value.length(); } in str_len() function in CNfcParam
420 if (pParam->str_len() > 0) { in getValue()
422 if (pParam->str_len() > len) { in getValue()
425 len = pParam->str_len(); in getValue()
446 if (pParam->str_len() > 0) { in getValue()
447 if (pParam->str_len() <= (unsigned long)len) { in getValue()
449 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
450 *readlen = pParam->str_len(); in getValue()
472 if (pParam->str_len() == 0) { in getValue()
493 if (pParam->str_len() == 0) { in getValue()
[all …]
/hardware/samsung/nfc/halimpl/src/
Dconfig.cpp135 size_t str_len() const { return m_str_value.length(); } in str_len() function in CNfcParam
499 if (pParam->str_len() > 0) { in getValue()
501 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
512 if (pParam->str_len() > 0) { in getValue()
513 if (pParam->str_len() <= (unsigned long)len) { in getValue()
515 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
516 *readlen = pParam->str_len(); in getValue()
540 if (pParam->str_len() == 0) { in getValue()
561 if (pParam->str_len() == 0) { in getValue()
603 if ((*it)->str_len() > 0) in _find()
[all …]
/hardware/nxp/nfc/pn8x/halimpl/utils/
DphNxpConfig.cpp116 size_t str_len() const { return m_str_value.length(); } in str_len() function in CNfcParam
493 if (pParam->str_len() > 0) { in getValue()
495 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
506 if (pParam->str_len() > 0) { in getValue()
507 if (pParam->str_len() <= (unsigned long)len) { in getValue()
509 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
510 *readlen = pParam->str_len(); in getValue()
534 if (pParam->str_len() == 0) { in getValue()
555 if (pParam->str_len() == 0) { in getValue()
578 if ((*it)->str_len() > 0) { in find()
[all …]
/hardware/st/nfc/1.0/adaptation/
Dconfig.cpp50 size_t str_len() const { return m_str_value.length(); } in str_len() function in CNfcParam
393 if (pParam->str_len() > 0) { in getValue()
395 if (len > pParam->str_len()) len = pParam->str_len(); in getValue()
416 if (pParam->str_len() == 0) { in getValue()
437 if (pParam->str_len() == 0) { in getValue()
460 if ((*it)->str_len() > 0) { in find()
627 if (v == 0 && pParam->str_len() > 0 && pParam->str_len() < 4) { in GetNumValue()
629 for (size_t i = 0; i < pParam->str_len(); ++i) { in GetNumValue()
/hardware/nxp/nfc/snxxx/halimpl/utils/
DphNxpConfig.cc135 size_t str_len() const { return m_str_value.length(); } in str_len() function in CNfcParam
535 if (pParam->str_len() > 0) { in getValue()
537 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
548 if (pParam->str_len() > 0) { in getValue()
549 if (pParam->str_len() <= (unsigned long)len) { in getValue()
551 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
552 *readlen = pParam->str_len(); in getValue()
576 if (pParam->str_len() == 0) { in getValue()
597 if (pParam->str_len() == 0) { in getValue()
620 if ((*it)->str_len() > 0) { in find()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_mixer.c724 unsigned int input_str_len, str_len; in mixer_ctl_select() local
736 str_len = strnlen(ctl->ename[n], 64); in mixer_ctl_select()
737 if (str_len < input_str_len) in mixer_ctl_select()
738 str_len = input_str_len; in mixer_ctl_select()
740 if (!strncmp(value, ctl->ename[n], str_len)) { in mixer_ctl_select()
/hardware/nxp/uwb/halimpl/utils/
DphNxpConfig.cc76 size_t str_len() const {return m_str_value.length();} in str_len() function in uwbParam
854 if (len < (param->str_len() + 1)) in getValue()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Xml.cpp81 uint32_t str_len; in IPACM_read_content_element() local
89 str_len = strlen((char*)child_ptr->content); in IPACM_read_content_element()
91 if(str_len < MAX_XML_STR_LEN) in IPACM_read_content_element()
/hardware/qcom/wlan/wcn6740/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c3793 int str_len, remaining = 0; in result_copy_to_buf() local
3796 str_len = strlen(src); in result_copy_to_buf()
3797 remaining = remaining - (str_len + 1); in result_copy_to_buf()
3803 os_memcpy(dst_buf, src, str_len); in result_copy_to_buf()
3806 *(dst_buf + str_len) = ' '; in result_copy_to_buf()
3808 return (dst_buf + str_len + 1); in result_copy_to_buf()
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c2556 static int int_prefix_str(char *str, size_t str_len, int prefix, const char *prefix_format) in int_prefix_str() argument
2561 if (str_len < prefix_len + str_cur_len + 1) in int_prefix_str()