Home
last modified time | relevance | path

Searched refs:matchlen (Results 1 – 10 of 10) sorted by relevance

/external/vboot_reference/cgpt/
Dcmd_find.c118 params.matchbuf = ReadFile(optarg, &params.matchlen); in cmd_find()
119 if (!params.matchbuf || !params.matchlen) { in cmd_find()
124 params.comparebuf = (uint8_t *)malloc(params.matchlen); in cmd_find()
127 params.matchlen); in cmd_find()
Dcgpt_find.c46 if (!params->matchlen) in match_content()
51 if (params->matchoffset + params->matchlen > part_size) { in match_content()
59 params->matchlen)) { in match_content()
65 if (0 == memcmp(params->matchbuf, params->comparebuf, params->matchlen)) { in match_content()
/external/brotli/c/enc/
Dhash.h158 size_t matchlen; in TestStaticDictionaryItem() local
168 matchlen = in TestStaticDictionaryItem()
170 if (matchlen + dictionary->cutoffTransformsCount <= len || matchlen == 0) { in TestStaticDictionaryItem()
174 size_t cut = len - matchlen; in TestStaticDictionaryItem()
183 score = BackwardReferenceScore(matchlen, backward); in TestStaticDictionaryItem()
187 out->len = matchlen; in TestStaticDictionaryItem()
188 out->len_code_delta = (int)len - (int)matchlen; in TestStaticDictionaryItem()
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()
/external/toybox/toys/posix/
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()
/external/vboot_reference/host/include/
Dcgpt_params.h94 uint64_t matchlen; member
/external/u-boot/drivers/video/
Dstb_truetype.h3130 …stbtt_int32 matchlen = stbtt__CompareUTF8toUTF16_bigendian_prefix(name, nlen, fc+stringOffset+off,… in stbtt__matchpair() local
3131 if (matchlen >= 0) { in stbtt__matchpair()
3137 if (matchlen == nlen) in stbtt__matchpair()
3139 } else if (matchlen < nlen && name[matchlen] == ' ') { in stbtt__matchpair()
3140 ++matchlen; in stbtt__matchpair()
3141 …if (stbtt_CompareUTF8toUTF16_bigendian((char*) (name+matchlen), nlen-matchlen, (char*)(fc+stringOf… in stbtt__matchpair()
3146 if (matchlen == nlen) in stbtt__matchpair()
/external/dnsmasq/src/
Dforward.c113 unsigned int matchlen = 0; in search_servers() local
141 domainlen >= matchlen && in search_servers()
147 matchlen = domainlen; in search_servers()
/external/openssh/
Dsftp.c1729 u_int y, matchlen = strlen(list[0]); in complete_ambiguous() local
1735 for (x = 0; x < matchlen; x++) in complete_ambiguous()
1739 matchlen = x; in complete_ambiguous()
1742 if (matchlen > strlen(word)) { in complete_ambiguous()
1745 tmp[matchlen] = '\0'; in complete_ambiguous()
/external/mesa3d/src/imgui/
Dimstb_truetype.h4694 …stbtt_int32 matchlen = stbtt__CompareUTF8toUTF16_bigendian_prefix(name, nlen, fc+stringOffset+off,… in stbtt__matchpair() local
4695 if (matchlen >= 0) { in stbtt__matchpair()
4701 if (matchlen == nlen) in stbtt__matchpair()
4703 } else if (matchlen < nlen && name[matchlen] == ' ') { in stbtt__matchpair()
4704 ++matchlen; in stbtt__matchpair()
4705 …if (stbtt_CompareUTF8toUTF16_bigendian_internal((char*) (name+matchlen), nlen-matchlen, (char*)(fc… in stbtt__matchpair()
4710 if (matchlen == nlen) in stbtt__matchpair()