Lines Matching refs:guess
39 struct Strbuf guess = Strbuf_INIT, newname = Strbuf_INIT; in spell_me() local
45 cleanup_push(&guess, Strbuf_cleanup); in spell_me()
61 cleanup_until(&guess); in spell_me()
64 guess.len = 0; /* start at beginning of buf */ in spell_me()
65 Strbuf_append(&guess, newname.s); /* add current dir if any */ in spell_me()
66 ws = guess.len; in spell_me()
68 Strbuf_append1(&guess, *old); in spell_me()
69 Strbuf_terminate(&guess); in spell_me()
76 retval = t_search(&guess, SPELL, in spell_me()
80 cleanup_until(&guess); in spell_me()
83 Strbuf_append(&newname, guess.s + ws); in spell_me()