Lines Matching refs:size_t

15 pub type size_t = usize;  typedef
26 pub type sighandler_t = size_t;
222 pub iov_len: size_t,
280 pub aio_nbytes: size_t,
452 pub gl_pathc: size_t,
454 pub gl_offs: size_t,
724 pub dlpi_tls_modid: size_t,
783 pub ss_size: size_t,
796 pub shm_segsz: size_t,
933 __ss_align: size_t,
1340 pub const IF_NAMESIZE: size_t = 16;
1341 pub const IFNAMSIZ: size_t = IF_NAMESIZE;
2803 pub const PTHREAD_STACK_MIN: size_t = 2048;
3312 if ((*cmsg).cmsg_len as size_t) < mem::size_of::<cmsghdr>() {
3322 if (*mhdr).msg_controllen as size_t >= mem::size_of::<cmsghdr>() {
3329 pub {const} fn CMSG_ALIGN(len: size_t) -> size_t {
3330 (len + mem::size_of::<size_t>() - 1) & !(mem::size_of::<size_t>() - 1)
3334 (CMSG_ALIGN(len as size_t) + CMSG_ALIGN(mem::size_of::<cmsghdr>())) as c_uint
3338 (CMSG_ALIGN(mem::size_of::<cmsghdr>()) + len as size_t) as c_uint
3406 ((unsafe { (*cmsg).cmsg_len as size_t } + mem::size_of::<c_long>() - 1) in __CMSG_LEN()
3463 pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int; in setvbuf()
3473 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread() argument
3474 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite() argument
3493 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() argument
3494 pub fn malloc(size: size_t) -> *mut c_void; in malloc()
3495 pub fn realloc(p: *mut c_void, size: size_t) -> *mut c_void; in realloc()
3505 pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t) -> *mut c_char; in strncpy()
3507 pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char; in strncat()
3509 pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int; in strncmp()
3513 pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t; in strspn() argument
3514 pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t; in strcspn() argument
3518 pub fn strlen(cs: *const c_char) -> size_t; in strlen() argument
3519 pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t; in strnlen() argument
3522 pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t; in strxfrm() argument
3523 pub fn wcslen(buf: *const wchar_t) -> size_t; in wcslen() argument
3524 pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> size_t; in wcstombs() argument
3526 pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void; in memchr()
3527 pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t; in wmemchr()
3528 pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int; in memcmp()
3529 pub fn memcpy(dest: *mut c_void, src: *const c_void, n: size_t) -> *mut c_void; in memcpy()
3530 pub fn memmove(dest: *mut c_void, src: *const c_void, n: size_t) -> *mut c_void; in memmove()
3531 pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void; in memset()
3543 pub fn snprintf(s: *mut c_char, n: size_t, format: *const c_char, ...) -> c_int; in snprintf() argument
3575 len: size_t, in sendto() argument
3632 bufsiz: size_t, in readlinkat() argument
3667 pub fn getcwd(buf: *mut c_char, size: size_t) -> *mut c_char; in getcwd()
3685 pub fn posix_memalign(memptr: *mut *mut c_void, align: size_t, size: size_t) -> c_int; in posix_memalign() argument
3686 pub fn read(fd: c_int, buf: *mut c_void, count: size_t) -> ssize_t; in read()
3702 pub fn write(fd: c_int, buf: *const c_void, count: size_t) -> ssize_t; in write()
3703 pub fn pread(fd: c_int, buf: *mut c_void, count: size_t, offset: off_t) -> ssize_t; in pread() argument
3704 pub fn pwrite(fd: c_int, buf: *const c_void, count: size_t, offset: off_t) -> ssize_t; in pwrite() argument
3711 pub fn mlock(addr: *const c_void, len: size_t) -> c_int; in mlock()
3712 pub fn munlock(addr: *const c_void, len: size_t) -> c_int; in munlock()
3718 len: size_t, in mmap() argument
3724 pub fn munmap(addr: *mut c_void, len: size_t) -> c_int; in munmap()
3756 stacksize: *mut size_t, in pthread_attr_getstacksize() argument
3758 pub fn pthread_attr_setstacksize(attr: *mut crate::pthread_attr_t, stack_size: size_t) in pthread_attr_setstacksize()
3807 pub fn pthread_getname_np(thread: crate::pthread_t, name: *mut c_char, len: size_t) -> c_int; in pthread_getname_np()
3809 pub fn strerror_r(errnum: c_int, buf: *mut c_char, buflen: size_t) -> c_int; in strerror_r()
3847 pub fn gethostname(name: *mut c_char, len: size_t) -> c_int; in gethostname()
3852 pub fn send(socket: c_int, buf: *const c_void, len: size_t, flags: c_int) -> ssize_t; in send() argument
3853 pub fn recv(socket: c_int, buf: *mut c_void, len: size_t, flags: c_int) -> ssize_t; in recv() argument
3874 pub fn readlink(path: *const c_char, buf: *mut c_char, bufsz: size_t) -> ssize_t; in readlink()
3941 stacksize: *mut size_t, in pthread_attr_getstack() argument
3943 pub fn memalign(align: size_t, size: size_t) -> *mut c_void; in memalign() argument
3944 pub fn setgroups(ngroups: size_t, ptr: *const crate::gid_t) -> c_int; in setgroups() argument
3948 pub fn memrchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void; in memrchr()
3980 pub fn ptsname_r(fd: c_int, buf: *mut c_char, buflen: size_t) -> c_int; in ptsname_r()
4031 pub fn shmget(key: crate::key_t, size: size_t, shmflg: c_int) -> c_int; in shmget() argument
4037 pub fn semop(semid: c_int, sops: *mut crate::sembuf, nsops: size_t) -> c_int; in semop()
4044 msgsz: size_t, in msgrcv() argument
4048 pub fn msgsnd(msqid: c_int, msgp: *const c_void, msgsz: size_t, msgflg: c_int) -> c_int; in msgsnd() argument
4050 pub fn mprotect(addr: *mut c_void, len: size_t, prot: c_int) -> c_int; in mprotect() argument
4055 pub fn readahead(fd: c_int, offset: off64_t, count: size_t) -> ssize_t; in readahead()
4107 pub fn posix_madvise(addr: *mut c_void, len: size_t, advice: c_int) -> c_int; in posix_madvise() argument
4114 pub fn madvise(addr: *mut c_void, len: size_t, advice: c_int) -> c_int; in madvise() argument
4116 pub fn msync(addr: *mut c_void, len: size_t, flags: c_int) -> c_int; in msync() argument
4121 len: size_t, in recvfrom() argument
4141 pub fn getdomainname(name: *mut c_char, len: size_t) -> c_int; in getdomainname()
4142 pub fn setdomainname(name: *const c_char, len: size_t) -> c_int; in setdomainname()
4156 cpusetsize: size_t, in sched_getaffinity() argument
4161 cpusetsize: size_t, in sched_setaffinity() argument
4166 pub fn tee(fd_in: c_int, fd_out: c_int, len: size_t, flags: c_uint) -> ssize_t; in tee() argument
4173 len: size_t, in splice() argument
4182 pub fn vmsplice(fd: c_int, iov: *const crate::iovec, nr_segs: size_t, flags: c_uint) in vmsplice() argument
4219 guardsize: *mut size_t, in pthread_attr_getguardsize() argument
4221 pub fn pthread_attr_setguardsize(attr: *mut crate::pthread_attr_t, guardsize: size_t) -> c_int; in pthread_attr_setguardsize()
4222 pub fn sethostname(name: *const c_char, len: size_t) -> c_int; in sethostname()
4236 buflen: size_t, in getgrgid_r() argument
4246 buflen: size_t, in getgrnam_r() argument
4261 buflen: size_t, in getpwnam_r() argument
4268 buflen: size_t, in getpwuid_r() argument
4301 size: size_t, in dl_iterate_phdr() argument