Lines Matching refs:end
728 for (const char * const end = s+len; s < end; ++s) { in buffer_append_bs_escaped() local
733 } while (c >= ' ' && c <= '~' && c != '"' && c != '\\' && ++s < end); in buffer_append_bs_escaped()
736 if (s == end) in buffer_append_bs_escaped()
776 for (const char * const end = s+len; s < end; ++s) { in buffer_append_bs_escaped_json() local
781 } while (c >= ' ' && c != '"' && c != '\\' && ++s < end); in buffer_append_bs_escaped_json()
784 if (s == end) in buffer_append_bs_escaped_json()
896 char * const end = b->ptr + b->used - 1; in buffer_path_simplify() local
910 *end = '/'; /*(end of path modified to avoid need to check '\0')*/ in buffer_path_simplify()
920 } while (walk != end); in buffer_path_simplify()
921 if (__builtin_expect( (walk == end), 1)) { in buffer_path_simplify()
923 *end = '\0'; /* overwrite extra '/' added to end of path */ in buffer_path_simplify()
940 while (walk <= end) { in buffer_path_simplify()
944 if (++walk < end) in buffer_path_simplify()
957 if ((walk += 3) >= end) { in buffer_path_simplify()
966 if ((walk += 2) >= end) { in buffer_path_simplify()
981 *out = *end = '\0'; /* overwrite extra '/' added to end of path */ in buffer_path_simplify()