Home
last modified time | relevance | path

Searched refs:match_len (Results 1 – 25 of 28) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_upnp_web.c865 int match_len; in web_get_action() local
879 match_len = os_strlen(urn_wfawlanconfig) - 1; in web_get_action()
880 if (os_strncasecmp(b, match, match_len)) in web_get_action()
882 b += match_len; in web_get_action()
992 int match_len; in web_connection_parse_subscribe() local
1034 match_len = os_strlen(match); in web_connection_parse_subscribe()
1035 if (os_strncasecmp(h, match, match_len) == 0) { in web_connection_parse_subscribe()
1036 h += match_len; in web_connection_parse_subscribe()
1040 match_len = os_strlen(match); in web_connection_parse_subscribe()
1041 if (os_strncasecmp(h, match, match_len) != 0) { in web_connection_parse_subscribe()
[all …]
Dupnp_xml.c193 int match_len = os_strlen(item); in xml_get_first_item() local
206 if (!os_strncasecmp(tagname, match, match_len) && in xml_get_first_item()
208 (tagname[match_len] == '>' || in xml_get_first_item()
209 !isgraph(tagname[match_len]))) { in xml_get_first_item()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_upnp_web.c865 int match_len; in web_get_action() local
879 match_len = os_strlen(urn_wfawlanconfig) - 1; in web_get_action()
880 if (os_strncasecmp(b, match, match_len)) in web_get_action()
882 b += match_len; in web_get_action()
992 int match_len; in web_connection_parse_subscribe() local
1034 match_len = os_strlen(match); in web_connection_parse_subscribe()
1035 if (os_strncasecmp(h, match, match_len) == 0) { in web_connection_parse_subscribe()
1036 h += match_len; in web_connection_parse_subscribe()
1040 match_len = os_strlen(match); in web_connection_parse_subscribe()
1041 if (os_strncasecmp(h, match, match_len) != 0) { in web_connection_parse_subscribe()
[all …]
Dupnp_xml.c193 int match_len = os_strlen(item); in xml_get_first_item() local
206 if (!os_strncasecmp(tagname, match, match_len) && in xml_get_first_item()
208 (tagname[match_len] == '>' || in xml_get_first_item()
209 !isgraph(tagname[match_len]))) { in xml_get_first_item()
/third_party/ffmpeg/libavformat/
Dmovenchint.c170 int match_len = 0; in match_segments() local
174 while (h_pos + match_len < h_len && n_pos + match_len < n_len && in match_segments()
175 needle[n_pos + match_len] == haystack[h_pos + match_len]) in match_segments()
176 match_len++; in match_segments()
177 if (match_len <= 8) in match_segments()
188 match_len++; in match_segments()
190 if (match_len <= 14) in match_segments()
194 *match_len_ptr = match_len; in match_segments()
218 int *match_len) in find_sample_match() argument
228 sample->size, pos, match_offset, match_len) == 0) { in find_sample_match()
[all …]
/third_party/ffmpeg/libavcodec/
Dmlz.c46 dict[i].match_len = 0; in ff_mlz_flush_dict()
60 dict[string_code].match_len = 2; in set_new_entry_dict()
62 dict[string_code].match_len = (dict[parent_code].match_len) + 1; in set_new_entry_dict()
87 offset = dict[current_code].match_len - 1; in decode_string()
103 offset = (dict[current_code].match_len) - 1; in decode_string()
Dmlz.h42 int match_len; member
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dlossless_enc_sse2.c289 int match_len; in VectorMismatch_SSE2() local
294 match_len = 0; in VectorMismatch_SSE2()
300 _mm_loadu_si128((const __m128i*)&array1[match_len + 4]); in VectorMismatch_SSE2()
302 _mm_loadu_si128((const __m128i*)&array2[match_len + 4]); in VectorMismatch_SSE2()
304 match_len += 4; in VectorMismatch_SSE2()
308 A0 = _mm_loadu_si128((const __m128i*)&array1[match_len + 4]); in VectorMismatch_SSE2()
309 A1 = _mm_loadu_si128((const __m128i*)&array2[match_len + 4]); in VectorMismatch_SSE2()
311 match_len += 4; in VectorMismatch_SSE2()
313 } while (match_len + 12 < length); in VectorMismatch_SSE2()
315 match_len = 0; in VectorMismatch_SSE2()
[all …]
Dlossless_enc.c608 int match_len = 0; in VectorMismatch_C() local
610 while (match_len < length && array1[match_len] == array2[match_len]) { in VectorMismatch_C()
611 ++match_len; in VectorMismatch_C()
613 return match_len; in VectorMismatch_C()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers.c718 ecma_length_t match_len = 0; in ecma_builtin_helper_string_find_index() local
721 if (match_len < search_len && in ecma_builtin_helper_string_find_index()
722 index + match_len < original_len && in ecma_builtin_helper_string_find_index()
726 match_len++; in ecma_builtin_helper_string_find_index()
728 while (match_len < search_len && in ecma_builtin_helper_string_find_index()
729 index + match_len < original_len && in ecma_builtin_helper_string_find_index()
732 match_len++; in ecma_builtin_helper_string_find_index()
737 if (match_len == search_len) in ecma_builtin_helper_string_find_index()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_wolfssl.c646 size_t match_len, int full) in domain_suffix_match() argument
659 if (match_len > len || (full && match_len != len)) in domain_suffix_match()
662 if (os_strncasecmp(val + len - match_len, match, match_len) != 0) in domain_suffix_match()
665 if (match_len == len) in domain_suffix_match()
668 if (val[len - match_len - 1] == '.') in domain_suffix_match()
677 size_t match_len, int full) in tls_match_suffix_helper() argument
700 match_len, full) == 1) { in tls_match_suffix_helper()
733 match, match_len, full) == 1) { in tls_match_suffix_helper()
Dtls_openssl.c1751 size_t match_len, int full) in domain_suffix_match() argument
1763 if (match_len > len || (full && match_len != len)) in domain_suffix_match()
1766 if (os_strncasecmp((const char *) val + len - match_len, match, in domain_suffix_match()
1767 match_len) != 0) in domain_suffix_match()
1770 if (match_len == len) in domain_suffix_match()
1773 if (val[len - match_len - 1] == '.') in domain_suffix_match()
1997 size_t match_len, int full) in tls_match_suffix_helper() argument
2021 match, match_len, full) == 1) { in tls_match_suffix_helper()
2053 match, match_len, full) == 1) { in tls_match_suffix_helper()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_wolfssl.c648 size_t match_len, int full) in domain_suffix_match() argument
661 if (match_len > len || (full && match_len != len)) in domain_suffix_match()
664 if (os_strncasecmp(val + len - match_len, match, match_len) != 0) in domain_suffix_match()
667 if (match_len == len) in domain_suffix_match()
670 if (val[len - match_len - 1] == '.') in domain_suffix_match()
679 size_t match_len, int full) in tls_match_suffix_helper() argument
704 match_len, full) == 1) { in tls_match_suffix_helper()
737 match, match_len, full) == 1) { in tls_match_suffix_helper()
Dtls_openssl.c1764 size_t match_len, int full) in domain_suffix_match() argument
1776 if (match_len > len || (full && match_len != len)) in domain_suffix_match()
1779 if (os_strncasecmp((const char *) val + len - match_len, match, in domain_suffix_match()
1780 match_len) != 0) in domain_suffix_match()
1783 if (match_len == len) in domain_suffix_match()
1786 if (val[len - match_len - 1] == '.') in domain_suffix_match()
2010 size_t match_len, int full) in tls_match_suffix_helper() argument
2034 match, match_len, full) == 1) { in tls_match_suffix_helper()
2066 match, match_len, full) == 1) { in tls_match_suffix_helper()
/third_party/skia/third_party/externals/brotli/c/enc/
Dbackward_references_hq.c791 const size_t match_len = BackwardMatchLength(&matches[cur_match_end - 1]); in BrotliCreateHqZopfliBackwardReferences() local
792 if (match_len > MAX_ZOPFLI_LEN_QUALITY_11) { in BrotliCreateHqZopfliBackwardReferences()
793 const size_t skip = match_len - 1; in BrotliCreateHqZopfliBackwardReferences()
799 BROTLI_MIN(size_t, pos + match_len, store_end)); in BrotliCreateHqZopfliBackwardReferences()
/third_party/node/deps/brotli/c/enc/
Dbackward_references_hq.c791 const size_t match_len = BackwardMatchLength(&matches[cur_match_end - 1]); in BrotliCreateHqZopfliBackwardReferences() local
792 if (match_len > MAX_ZOPFLI_LEN_QUALITY_11) { in BrotliCreateHqZopfliBackwardReferences()
793 const size_t skip = match_len - 1; in BrotliCreateHqZopfliBackwardReferences()
799 BROTLI_MIN(size_t, pos + match_len, store_end)); in BrotliCreateHqZopfliBackwardReferences()
/third_party/node/deps/llhttp/src/
Dllhttp.c2147 int match_len; in llhttp__internal__run() local
2154 match_len = _mm_cmpestri(ranges, 6, in llhttp__internal__run()
2159 if (match_len != 0) { in llhttp__internal__run()
2160 p += match_len; in llhttp__internal__run()
2360 int match_len; in llhttp__internal__run() local
2367 match_len = _mm_cmpestri(ranges, 16, in llhttp__internal__run()
2372 if (match_len != 0) { in llhttp__internal__run()
2373 p += match_len; in llhttp__internal__run()
2379 match_len = _mm_cmpestri(ranges, 2, in llhttp__internal__run()
2384 if (match_len != 0) { in llhttp__internal__run()
[all …]
/third_party/astc-encoder/Source/
Dtinyexr.h3525 mz_uint match_len = pLZ_codes[0], in tdefl_compress_lz_codes() local
3529 MZ_ASSERT(d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]); in tdefl_compress_lz_codes()
3530 TDEFL_PUT_BITS_FAST(d->m_huff_codes[0][s_tdefl_len_sym[match_len]], in tdefl_compress_lz_codes()
3531 d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]); in tdefl_compress_lz_codes()
3532 TDEFL_PUT_BITS_FAST(match_len & mz_bitmasks[s_tdefl_len_extra[match_len]], in tdefl_compress_lz_codes()
3533 s_tdefl_len_extra[match_len]); in tdefl_compress_lz_codes()
3607 mz_uint match_len = pLZ_codes[0], in tdefl_compress_lz_codes() local
3611 MZ_ASSERT(d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]); in tdefl_compress_lz_codes()
3612 TDEFL_PUT_BITS(d->m_huff_codes[0][s_tdefl_len_sym[match_len]], in tdefl_compress_lz_codes()
3613 d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]); in tdefl_compress_lz_codes()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dap_drv_ops.h411 const u8 *match, size_t match_len, in hostapd_drv_register_frame() argument
417 match_len, multicast); in hostapd_drv_register_frame()
/third_party/nghttp2/third-party/llhttp/src/
Dllhttp.c2466 int match_len; in llhttp__internal__run() local
2473 match_len = _mm_cmpestri(ranges, 6, in llhttp__internal__run()
2478 if (match_len != 0) { in llhttp__internal__run()
2479 p += match_len; in llhttp__internal__run()
2683 int match_len; in llhttp__internal__run() local
2690 match_len = _mm_cmpestri(ranges, 16, in llhttp__internal__run()
2695 if (match_len != 0) { in llhttp__internal__run()
2696 p += match_len; in llhttp__internal__run()
2702 match_len = _mm_cmpestri(ranges, 2, in llhttp__internal__run()
2707 if (match_len != 0) { in llhttp__internal__run()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/
Dosu_client.c520 size_t match_len, len, i; in server_dnsname_suffix_match() local
523 match_len = os_strlen(fqdn); in server_dnsname_suffix_match()
532 if (match_len > len) in server_dnsname_suffix_match()
535 if (os_strncasecmp(val + len - match_len, fqdn, match_len) != 0) in server_dnsname_suffix_match()
538 if (match_len == len) in server_dnsname_suffix_match()
541 if (val[len - match_len - 1] == '.') in server_dnsname_suffix_match()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/
Dosu_client.c520 size_t match_len, len, i; in server_dnsname_suffix_match() local
523 match_len = os_strlen(fqdn); in server_dnsname_suffix_match()
532 if (match_len > len) in server_dnsname_suffix_match()
535 if (os_strncasecmp(val + len - match_len, fqdn, match_len) != 0) in server_dnsname_suffix_match()
538 if (match_len == len) in server_dnsname_suffix_match()
541 if (val[len - match_len - 1] == '.') in server_dnsname_suffix_match()
/third_party/mksh/
Dedit.c5415 size_t match_len; in complete_word() local
5478 match_len = strlen(match); in complete_word()
5483 match_len = x_longest_prefix(nwords, words); in complete_word()
5497 rval = x_escape(match, match_len, x_vi_putbuf); in complete_word()
5510 if (match_len > 0 && !mksh_cdirsep(match[match_len - 1]) && in complete_word()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_ctrl_iface.c2645 size_t match_len; in hostapd_ctrl_register_frame() local
2654 match_len = end - pos; in hostapd_ctrl_register_frame()
2657 match_len = os_strlen(pos) / 2; in hostapd_ctrl_register_frame()
2659 if (hexstr2bin(pos, match, match_len)) in hostapd_ctrl_register_frame()
2662 return hostapd_drv_register_frame(hapd, type, match, match_len, in hostapd_ctrl_register_frame()
/third_party/skia/third_party/externals/imgui/
Dimgui_demo.cpp6509 int match_len = (int)(word_end - word_start); local
6516 c = toupper(candidates[i][match_len]);
6517 else if (c == 0 || c != toupper(candidates[i][match_len]))
6521 match_len++;
6524 if (match_len > 0)
6527 … data->InsertChars(data->CursorPos, candidates[0], candidates[0] + match_len);

12