Home
last modified time | relevance | path

Searched refs:substr_len (Results 1 – 4 of 4) sorted by relevance

/external/c-ares/
Dares_parse_txt_reply.c57 size_t substr_len, str_len; in ares_parse_txt_reply() local
148 substr_len = (unsigned char)*strptr; in ares_parse_txt_reply()
149 txt_curr->length += substr_len; in ares_parse_txt_reply()
150 strptr += substr_len + 1; in ares_parse_txt_reply()
166 substr_len = (unsigned char)*strptr; in ares_parse_txt_reply()
168 memcpy ((char *) txt_curr->txt + str_len, strptr, substr_len); in ares_parse_txt_reply()
169 str_len += substr_len; in ares_parse_txt_reply()
170 strptr += substr_len; in ares_parse_txt_reply()
/external/boringssl/src/crypto/err/
Derr.c641 size_t alloced, new_len, len = 0, substr_len; in err_add_error_vdata() local
658 substr_len = strlen(substr); in err_add_error_vdata()
659 new_len = len + substr_len; in err_add_error_vdata()
678 OPENSSL_memcpy(buf + len, substr, substr_len); in err_add_error_vdata()
/external/syslinux/core/lwip/src/core/
Dpbuf.c1147 size_t substr_len; in pbuf_strstr() local
1151 substr_len = strlen(substr); in pbuf_strstr()
1152 if (substr_len >= 0xFFFF) { in pbuf_strstr()
1155 return pbuf_memfind(p, substr, (u16_t)substr_len, 0); in pbuf_strstr()
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c991 size_t plen, svc_len, substr_len = 0; in wpas_p2p_sd_request_asp() local
996 substr_len = os_strlen(info_substr); in wpas_p2p_sd_request_asp()
998 if (svc_len > 0xff || substr_len > 0xff) in wpas_p2p_sd_request_asp()
1001 plen = 1 + 1 + 1 + svc_len + 1 + substr_len; in wpas_p2p_sd_request_asp()
1011 wpabuf_put_u8(tlvs, (u8) substr_len); /* Info Substring Length */ in wpas_p2p_sd_request_asp()
1012 wpabuf_put_data(tlvs, info_substr, substr_len); in wpas_p2p_sd_request_asp()