| /rust-libc-0.2.174/src/ |
| H A D | trusty.rs | 2 pub type size_t = usize; typedef 27 pub iov_len: size_t, 50 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() argument 51 pub fn malloc(size: size_t) -> *mut c_void; in malloc() 52 pub fn realloc(p: *mut c_void, size: size_t) -> *mut c_void; in realloc() 54 pub fn memalign(align: size_t, size: size_t) -> *mut c_void; in memalign() argument 55 pub fn posix_memalign(memptr: *mut *mut c_void, align: size_t, size: size_t) -> c_int; in posix_memalign() argument 56 pub fn write(fd: c_int, buf: *const c_void, count: size_t) -> ssize_t; in write() 59 pub fn strlen(cs: *const c_char) -> size_t; in strlen() argument 63 len: size_t, in mmap() argument [all …]
|
| /rust-libc-0.2.174/src/solid/ |
| H A D | mod.rs | 445 pub fn fread(arg1: *mut c_void, arg2: size_t, arg3: size_t, arg4: *mut FILE) -> size_t; in fread() argument 450 pub fn fwrite(arg1: *const c_void, arg2: size_t, arg3: size_t, arg4: *mut FILE) -> size_t; in fwrite() argument 490 arg2: size_t, in vsniprintf() argument 546 pub fn calloc(arg1: size_t, arg2: size_t) -> *mut c_void; in calloc() argument 595 pub fn aligned_alloc(arg1: size_t, arg2: size_t) -> *mut c_void; in aligned_alloc() argument 698 ) -> size_t; in mbstowcs_l() argument 707 ) -> size_t; in wcstombs_l() argument 743 pub fn strnlen(arg1: *const c_char, arg2: size_t) -> size_t; in strnlen() argument 765 ) -> size_t; in strxfrm_l() argument 800 ) -> size_t; in strftime() argument [all …]
|
| /rust-libc-0.2.174/src/wasi/ |
| H A D | mod.rs | 12 pub type size_t = usize; typedef 111 pub iov_len: size_t, 490 pub fn aligned_alloc(a: size_t, b: size_t) -> *mut c_void; in aligned_alloc() argument 491 pub fn calloc(amt: size_t, amt2: size_t) -> *mut c_void; in calloc() argument 520 pub fn fread(buf: *mut c_void, a: size_t, b: size_t, f: *mut FILE) -> size_t; in fread() argument 521 pub fn fwrite(buf: *const c_void, a: size_t, b: size_t, f: *mut FILE) -> size_t; in fwrite() argument 536 pub fn posix_memalign(a: *mut *mut c_void, b: size_t, c: size_t) -> c_int; in posix_memalign() argument 545 pub fn strftime(a: *mut c_char, b: size_t, c: *const c_char, d: *const tm) -> size_t; in strftime() argument 608 pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t; in strnlen() argument 611 pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t; in strxfrm() argument [all …]
|
| /rust-libc-0.2.174/src/windows/ |
| H A D | mod.rs | 8 pub type size_t = usize; typedef 317 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread() argument 318 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite() argument 337 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() argument 364 pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t; in strnlen() argument 367 pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t; in strxfrm() argument 369 pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> size_t; in wcstombs() argument 398 p_return_value: *mut size_t, in get_tzname() argument 400 size_in_bytes: size_t, in get_tzname() argument 529 pub fn aligned_malloc(size: size_t, alignment: size_t) -> *mut c_void; in aligned_malloc() argument [all …]
|
| /rust-libc-0.2.174/src/teeos/ |
| H A D | mod.rs | 16 pub type size_t = usize; typedef 979 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() argument 985 pub fn aligned_alloc(align: size_t, len: size_t) -> *mut c_void; in aligned_alloc() argument 1115 size: size_t, in pthread_attr_setstack() argument 1153 len: size_t, in mmap() argument 1177 sz: size_t, in strftime() argument 1180 ) -> size_t; in strftime() argument 1239 pub fn strnlen(cs: *const c_char, n: size_t) -> size_t; in strnlen() argument 1317 nel: size_t, in bsearch() argument 1318 width: size_t, in bsearch() argument [all …]
|
| /rust-libc-0.2.174/src/unix/bsd/apple/b64/x86_64/ |
| H A D | mod.rs | 118 Option<unsafe extern "C" fn(zone: *mut malloc_zone_t, ptr: *const c_void) -> size_t>, 120 Option<unsafe extern "C" fn(zone: *mut malloc_zone_t, size: size_t) -> *mut c_void>, 124 num_items: size_t, 125 size: size_t, 129 Option<unsafe extern "C" fn(zone: *mut malloc_zone_t, size: size_t) -> *mut c_void>, 135 size: size_t, 143 size: size_t, 160 alignment: size_t, 161 size: size_t, 165 Option<unsafe extern "C" fn(zone: *mut malloc_zone_t, ptr: *mut c_void, size: size_t)>, [all …]
|
| /rust-libc-0.2.174/src/unix/ |
| H A D | mod.rs | 11 pub type size_t = usize; typedef 600 num: size_t, in qsort() argument 601 size: size_t, in qsort() argument 607 num: size_t, in bsearch() argument 608 size: size_t, in bsearch() argument 644 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread() argument 649 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite() argument 678 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() argument 712 pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t; in strnlen() argument 847 len: size_t, in sendto() argument [all …]
|
| /rust-libc-0.2.174/src/vxworks/ |
| H A D | mod.rs | 28 pub type sighandler_t = size_t; 1145 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread() argument 1146 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite() argument 1165 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() argument 1194 pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t; in strxfrm() argument 1247 len: size_t, in mmap() argument 1326 pub fn memalign(block_size: size_t, size_arg: size_t) -> *mut c_void; in memalign() argument 1627 bufLen: size_t, in recvfrom() argument 1644 len: size_t, in sendto() argument 1902 msg_len: size_t, in mq_receive() argument [all …]
|
| /rust-libc-0.2.174/src/unix/bsd/netbsdlike/netbsd/ |
| H A D | mod.rs | 2522 size: size_t, in mount() argument 2585 size: size_t, in pthread_getaffinity_np() argument 2590 size: size_t, in pthread_setaffinity_np() argument 2648 ) -> size_t; in iconv() argument 2796 pub fn ecalloc(n: size_t, c: size_t) -> *mut c_void; in ecalloc() argument 2798 pub fn ereallocarr(p: *mut c_void, n: size_t, s: size_t); in ereallocarr() argument 2827 max: size_t, in snprintb_m() argument 2873 size: size_t, in getxattr() argument 2879 size: size_t, in lgetxattr() argument 2930 len: size_t, in backtrace_symbols_fmt() argument [all …]
|
| /rust-libc-0.2.174/src/unix/linux_like/linux/gnu/ |
| H A D | mod.rs | 27 pub aio_nbytes: size_t, 57 pub gl_offs: size_t, 124 pub arena: size_t, 127 pub hblks: size_t, 191 __used: size_t, 195 __re_nsub: size_t, 1056 buflen: size_t, in fgetspent_r() argument 1063 buflen: size_t, in sgetspent_r() argument 1069 buflen: size_t, in getspent_r() argument 1074 num: size_t, in qsort_r() argument [all …]
|
| /rust-libc-0.2.174/src/unix/haiku/ |
| H A D | native.rs | 275 pub size: size_t, 956 bufferSize: size_t, in read_port() argument 962 bufferSize: size_t, in read_port_etc() argument 970 bufferSize: size_t, in write_port() argument 997 infoSize: size_t, in _get_port_message_info_etc() argument 1023 infoSize: size_t, in _get_next_sem_info() argument 1076 size: size_t, in _get_next_thread_info() argument 1085 size: size_t, in _get_team_usage_info() argument 1104 size: size_t, in _get_cpu_info_etc() argument 1130 readBytes: size_t, in fs_read_attr() argument [all …]
|
| H A D | mod.rs | 262 __unused1: size_t, 264 __unused2: size_t, 393 __used: size_t, 1713 pub fn memalign(align: size_t, size: size_t) -> *mut c_void; in memalign() argument 1770 len: size_t, in recvfrom() argument 1801 buflen: size_t, in getgrgid_r() argument 1818 buflen: size_t, in getgrnam_r() argument 1893 ) -> size_t; in regerror() argument 1902 msgsz: size_t, in msgrcv() argument 1918 width: size_t, in lsearch() argument [all …]
|
| /rust-libc-0.2.174/libc-test/src/ |
| H A D | cmsg.c | 17 size_t cmsg_space(size_t length) { in cmsg_space() 21 size_t cmsg_len(size_t length) { in cmsg_len()
|
| /rust-libc-0.2.174/src/fuchsia/ |
| H A D | mod.rs | 15 pub type size_t = usize; typedef 3329 pub {const} fn CMSG_ALIGN(len: size_t) -> size_t { 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 3519 pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t; in strnlen() argument 3575 len: size_t, in sendto() argument 3718 len: size_t, in mmap() argument 3943 pub fn memalign(align: size_t, size: size_t) -> *mut c_void; in memalign() argument 4121 len: size_t, in recvfrom() argument [all …]
|
| /rust-libc-0.2.174/src/unix/bsd/freebsdlike/ |
| H A D | mod.rs | 118 pub gl_offs: size_t, 1540 buflen: size_t, in getgrent_r() argument 1546 buflen: size_t, in getpwent_r() argument 1675 length: size_t, in pthread_getname_np() argument 1709 nbytes: size_t, in sendfile() argument 1734 newlen: size_t, in sysctl() argument 1741 newlen: size_t, in sysctlbyname() argument 1770 ) -> size_t; in iconv() argument 1946 pub fn backtrace(addrlist: *mut *mut c_void, len: size_t) -> size_t; in backtrace() argument 1979 nbytes: size_t, in kvm_read() argument [all …]
|
| /rust-libc-0.2.174/src/unix/linux_like/linux/uclibc/x86_64/ |
| H A D | mod.rs | 48 __guardsize: size_t, 51 __stacksize: size_t, 68 pub shm_segsz: size_t, // segment size in bytes 160 pub ss_size: size_t, 214 pub msg_iovlen: size_t, 216 pub msg_controllen: size_t, 255 pub gl_pathc: size_t, 257 pub gl_offs: size_t, 289 pub cmsg_len: size_t,
|
| /rust-libc-0.2.174/src/unix/hurd/ |
| H A D | mod.rs | 3463 ((count as size_t + size_in_bits - 1) / 8) as size_t 3627 size: size_t, in fread_unlocked() argument 3630 ) -> size_t; in fread_unlocked() argument 3718 len: size_t, in recvfrom() argument 4044 max: size_t, in strftime() argument 4047 ) -> size_t; in strftime() argument 4309 len: size_t, in mremap() argument 4372 num: size_t, in qsort_r() argument 4381 pub fn memalign(align: size_t, size: size_t) -> *mut c_void; in memalign() argument 4397 ) -> size_t; in iconv() argument [all …]
|
| /rust-libc-0.2.174/src/unix/linux_like/android/b32/ |
| H A D | mod.rs | 105 pub stack_size: size_t, 106 pub guard_size: size_t, 214 pub const PTHREAD_STACK_MIN: size_t = 4096 * 2; 215 pub const CPU_SETSIZE: size_t = 32; 216 pub const __CPU_BITS: size_t = 32; 222 pub const SIGSTKSZ: size_t = 8192; 223 pub const MINSIGSTKSZ: size_t = 2048;
|
| /rust-libc-0.2.174/src/unix/redox/ |
| H A D | mod.rs | 145 pub cmsg_len: size_t, 1022 pub {const} fn CMSG_ALIGN(len: size_t) -> size_t { 1023 (len + mem::size_of::<size_t>() - 1) & !(mem::size_of::<size_t>() - 1) 1112 buflen: size_t, in getgrgid_r() argument 1120 buflen: size_t, in getgrnam_r() argument 1131 pub fn memalign(align: size_t, size: size_t) -> *mut c_void; in memalign() argument 1178 buflen: size_t, in getpwnam_r() argument 1185 buflen: size_t, in getpwuid_r() argument 1214 pub fn strlcat(dst: *mut c_char, src: *const c_char, siz: size_t) -> size_t; in strlcat() argument 1215 pub fn strlcpy(dst: *mut c_char, src: *const c_char, siz: size_t) -> size_t; in strlcpy() argument [all …]
|
| /rust-libc-0.2.174/src/unix/solarish/ |
| H A D | solaris.rs | 24 pub aio_nbytes: size_t, 38 pub shm_segsz: size_t, 82 pub data_size: size_t, 86 pub rsize: size_t, 201 pub fn mincore(addr: *mut c_void, len: size_t, vec: *mut c_char) -> c_int; in mincore() argument 206 data_size: size_t, in door_return() argument 214 arg_size: size_t, in door_create() argument
|
| H A D | compat.rs | 6 use crate::{c_char, c_int, size_t}; 183 buflen: size_t, in getpwent_r() argument 188 *result = native_getpwent_r(pwd, buf, min(buflen, c_int::MAX as size_t) as c_int); in getpwent_r() 203 buflen: size_t, in getgrent_r() argument 208 *result = native_getgrent_r(grp, buf, min(buflen, c_int::MAX as size_t) as c_int); in getgrent_r()
|
| /rust-libc-0.2.174/src/unix/cygwin/ |
| H A D | mod.rs | 114 pub ss_size: size_t, 169 pub cmsg_len: size_t, 1802 ((count as size_t + size_in_bits - 1) / 8) as size_t 2005 buflen: size_t, in getpwnam_r() argument 2013 buflen: size_t, in getpwuid_r() argument 2049 len: size_t, in recvfrom() argument 2091 pub fn memalign(align: size_t, size: size_t) -> *mut c_void; in memalign() argument 2118 num: size_t, in qsort_r() argument 2119 size: size_t, in qsort_r() argument 2456 buflen: size_t, in getgrgid_r() argument [all …]
|
| /rust-libc-0.2.174/src/unix/bsd/netbsdlike/openbsd/ |
| H A D | mod.rs | 70 pub gl_pathc: size_t, 71 pub gl_matchc: size_t, 72 pub gl_offs: size_t, 1948 hostlen: size_t, in getnameinfo() argument 1950 servlen: size_t, in getnameinfo() argument 2008 newlen: size_t, in sysctl() argument 2039 pub fn calloc_conceal(nmemb: size_t, size: size_t) -> *mut c_void; in calloc_conceal() argument 2049 width: size_t, in lsearch() argument 2056 width: size_t, in lfind() argument 2084 pub fn backtrace(addrlist: *mut *mut c_void, len: size_t) -> size_t; in backtrace() argument [all …]
|
| /rust-libc-0.2.174/src/unix/linux_like/android/ |
| H A D | mod.rs | 114 pub arena: size_t, 117 pub hblks: size_t, 280 re_nsub: size_t, 3404 ((count as size_t + size_in_bits - 1) / 8) as size_t 3505 len: size_t, in recvfrom() argument 3564 size: size_t, in getxattr() argument 3570 size: size_t, in lgetxattr() argument 3649 len: size_t, in splice() argument 3854 ) -> size_t; in regerror() argument 3920 ) -> size_t; in fread_unlocked() argument [all …]
|
| /rust-libc-0.2.174/src/unix/bsd/ |
| H A D | mod.rs | 118 __re_nsub: size_t, 742 len: size_t, in recvfrom() argument 789 buflen: size_t, in getgrgid_r() argument 805 buflen: size_t, in getgrnam_r() argument 829 buflen: size_t, in getpwnam_r() argument 837 buflen: size_t, in getpwuid_r() argument 898 nmatch: size_t, in regexec() argument 908 ) -> size_t; in regerror() argument 935 maxsize: size_t, in strftime() argument 938 ) -> size_t; in strftime() argument [all …]
|