Home
last modified time | relevance | path

Searched refs:str_len (Results 1 – 4 of 4) 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/nxp/nfc/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/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()