Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 18 of 18) sorted by relevance

/DragonStub/lib/
H A Dentry.c25 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 Dinit.c233 #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 Dstring.c38 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 Dvsprintf.c417 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 Dlib.h98 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 Dprintk.h42 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 Ddragonstub.h159 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 Dtypes.h101 typedef __kernel_size_t size_t; typedef
/DragonStub/inc/dragonstub/linux/
H A Dhex.h30 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 Dbyteorder.h194 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 Dlibfdt_env.h89 static inline size_t fdt_strnlen(const char *string, size_t max_count) in fdt_strnlen()
H A Dfdt.c70 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 Dlibfdt.h284 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 Dfdt_sw.c94 static void *fdt_grab_space_(void *fdt, size_t len) in fdt_grab_space_()
150 size_t headsize, tailsize; in fdt_resize()
H A Dfdt_rw.c58 size_t soff = p - (char *)fdt; in fdt_splice_()
H A Dfdt_ro.c38 size_t len; in fdt_get_string()
/DragonStub/apps/
H A Delf.c146 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 Dhelper.c259 size_t len; in efi_parse_options()