/external/chromium_org/net/quic/ |
D | iovector_test.cc | 64 const int str_len = strlen(test_data[i]); in TEST() local 65 const int append_len = str_len / 2; in TEST() 73 str_len - append_len); in TEST() 74 length += (str_len - append_len); in TEST() 76 ASSERT_TRUE(iov.LastBlockEnd() == test_data[i] + str_len); in TEST() 121 const int str_len = strlen(test_data[i]); in TEST() local 122 iov.Append(const_cast<char*>(test_data[i]), str_len); in TEST() 123 length += str_len; in TEST() 128 const size_t str_len = strlen(test_data[i]); in TEST() local 129 size_t tmp = str_len / 2; in TEST() [all …]
|
/external/chromium_org/third_party/libxslt/libexslt/ |
D | crypto.c | 466 int str_len = 0; in exsltCryptoPopString() local 474 str_len = xmlUTF8Strlen (*str); in exsltCryptoPopString() 476 if (str_len == 0) { in exsltCryptoPopString() 482 return str_len; in exsltCryptoPopString() 495 int str_len = 0; in exsltCryptoMd4Function() local 500 str_len = exsltCryptoPopString (ctxt, nargs, &str); in exsltCryptoMd4Function() 501 if (str_len == 0) { in exsltCryptoMd4Function() 507 PLATFORM_HASH (ctxt, PLATFORM_MD4, (const char *) str, str_len, in exsltCryptoMd4Function() 528 int str_len = 0; in exsltCryptoMd5Function() local 533 str_len = exsltCryptoPopString (ctxt, nargs, &str); in exsltCryptoMd5Function() [all …]
|
D | strings.c | 253 int escape_all = 1, str_len = 0; in exsltStrEncodeUriFunction() local 276 str_len = xmlUTF8Strlen(str); in exsltStrEncodeUriFunction() 278 if (str_len == 0) { in exsltStrEncodeUriFunction() 300 int str_len = 0; in exsltStrDecodeUriFunction() local 321 str_len = xmlUTF8Strlen(str); in exsltStrDecodeUriFunction() 323 if (str_len == 0) { in exsltStrDecodeUriFunction() 354 int number, str_len = 0; in exsltStrPaddingFunction() local 364 str_len = xmlUTF8Strlen(str); in exsltStrPaddingFunction() 366 if (str_len == 0) { in exsltStrPaddingFunction() 369 str_len = 1; in exsltStrPaddingFunction() [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_dev_attr.c | 251 size_t str_len) in wps_process_manufacturer() argument 258 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Manufacturer", str, str_len); in wps_process_manufacturer() 261 dev->manufacturer = dup_binstr(str, str_len); in wps_process_manufacturer() 270 size_t str_len) in wps_process_model_name() argument 277 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Name", str, str_len); in wps_process_model_name() 280 dev->model_name = dup_binstr(str, str_len); in wps_process_model_name() 289 size_t str_len) in wps_process_model_number() argument 296 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Number", str, str_len); in wps_process_model_number() 299 dev->model_number = dup_binstr(str, str_len); in wps_process_model_number() 308 const u8 *str, size_t str_len) in wps_process_serial_number() argument [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | config.cpp | 46 size_t str_len() const {return m_str_value.length();} in str_len() function in CNfcParam 417 if (pParam->str_len() > 0) in getValue() 420 if (len > pParam->str_len()) in getValue() 421 len = pParam->str_len(); in getValue() 444 if (pParam->str_len() == 0) in getValue() 468 if (pParam->str_len() == 0) in getValue() 496 if((*it)->str_len() > 0) in find() 687 if (v == 0 && pParam->str_len() > 0 && pParam->str_len() < 4) in GetNumValue() 690 for (size_t i = 0 ; i < pParam->str_len(); ++i) in GetNumValue()
|
/external/libnfc-nci/src/adaptation/ |
D | config.cpp | 46 size_t str_len() const {return m_str_value.length();} in str_len() function in CNfcParam 417 if (pParam->str_len() > 0) in getValue() 420 if (len > pParam->str_len()) in getValue() 421 len = pParam->str_len(); in getValue() 444 if (pParam->str_len() == 0) in getValue() 468 if (pParam->str_len() == 0) in getValue() 496 if((*it)->str_len() > 0) in find() 687 if (v == 0 && pParam->str_len() > 0 && pParam->str_len() < 4) in GetNumValue() 690 for (size_t i = 0 ; i < pParam->str_len(); ++i) in GetNumValue()
|
/external/chromium_org/sandbox/win/src/ |
D | policy_low_level.cc | 323 size_t str_len; in RebindCopy() local 324 opcode.GetArgument(1, &str_len); in RebindCopy() 325 str_len = str_len * sizeof(wchar_t); in RebindCopy() 326 if ((*data_size) < str_len) { in RebindCopy() 329 *data_size -= str_len; in RebindCopy() 330 data_start -= str_len; in RebindCopy() 331 memcpy(data_start, str, str_len); in RebindCopy()
|
/external/chromium_org/chrome/installer/mini_installer/ |
D | mini_string.cc | 84 int str_len = SafeStrLen(dest, dest_size); in SafeStrCat() local 85 return SafeStrCopy(dest + str_len, dest_size - str_len, src); in SafeStrCat()
|
/external/chromium/googleurl/src/ |
D | url_parse_internal.h | 71 int begin_offset, int str_len) { in CountConsecutiveSlashes() argument 73 while (begin_offset + count < str_len && in CountConsecutiveSlashes()
|
D | url_util.cc | 122 int str_len, in DoFindAndCompareScheme() argument 129 const CHAR* spec = RemoveURLWhitespace(str, str_len, in DoFindAndCompareScheme() 400 int str_len, in FindAndCompareScheme() argument 403 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); in FindAndCompareScheme() 407 int str_len, in FindAndCompareScheme() argument 410 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); in FindAndCompareScheme()
|
D | url_util.h | 92 int str_len, 96 int str_len,
|
D | url_canon.h | 134 void Append(const T* str, int str_len) { in Append() argument 135 if (cur_len_ + str_len > buffer_len_) { in Append() 136 if (!Grow(cur_len_ + str_len - buffer_len_)) in Append() 139 for (int i = 0; i < str_len; i++) in Append() 141 cur_len_ += str_len; in Append()
|
/external/chromium/base/i18n/ |
D | char_iterator.cc | 50 UTF16CharIterator::UTF16CharIterator(const char16* str, size_t str_len) in UTF16CharIterator() argument 52 len_(str_len), in UTF16CharIterator()
|
D | char_iterator.h | 80 UTF16CharIterator(const char16* str, size_t str_len);
|
/external/chromium_org/base/i18n/ |
D | char_iterator.cc | 50 UTF16CharIterator::UTF16CharIterator(const char16* str, size_t str_len) in UTF16CharIterator() argument 52 len_(str_len), in UTF16CharIterator()
|
D | char_iterator.h | 80 UTF16CharIterator(const char16* str, size_t str_len);
|
/external/chromium_org/url/ |
D | url_parse_internal.h | 50 int begin_offset, int str_len) { in CountConsecutiveSlashes() argument 52 while (begin_offset + count < str_len && in CountConsecutiveSlashes()
|
D | url_util.cc | 100 int str_len, in DoFindAndCompareScheme() argument 107 const CHAR* spec = RemoveURLWhitespace(str, str_len, in DoFindAndCompareScheme() 419 int str_len, in FindAndCompareScheme() argument 422 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); in FindAndCompareScheme() 426 int str_len, in FindAndCompareScheme() argument 429 return DoFindAndCompareScheme(str, str_len, compare, found_scheme); in FindAndCompareScheme()
|
D | url_util.h | 67 int str_len, 71 int str_len,
|
D | url_canon.h | 110 void Append(const T* str, int str_len) { in Append() argument 111 if (cur_len_ + str_len > buffer_len_) { in Append() 112 if (!Grow(cur_len_ + str_len - buffer_len_)) in Append() 115 for (int i = 0; i < str_len; i++) in Append() 117 cur_len_ += str_len; in Append()
|
/external/bluetooth/bluedroid/stack/avrc/ |
D | avrc_bld_tg.c | 328 if (len_left < (p_rsp->p_attrs[xx].str_len + 4)) in avrc_bld_app_setting_text_rsp() 331 xx, p_rsp->p_attrs[xx].str_len, len_left); in avrc_bld_app_setting_text_rsp() 336 if ( !p_rsp->p_attrs[xx].str_len || !p_rsp->p_attrs[xx].p_str ) in avrc_bld_app_setting_text_rsp() 343 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp() 344 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].p_str, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp() 477 p_rsp->p_attrs[xx].name.str_len = 0; in avrc_bld_get_elem_attrs_rsp() 481 UINT16_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].name.str_len); in avrc_bld_get_elem_attrs_rsp() 482 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].name.p_str, p_rsp->p_attrs[xx].name.str_len); in avrc_bld_get_elem_attrs_rsp()
|
/external/bluetooth/bluedroid/bta/hl/ |
D | bta_hl_sdp.c | 98 UINT16 xx, str_len, seq_len; in bta_hl_compose_supported_feature_list() local 105 str_len=0; in bta_hl_compose_supported_feature_list() 108 str_len = strlen(p_elem_list->p_mdep_desp)+1; in bta_hl_compose_supported_feature_list() 109 seq_len += str_len+2; /* todo add a # symbol for 2 */ in bta_hl_compose_supported_feature_list() 121 if (str_len) in bta_hl_compose_supported_feature_list() 124 UINT8_TO_BE_STREAM (p, str_len); in bta_hl_compose_supported_feature_list() 125 ARRAY_TO_BE_STREAM(p, p_elem_list->p_mdep_desp, str_len); in bta_hl_compose_supported_feature_list()
|
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/content/shell/browser/ |
D | shell_win.cc | 264 LRESULT str_len = SendMessage(hwnd, EM_GETLINE, 0, (LPARAM)str); in EditWndProc() local 265 if (str_len > 0) { in EditWndProc() 266 str[str_len] = 0; // EM_GETLINE doesn't NULL terminate. in EditWndProc()
|