Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/engine/py/
A Drepl.c161 mp_obj_t obj, size_t *match_len, qstr *q_first, qstr *q_last) { in find_completions() argument
164 *match_len = 0; in find_completions()
179 *match_len = d_len; in find_completions()
183 for (size_t j = s_len; j <= *match_len && j <= d_len; ++j) { in find_completions()
185 *match_len = j; in find_completions()
291 size_t match_len; in mp_repl_autocomplete() local
294 find_completions(s_start, s_len, obj, &match_len, &q_first, &q_last); in mp_repl_autocomplete()
313 if (q_first == q_last || match_len > s_len) { in mp_repl_autocomplete()
315 return match_len - s_len; in mp_repl_autocomplete()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dlossless_enc_sse2.c310 int match_len; in VectorMismatch_SSE2() local
315 match_len = 0; in VectorMismatch_SSE2()
325 match_len += 4; in VectorMismatch_SSE2()
332 match_len += 4; in VectorMismatch_SSE2()
334 } while (match_len + 12 < length); in VectorMismatch_SSE2()
336 match_len = 0; in VectorMismatch_SSE2()
342 match_len = 4; in VectorMismatch_SSE2()
347 match_len = 8; in VectorMismatch_SSE2()
352 while (match_len < length && array1[match_len] == array2[match_len]) { in VectorMismatch_SSE2()
353 ++match_len; in VectorMismatch_SSE2()
[all …]
A Dlossless_enc.c584 int match_len = 0; in VectorMismatch_C() local
586 while (match_len < length && array1[match_len] == array2[match_len]) { in VectorMismatch_C()
587 ++match_len; in VectorMismatch_C()
589 return match_len; in VectorMismatch_C()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Djscompress.c669 int pos, i, match_len, match_pos, pos_min, len_max; in find_longest_match() local
672 match_len = 0; in find_longest_match()
681 if (i > match_len) { in find_longest_match()
682 match_len = i; in find_longest_match()
688 return match_len; in find_longest_match()
/AliOS-Things-master/components/SDL2/src/image/
A Dminiz.h2059 …BITS_FAST(d->m_huff_codes[0][s_tdefl_len_sym[match_len]], d->m_huff_code_sizes[0][s_tdefl_len_sym[ in tdefl_compress_lz_codes()
2060 …TDEFL_PUT_BITS_FAST(match_len & mz_bitmasks[s_tdefl_len_extra[match_len]], s_tdefl_len_extra[match… in tdefl_compress_lz_codes()
2141 …_PUT_BITS(d->m_huff_codes[0][s_tdefl_len_sym[match_len]], d->m_huff_code_sizes[0][s_tdefl_len_sym[ in tdefl_compress_lz_codes()
2142 …TDEFL_PUT_BITS(match_len & mz_bitmasks[s_tdefl_len_extra[match_len]], s_tdefl_len_extra[match_len]… in tdefl_compress_lz_codes()
2285 mz_uint num_probes_left = d->m_max_probes[match_len >= 32]; in tdefl_find_match()
2321 mz_uint8 c0 = d->m_dict[pos + match_len], c1 = d->m_dict[pos + match_len - 1]; in tdefl_find_match()
2332 …if ((d->m_dict[probe_pos + match_len] == c0) && (d->m_dict[probe_pos + match_len - 1] == c1)) brea… in tdefl_find_match()
2336 if (probe_len > match_len) in tdefl_find_match()
2339 c0 = d->m_dict[pos + match_len]; c1 = d->m_dict[pos + match_len - 1]; in tdefl_find_match()
2498 d->m_total_lz_bytes += match_len; in tdefl_record_match()
[all …]
/AliOS-Things-master/components/SDL2/src/audio/alsa/
A DSDL_alsa_audio.c803 size_t match_len = 0; in ALSA_HotplugThread() local
833 match_len = prefixlen; in ALSA_HotplugThread()
856 if (!match || (SDL_strncmp(name, match, match_len) == 0)) { in ALSA_HotplugThread()

Completed in 28 milliseconds