Lines Matching refs:SIZE_MAX
320 if (!(s = slice_offset(&spos, offset))) return SIZE_MAX; in text_strchr()
331 return SIZE_MAX; in text_strchr()
341 if (!(s = slice_offset(&spos, offset))) return SIZE_MAX; in text_strrchr()
352 return SIZE_MAX; in text_strrchr()
419 else if ((pos = text_strrchr(offset-1, '\n')) == SIZE_MAX) return 0; in text_sol()
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()
494 return SIZE_MAX; in text_strstr()
789 if (pos != SIZE_MAX) TT.cursor = pos; in search_str()
1018 if ((TT.cursor = text_strchr(TT.cursor, '\n')) == SIZE_MAX) in vi_push()
1036 if (pos != SIZE_MAX) TT.cursor = pos; in vi_find_c()
1044 if (pos != SIZE_MAX) TT.cursor = pos; in vi_find_cb()
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()