Lines Matching refs:pos
73 const char *pos; in fn_tilde_expand() local
80 pos = strchr(txt + 1, '/'); in fn_tilde_expand()
81 if (pos == NULL) { in fn_tilde_expand()
87 len = (size_t)(pos - txt + 1); in fn_tilde_expand()
333 const char *pos; in fn_filename_completion_function() local
337 pos = strrchr(text, '/'); in fn_filename_completion_function()
338 if (pos) { in fn_filename_completion_function()
340 pos++; in fn_filename_completion_function()
341 nptr = el_realloc(filename, (strlen(pos) + 1) * in fn_filename_completion_function()
349 (void)strcpy(filename, pos); in fn_filename_completion_function()
350 len = (size_t)(pos - text); /* including last slash */ in fn_filename_completion_function()