Searched refs:text_strchr (Results 1 – 1 of 1) sorted by relevance
/third_party/toybox/toys/pending/ |
D | vi.c | 313 static size_t text_strchr(size_t offset, char c) in text_strchr() function 428 else if ((offset = text_strchr(offset, '\n')) == SIZE_MAX) in text_eol() 458 if ((end = text_strchr(offset, '\n')) == SIZE_MAX) in text_getline() 631 if ((n = text_strchr(TT.screen, '\n'))+1 > TT.screen) in adjust_screen_buffer() 956 size_t new = text_strchr(TT.cursor, '\n'); in vi_dollar() 968 TT.cursor = text_strchr(TT.cursor, '\n'); in vi_eol() 1018 if ((TT.cursor = text_strchr(TT.cursor, '\n')) == SIZE_MAX) in vi_push() 1035 size_t pos = text_strchr(TT.cursor, *symbol); in vi_find_c() 1059 for ( ;count && (next = text_strchr(next+1, '\n')) != SIZE_MAX; count--) in vi_go() 1109 if ((next = text_strchr(TT.cursor, '\n')) == SIZE_MAX) break; in vi_join()
|