Lines Matching refs:depth
3878 int depth; in spell_dump_compl() local
3975 depth = 0; in spell_dump_compl()
3978 while (depth >= 0 && !got_int in spell_dump_compl()
3981 if (curi[depth] > byts[arridx[depth]]) in spell_dump_compl()
3984 --depth; in spell_dump_compl()
3991 n = arridx[depth] + curi[depth]; in spell_dump_compl()
3992 ++curi[depth]; in spell_dump_compl()
4008 word[depth] = NUL; in spell_dump_compl()
4015 if (c == 0 || curi[depth] == 2) in spell_dump_compl()
4032 word[depth++] = c; in spell_dump_compl()
4033 arridx[depth] = idxs[n]; in spell_dump_compl()
4034 curi[depth] = 1; in spell_dump_compl()
4042 if (depth <= patlen in spell_dump_compl()
4043 && MB_STRNICMP(word, pat, depth) != 0) in spell_dump_compl()
4044 --depth; in spell_dump_compl()
4165 int depth; in dump_prefixes() local
4187 depth = 0; in dump_prefixes()
4190 while (depth >= 0 && !got_int) in dump_prefixes()
4192 n = arridx[depth]; in dump_prefixes()
4194 if (curi[depth] > len) in dump_prefixes()
4197 --depth; in dump_prefixes()
4203 n += curi[depth]; in dump_prefixes()
4204 ++curi[depth]; in dump_prefixes()
4212 curi[depth] += i - 1; in dump_prefixes()
4217 vim_strncpy(prefix + depth, word, MAXWLEN - depth - 1); in dump_prefixes()
4234 vim_strncpy(prefix + depth, word_up, in dump_prefixes()
4235 MAXWLEN - depth - 1); in dump_prefixes()
4247 prefix[depth++] = c; in dump_prefixes()
4248 arridx[depth] = idxs[n]; in dump_prefixes()
4249 curi[depth] = 1; in dump_prefixes()