s 47 bsp/boot/common/printf.c char *s; s 63 bsp/boot/common/printf.c s = va_arg(ap, char *); s 64 bsp/boot/common/printf.c if (s == NULL) s 65 bsp/boot/common/printf.c s = "<NULL>"; s 66 bsp/boot/common/printf.c for (; *s; s++) { s 67 bsp/boot/common/printf.c debug_putc((int)*s); s 75 bsp/boot/common/printf.c s = buf; s 78 bsp/boot/common/printf.c *s++ = digits[u % 10U]; s 84 bsp/boot/common/printf.c *s++ = '0'; s 86 bsp/boot/common/printf.c *s++ = digits[u % 16U]; s 92 bsp/boot/common/printf.c while (--s >= buf) s 93 bsp/boot/common/printf.c debug_putc((int)*s); s 63 bsp/boot/common/string.c const char *s = src; s 69 bsp/boot/common/string.c if ((*d++ = *s++) == 0) s 78 bsp/boot/common/string.c while (*s++) s 82 bsp/boot/common/string.c return (size_t)(s - src - 1); /* count does not include NUL */ s 101 bsp/boot/common/string.c char *tmp = (char *)dest, *s = (char *)src; s 104 bsp/boot/common/string.c *tmp++ = *s++; s 689 bsp/drv/dev/base/kd.c int s; s 696 bsp/drv/dev/base/kd.c s = spl0(); s 708 bsp/drv/dev/base/kd.c splx(s); s 235 bsp/drv/dev/base/pm.c int s; s 239 bsp/drv/dev/base/pm.c s = splhigh(); s 245 bsp/drv/dev/base/pm.c splx(s); s 252 bsp/drv/dev/base/pm.c int s; s 257 bsp/drv/dev/base/pm.c s = splhigh(); s 367 bsp/drv/dev/base/pm.c int s, reload; s 369 bsp/drv/dev/base/pm.c s = splhigh(); s 371 bsp/drv/dev/base/pm.c splx(s); s 428 bsp/drv/dev/base/pm.c int s; s 434 bsp/drv/dev/base/pm.c s = splhigh(); s 436 bsp/drv/dev/base/pm.c splx(s); s 83 bsp/drv/dev/base/tty.c int s; s 85 bsp/drv/dev/base/tty.c s = splhigh(); s 87 bsp/drv/dev/base/tty.c splx(s); s 93 bsp/drv/dev/base/tty.c splx(s); s 103 bsp/drv/dev/base/tty.c int s; s 105 bsp/drv/dev/base/tty.c s = splhigh(); s 107 bsp/drv/dev/base/tty.c splx(s); s 113 bsp/drv/dev/base/tty.c splx(s); s 123 bsp/drv/dev/base/tty.c int s; s 127 bsp/drv/dev/base/tty.c s = splhigh(); s 131 bsp/drv/dev/base/tty.c splx(s); s 317 bsp/drv/dev/cpufreq/est.c #define ENTRY(s, v) { s, v, (int)(sizeof(v) / sizeof((v)[0])) } s 331 bsp/drv/dev/cpufreq/est.c #define ENTRY(s, v) { s, v, (int)(sizeof(v) / sizeof((v)[0])) } s 153 bsp/drv/dev/dma/i8237.c int s; s 159 bsp/drv/dev/dma/i8237.c s = splhigh(); s 168 bsp/drv/dev/dma/i8237.c splx(s); s 179 bsp/drv/dev/dma/i8237.c int s; s 184 bsp/drv/dev/dma/i8237.c s = splhigh(); s 186 bsp/drv/dev/dma/i8237.c splx(s); s 196 bsp/drv/dev/dma/i8237.c int s; s 204 bsp/drv/dev/dma/i8237.c s = splhigh(); s 223 bsp/drv/dev/dma/i8237.c splx(s); s 232 bsp/drv/dev/dma/i8237.c int s; s 235 bsp/drv/dev/dma/i8237.c s = splhigh(); s 240 bsp/drv/dev/dma/i8237.c splx(s); s 247 bsp/drv/dev/input/pckbd.c int s; s 253 bsp/drv/dev/input/pckbd.c s = splhigh(); s 255 bsp/drv/dev/input/pckbd.c splx(s); s 110 bsp/drv/dev/input/psaux.c int s; s 113 bsp/drv/dev/input/psaux.c s = splhigh(); s 127 bsp/drv/dev/input/psaux.c splx(s); s 80 bsp/drv/dev/rtc/mc146818.c int s; s 82 bsp/drv/dev/rtc/mc146818.c s = splhigh(); s 85 bsp/drv/dev/rtc/mc146818.c splx(s); s 93 bsp/drv/dev/rtc/mc146818.c int s; s 95 bsp/drv/dev/rtc/mc146818.c s = splhigh(); s 98 bsp/drv/dev/rtc/mc146818.c splx(s); s 176 bsp/drv/dev/serial/ns16550.c int s; s 188 bsp/drv/dev/serial/ns16550.c s = splhigh(); s 192 bsp/drv/dev/serial/ns16550.c splx(s); s 140 bsp/drv/dev/video/vga.c int pos, s; s 144 bsp/drv/dev/video/vga.c s = splhigh(); s 147 bsp/drv/dev/video/vga.c splx(s); s 195 bsp/drv/dev/video/vga.c int s; s 197 bsp/drv/dev/video/vga.c s = splhigh(); s 203 bsp/drv/dev/video/vga.c splx(s); s 210 bsp/drv/dev/video/vga.c int s; s 214 bsp/drv/dev/video/vga.c s = splhigh(); s 231 bsp/drv/dev/video/vga.c splx(s); s 20 bsp/drv/lib/endian.c u_char *s = (u_char *)&x; s 21 bsp/drv/lib/endian.c return (uint32_t)(s[0] << 24 | s[1] << 16 | s[2] << 8 | s[3]); s 28 bsp/drv/lib/endian.c u_char *s = (u_char *) &x; s 29 bsp/drv/lib/endian.c return (uint16_t)(s[0] << 8 | s[1]); s 36 bsp/drv/lib/endian.c u_char *s = (u_char *)&x; s 37 bsp/drv/lib/endian.c return (uint32_t)(s[0] << 24 | s[1] << 16 | s[2] << 8 | s[3]); s 44 bsp/drv/lib/endian.c u_char *s = (u_char *) &x; s 45 bsp/drv/lib/endian.c return (uint16_t)(s[0] << 8 | s[1]); s 101 bsp/drv/lib/string.c char *tmp = (char *)dest, *s = (char *)src; s 106 bsp/drv/lib/string.c *tmp++ = *s++; s 44 bsp/drv/lib/strtoul.c const char *s; s 52 bsp/drv/lib/strtoul.c s = nptr; s 54 bsp/drv/lib/strtoul.c c = (unsigned char) *s++; s 58 bsp/drv/lib/strtoul.c c = *s++; s 62 bsp/drv/lib/strtoul.c c = *s++; s 65 bsp/drv/lib/strtoul.c c == '0' && (*s == 'x' || *s == 'X')) { s 66 bsp/drv/lib/strtoul.c c = s[1]; s 67 bsp/drv/lib/strtoul.c s += 2; s 75 bsp/drv/lib/strtoul.c for (acc = 0, any = 0;; c = (unsigned char) *s++) { s 99 bsp/drv/lib/strtoul.c *endptr = (char *)(any ? s - 1 : nptr); s 49 bsp/hal/ppc/arch/clock.c int s; s 54 bsp/hal/ppc/arch/clock.c s = splhigh(); s 56 bsp/hal/ppc/arch/clock.c splx(s); s 62 bsp/hal/ppc/arch/cpu.c splx(int s) s 65 bsp/hal/ppc/arch/cpu.c curspl = s; s 91 bsp/hal/ppc/prep/interrupt.c int i, s; s 93 bsp/hal/ppc/prep/interrupt.c s = splhigh(); s 102 bsp/hal/ppc/prep/interrupt.c splx(s); s 113 bsp/hal/ppc/prep/interrupt.c int i, level, s; s 115 bsp/hal/ppc/prep/interrupt.c s = splhigh(); s 121 bsp/hal/ppc/prep/interrupt.c splx(s); s 131 bsp/hal/ppc/prep/interrupt.c int port, s; s 135 bsp/hal/ppc/prep/interrupt.c s = splhigh(); s 145 bsp/hal/ppc/prep/interrupt.c splx(s); s 60 bsp/hal/x86/pc/clock.c int s; s 62 bsp/hal/x86/pc/clock.c s = splhigh(); s 64 bsp/hal/x86/pc/clock.c splx(s); s 89 bsp/hal/x86/pc/interrupt.c int i, s; s 91 bsp/hal/x86/pc/interrupt.c s = splhigh(); s 100 bsp/hal/x86/pc/interrupt.c splx(s); s 111 bsp/hal/x86/pc/interrupt.c int i, level, s; s 113 bsp/hal/x86/pc/interrupt.c s = splhigh(); s 119 bsp/hal/x86/pc/interrupt.c splx(s); s 129 bsp/hal/x86/pc/interrupt.c int port, s; s 133 bsp/hal/x86/pc/interrupt.c s = splhigh(); s 143 bsp/hal/x86/pc/interrupt.c splx(s); s 42 include/arm/stdarg.h #define va_copy(d, s) ((d) = (s)) s 42 include/ppc/stdarg.h #define va_copy(d, s) ((d) = (s)) s 295 include/sys/elf.h #define ELF32_R_INFO(s,t) (((s) << 8) + (unsigned char)(t)) s 42 include/x86/stdarg.h #define va_copy(d, s) ((d) = (s)) s 64 sys/kern/debug.c int i, s; s 67 sys/kern/debug.c s = splhigh(); s 88 sys/kern/debug.c splx(s); s 124 sys/kern/debug.c int s, error = 0; s 127 sys/kern/debug.c s = splhigh(); s 151 sys/kern/debug.c splx(s); s 102 sys/kern/exception.c int s; s 121 sys/kern/exception.c s = splhigh(); s 124 sys/kern/exception.c splx(s); s 177 sys/kern/exception.c int s, found = 0; s 220 sys/kern/exception.c s = splhigh(); s 222 sys/kern/exception.c splx(s); s 243 sys/kern/exception.c int i, rc, s; s 263 sys/kern/exception.c s = splhigh(); s 268 sys/kern/exception.c splx(s); s 288 sys/kern/exception.c int s; s 293 sys/kern/exception.c s = splhigh(); s 295 sys/kern/exception.c splx(s); s 314 sys/kern/exception.c int s, excno; s 319 sys/kern/exception.c s = splhigh(); s 321 sys/kern/exception.c splx(s); s 345 sys/kern/exception.c s = splhigh(); s 350 sys/kern/exception.c splx(s); s 362 sys/kern/exception.c int s; s 364 sys/kern/exception.c s = splhigh(); s 366 sys/kern/exception.c splx(s); s 270 sys/kern/sched.c int s; s 275 sys/kern/sched.c s = splhigh(); s 295 sys/kern/sched.c splx(s); s 311 sys/kern/sched.c int s; s 316 sys/kern/sched.c s = splhigh(); s 323 sys/kern/sched.c splx(s); s 339 sys/kern/sched.c int s; s 342 sys/kern/sched.c s = splhigh(); s 361 sys/kern/sched.c splx(s); s 376 sys/kern/sched.c int s; s 380 sys/kern/sched.c s = splhigh(); s 384 sys/kern/sched.c splx(s); s 534 sys/kern/sched.c int s; s 538 sys/kern/sched.c s = splhigh(); s 554 sys/kern/sched.c splx(s); s 555 sys/kern/sched.c s = splhigh(); s 560 sys/kern/sched.c splx(s); s 651 sys/kern/sched.c int s; s 658 sys/kern/sched.c s = splhigh(); s 664 sys/kern/sched.c splx(s); s 169 sys/kern/thread.c int s; s 186 sys/kern/thread.c s = splhigh(); s 191 sys/kern/thread.c splx(s); s 99 sys/kern/timer.c int s; s 103 sys/kern/timer.c s = splhigh(); s 108 sys/kern/timer.c splx(s); s 121 sys/kern/timer.c int s; s 126 sys/kern/timer.c s = splhigh(); s 136 sys/kern/timer.c splx(s); s 208 sys/kern/timer.c int s; s 210 sys/kern/timer.c s = splhigh(); s 225 sys/kern/timer.c splx(s); s 243 sys/kern/timer.c int s; s 286 sys/kern/timer.c s = splhigh(); s 291 sys/kern/timer.c splx(s); s 44 sys/lib/string.c const char *s = src; s 50 sys/lib/string.c if ((*d++ = *s++) == 0) s 59 sys/lib/string.c while (*s++) s 63 sys/lib/string.c return (size_t)(s - src - 1); /* count does not include NUL */ s 92 sys/lib/string.c char *tmp = (char *)dest, *s = (char *)src; s 97 sys/lib/string.c *tmp++ = *s++; s 49 sys/lib/vsprintf.c atoi(const char **s) s 52 sys/lib/vsprintf.c while (isdigit((int)**s)) s 53 sys/lib/vsprintf.c i = i * 10 + *((*s)++) - '0'; s 62 sys/sync/sem.c sem_t s; s 71 sys/sync/sem.c if (copyin(sp, &s, sizeof(sp))) s 80 sys/sync/sem.c if (sem_valid(s)) { s 84 sys/sync/sem.c if (s->owner != self) { s 88 sys/sync/sem.c if (event_waiting(&s->event)) { s 92 sys/sync/sem.c s->value = value; s 98 sys/sync/sem.c if ((s = kmem_alloc(sizeof(struct sem))) == NULL) { s 102 sys/sync/sem.c if (copyout(&s, sp, sizeof(s))) { s 103 sys/sync/sem.c kmem_free(s); s 107 sys/sync/sem.c event_init(&s->event, "semaphore"); s 108 sys/sync/sem.c s->owner = self; s 109 sys/sync/sem.c s->refcnt = 1; s 110 sys/sync/sem.c s->value = value; s 112 sys/sync/sem.c list_insert(&self->sems, &s->task_link); s 114 sys/sync/sem.c s->next = sem_list; s 115 sys/sync/sem.c sem_list = s; s 129 sys/sync/sem.c sem_t s; s 132 sys/sync/sem.c if (sem_copyin(sp, &s) || s->owner != curtask) { s 136 sys/sync/sem.c if (event_waiting(&s->event) || s->value == 0) { s 140 sys/sync/sem.c sem_release(s); s 164 sys/sync/sem.c sem_t s; s 168 sys/sync/sem.c if (sem_copyin(sp, &s)) { s 172 sys/sync/sem.c sem_reference(s); s 174 sys/sync/sem.c while (s->value == 0) { s 175 sys/sync/sem.c rc = sched_tsleep(&s->event, timeout); s 191 sys/sync/sem.c s->value--; s 193 sys/sync/sem.c sem_release(s); s 205 sys/sync/sem.c sem_t s; s 208 sys/sync/sem.c if (sem_copyin(sp, &s)) { s 212 sys/sync/sem.c if (s->value == 0) { s 216 sys/sync/sem.c s->value--; s 231 sys/sync/sem.c sem_t s; s 234 sys/sync/sem.c if (sem_copyin(sp, &s)) { s 238 sys/sync/sem.c if (s->value >= MAXSEMVAL) { s 242 sys/sync/sem.c s->value++; s 243 sys/sync/sem.c if (s->value > 0) s 244 sys/sync/sem.c sched_wakeone(&s->event); s 256 sys/sync/sem.c sem_t s; s 259 sys/sync/sem.c if (sem_copyin(sp, &s)) { s 263 sys/sync/sem.c if (copyout(&s->value, value, sizeof(s->value))) { s 275 sys/sync/sem.c sem_reference(sem_t s) s 278 sys/sync/sem.c s->refcnt++; s 286 sys/sync/sem.c sem_release(sem_t s) s 290 sys/sync/sem.c if (--s->refcnt > 0) s 293 sys/sync/sem.c list_remove(&s->task_link); s 294 sys/sync/sem.c s->owner->nsyncs--; s 297 sys/sync/sem.c if (*sp == s) { s 298 sys/sync/sem.c *sp = s->next; s 302 sys/sync/sem.c kmem_free(s); s 309 sys/sync/sem.c sem_t s; s 313 sys/sync/sem.c s = list_entry(n, struct sem, task_link); s 314 sys/sync/sem.c sem_release(s); s 319 sys/sync/sem.c sem_valid(sem_t s) s 324 sys/sync/sem.c if (tmp == s) s 338 sys/sync/sem.c sem_t s; s 340 sys/sync/sem.c if (copyin(usp, &s, sizeof(usp)) || !sem_valid(s)) s 343 sys/sync/sem.c *ksp = s; s 88 usr/bin/sh/sh.c showsignal(int pid, int s) s 90 usr/bin/sh/sh.c int signo = WTERMSIG(s); s 151 usr/bin/sh/var.c char *p, *s; s 154 usr/bin/sh/var.c s = str; s 157 usr/bin/sh/var.c *p++ = *s++; s 158 usr/bin/sh/var.c if (*s == '=') s 328 usr/bin/test/test.c struct stat s; s 330 usr/bin/test/test.c if (mode == FILSYM ? lstat(nm, &s) : stat(nm, &s)) s 343 usr/bin/test/test.c return S_ISREG(s.st_mode); s 345 usr/bin/test/test.c return S_ISDIR(s.st_mode); s 347 usr/bin/test/test.c return S_ISCHR(s.st_mode); s 349 usr/bin/test/test.c return S_ISBLK(s.st_mode); s 351 usr/bin/test/test.c return S_ISFIFO(s.st_mode); s 353 usr/bin/test/test.c return S_ISSOCK(s.st_mode); s 355 usr/bin/test/test.c return S_ISLNK(s.st_mode); s 357 usr/bin/test/test.c return (s.st_mode & S_ISUID) != 0; s 359 usr/bin/test/test.c return (s.st_mode & S_ISGID) != 0; s 361 usr/bin/test/test.c return (s.st_mode & S_ISVTX) != 0; s 363 usr/bin/test/test.c return s.st_size > (off_t)0; s 365 usr/bin/test/test.c return s.st_uid == geteuid(); s 367 usr/bin/test/test.c return s.st_gid == getegid(); s 374 usr/bin/test/test.c t_lex(char *s) s 380 usr/bin/test/test.c if (s == 0) { s 385 usr/bin/test/test.c if (strcmp(s, op->op_text) == 0) { s 402 usr/bin/test/test.c char *s, *t; s 405 usr/bin/test/test.c if ((s = *(t_wp+1)) == 0) s 410 usr/bin/test/test.c if (strcmp(s, op->op_text) == 0) s 420 usr/bin/test/test.c getn(const char *s) s 426 usr/bin/test/test.c r = strtol(s, &p, 10); s 429 usr/bin/test/test.c error("%s: out of range", s); s 435 usr/bin/test/test.c error("%s: bad number", s); s 49 usr/lib/libc/stdio/fgets.c char *s; s 51 usr/lib/libc/stdio/fgets.c s = buf; s 53 usr/lib/libc/stdio/fgets.c *s++ = c; s 57 usr/lib/libc/stdio/fgets.c if (c < 0 && s == buf) s 59 usr/lib/libc/stdio/fgets.c *s++ = 0; s 40 usr/lib/libc/stdio/fputs.c fputs(s, fp) s 41 usr/lib/libc/stdio/fputs.c const char *s; s 46 usr/lib/libc/stdio/fputs.c while ((c = *s++) != '\0') s 52 usr/lib/libc/stdio/fvwrite.c int w, s; s 149 usr/lib/libc/stdio/fvwrite.c s = MIN(len, nldist); s 151 usr/lib/libc/stdio/fvwrite.c if (fp->_p > fp->_bf._base && s > w) { s 157 usr/lib/libc/stdio/fvwrite.c } else if (s >= (w = fp->_bf._size)) { s 162 usr/lib/libc/stdio/fvwrite.c w = s; s 41 usr/lib/libc/stdio/gets.c char *s; s 43 usr/lib/libc/stdio/gets.c for (s = buf; (c = getchar()) != '\n';) s 45 usr/lib/libc/stdio/gets.c if (s == buf) s 50 usr/lib/libc/stdio/gets.c *s++ = c; s 51 usr/lib/libc/stdio/gets.c *s = '\0'; s 36 usr/lib/libc/stdio/perror.c perror(s) s 37 usr/lib/libc/stdio/perror.c const char *s; s 39 usr/lib/libc/stdio/perror.c if (s != NULL && *s != '\0') { s 40 usr/lib/libc/stdio/perror.c fputs(s, stderr); s 40 usr/lib/libc/stdio/puts.c puts(s) s 41 usr/lib/libc/stdio/puts.c char const *s; s 45 usr/lib/libc/stdio/puts.c while ((c = *s++) != '\0') s 39 usr/lib/libc/stdio/tmpnam.c tmpnam(s) s 40 usr/lib/libc/stdio/tmpnam.c char *s; s 45 usr/lib/libc/stdio/tmpnam.c if (s == NULL) s 46 usr/lib/libc/stdio/tmpnam.c s = buf; s 47 usr/lib/libc/stdio/tmpnam.c (void)snprintf(s, L_tmpnam, "%stmp.%lu.XXXXXX", P_tmpdir, tmpcount); s 49 usr/lib/libc/stdio/tmpnam.c return (mktemp(s)); s 48 usr/lib/libc/stdlib/strtol.c const char *s; s 58 usr/lib/libc/stdlib/strtol.c s = nptr; s 60 usr/lib/libc/stdlib/strtol.c c = (unsigned char) *s++; s 64 usr/lib/libc/stdlib/strtol.c c = *s++; s 68 usr/lib/libc/stdlib/strtol.c c = *s++; s 71 usr/lib/libc/stdlib/strtol.c c == '0' && (*s == 'x' || *s == 'X')) { s 72 usr/lib/libc/stdlib/strtol.c c = s[1]; s 73 usr/lib/libc/stdlib/strtol.c s += 2; s 106 usr/lib/libc/stdlib/strtol.c for (acc = 0, any = 0;; c = (unsigned char) *s++) { s 141 usr/lib/libc/stdlib/strtol.c *endptr = (char *)(any ? s - 1 : nptr); s 47 usr/lib/libc/stdlib/strtoul.c const char *s; s 55 usr/lib/libc/stdlib/strtoul.c s = nptr; s 57 usr/lib/libc/stdlib/strtoul.c c = (unsigned char) *s++; s 61 usr/lib/libc/stdlib/strtoul.c c = *s++; s 65 usr/lib/libc/stdlib/strtoul.c c = *s++; s 68 usr/lib/libc/stdlib/strtoul.c c == '0' && (*s == 'x' || *s == 'X')) { s 69 usr/lib/libc/stdlib/strtoul.c c = s[1]; s 70 usr/lib/libc/stdlib/strtoul.c s += 2; s 78 usr/lib/libc/stdlib/strtoul.c for (acc = 0, any = 0;; c = (unsigned char) *s++) { s 103 usr/lib/libc/stdlib/strtoul.c *endptr = (char *)(any ? s - 1 : nptr); s 37 usr/lib/libc/string/memchr.c memchr(s, c, n) s 38 usr/lib/libc/string/memchr.c const void *s; s 43 usr/lib/libc/string/memchr.c const unsigned char *p = s; s 33 usr/lib/libc/string/strcat.c strcat(s, append) s 34 usr/lib/libc/string/strcat.c char *s; s 37 usr/lib/libc/string/strcat.c char *save = s; s 39 usr/lib/libc/string/strcat.c for (; *s; ++s) s 41 usr/lib/libc/string/strcat.c while ((*s++ = *append++) != '\0') s 33 usr/lib/libc/string/strlcat.c const char *s = src; s 44 usr/lib/libc/string/strlcat.c return(dlen + strlen(s)); s 45 usr/lib/libc/string/strlcat.c while (*s != '\0') { s 47 usr/lib/libc/string/strlcat.c *d++ = *s; s 50 usr/lib/libc/string/strlcat.c s++; s 54 usr/lib/libc/string/strlcat.c return(dlen + (s - src)); /* count does not include NUL */ s 31 usr/lib/libc/string/strlcpy.c const char *s = src; s 37 usr/lib/libc/string/strlcpy.c if ((*d++ = *s++) == 0) s 46 usr/lib/libc/string/strlcpy.c while (*s++) s 50 usr/lib/libc/string/strlcpy.c return(s - src - 1); /* count does not include NUL */ s 37 usr/lib/libc/string/strlen.c const char *s; s 39 usr/lib/libc/string/strlen.c for (s = str; *s; ++s); s 40 usr/lib/libc/string/strlen.c return(s - str); s 48 usr/lib/libc/string/strncat.c const char *s = src; s 53 usr/lib/libc/string/strncat.c if ((*d = *s++) == 0) s 48 usr/lib/libc/string/strncpy.c const char *s = src; s 51 usr/lib/libc/string/strncpy.c if ((*d++ = *s++) == 0) { s 50 usr/lib/libc/string/strsep.c char *s; s 55 usr/lib/libc/string/strsep.c if ((s = *stringp) == NULL) s 57 usr/lib/libc/string/strsep.c for (tok = s;;) { s 58 usr/lib/libc/string/strsep.c c = *s++; s 63 usr/lib/libc/string/strsep.c s = NULL; s 65 usr/lib/libc/string/strsep.c s[-1] = 0; s 66 usr/lib/libc/string/strsep.c *stringp = s; s 40 usr/lib/libc/string/strstr.c strstr(s, find) s 41 usr/lib/libc/string/strstr.c const char *s, *find; s 50 usr/lib/libc/string/strstr.c if ((sc = *s++) == 0) s 53 usr/lib/libc/string/strstr.c } while (strncmp(s, find, len) != 0); s 54 usr/lib/libc/string/strstr.c s--; s 56 usr/lib/libc/string/strstr.c return ((char *)s); s 36 usr/lib/libc/string/strtok.c strtok(char *s, const char *delim) s 40 usr/lib/libc/string/strtok.c return strtok_r(s, delim, &lasts); s 36 usr/lib/libc/string/strtok_r.c strtok_r(s, delim, lasts) s 37 usr/lib/libc/string/strtok_r.c char *s; s 45 usr/lib/libc/string/strtok_r.c if (s == NULL && (s = *lasts) == NULL) s 52 usr/lib/libc/string/strtok_r.c c = *s++; s 62 usr/lib/libc/string/strtok_r.c tok = s - 1; s 69 usr/lib/libc/string/strtok_r.c c = *s++; s 74 usr/lib/libc/string/strtok_r.c s = NULL; s 76 usr/lib/libc/string/strtok_r.c s[-1] = 0; s 77 usr/lib/libc/string/strtok_r.c *lasts = s; s 40 usr/lib/libc/termios/tcgetpgrp.c int s; s 42 usr/lib/libc/termios/tcgetpgrp.c if (ioctl(fd, TIOCGPGRP, &s) < 0) s 44 usr/lib/libc/termios/tcgetpgrp.c return ((pid_t)s); s 40 usr/lib/libc/termios/tcsetpgrp.c int s; s 42 usr/lib/libc/termios/tcsetpgrp.c s = pgrp; s 43 usr/lib/libc/termios/tcsetpgrp.c return (ioctl(fd, TIOCSPGRP, &s)); s 59 usr/lib/libc/time/strftime.c strftime(s, maxsize, format, t) s 60 usr/lib/libc/time/strftime.c char *s; s 66 usr/lib/libc/time/strftime.c pt = s; s 250 usr/lib/libc/time/strftime.c time_t s; s 256 usr/lib/libc/time/strftime.c s = mktime(&tmp); s 257 usr/lib/libc/time/strftime.c for (p = buf + sizeof(buf) - 2; s > 0 && p > buf; s /= 10) s 258 usr/lib/libc/time/strftime.c *p-- = s % 10 + '0'; s 38 usr/lib/libsa/puts.c puts(const char *s) s 40 usr/lib/libsa/puts.c __console_write((char *)s, strlen((char *)s) + 1); s 65 usr/lib/libsa/vsprintf.c atoi(const char **s) s 68 usr/lib/libsa/vsprintf.c while (isdigit((int)**s)) s 69 usr/lib/libsa/vsprintf.c i = i * 10 + *((*s)++) - '0'; s 64 usr/sample/tetris/screen.c #define putstr(s) printf("%s", s) s 215 usr/sample/tetris/screen.c scr_msg(char *s, int set) s 218 usr/sample/tetris/screen.c int l = (int)strlen(s); s 222 usr/sample/tetris/screen.c putstr(s); s 40 usr/sample/thread/thread.c #define thr_printf(s) sys_log(s) s 42 usr/sample/thread/thread.c #define thr_printf(s) s 49 usr/server/fs/arfs/arfs.h #define malloc(s) malloc_r(s) s 49 usr/server/fs/devfs/devfs.h #define malloc(s) malloc_r(s) s 54 usr/server/fs/fatfs/fatfs.h #define malloc(s) malloc_r(s) s 49 usr/server/fs/fifofs/fifo.h #define malloc(s) malloc_r(s) s 48 usr/server/fs/ramfs/ramfs.h #define malloc(s) malloc_r(s) s 68 usr/server/fs/vfs/vfs.h #define malloc(s) malloc_r(s)