Home
last modified time | relevance | path

Searched refs:matchlen (Results 1 - 11 of 11) sorted by relevance

/third_party/toybox/toys/posix/
H A Dlogger.c35 int try, i, matchlen = 0, found = -1, ambiguous = 1; in arrayfind() local
40 if (matchlen<i) found = try, ambiguous = 0; in arrayfind()
41 if (matchlen==i) ambiguous++; in arrayfind()
/third_party/node/deps/brotli/c/enc/
H A Dhash.h141 size_t matchlen; in TestStaticDictionaryItem() local
149 matchlen = in TestStaticDictionaryItem()
151 if (matchlen + dictionary->cutoffTransformsCount <= len || matchlen == 0) { in TestStaticDictionaryItem()
155 size_t cut = len - matchlen; in TestStaticDictionaryItem()
164 score = BackwardReferenceScore(matchlen, backward); in TestStaticDictionaryItem()
168 out->len = matchlen; in TestStaticDictionaryItem()
169 out->len_code_delta = (int)len - (int)matchlen; in TestStaticDictionaryItem()
H A Dstatic_dict.c92 const size_t matchlen = in BrotliFindAllStaticDictionaryMatches() local
99 if (matchlen == l) { in BrotliFindAllStaticDictionaryMatches()
105 if (matchlen >= l - 1) { in BrotliFindAllStaticDictionaryMatches()
117 maxlen = BROTLI_MIN(size_t, matchlen, l - 2); in BrotliFindAllStaticDictionaryMatches()
125 if (matchlen < l || l + 6 >= max_length) { in BrotliFindAllStaticDictionaryMatches()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dhash.h141 size_t matchlen; in TestStaticDictionaryItem() local
149 matchlen = in TestStaticDictionaryItem()
151 if (matchlen + dictionary->cutoffTransformsCount <= len || matchlen == 0) { in TestStaticDictionaryItem()
155 size_t cut = len - matchlen; in TestStaticDictionaryItem()
164 score = BackwardReferenceScore(matchlen, backward); in TestStaticDictionaryItem()
168 out->len = matchlen; in TestStaticDictionaryItem()
169 out->len_code_delta = (int)len - (int)matchlen; in TestStaticDictionaryItem()
H A Dstatic_dict.c92 const size_t matchlen = in BrotliFindAllStaticDictionaryMatches() local
99 if (matchlen == l) { in BrotliFindAllStaticDictionaryMatches()
105 if (matchlen >= l - 1) { in BrotliFindAllStaticDictionaryMatches()
117 maxlen = BROTLI_MIN(size_t, matchlen, l - 2); in BrotliFindAllStaticDictionaryMatches()
125 if (matchlen < l || l + 6 >= max_length) { in BrotliFindAllStaticDictionaryMatches()
/third_party/curl/lib/vtls/
H A Dhostcheck.c127 bool Curl_cert_hostcheck(const char *match, size_t matchlen, in Curl_cert_hostcheck() argument
131 return hostmatch(hostname, hostlen, match, matchlen); in Curl_cert_hostcheck()
H A Dhostcheck.h30 bool Curl_cert_hostcheck(const char *match_pattern, size_t matchlen,
H A Dopenssl.c2094 size_t matchlen, in subj_alt_hostcheck()
2103 if(Curl_cert_hostcheck(match_pattern, matchlen, hostname, hostlen)) { in subj_alt_hostcheck()
2092 subj_alt_hostcheck(struct Curl_easy *data, const char *match_pattern, size_t matchlen, const char *hostname, size_t hostlen, const char *dispname) subj_alt_hostcheck() argument
/third_party/mesa3d/src/imgui/
H A Dimstb_truetype.h4694 stbtt_int32 matchlen = stbtt__CompareUTF8toUTF16_bigendian_prefix(name, nlen, fc+stringOffset+off,slen);
4695 if (matchlen >= 0) {
4701 if (matchlen == nlen)
4703 } else if (matchlen < nlen && name[matchlen] == ' ') {
4704 ++matchlen;
4705 if (stbtt_CompareUTF8toUTF16_bigendian_internal((char*) (name+matchlen), nlen-matchlen, (char*)(fc+stringOffset+off),slen))
4710 if (matchlen == nlen)
/third_party/skia/third_party/externals/imgui/
H A Dimstb_truetype.h4694 stbtt_int32 matchlen = stbtt__CompareUTF8toUTF16_bigendian_prefix(name, nlen, fc+stringOffset+off,slen);
4695 if (matchlen >= 0) {
4701 if (matchlen == nlen)
4703 } else if (matchlen < nlen && name[matchlen] == ' ') {
4704 ++matchlen;
4705 if (stbtt_CompareUTF8toUTF16_bigendian_internal((char*) (name+matchlen), nlen-matchlen, (char*)(fc+stringOffset+off),slen))
4710 if (matchlen == nlen)
/third_party/eudev/src/udev/
H A Dudev-rules.c1797 size_t matchlen = (size_t)(next - s); in match_key() local
1799 match = (matchlen == len && strneq(s, val, matchlen)); in match_key()

Completed in 27 milliseconds