size_t 139 bsp/boot/common/elf.c m->textsz = (size_t)phdr->p_memsz; size_t 143 bsp/boot/common/elf.c m->datasz = (size_t)phdr->p_filesz; size_t 145 bsp/boot/common/elf.c (size_t)(phdr->p_memsz - phdr->p_filesz); size_t 150 bsp/boot/common/elf.c (size_t)phdr->p_filesz); size_t 168 bsp/boot/common/elf.c m->size = (size_t)(load_base - m->phys); size_t 320 bsp/boot/common/elf.c (size_t)shdr->sh_size); size_t 327 bsp/boot/common/elf.c m->bsssz = (size_t)shdr->sh_size; size_t 332 bsp/boot/common/elf.c memset((char *)bss_base, 0, (size_t)shdr->sh_size); size_t 350 bsp/boot/common/elf.c m->textsz = (size_t)(m->data - m->text); size_t 351 bsp/boot/common/elf.c m->datasz = (size_t)((char *)ptokv(bss_base) - m->data); size_t 357 bsp/boot/common/elf.c m->size = (size_t)(load_base - kvtop(m->text)); size_t 141 bsp/boot/common/load.c bi->ram[i].size = (size_t)(load_base - load_start); size_t 182 bsp/boot/common/load.c size_t size; size_t 191 bsp/boot/common/load.c size = (size_t)atol((char *)&hdr->ar_size); size_t 59 bsp/boot/common/string.c size_t size_t 60 bsp/boot/common/string.c strlcpy(char *dest, const char *src, size_t count) size_t 64 bsp/boot/common/string.c size_t n = count; size_t 82 bsp/boot/common/string.c return (size_t)(s - src - 1); /* count does not include NUL */ size_t 86 bsp/boot/common/string.c strncmp(const char *src, const char *tgt, size_t count) size_t 99 bsp/boot/common/string.c memcpy(void *dest, const void *src, size_t count) size_t 109 bsp/boot/common/string.c memset(void *dest, int ch, size_t count) size_t 64 bsp/boot/include/boot.h size_t strlcpy(char *, const char *, size_t); size_t 65 bsp/boot/include/boot.h int strncmp(const char *, const char *, size_t); size_t 66 bsp/boot/include/boot.h size_t strlcpy(char *, const char *, size_t); size_t 67 bsp/boot/include/boot.h size_t strnlen(const char *, size_t); size_t 68 bsp/boot/include/boot.h void *memcpy(void *, const void *, size_t); size_t 69 bsp/boot/include/boot.h void *memset(void *, int, size_t); size_t 65 bsp/boot/x86/pc/startup.c bi->ram[0].size = (size_t)((1024 + hi_mem) * 1024); size_t 74 bsp/boot/x86/pc/startup.c bi->ram[1].size = (size_t)((1024 - lo_mem) * 1024); size_t 40 bsp/drv/dev/base/cons.c static int cons_read(device_t, char *, size_t *, int); size_t 41 bsp/drv/dev/base/cons.c static int cons_write(device_t, char *, size_t *, int); size_t 90 bsp/drv/dev/base/cons.c cons_read(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 99 bsp/drv/dev/base/cons.c cons_write(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 486 bsp/drv/dev/base/kd.c if ((kp = kmem_map((void *)addr, (size_t)len)) == NULL) size_t 564 bsp/drv/dev/base/kd.c if ((kp = kmem_map((void *)addr, (size_t)size)) == NULL) size_t 453 bsp/drv/dev/base/tty.c tty_read(struct tty *tp, char *buf, size_t *nbyte) size_t 459 bsp/drv/dev/base/tty.c size_t count = 0; size_t 497 bsp/drv/dev/base/tty.c tty_write(struct tty *tp, char *buf, size_t *nbyte) size_t 499 bsp/drv/dev/base/tty.c size_t remain, count = 0; size_t 72 bsp/drv/dev/base/wscons.c static int wscons_read(device_t, char *, size_t *, int); size_t 73 bsp/drv/dev/base/wscons.c static int wscons_write(device_t, char *, size_t *, int); size_t 117 bsp/drv/dev/base/wscons.c wscons_read(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 125 bsp/drv/dev/base/wscons.c wscons_write(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 119 bsp/drv/dev/block/fdd.c static int fdd_read(device_t, char *, size_t *, int); size_t 120 bsp/drv/dev/block/fdd.c static int fdd_write(device_t, char *, size_t *, int); size_t 558 bsp/drv/dev/block/fdd.c fdd_read(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 614 bsp/drv/dev/block/fdd.c fdd_write(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 50 bsp/drv/dev/block/ramdisk.c size_t size; /* image size */ size_t 53 bsp/drv/dev/block/ramdisk.c static int ramdisk_read(device_t, char *, size_t *, int); size_t 54 bsp/drv/dev/block/ramdisk.c static int ramdisk_write(device_t, char *, size_t *, int); size_t 78 bsp/drv/dev/block/ramdisk.c ramdisk_read(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 83 bsp/drv/dev/block/ramdisk.c size_t nr_read; size_t 109 bsp/drv/dev/block/ramdisk.c ramdisk_write(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 114 bsp/drv/dev/block/ramdisk.c size_t nr_write; size_t 169 bsp/drv/dev/block/ramdisk.c sc->size = (size_t)phys->size; size_t 452 bsp/drv/dev/cpufreq/est.c size_t len; size_t 250 bsp/drv/dev/dma/i8237.c dma_alloc(size_t size) size_t 263 bsp/drv/dev/dma/i8237.c tmp = page_alloc((size_t)(DMA_MAX + size)); size_t 268 bsp/drv/dev/dma/i8237.c page_free(tmp, (size_t)(DMA_MAX + size)); size_t 68 bsp/drv/dev/input/psaux.c static int psaux_read(device_t, char *, size_t *, int); size_t 194 bsp/drv/dev/input/psaux.c psaux_read(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 36 bsp/drv/dev/misc/null.c static int null_read(device_t, char *, size_t *, int); size_t 37 bsp/drv/dev/misc/null.c static int null_write(device_t, char *, size_t *, int); size_t 63 bsp/drv/dev/misc/null.c null_read(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 74 bsp/drv/dev/misc/null.c null_write(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 36 bsp/drv/dev/misc/random.c static int random_read(device_t, char *, size_t *, int); size_t 59 bsp/drv/dev/misc/random.c random_read(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 36 bsp/drv/dev/misc/zero.c static int zero_read(device_t, char *, size_t *, int); size_t 37 bsp/drv/dev/misc/zero.c static int zero_write(device_t, char *, size_t *, int); size_t 63 bsp/drv/dev/misc/zero.c zero_read(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 79 bsp/drv/dev/misc/zero.c zero_write(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 57 bsp/drv/dev/serial/serial.c static int serial_read(device_t, char *, size_t *, int); size_t 58 bsp/drv/dev/serial/serial.c static int serial_write(device_t, char *, size_t *, int); size_t 95 bsp/drv/dev/serial/serial.c serial_read(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 103 bsp/drv/dev/serial/serial.c serial_write(device_t dev, char *buf, size_t *nbyte, int blkno) size_t 165 bsp/drv/dev/video/vga.c (size_t)nrows * sc->cols * 2); size_t 87 bsp/drv/include/ddi.h void *dma_alloc(size_t size); size_t 90 bsp/drv/include/ddi.h char *strncpy(char *dest, const char *src, size_t count); size_t 91 bsp/drv/include/ddi.h int strncmp(const char *src, const char *tgt, size_t count); size_t 92 bsp/drv/include/ddi.h size_t strlcpy(char *dest, const char *src, size_t count); size_t 93 bsp/drv/include/ddi.h size_t strnlen(const char *str, size_t max); size_t 94 bsp/drv/include/ddi.h void *memcpy(void *dest, const void *src, size_t count); size_t 95 bsp/drv/include/ddi.h void *memset(void *dest, int ch, size_t count); size_t 114 bsp/drv/include/dki.h int copyin(const void *, void *, size_t); size_t 115 bsp/drv/include/dki.h int copyout(const void *, void *, size_t); size_t 116 bsp/drv/include/dki.h int copyinstr(const void *, void *, size_t); size_t 118 bsp/drv/include/dki.h void *kmem_alloc(size_t); size_t 120 bsp/drv/include/dki.h void *kmem_map(void *, size_t); size_t 91 bsp/drv/include/tty.h int tty_read(struct tty *, char *, size_t *); size_t 92 bsp/drv/include/tty.h int tty_write(struct tty *, char *, size_t *); size_t 52 bsp/drv/lib/string.c size_t size_t 53 bsp/drv/lib/string.c strnlen(const char *str, size_t count) size_t 58 bsp/drv/lib/string.c return (size_t)(tmp - str); size_t 62 bsp/drv/lib/string.c strncpy(char *dest, const char *src, size_t count) size_t 71 bsp/drv/lib/string.c strncmp(const char *src, const char *tgt, size_t count) size_t 84 bsp/drv/lib/string.c size_t size_t 85 bsp/drv/lib/string.c strlcpy(char *dest, const char *src, size_t count) size_t 95 bsp/drv/lib/string.c return (size_t)(src - p - 1); /* count does not include NULL */ size_t 99 bsp/drv/lib/string.c memcpy(void *dest, const void *src, size_t count) size_t 111 bsp/drv/lib/string.c memset(void *dest, int ch, size_t count) size_t 67 bsp/hal/arm/arch/mmu.c size_t gap; size_t 77 bsp/hal/arm/arch/mmu.c gap = (size_t)(pgd - pg); size_t 80 bsp/hal/arm/arch/mmu.c page_free((paddr_t)(pgd + L1TBL_SIZE), (size_t)(L1TBL_SIZE - gap)); size_t 111 bsp/hal/arm/arch/mmu.c mmu_map(pgd_t pgd, paddr_t pa, vaddr_t va, size_t size, int type) size_t 199 bsp/hal/arm/arch/mmu.c memcpy(&pgd[i], &boot_pgd[i], (size_t)(L1TBL_SIZE - i * 4)); size_t 250 bsp/hal/arm/arch/mmu.c mmu_extract(pgd_t pgd, vaddr_t virt, size_t size) size_t 74 bsp/hal/ppc/arch/cpu.c copyin(const void *uaddr, void *kaddr, size_t len) size_t 85 bsp/hal/ppc/arch/cpu.c copyout(const void *kaddr, void *uaddr, size_t len) size_t 96 bsp/hal/ppc/arch/cpu.c copyinstr(const void *uaddr, void *kaddr, size_t len) size_t 94 bsp/hal/x86/arch/cpu.c gdt_set(int vec, void *base, size_t limit, int type, u_int size) size_t 82 bsp/hal/x86/arch/mmu.c mmu_map(pgd_t pgd, paddr_t pa, vaddr_t va, size_t size, int type) size_t 172 bsp/hal/x86/arch/mmu.c memcpy(&pgd[i], &boot_pgd[i], (size_t)(1024 - i)); size_t 220 bsp/hal/x86/arch/mmu.c mmu_extract(pgd_t pgd, vaddr_t va, size_t size) size_t 278 bsp/hal/x86/arch/mmu.c (size_t)map->size, map_type)) size_t 56 bsp/hal/x86/pc/diag.c memcpy(vram, vram + screen_x, (size_t)(screen_x * (screen_y - 1) * 2)); size_t 52 include/ipc/exec.h size_t bufsz; /* size of buffer */ size_t 115 include/ipc/fs.h size_t size; /* read/write size */ size_t 63 include/sys/bootinfo.h size_t size; /* size of image */ size_t 67 include/sys/bootinfo.h size_t textsz; /* text size */ size_t 68 include/sys/bootinfo.h size_t datasz; /* data size */ size_t 69 include/sys/bootinfo.h size_t bsssz; /* bss size */ size_t 56 include/sys/device.h int (*read) (device_t, char *, size_t *, int); size_t 57 include/sys/device.h int (*write) (device_t, char *, size_t *, int); size_t 82 include/sys/device.h size_t devsz; /* size of private data */ size_t 40 include/sys/posix.h int __posix_call(object_t, void *, size_t, int); size_t 108 include/sys/prex.h int vm_allocate(task_t task, void **addr, size_t size, int anywhere); size_t 111 include/sys/prex.h int vm_map(task_t target, void *addr, size_t size, void **alloc); size_t 117 include/sys/prex.h int msg_send(object_t obj, void *msg, size_t size); size_t 118 include/sys/prex.h int msg_receive(object_t obj, void *msg, size_t size); size_t 119 include/sys/prex.h int msg_reply(object_t obj, void *msg, size_t size); size_t 128 include/sys/prex.h int device_read(device_t dev, void *buf, size_t *nbyte, int blkno); size_t 129 include/sys/prex.h int device_write(device_t dev, void *buf, size_t *nbyte, int blkno); size_t 106 include/sys/sysinfo.h size_t vmsize; /* used memory size */ size_t 119 include/sys/sysinfo.h size_t size; /* size */ size_t 71 include/sys/vnode.h size_t v_size; /* file size */ size_t 106 include/sys/vnode.h int (*vop_read) (vnode_t, file_t, void *, size_t, size_t *); size_t 107 include/sys/vnode.h int (*vop_write) (vnode_t, file_t, void *, size_t, size_t *); size_t 53 sys/include/device.h int device_read(device_t, void *, size_t *, int); size_t 54 sys/include/device.h int device_write(device_t, void *, size_t *, int); size_t 110 sys/include/hal.h int mmu_map(pgd_t, paddr_t, vaddr_t, size_t, int); size_t 112 sys/include/hal.h paddr_t mmu_extract(pgd_t, vaddr_t, size_t); size_t 114 sys/include/hal.h int copyin(const void *, void *, size_t); size_t 115 sys/include/hal.h int copyout(const void *, void *, size_t); size_t 116 sys/include/hal.h int copyinstr(const void *, void *, size_t); size_t 56 sys/include/ipc.h int msg_send(object_t, void *, size_t); size_t 57 sys/include/ipc.h int msg_receive(object_t, void *, size_t); size_t 58 sys/include/ipc.h int msg_reply(object_t, void *, size_t); size_t 37 sys/include/kmem.h void *kmem_alloc(size_t); size_t 39 sys/include/kmem.h void *kmem_map(void *, size_t); size_t 38 sys/include/libkern.h size_t strlcpy(char *, const char *, size_t); size_t 39 sys/include/libkern.h int strncmp(const char *, const char *, size_t); size_t 40 sys/include/libkern.h size_t strnlen(const char *, size_t); size_t 41 sys/include/libkern.h void *memcpy(void *, const void *, size_t); size_t 42 sys/include/libkern.h void *memset(void *, int, size_t); size_t 68 sys/include/thread.h size_t msgsize; /* size of IPC message */ size_t 47 sys/include/vm.h size_t size; /* size */ size_t 73 sys/include/vm.h size_t total; /* total used size */ size_t 77 sys/include/vm.h int vm_allocate(task_t, void **, size_t, int); size_t 80 sys/include/vm.h int vm_map(task_t, void *, size_t, void **); size_t 87 sys/include/vm.h paddr_t vm_translate(vaddr_t, size_t); size_t 81 sys/ipc/msg.c msg_send(object_t obj, void *msg, size_t size) size_t 188 sys/ipc/msg.c msg_receive(object_t obj, void *msg, size_t size) size_t 191 sys/ipc/msg.c size_t len; size_t 288 sys/ipc/msg.c msg_reply(object_t obj, void *msg, size_t size) size_t 291 sys/ipc/msg.c size_t len; size_t 162 sys/kern/debug.c size_t size; size_t 133 sys/kern/device.c size_t len; size_t 362 sys/kern/device.c device_read(device_t dev, void *buf, size_t *nbyte, int blkno) size_t 365 sys/kern/device.c size_t count; size_t 395 sys/kern/device.c device_write(device_t dev, void *buf, size_t *nbyte, int blkno) size_t 398 sys/kern/device.c size_t count; size_t 102 sys/kern/system.c size_t bufsz = 0; size_t 40 sys/lib/string.c size_t size_t 41 sys/lib/string.c strlcpy(char *dest, const char *src, size_t count) size_t 45 sys/lib/string.c size_t n = count; size_t 63 sys/lib/string.c return (size_t)(s - src - 1); /* count does not include NUL */ size_t 67 sys/lib/string.c strncmp(const char *src, const char *tgt, size_t count) size_t 80 sys/lib/string.c size_t size_t 81 sys/lib/string.c strnlen(const char *str, size_t count) size_t 86 sys/lib/string.c return (size_t)(tmp - str); size_t 90 sys/lib/string.c memcpy(void *dest, const void *src, size_t count) size_t 103 sys/lib/string.c memset(void *dest, int ch, size_t count) size_t 90 sys/mem/kmem.c #define ALLOC_SIZE(n) (size_t) \ size_t 101 sys/mem/kmem.c #define MAX_ALLOC_SIZE (size_t)(PAGE_SIZE - PGHDR_SIZE) size_t 150 sys/mem/kmem.c block_find(size_t size) size_t 175 sys/mem/kmem.c kmem_alloc(size_t size) size_t 314 sys/mem/kmem.c kmem_map(void *addr, size_t size) size_t 58 sys/mem/vm.c static struct seg *seg_create(struct seg *, vaddr_t, size_t); size_t 60 sys/mem/vm.c static struct seg *seg_lookup(struct seg *, vaddr_t, size_t); size_t 61 sys/mem/vm.c static struct seg *seg_alloc(struct seg *, size_t); size_t 63 sys/mem/vm.c static struct seg *seg_reserve(struct seg *, vaddr_t, size_t); size_t 64 sys/mem/vm.c static int do_allocate(vm_map_t, void **, size_t, int); size_t 67 sys/mem/vm.c static int do_map(vm_map_t, void *, size_t, void **); size_t 85 sys/mem/vm.c vm_allocate(task_t task, void **addr, size_t size, int anywhere) size_t 119 sys/mem/vm.c do_allocate(vm_map_t map, void **addr, size_t size, int anywhere) size_t 140 sys/mem/vm.c size = (size_t)(end - start); size_t 357 sys/mem/vm.c vm_map(task_t target, void *addr, size_t size, void **alloc) size_t 386 sys/mem/vm.c do_map(vm_map_t map, void *addr, size_t size, void **alloc) size_t 392 sys/mem/vm.c size_t offset; size_t 408 sys/mem/vm.c size = (size_t)(end - start); size_t 409 sys/mem/vm.c offset = (size_t)((vaddr_t)addr - start); size_t 733 sys/mem/vm.c vm_translate(vaddr_t addr, size_t size) size_t 810 sys/mem/vm.c seg_create(struct seg *prev, vaddr_t addr, size_t size) size_t 855 sys/mem/vm.c seg_lookup(struct seg *head, vaddr_t addr, size_t size) size_t 874 sys/mem/vm.c seg_alloc(struct seg *head, size_t size) size_t 945 sys/mem/vm.c seg_reserve(struct seg *head, vaddr_t addr, size_t size) size_t 948 sys/mem/vm.c size_t diff; size_t 963 sys/mem/vm.c diff = (size_t)(addr - seg->addr); size_t 52 sys/mem/vm_nommu.c static struct seg *seg_create(struct seg *, vaddr_t, size_t); size_t 54 sys/mem/vm_nommu.c static struct seg *seg_lookup(struct seg *, vaddr_t, size_t); size_t 55 sys/mem/vm_nommu.c static struct seg *seg_alloc(struct seg *, size_t); size_t 57 sys/mem/vm_nommu.c static struct seg *seg_reserve(struct seg *, vaddr_t, size_t); size_t 58 sys/mem/vm_nommu.c static int do_allocate(vm_map_t, void **, size_t, int); size_t 61 sys/mem/vm_nommu.c static int do_map(vm_map_t, void *, size_t, void **); size_t 78 sys/mem/vm_nommu.c vm_allocate(task_t task, void **addr, size_t size, int anywhere) size_t 112 sys/mem/vm_nommu.c do_allocate(vm_map_t map, void **addr, size_t size, int anywhere) size_t 133 sys/mem/vm_nommu.c size = (size_t)(end - start); size_t 291 sys/mem/vm_nommu.c vm_map(task_t target, void *addr, size_t size, void **alloc) size_t 320 sys/mem/vm_nommu.c do_map(vm_map_t map, void *addr, size_t size, void **alloc) size_t 339 sys/mem/vm_nommu.c size = (size_t)(end - start); size_t 458 sys/mem/vm_nommu.c size_t size; size_t 472 sys/mem/vm_nommu.c size = (size_t)(end - start); size_t 493 sys/mem/vm_nommu.c vm_translate(vaddr_t addr, size_t size) size_t 560 sys/mem/vm_nommu.c seg_create(struct seg *prev, vaddr_t addr, size_t size) size_t 605 sys/mem/vm_nommu.c seg_lookup(struct seg *head, vaddr_t addr, size_t size) size_t 624 sys/mem/vm_nommu.c seg_alloc(struct seg *head, size_t size) size_t 666 sys/mem/vm_nommu.c seg_reserve(struct seg *head, vaddr_t addr, size_t size) size_t 106 usr/bin/cat/cat.c if ((nw = write(wfd, stdbuf + off, (size_t)nr)) < 0) size_t 160 usr/bin/cp/cp.c if (write(fnew, iobuf, (size_t)n) != n) { size_t 43 usr/bin/dmesg/dmesg.c size_t size; size_t 54 usr/bin/printenv/printenv.c size_t len; size_t 53 usr/include/stddef.h #define offsetof(type, member) ((size_t)(&((type *)0)->member)) size_t 191 usr/include/stdio.h char *fgets(char *, size_t, FILE *); size_t 196 usr/include/stdio.h size_t fread(void *, size_t, size_t, FILE *); size_t 202 usr/include/stdio.h size_t fwrite(const void *, size_t, size_t, FILE *); size_t 220 usr/include/stdio.h int setvbuf(FILE *, char *, int, size_t); size_t 258 usr/include/stdio.h int snprintf(char *, size_t, const char *, ...); size_t 259 usr/include/stdio.h int vsnprintf(char *, size_t, const char *, va_list); size_t 76 usr/include/stdlib.h void *bsearch(const void *, const void *, size_t, size_t 77 usr/include/stdlib.h size_t, int (*)(const void *, const void *)); size_t 78 usr/include/stdlib.h void *calloc(size_t, size_t); size_t 86 usr/include/stdlib.h void *malloc(size_t); size_t 87 usr/include/stdlib.h void qsort(void *, size_t, size_t, size_t 90 usr/include/stdlib.h void *realloc(void *, size_t); size_t 99 usr/include/stdlib.h int mblen(const char *, size_t); size_t 100 usr/include/stdlib.h size_t mbstowcs(wchar_t *, const char *, size_t); size_t 102 usr/include/stdlib.h int mbtowc(wchar_t *, const char *, size_t); size_t 103 usr/include/stdlib.h size_t wcstombs(char *, const wchar_t *, size_t); size_t 131 usr/include/stdlib.h int heapsort(void *, size_t, size_t, size_t 134 usr/include/stdlib.h int mergesort(void *, size_t, size_t, size_t 154 usr/include/stdlib.h void *malloc_r(size_t); size_t 47 usr/include/string.h void *memchr(const void *, int, size_t); size_t 48 usr/include/string.h int memcmp(const void *, const void *, size_t); size_t 49 usr/include/string.h void *memcpy(void *, const void *, size_t); size_t 50 usr/include/string.h void *memmove(void *, const void *, size_t); size_t 51 usr/include/string.h void *memset(void *, int, size_t); size_t 57 usr/include/string.h size_t strcspn(const char *, const char *); size_t 59 usr/include/string.h size_t strlen(const char *); size_t 60 usr/include/string.h char *strncat(char *, const char *, size_t); size_t 61 usr/include/string.h int strncmp(const char *, const char *, size_t); size_t 62 usr/include/string.h char *strncpy(char *, const char *, size_t); size_t 65 usr/include/string.h size_t strspn(const char *, const char *); size_t 69 usr/include/string.h size_t strxfrm(char *, const char *, size_t); size_t 73 usr/include/string.h int bcmp(const void *, const void *, size_t); size_t 74 usr/include/string.h void bcopy(const void *, void *, size_t); size_t 75 usr/include/string.h void bzero(void *, size_t); size_t 78 usr/include/string.h void *memccpy(void *, const void *, int, size_t); size_t 82 usr/include/string.h int strncasecmp(const char *, const char *, size_t); size_t 84 usr/include/string.h void swab(const void *, void *, size_t); size_t 87 usr/include/string.h size_t strlcat(char *, const char *, size_t); size_t 88 usr/include/string.h size_t strlcpy(char *, const char *, size_t); size_t 87 usr/include/time.h size_t strftime(char *, size_t, const char *, const struct tm *); size_t 52 usr/include/unistd.h size_t confstr(int, char *, size_t); size_t 65 usr/include/unistd.h char *getcwd(char *, size_t); size_t 81 usr/include/unistd.h ssize_t read(int, void *, size_t); size_t 93 usr/include/unistd.h ssize_t write(int, const void *, size_t); size_t 114 usr/include/unistd.h int gethostname(char *, size_t); size_t 140 usr/include/unistd.h int sethostname(const char *, size_t); size_t 26 usr/lib/libc/gen/basename.c size_t len; size_t 36 usr/lib/libc/gen/confstr.c size_t size_t 40 usr/lib/libc/gen/confstr.c size_t len; size_t 26 usr/lib/libc/gen/dirname.c size_t len; size_t 47 usr/lib/libc/gen/execvp.c size_t lp, ln = 0; size_t 45 usr/lib/libc/gen/fts.c static size_t fts_maxarglen(char * const *); size_t 47 usr/lib/libc/gen/fts.c static int fts_palloc(FTS *, size_t); size_t 647 usr/lib/libc/gen/fts.c if (fts_palloc(sp, (size_t)dp->d_namlen)) { size_t 860 usr/lib/libc/gen/fts.c (size_t)(sp->fts_nitems * sizeof(FTSENT *)))) == NULL) { size_t 880 usr/lib/libc/gen/fts.c size_t len; size_t 930 usr/lib/libc/gen/fts.c fts_palloc(FTS *sp, size_t more) size_t 933 usr/lib/libc/gen/fts.c sp->fts_path = realloc(sp->fts_path, (size_t)sp->fts_pathlen); size_t 962 usr/lib/libc/gen/fts.c static size_t size_t 965 usr/lib/libc/gen/fts.c size_t len, max; size_t 35 usr/lib/libc/gen/gethostname.c gethostname(char *name, size_t namelen) size_t 33 usr/lib/libc/gen/sethostname.c sethostname(const char *name, size_t namelen) size_t 45 usr/lib/libc/stdio/fgets.c size_t n; size_t 37 usr/lib/libc/stdio/fread.c size_t size_t 40 usr/lib/libc/stdio/fread.c size_t size, count; size_t 43 usr/lib/libc/stdio/fread.c size_t resid; size_t 46 usr/lib/libc/stdio/fread.c size_t total; size_t 59 usr/lib/libc/stdio/fread.c while (resid > (size_t)(r = fp->_r)) { size_t 60 usr/lib/libc/stdio/fread.c (void)memcpy((void *)p, (void *)fp->_p, (size_t)r); size_t 49 usr/lib/libc/stdio/fvwrite.c size_t len; size_t 63 usr/lib/libc/stdio/fvwrite.c #define COPY(n) (void)memcpy((void *)fp->_p, (void *)p, (size_t)(n)) size_t 40 usr/lib/libc/stdio/fvwrite.h size_t iov_len; size_t 40 usr/lib/libc/stdio/fwrite.c size_t size_t 43 usr/lib/libc/stdio/fwrite.c size_t size, count; size_t 47 usr/lib/libc/stdio/fwrite.c size_t len = count * size; size_t 48 usr/lib/libc/stdio/fwrite.c size_t n = 0; size_t 44 usr/lib/libc/stdio/makebuf.c __swhatbuf(FILE *fp, size_t *bufsize, int *couldbetty) size_t 71 usr/lib/libc/stdio/makebuf.c size_t size; size_t 53 usr/lib/libc/stdio/setbuffer.c return (setvbuf(fp, (char *)NULL, _IOLBF, (size_t)0)); size_t 46 usr/lib/libc/stdio/setvbuf.c size_t size; size_t 37 usr/lib/libc/stdio/snprintf.c snprintf(char *str, size_t n, char const *fmt, ...) size_t 45 usr/lib/libc/stdio/tempnam.c if (!(name = malloc((size_t)MAXPATHLEN))) size_t 52 usr/lib/libc/stdio/tempnam.c (void)snprintf(name, (size_t)MAXPATHLEN, "%s%s%sXXXXXXXXXX", f, size_t 59 usr/lib/libc/stdio/tempnam.c (void)snprintf(name, (size_t)MAXPATHLEN, "%s%s%sXXXXXXXXXX", f, size_t 66 usr/lib/libc/stdio/tempnam.c (void)snprintf(name, (size_t)MAXPATHLEN, "%s%sXXXXXXXXXX", f, pfx); size_t 71 usr/lib/libc/stdio/tempnam.c (void)snprintf(name, (size_t)MAXPATHLEN, "%s%sXXXXXXXXXX", f, pfx); size_t 90 usr/lib/libc/stdio/vfscanf.c size_t width; /* field width, or 0 */ size_t 293 usr/lib/libc/stdio/vfscanf.c size_t sum = 0; size_t 295 usr/lib/libc/stdio/vfscanf.c if ((size_t)(n = fp->_r) < width) { size_t 313 usr/lib/libc/stdio/vfscanf.c size_t r = fread((void *)va_arg(ap, char *), 1, size_t 38 usr/lib/libc/stdio/vsnprintf.c size_t n; size_t 35 usr/lib/libc/stdlib/calloc.c size_t num; size_t 36 usr/lib/libc/stdlib/calloc.c size_t size; size_t 65 usr/lib/libc/stdlib/getenv.c size_t len; size_t 39 usr/lib/libc/stdlib/qsort.c static __inline void swapfunc(char *, char *, size_t, int); size_t 47 usr/lib/libc/stdlib/qsort.c size_t i = (n) / sizeof (TYPE); \ size_t 63 usr/lib/libc/stdlib/qsort.c size_t n; size_t 80 usr/lib/libc/stdlib/qsort.c #define vecswap(a, b, n) if ((n) > 0) swapfunc((a), (b), (size_t)(n), swaptype) size_t 95 usr/lib/libc/stdlib/qsort.c size_t n, es; size_t 70 usr/lib/libc/stdlib/setenv.c (size_t)(sizeof(char *) * (cnt + 2))); size_t 76 usr/lib/libc/stdlib/setenv.c p = malloc((size_t)(sizeof(char *) * (cnt + 2))); size_t 87 usr/lib/libc/stdlib/setenv.c malloc((size_t)((int)(c - name) + l_value + 2)))) size_t 38 usr/lib/libc/string/bcmp.c size_t length; size_t 55 usr/lib/libc/string/bcopy.c size_t length; size_t 38 usr/lib/libc/string/memccpy.c size_t n; size_t 40 usr/lib/libc/string/memchr.c size_t n; size_t 42 usr/lib/libc/string/memcmp.c size_t n; size_t 45 usr/lib/libc/string/memset.c size_t length; size_t 54 usr/lib/libc/string/memset.c size_t length; size_t 52 usr/lib/libc/string/strcasecmp.c size_t n; size_t 39 usr/lib/libc/string/strcspn.c size_t size_t 40 usr/lib/libc/string/strdup.c size_t len; size_t 29 usr/lib/libc/string/strlcat.c size_t size_t 30 usr/lib/libc/string/strlcat.c strlcat(char *dst, const char *src, size_t siz) size_t 34 usr/lib/libc/string/strlcat.c size_t n = siz; size_t 35 usr/lib/libc/string/strlcat.c size_t dlen; size_t 27 usr/lib/libc/string/strlcpy.c size_t size_t 28 usr/lib/libc/string/strlcpy.c strlcpy(char *dst, const char *src, size_t siz) size_t 32 usr/lib/libc/string/strlcpy.c size_t n = siz; size_t 33 usr/lib/libc/string/strlen.c size_t size_t 44 usr/lib/libc/string/strncat.c size_t n; size_t 36 usr/lib/libc/string/strncmp.c size_t n; size_t 44 usr/lib/libc/string/strncpy.c size_t n; size_t 36 usr/lib/libc/string/strspn.c size_t size_t 44 usr/lib/libc/string/strstr.c size_t len; size_t 41 usr/lib/libc/string/strxfrm.c size_t size_t 45 usr/lib/libc/string/strxfrm.c size_t n; size_t 47 usr/lib/libc/string/strxfrm.c size_t srclen, copysize; size_t 36 usr/lib/libc/string/swab.c swab(const void *from, void *to, size_t len) size_t 51 usr/lib/libc/time/strftime.c static size_t gsize; size_t 56 usr/lib/libc/time/strftime.c static size_t _fmt(const char *, const struct tm *); size_t 58 usr/lib/libc/time/strftime.c size_t size_t 61 usr/lib/libc/time/strftime.c size_t maxsize; size_t 76 usr/lib/libc/time/strftime.c static size_t size_t 34 usr/lib/libsa/_stdio.c void __console_write(char *, size_t); size_t 61 usr/lib/libsa/_stdio.c __console_write(char *buf, size_t len) size_t 74 usr/lib/libsa/_stdio.c size_t len = 1; size_t 35 usr/lib/libsa/printf.c extern void __console_write(char *buf, size_t len); size_t 49 usr/lib/libsa/printf.c __console_write((char *)buf, (size_t)len); size_t 33 usr/lib/libsa/putchar.c extern void __console_write(char *buf, size_t len); size_t 34 usr/lib/libsa/puts.c extern void __console_write(char *buf, size_t len); size_t 55 usr/lib/posix/exec/execve.c size_t bufsz; size_t 39 usr/lib/posix/file/getcwd.c getcwd(char *buf, size_t size) size_t 45 usr/lib/posix/file/ioctl.c size_t size; size_t 38 usr/lib/posix/file/read.c read(int fd, void *buf, size_t len) size_t 37 usr/lib/posix/file/write.c write(int fd, void *buf, size_t len) size_t 43 usr/lib/posix/gen/__posix_call.c __posix_call(object_t obj, void *msg, size_t size, int restart) size_t 43 usr/lib/prex/malloc/malloc.c static struct header *more_core(size_t size); size_t 52 usr/lib/prex/malloc/malloc.c malloc(size_t size) size_t 105 usr/lib/prex/malloc/malloc.c static struct header *more_core(size_t size) size_t 51 usr/lib/prex/malloc/malloc.h size_t size; size_t 52 usr/lib/prex/malloc/malloc.h size_t vm_size; size_t 41 usr/lib/prex/malloc/malloc_r.c malloc_r(size_t size) size_t 35 usr/lib/prex/malloc/realloc.c realloc(void *addr, size_t size) size_t 38 usr/lib/prex/malloc/realloc.c size_t old_size; size_t 138 usr/sbin/install/install.c if (write(fnew, iobuf, (size_t)n) != n) { size_t 185 usr/server/boot/boot.c size_t bufsz; size_t 255 usr/server/boot/boot.c if (write(fnew, iobuf, (size_t)n) != n) { size_t 63 usr/server/exec/exec_elf.c size_t size = 0; size_t 200 usr/server/exec/exec_elf.c size_t shdr_size, total_size; size_t 236 usr/server/exec/exec_execve.c size_t len = 0; size_t 73 usr/server/fs/arfs/arfs_vfsops.c size_t size; size_t 66 usr/server/fs/arfs/arfs_vnops.c static int arfs_read (vnode_t, file_t, void *, size_t, size_t *); size_t 149 usr/server/fs/arfs/arfs_vnops.c size_t size; size_t 174 usr/server/fs/arfs/arfs_vnops.c size = (size_t)atol((char *)&hdr->ar_size); size_t 206 usr/server/fs/arfs/arfs_vnops.c arfs_read(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result) size_t 210 usr/server/fs/arfs/arfs_vnops.c size_t nr_read, nr_copy; size_t 289 usr/server/fs/arfs/arfs_vnops.c size_t size; size_t 308 usr/server/fs/arfs/arfs_vnops.c size = (size_t)atol((char *)&hdr->ar_size); size_t 61 usr/server/fs/devfs/devfs_vnops.c static int devfs_read (vnode_t, file_t, void *, size_t, size_t *); size_t 62 usr/server/fs/devfs/devfs_vnops.c static int devfs_write (vnode_t, file_t, void *, size_t, size_t *); size_t 156 usr/server/fs/devfs/devfs_vnops.c devfs_read(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result) size_t 159 usr/server/fs/devfs/devfs_vnops.c size_t len; size_t 169 usr/server/fs/devfs/devfs_vnops.c devfs_write(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result) size_t 172 usr/server/fs/devfs/devfs_vnops.c size_t len; size_t 73 usr/server/fs/fatfs/fatfs_vfsops.c size_t size; size_t 56 usr/server/fs/fatfs/fatfs_vnops.c static int fatfs_read (vnode_t, file_t, void *, size_t, size_t *); size_t 57 usr/server/fs/fatfs/fatfs_vnops.c static int fatfs_write (vnode_t, file_t, void *, size_t, size_t *); size_t 104 usr/server/fs/fatfs/fatfs_vnops.c size_t size; size_t 118 usr/server/fs/fatfs/fatfs_vnops.c size_t size; size_t 165 usr/server/fs/fatfs/fatfs_vnops.c fatfs_read(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result) size_t 236 usr/server/fs/fatfs/fatfs_vnops.c fatfs_write(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result) size_t 76 usr/server/fs/fifofs/fifo_vnops.c static int fifo_read (vnode_t, file_t, void *, size_t, size_t *); size_t 77 usr/server/fs/fifofs/fifo_vnops.c static int fifo_write (vnode_t, file_t, void *, size_t, size_t *); size_t 219 usr/server/fs/fifofs/fifo_vnops.c fifo_read(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result) size_t 264 usr/server/fs/fifofs/fifo_vnops.c fifo_write(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result) size_t 355 usr/server/fs/fifofs/fifo_vnops.c size_t len; size_t 66 usr/server/fs/ramfs/ramfs.h size_t rn_namelen; /* length of name not including terminator */ size_t 67 usr/server/fs/ramfs/ramfs.h size_t rn_size; /* file size */ size_t 69 usr/server/fs/ramfs/ramfs.h size_t rn_bufsize; /* allocated buffer size */ size_t 52 usr/server/fs/ramfs/ramfs_vnops.c static int ramfs_read (vnode_t, file_t, void *, size_t, size_t *); size_t 53 usr/server/fs/ramfs/ramfs_vnops.c static int ramfs_write (vnode_t, file_t, void *, size_t, size_t *); size_t 183 usr/server/fs/ramfs/ramfs_vnops.c size_t len; size_t 207 usr/server/fs/ramfs/ramfs_vnops.c size_t len; size_t 286 usr/server/fs/ramfs/ramfs_vnops.c size_t new_size; size_t 334 usr/server/fs/ramfs/ramfs_vnops.c ramfs_read(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result) size_t 361 usr/server/fs/ramfs/ramfs_vnops.c ramfs_write(vnode_t vp, file_t fp, void *buf, size_t size, size_t *result) size_t 366 usr/server/fs/ramfs/ramfs_vnops.c size_t new_size; size_t 379 usr/server/fs/ramfs/ramfs_vnops.c if (file_pos + size > (size_t)end_pos) { size_t 218 usr/server/fs/vfs/main.c size_t size, bytes; size_t 238 usr/server/fs/vfs/main.c size_t size, bytes; size_t 96 usr/server/fs/vfs/vfs.h int sys_read(file_t fp, void *buf, size_t size, size_t *result); size_t 97 usr/server/fs/vfs/vfs.h int sys_write(file_t fp, void *buf, size_t size, size_t *result); size_t 229 usr/server/fs/vfs/vfs_bio.c size_t size; size_t 261 usr/server/fs/vfs/vfs_bio.c size_t size; size_t 284 usr/server/fs/vfs/vfs_mount.c static size_t size_t 287 usr/server/fs/vfs/vfs_mount.c size_t len = 0; size_t 316 usr/server/fs/vfs/vfs_mount.c size_t len, max_len = 0; size_t 114 usr/server/fs/vfs/vfs_security.c size_t len; /* length of directory name */ size_t 175 usr/server/fs/vfs/vfs_syscalls.c sys_read(file_t fp, void *buf, size_t size, size_t *count) size_t 197 usr/server/fs/vfs/vfs_syscalls.c sys_write(file_t fp, void *buf, size_t size, size_t *count) size_t 572 usr/server/fs/vfs/vfs_syscalls.c size_t len; size_t 227 usr/server/fs/vfs/vfs_task.c size_t len = 0; size_t 165 usr/server/fs/vfs/vfs_vnode.c size_t len; size_t 48 usr/test/attack/attack.c size_t size = (size_t)random(); size_t 41 usr/test/conf/conf.c char *pathbuf; size_t sz; size_t 45 usr/test/conf/conf.c sz = confstr(_CS_PATH,NULL,(size_t)0); size_t 43 usr/test/console/console.c size_t len; size_t 43 usr/test/fdd/fdd.c size_t size; size_t 92 usr/test/fdd/fdd.c size_t size; size_t 79 usr/test/fileio/fileio.c write(STDOUT_FILENO, iobuf, (size_t)rd); size_t 42 usr/test/kbd/kbd.c size_t len; size_t 49 usr/test/malloc/malloc.c p = malloc((size_t)buflen); size_t 45 usr/test/memleak/memleak.c size_t size; size_t 45 usr/test/ramdisk/ramdisk.c size_t size; size_t 94 usr/test/ramdisk/ramdisk.c size_t size; size_t 43 usr/test/time/time.c size_t len; size_t 55 usr/test/zero/zero.c size_t len;