Home
last modified time | relevance | path

Searched refs:c (Results 1 – 9 of 9) sorted by relevance

/bootloader/lib/
A Dctype.c7 int isdigit(int c) { in isdigit() argument
8 return (c >= '0') && (c <= '9'); in isdigit()
11 int isspace(int c) { in isspace() argument
12 return (c == ' ') || in isspace()
13 (c == '\f') || in isspace()
14 (c == '\n') || in isspace()
15 (c == '\r') || in isspace()
17 (c == '\v'); in isspace()
20 int tolower(int c) { in tolower() argument
21 if (c >= 'A' && c <= 'Z') { in tolower()
[all …]
A Dstring.c9 void* memset(void* _dst, int c, size_t n) { in memset() argument
12 *dst++ = c; in memset()
52 char* strchr(const char* s, int c) { in strchr() argument
53 while (*s != c && *s++) ; in strchr()
54 if (*s != c) return 0; in strchr()
A Dprintf.c155 char c; in _printf_engine() local
168 #define OUTPUT_CHAR(c) do { char __temp[1] = { c }; OUTPUT_STRING(__temp, 1); } while (0) in _printf_engine() argument
179 while ((c = *fmt++) != 0) { in _printf_engine()
180 if (c == '%') in _printf_engine()
189 if (c == 0) in _printf_engine()
194 c = *fmt++; in _printf_engine()
195 if (c == 0) in _printf_engine()
198 switch (c) { in _printf_engine()
200 if (c == '0' && format_num == 0) in _printf_engine()
203 format_num += c - '0'; in _printf_engine()
[all …]
/bootloader/
A Dbuild.mk35 $(LOCAL_DIR)/src/osboot.c \
36 $(LOCAL_DIR)/src/diskio.c \
38 $(LOCAL_DIR)/src/zircon.c \
39 $(LOCAL_DIR)/src/misc.c \
41 $(LOCAL_DIR)/src/netifc.c \
42 $(LOCAL_DIR)/src/inet6.c \
43 $(LOCAL_DIR)/src/pci.c \
50 $(LOCAL_DIR)/lib/xefi.c \
53 $(LOCAL_DIR)/lib/ctype.c \
54 $(LOCAL_DIR)/lib/printf.c \
[all …]
/bootloader/include/
A Dctype.h7 int isdigit(int c);
8 int isspace(int c);
9 int tolower(int c);
A Dstring.h9 void* memset(void* dst, int c, size_t n);
14 char* strchr(const char* s, int c);
/bootloader/src/
A Ddiskio.c277 unsigned c = table[n].name[i*2 + 0] | (table[n].name[i*2 + 1] << 8); in disk_find_kernel() local
278 if ((c != 0) && ((c < ' ') || (c > 127))) { in disk_find_kernel()
279 c = '.'; in disk_find_kernel()
281 name[i] = c; in disk_find_kernel()
A Dframebuffer.c214 unsigned char c = text[i]; in draw_text() local
215 if (c > 127) in draw_text()
217 putchar(gop, font, c, x + offset, y, scale, scale, fg_color, &font_black); in draw_text()
A Dosboot.c315 static inline void swap_to_head(const char c, char* s, const size_t n) { in swap_to_head() argument
322 if (c == s[i]) { in swap_to_head()

Completed in 16 milliseconds