Lines Matching refs:size_t

78 size_t page_size(void) {
79 static thread_local size_t pgsz = 0;
88 pgsz = (size_t) r;
106 size_t sl, pl;
126 size_t cescape_char(char c, char *buf) {
358 static size_t strcspn_escaped(const char *s, const char *reject) {
376 const char* split(const char **state, size_t *l, const char *separator, bool quoted) {
426 char *strnappend(const char *s, const char *suffix, size_t b) {
427 size_t a;
443 if (b > ((size_t) -1) - a)
462 size_t l;
561 static int cunescape_one(const char *p, size_t length, char *ret, uint32_t *ret_unicode) {
572 if (length != (size_t) -1 && length < 1)
617 if (length != (size_t) -1 && length < 3)
644 if (length != (size_t) -1 && length < 5)
680 if (length != (size_t) -1 && length < 9)
726 if (length != (size_t) -1 && length < 4)
857 ssize_t loop_read(int fd, void *buf, size_t nbytes, bool do_poll) {
896 int loop_read_exact(int fd, void *buf, size_t nbytes, bool do_poll) {
902 if ((size_t) n != nbytes)
907 int loop_write(int fd, const void *buf, size_t nbytes, bool do_poll) {
1276 size_t l;
1286 size_t n;
1293 if (n > ((size_t) -1) - l) {
1492 int fd_inc_sndbuf(int fd, size_t n) {
1497 if (r >= 0 && l == sizeof(value) && (size_t) value >= n*2)
1555 void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size,
1557 size_t l, u, idx;
1577 void* greedy_realloc(void **p, size_t *allocated, size_t need, size_t size) {
1578 size_t a, newalloc;
1758 size_t allocated = 0, sz = 0;
1828 r = cunescape_one(*p, (size_t) -1, &c, &u);
1875 r = cunescape_one(*p, (size_t) -1, &c, &u);
1920 r = cunescape_one(*p, (size_t) -1, &c, &u);