/external/wpa_supplicant_8/src/wps/ |
D | wps_dev_attr.c | 246 size_t str_len) in wps_process_manufacturer() argument 253 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Manufacturer", str, str_len); in wps_process_manufacturer() 256 dev->manufacturer = dup_binstr(str, str_len); in wps_process_manufacturer() 265 size_t str_len) in wps_process_model_name() argument 272 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Name", str, str_len); in wps_process_model_name() 275 dev->model_name = dup_binstr(str, str_len); in wps_process_model_name() 284 size_t str_len) in wps_process_model_number() argument 291 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Number", str, str_len); in wps_process_model_number() 294 dev->model_number = dup_binstr(str, str_len); in wps_process_model_number() 303 const u8 *str, size_t str_len) in wps_process_serial_number() argument [all …]
|
/external/libnfc-nci/src/adaptation/ |
D | config.cpp | 45 size_t str_len() const {return m_str_value.length();} in str_len() function in CNfcParam 421 if (pParam->str_len() > 0) in getValue() 424 if (len > pParam->str_len()) in getValue() 425 len = pParam->str_len(); in getValue() 448 if (pParam->str_len() == 0) in getValue() 472 if (pParam->str_len() == 0) in getValue() 500 if((*it)->str_len() > 0) in find() 691 if (v == 0 && pParam->str_len() > 0 && pParam->str_len() < 4) in GetNumValue() 694 for (size_t i = 0 ; i < pParam->str_len(); ++i) in GetNumValue()
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | config.cpp | 45 size_t str_len() const {return m_str_value.length();} in str_len() function in CNfcParam 406 if (pParam->str_len() > 0) in getValue() 409 if (len > pParam->str_len()) in getValue() 410 len = pParam->str_len(); in getValue() 433 if (pParam->str_len() == 0) in getValue() 457 if (pParam->str_len() == 0) in getValue() 485 if((*it)->str_len() > 0) in find() 676 if (v == 0 && pParam->str_len() > 0 && pParam->str_len() < 4) in GetNumValue() 679 for (size_t i = 0 ; i < pParam->str_len(); ++i) in GetNumValue()
|
/external/libnfc-nci/halimpl/pn54x/utils/ |
D | phNxpConfig.cpp | 78 size_t str_len() const {return m_str_value.length();} in str_len() function in CNfcParam 479 if (pParam->str_len() > 0) in getValue() 482 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue() 494 if (pParam->str_len() > 0) in getValue() 496 if(pParam->str_len() <= (unsigned long)len) in getValue() 499 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue() 500 *readlen = pParam->str_len(); in getValue() 528 if (pParam->str_len() == 0) in getValue() 552 if (pParam->str_len() == 0) in getValue() 582 if((*it)->str_len() > 0) in find() [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil.c | 1127 size_t str_len = 0; in cil_userprefixes_to_string() local 1145 …str_len += strlen("user ") + strlen(user->datum.fqn) + strlen(" prefix ") + strlen(userprefix->pre… in cil_userprefixes_to_string() 1148 *size = str_len * sizeof(char); in cil_userprefixes_to_string() 1149 str_len++; in cil_userprefixes_to_string() 1150 str_tmp = cil_malloc(str_len * sizeof(char)); in cil_userprefixes_to_string() 1157 buf_pos = snprintf(str_tmp, str_len, "user %s prefix %s;\n", user->datum.fqn, in cil_userprefixes_to_string() 1159 str_len -= buf_pos; in cil_userprefixes_to_string() 1250 int str_len = 0; in __cil_level_strlen() local 1256 str_len += strlen(lvl->sens->datum.fqn); in __cil_level_strlen() 1259 str_len++; /* initial ":" */ in __cil_level_strlen() [all …]
|
D | cil_post.h | 36 int str_len; member
|
D | cil_post.c | 84 fc->str_len = 0; in cil_post_fc_fill_data() 108 fc->str_len++; in cil_post_fc_fill_data() 136 } else if (a_data->str_len < b_data->str_len) { in cil_post_filecon_compare() 138 } else if (b_data->str_len < a_data->str_len) { in cil_post_filecon_compare()
|
/external/mesa3d/src/glx/tests/ |
D | clientinfo_unittest.cpp | 128 uint32_t str_len, in xcb_glx_client_info() argument 136 gl_ext_string = (char *) malloc(str_len); in xcb_glx_client_info() 137 memcpy(gl_ext_string, string, str_len); in xcb_glx_client_info() 138 gl_ext_length = str_len; in xcb_glx_client_info()
|
/external/lldb/source/Core/ |
D | StringList.cpp | 59 StringList::AppendString (const char *str, size_t str_len) in AppendString() argument 62 m_strings.push_back (std::string (str, str_len)); in AppendString()
|
/external/lldb/include/lldb/Core/ |
D | StringList.h | 40 AppendString (const char *str, size_t str_len);
|
/external/lldb/examples/python/ |
D | gdbremote.py | 400 str_len = len(self.str) 404 while n < str_len and self.str[n] in string.hexdigits: 407 if n > str_len:
|
/external/iproute2/misc/ |
D | ss.c | 221 int str_len; in user_ent_add() local 223 str_len = strlen(process) + 1; in user_ent_add() 224 p = malloc(sizeof(struct user_ent) + str_len); in user_ent_add()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 1676 size_t str_len = ::MultiByteToWideChar(CP_UTF8, 0, familyName, in logfont_for_name() local 1680 wchar_t *wideFamilyName = new wchar_t[str_len]; in logfont_for_name() 1683 wideFamilyName, str_len); in logfont_for_name()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | p2p_supplicant.c | 2189 u8 str_len; in wpas_dev_found() local 2197 str_len = *buf++; in wpas_dev_found() 2198 if (str_len > len - 4 - 2 - 1) in wpas_dev_found() 2200 os_memcpy(str, buf, str_len); in wpas_dev_found() 2201 str[str_len] = '\0'; in wpas_dev_found() 2202 buf += str_len; in wpas_dev_found() 2203 len -= str_len + sizeof(u32) + sizeof(u16) + sizeof(u8); in wpas_dev_found()
|
/external/gtest/src/ |
D | gtest.cc | 1628 const size_t str_len = str.length(); in EndsWithCaseInsensitive() local 1630 return (str_len >= suffix_len) && in EndsWithCaseInsensitive() 1631 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-all.cc | 3112 const size_t str_len = str.length(); in EndsWithCaseInsensitive() local 3114 return (str_len >= suffix_len) && in EndsWithCaseInsensitive() 3115 CaseInsensitiveCStringEquals(str.c_str() + str_len - suffix_len, in EndsWithCaseInsensitive()
|
/external/v8/src/ |
D | api.cc | 3390 int str_len = str->Utf8Length(); in ObjectProtoToString() local 3393 int buf_len = prefix_len + str_len + postfix_len; in ObjectProtoToString() 3402 str->WriteUtf8(ptr, str_len); in ObjectProtoToString() 3403 ptr += str_len; in ObjectProtoToString()
|
D | objects.cc | 8775 int str_len = str.length(); in IsUtf8EqualTo() local 8777 (str_len < slen || in IsUtf8EqualTo() 8778 str_len > slen*static_cast<int>(unibrow::Utf8::kMaxEncodedSize))) { in IsUtf8EqualTo() 8782 unsigned remaining_in_str = static_cast<unsigned>(str_len); in IsUtf8EqualTo()
|