str 41 bsp/boot/common/string.c atol(const char *str) str 45 bsp/boot/common/string.c while (*str == ' ') str 46 bsp/boot/common/string.c str++; str 47 bsp/boot/common/string.c while (*str >= '0' && *str <= '9') { str 49 bsp/boot/common/string.c val += (long)(*str - '0'); str 50 bsp/boot/common/string.c str++; str 167 bsp/drv/dev/base/cons.c cons_puts(char *str) str 173 bsp/drv/dev/base/cons.c while (*str) { str 174 bsp/drv/dev/base/cons.c consdev->cnputc(consdev->dev, *str); str 175 bsp/drv/dev/base/cons.c if (*str == '\n') str 177 bsp/drv/dev/base/cons.c str++; str 89 bsp/drv/include/ddi.h long atol(const char *str); str 93 bsp/drv/include/ddi.h size_t strnlen(const char *str, size_t max); str 38 bsp/drv/lib/string.c atol(const char *str) str 42 bsp/drv/lib/string.c while (*str == ' ') str 43 bsp/drv/lib/string.c str++; str 44 bsp/drv/lib/string.c while (*str >= '0' && *str <= '9') { str 46 bsp/drv/lib/string.c val += (*str - '0'); str 47 bsp/drv/lib/string.c str++; str 53 bsp/drv/lib/string.c strnlen(const char *str, size_t count) str 57 bsp/drv/lib/string.c for (tmp = str; count-- && *tmp != '\0'; ++tmp); str 58 bsp/drv/lib/string.c return (size_t)(tmp - str); str 182 bsp/hal/arm/gba/diag.c diag_puts(char *str) str 185 bsp/hal/arm/gba/diag.c vba_puts(str); str 55 bsp/hal/ppc/prep/diag.c diag_puts(char *str) str 58 bsp/hal/ppc/prep/diag.c while (*str) { str 59 bsp/hal/ppc/prep/diag.c if (*str == '\n') str 61 bsp/hal/ppc/prep/diag.c serial_putc(*str++); str 78 bsp/hal/ppc/prep/diag.c diag_puts(char *str) str 81 bsp/hal/ppc/prep/diag.c while (*str) { str 83 bsp/hal/ppc/prep/diag.c outb(0xf00, (u_char)*str++); str 115 bsp/hal/x86/pc/diag.c diag_puts(char *str) str 118 bsp/hal/x86/pc/diag.c while (*str) str 119 bsp/hal/x86/pc/diag.c screen_putc(*str++); str 149 bsp/hal/x86/pc/diag.c diag_puts(char *str) str 156 bsp/hal/x86/pc/diag.c while (*str) str 157 bsp/hal/x86/pc/diag.c bochs_putc(*str++); str 183 bsp/hal/x86/pc/diag.c diag_puts(char *str) str 186 bsp/hal/x86/pc/diag.c while (*str) { str 187 bsp/hal/x86/pc/diag.c if (*str == '\n') str 189 bsp/hal/x86/pc/diag.c serial_putc(*str++); str 84 sys/ipc/object.c char str[MAXOBJNAME]; str 88 sys/ipc/object.c str[0] = '\0'; str 90 sys/ipc/object.c error = copyinstr(name, str, MAXOBJNAME); str 112 sys/ipc/object.c if (object_find(str) != NULL) { str 121 sys/ipc/object.c strlcpy(obj->name, str, MAXOBJNAME); str 143 sys/ipc/object.c char str[MAXOBJNAME]; str 146 sys/ipc/object.c error = copyinstr(name, str, MAXOBJNAME); str 151 sys/ipc/object.c obj = object_find(str); str 303 sys/kern/device.c char str[MAXDEVNAME]; str 306 sys/kern/device.c error = copyinstr(name, str, MAXDEVNAME); str 311 sys/kern/device.c if ((dev = device_lookup(str)) == NULL) { str 158 sys/kern/system.c sys_log(const char *str) str 163 sys/kern/system.c if (copyinstr(str, buf, DBGMSGSZ)) str 208 sys/kern/system.c sys_panic(const char *str) str 214 sys/kern/system.c copyinstr(str, buf, DBGMSGSZ - 20); str 215 sys/kern/system.c printf("User panic: %s\n", str); str 307 sys/kern/task.c char str[MAXTASKNAME]; str 323 sys/kern/task.c error = copyinstr(name, str, MAXTASKNAME); str 328 sys/kern/task.c strlcpy(task->name, str, MAXTASKNAME); str 81 sys/lib/string.c strnlen(const char *str, size_t count) str 85 sys/lib/string.c for (tmp = str; count-- && *tmp != '\0'; ++tmp); str 86 sys/lib/string.c return (size_t)(tmp - str); str 73 sys/lib/vsprintf.c char *p, *str; str 106 sys/lib/vsprintf.c str = va_arg(args, char *); str 107 sys/lib/vsprintf.c if (str == NULL) str 108 sys/lib/vsprintf.c str = "<NULL>"; str 109 sys/lib/vsprintf.c for (; *str && width != 0; str++, width--) { str 110 sys/lib/vsprintf.c *p++ = *str; str 349 usr/bin/sh/sh.c parsepipe(char *str, int flags) str 355 usr/bin/sh/sh.c p = cmds = str; str 148 usr/bin/sh/var.c setvareq(char *str) str 154 usr/bin/sh/var.c s = str; str 162 usr/bin/sh/var.c p = strchr(str, '='); str 37 usr/lib/libc/stdio/snprintf.c snprintf(char *str, size_t n, char const *fmt, ...) str 47 usr/lib/libc/stdio/snprintf.c f._bf._base = f._p = (unsigned char *)str; str 39 usr/lib/libc/stdio/sprintf.c sprintf(char *str, char const *fmt, ...) str 46 usr/lib/libc/stdio/sprintf.c f._bf._base = f._p = (unsigned char *)str; str 39 usr/lib/libc/stdio/sscanf.c sscanf(const char *str, char const *fmt, ...) str 46 usr/lib/libc/stdio/sscanf.c f._bf._base = f._p = (unsigned char *)str; str 47 usr/lib/libc/stdio/sscanf.c f._bf._size = f._r = strlen(str); str 36 usr/lib/libc/stdio/vsnprintf.c vsnprintf(str, n, fmt, ap) str 37 usr/lib/libc/stdio/vsnprintf.c char *str; str 48 usr/lib/libc/stdio/vsnprintf.c f._bf._base = f._p = (unsigned char *)str; str 37 usr/lib/libc/stdio/vsprintf.c vsprintf(str, fmt, ap) str 38 usr/lib/libc/stdio/vsprintf.c char *str; str 46 usr/lib/libc/stdio/vsprintf.c f._bf._base = f._p = (unsigned char *)str; str 37 usr/lib/libc/stdio/vsscanf.c vsscanf(str, fmt, ap) str 38 usr/lib/libc/stdio/vsscanf.c const char *str; str 45 usr/lib/libc/stdio/vsscanf.c f._bf._base = f._p = (unsigned char *)str; str 46 usr/lib/libc/stdio/vsscanf.c f._bf._size = f._r = strlen(str); str 34 usr/lib/libc/stdlib/atoi.c atoi(str) str 35 usr/lib/libc/stdlib/atoi.c const char *str; str 37 usr/lib/libc/stdlib/atoi.c return((int)strtol(str, (char **)NULL, 10)); str 34 usr/lib/libc/stdlib/atol.c atol(str) str 35 usr/lib/libc/stdlib/atol.c const char *str; str 37 usr/lib/libc/stdlib/atol.c return(strtol(str, (char **)NULL, 10)); str 34 usr/lib/libc/stdlib/putenv.c putenv(str) str 35 usr/lib/libc/stdlib/putenv.c const char *str; str 40 usr/lib/libc/stdlib/putenv.c if ((p = strdup(str)) == NULL) str 37 usr/lib/libc/string/strdup.c strdup(str) str 38 usr/lib/libc/string/strdup.c const char *str; str 43 usr/lib/libc/string/strdup.c len = strlen(str) + 1; str 46 usr/lib/libc/string/strdup.c bcopy(str, copy, len); str 34 usr/lib/libc/string/strlen.c strlen(str) str 35 usr/lib/libc/string/strlen.c const char *str; str 39 usr/lib/libc/string/strlen.c for (s = str; *s; ++s); str 40 usr/lib/libc/string/strlen.c return(s - str); str 277 usr/lib/libc/time/strftime.c _add(str) str 278 usr/lib/libc/time/strftime.c const char *str; str 283 usr/lib/libc/time/strftime.c if (!(*pt = *str++)) str 38 usr/lib/libsa/sprintf.c sprintf(char *str, char const *fmt, ...) str 45 usr/lib/libsa/sprintf.c f._bf._base = f._p = (unsigned char *)str; str 89 usr/lib/libsa/vsprintf.c char *p, *str; str 122 usr/lib/libsa/vsprintf.c str = va_arg(args, char *); str 123 usr/lib/libsa/vsprintf.c if (str == NULL) str 124 usr/lib/libsa/vsprintf.c str = "<NULL>"; str 125 usr/lib/libsa/vsprintf.c for (; *str; str++) { str 126 usr/lib/libsa/vsprintf.c *p++ = *str; str 44 usr/sample/ipc/ipc.c char str[128]; /* String */ str 81 usr/sample/ipc/ipc.c send_message(object_t obj, const char *str) str 86 usr/sample/ipc/ipc.c strcpy(msg.str, str); str 88 usr/sample/ipc/ipc.c printf("client: Received \"%s\"\n", msg.str); str 166 usr/sample/ipc/ipc.c printf("server: Received \"%s\"\n", msg.str); str 167 usr/sample/ipc/ipc.c if (!strcmp(msg.str, "Exit")) str 170 usr/sample/ipc/ipc.c if (!strcmp(msg.str, "Hello!")) str 171 usr/sample/ipc/ipc.c strcpy(msg.str, "Hi."); str 172 usr/sample/ipc/ipc.c else if (!strcmp(msg.str, "Bye!")) str 173 usr/sample/ipc/ipc.c strcpy(msg.str, "Bye."); str 175 usr/sample/ipc/ipc.c strcpy(msg.str, "OK."); str 47 usr/test/memleak/memleak.c char str[5]; str 62 usr/test/memleak/memleak.c str[0] = '1'; str 63 usr/test/memleak/memleak.c str[1] = 0; str 65 usr/test/memleak/memleak.c printf("memleak: object create name=%s\n", str); str 66 usr/test/memleak/memleak.c error = object_create(str, &obj); str 71 usr/test/memleak/memleak.c str[0] += 1; str 48 usr/test/pipe/pipe.c char str[] = "test1"; str 57 usr/test/pipe/pipe.c write(fd[1], str, sizeof(str)); str 66 usr/test/pipe/pipe.c char str[] = "test2: hello!"; str 90 usr/test/pipe/pipe.c write(fd[1], str, sizeof(str));