/DragonStub/lib/ |
H A D | entry.c | 25 size_t __init_array_length = __init_array_end - __init_array_start; in ctors() 26 for (size_t i = 0; i < __init_array_length; i++) { in ctors() 32 size_t __CTOR_length = __CTOR_END__ - __CTOR_LIST__; in ctors() 33 for (size_t i = 0; i < __CTOR_length; i++) { in ctors() 34 size_t current = __CTOR_length - i - 1; in ctors() 43 size_t __DTOR_length = __DTOR_END__ - __DTOR_LIST__; in dtors() 44 for (size_t i = 0; i < __DTOR_length; i++) { in dtors() 50 size_t __fini_array_length = __fini_array_end - __fini_array_start; in dtors() 51 for (size_t i = 0; i < __fini_array_length; i++) { in dtors() 52 size_t current = __fini_array_length - i - 1; in dtors()
|
H A D | init.c | 233 #define SS (sizeof(size_t)) 234 #define __ALIGN (sizeof(size_t)-1) 235 #define ONES ((size_t)-1/UCHAR_MAX) 239 void *memchr(const void *src, int c, size_t n) in memchr() 246 typedef size_t __attribute__((__may_alias__)) word; in memchr() 248 size_t k = ONES * c; in memchr() 257 int memcmp(const void *vl, const void *vr, size_t n) in memcmp() 265 void *memrchr(const void *m, int c, size_t n) in memrchr()
|
/DragonStub/apps/lib/ |
H A D | string.c | 38 size_t strlen(const char *s) in strlen() 103 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() 119 size_t strnlen(const char *s, size_t maxlen) in strnlen() 130 #define __ALIGN (sizeof(size_t)) 131 #define ONES ((size_t)-1 / UCHAR_MAX) 142 typedef size_t __attribute__((__may_alias__)) word; in __strchrnul() 147 size_t k = ONES * c; in __strchrnul() 175 size_t l1, l2; in strstr()
|
H A D | vsprintf.c | 417 size_t size; in move_right() 1132 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) in vsnprintf() 1243 num = va_arg(args, size_t); in vsnprintf() 1297 int snprintf(char *buf, size_t size, const char *fmt, ...) in snprintf()
|
/DragonStub/inc/ |
H A D | lib.h | 98 int memcmp(const void *vl, const void *vr, size_t n); 99 void *memchr(const void *src, int c, size_t n); 100 void *memrchr(const void *m, int c, size_t n); 101 size_t strnlen(const char *s, size_t maxlen);
|
/DragonStub/inc/dragonstub/ |
H A D | printk.h | 42 int snprintf(char *buf, size_t size, const char *fmt, ...); 72 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
|
H A D | dragonstub.h | 159 size_t strnlen(const char *s, size_t maxlen); 164 size_t strlen(const char *s); 165 int strncmp(const char *cs, const char *ct, size_t count);
|
H A D | types.h | 101 typedef __kernel_size_t size_t; typedef
|
/DragonStub/inc/dragonstub/linux/ |
H A D | hex.h | 30 extern int __must_check hex2bin(u8 *dst, const char *src, size_t count); 31 extern char *bin2hex(char *dst, const void *src, size_t count);
|
H A D | byteorder.h | 194 static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) in cpu_to_be32_array() 196 size_t i; in cpu_to_be32_array() 202 static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) in be32_to_cpu_array() 204 size_t i; in be32_to_cpu_array()
|
/DragonStub/apps/lib/libfdt/ |
H A D | libfdt_env.h | 89 static inline size_t fdt_strnlen(const char *string, size_t max_count) in fdt_strnlen()
|
H A D | fdt.c | 70 size_t fdt_header_size_(uint32_t version) in fdt_header_size_() 84 size_t fdt_header_size(const void *fdt) in fdt_header_size() 92 size_t hdrsize; in fdt_check_header()
|
H A D | libfdt.h | 284 size_t fdt_header_size(const void *fdt); 292 size_t fdt_header_size_(uint32_t version); 337 int fdt_check_full(const void *fdt, size_t bufsize);
|
H A D | fdt_sw.c | 94 static void *fdt_grab_space_(void *fdt, size_t len) in fdt_grab_space_() 150 size_t headsize, tailsize; in fdt_resize()
|
H A D | fdt_rw.c | 58 size_t soff = p - (char *)fdt; in fdt_splice_()
|
H A D | fdt_ro.c | 38 size_t len; in fdt_get_string()
|
/DragonStub/apps/ |
H A D | elf.c | 146 size_t phoff = ehdr->e_phoff; in parse_phdrs() 147 size_t phsize = ehdr->e_phentsize; in parse_phdrs() 148 size_t total_size = phnum * phsize; in parse_phdrs()
|
H A D | helper.c | 259 size_t len; in efi_parse_options()
|