Home
last modified time | relevance | path

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

/third_party/node/deps/cares/src/lib/
Dares_parse_txt_reply.c45 size_t substr_len; in ares__parse_txt_reply() local
123 substr_len = (unsigned char)*strptr; in ares__parse_txt_reply()
124 if (strptr + substr_len + 1 > aptr + rr_len) in ares__parse_txt_reply()
150 txt_curr->length = substr_len; in ares__parse_txt_reply()
151 txt_curr->txt = ares_malloc (substr_len + 1/* Including null byte */); in ares__parse_txt_reply()
159 memcpy ((char *) txt_curr->txt, strptr, substr_len); in ares__parse_txt_reply()
162 txt_curr->txt[substr_len] = 0; in ares__parse_txt_reply()
164 strptr += substr_len; in ares__parse_txt_reply()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/lwip/src/core/
Dpbuf.c1539 size_t substr_len; in pbuf_strstr() local
1543 substr_len = strlen(substr); in pbuf_strstr()
1544 if (substr_len >= 0xFFFF) { in pbuf_strstr()
1547 return pbuf_memfind(p, substr, (u16_t)substr_len, 0); in pbuf_strstr()
/third_party/mindspore/mindspore/ccsrc/debug/
Ddebug_services.cc574 const int substr_len = 2; in ReadTensorFromNpy() local
598 if (header.length() < type_i + substr_len) { in ReadTensorFromNpy()
602 *tensor_type = header.substr(type_i, substr_len); in ReadTensorFromNpy()