Lines Matching refs:uptr
23 void *internal_memchr(const void *s, int c, uptr n) { in internal_memchr()
25 for (uptr i = 0; i < n; ++i, ++t) in internal_memchr()
31 int internal_memcmp(const void* s1, const void* s2, uptr n) { in internal_memcmp()
34 for (uptr i = 0; i < n; ++i, ++t1, ++t2) in internal_memcmp()
40 void *internal_memcpy(void *dest, const void *src, uptr n) { in internal_memcpy()
43 for (uptr i = 0; i < n; ++i) in internal_memcpy()
48 void *internal_memmove(void *dest, const void *src, uptr n) { in internal_memmove()
65 void *internal_memset(void* s, int c, uptr n) { in internal_memset()
71 for (uptr i = 0; i < n; ++i, ++t) { in internal_memset()
77 uptr internal_strcspn(const char *s, const char *reject) { in internal_strcspn()
78 uptr i; in internal_strcspn()
87 uptr len = internal_strlen(s); in internal_strdup()
106 int internal_strncmp(const char *s1, const char *s2, uptr n) { in internal_strncmp()
107 for (uptr i = 0; i < n; i++) { in internal_strncmp()
130 for (uptr i = 0; s[i]; i++) { in internal_strrchr()
136 uptr internal_strlen(const char *s) { in internal_strlen()
137 uptr i = 0; in internal_strlen()
142 char *internal_strncat(char *dst, const char *src, uptr n) { in internal_strncat()
143 uptr len = internal_strlen(dst); in internal_strncat()
144 uptr i; in internal_strncat()
151 char *internal_strncpy(char *dst, const char *src, uptr n) { in internal_strncpy()
152 uptr i; in internal_strncpy()
160 uptr internal_strnlen(const char *s, uptr maxlen) { in internal_strnlen()
161 uptr i = 0; in internal_strnlen()
168 uptr len1 = internal_strlen(haystack); in internal_strstr()
169 uptr len2 = internal_strlen(needle); in internal_strstr()
171 for (uptr pos = 0; pos <= len1 - len2; pos++) { in internal_strstr()
209 bool mem_is_zero(const char *beg, uptr size) { in mem_is_zero()
212 uptr *aligned_beg = (uptr *)RoundUpTo((uptr)beg, sizeof(uptr)); in mem_is_zero()
213 uptr *aligned_end = (uptr *)RoundDownTo((uptr)end, sizeof(uptr)); in mem_is_zero()
214 uptr all = 0; in mem_is_zero()