/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | open_memstream.c | 34 size_t size; /* number of allocated char */ member in struct:state 47 if (end >= st->size) { 49 size_t sz = st->size * 8 / 5; 56 bzero(p + st->size, sz - st->size); 58 st->size = sz; 132 st->size = BUFSIZ; 133 if ((st->string = calloc(1, st->size)) == NULL) {
|
H A D | open_wmemstream.c | 35 size_t size; /* number of allocated wchar_t */ member in struct:state 49 if (end >= st->size) { 51 size_t sz = st->size * 8 / 5; 58 bzero(p + st->size, (sz - st->size) * sizeof(wchar_t)); 60 st->size = sz; 63 nmc = (st->size - st->pos) * sizeof(wchar_t); 142 st->size = BUFSIZ * sizeof(wchar_t); 143 if ((st->string = calloc(1, st->size)) == NULL) {
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/asm-x86/asm/ |
H A D | e820.h | 41 __u64 size; member in struct:e820entry
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/ |
H A D | sis_drm.h | 46 unsigned long size; member in struct:__anon1276 51 unsigned long offset, size; member in struct:__anon1277 55 unsigned long offset, size; member in struct:__anon1278
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | rio_cm_cdev.h | 32 __u16 size; member in struct:rio_cm_msg
|
H A D | cramfs_fs.h | 36 __u32 size : CRAMFS_SIZE_WIDTH, gid : CRAMFS_GID_WIDTH; member in struct:cramfs_inode 50 __u32 size; member in struct:cramfs_super
|
H A D | romfs_fs.h | 40 __be32 size; member in struct:romfs_super_block 49 __be32 size; member in struct:romfs_inode
|
H A D | uvcvideo.h | 54 __u8 size; member in struct:uvc_xu_control_mapping 69 __u16 size; member in struct:uvc_xu_control_query
|
H A D | virtio_input.h | 54 __u8 size; member in struct:virtio_input_config
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/rdma/ |
H A D | cxgb4-abi.h | 30 __u32 size; member in struct:c4iw_create_cq_resp
|
/bionic/libc/versioner-dependencies/x86/kernel_uapi_asm-x86/asm/ |
H A D | e820.h | 41 __u64 size; member in struct:e820entry
|
/bionic/libc/versioner-dependencies/x86_64/kernel_uapi_asm-x86/asm/ |
H A D | e820.h | 41 __u64 size; member in struct:e820entry
|
/bionic/linker/ |
H A D | linker_block_allocator.cpp | 38 static constexpr size_t round_up(size_t size, size_t multiplier) { argument 39 return (size + (multiplier - 1)) & ~(multiplier-1);
|
H A D | linker_phdr.h | 68 bool CheckFileRange(ElfW(Addr) offset, size_t size, size_t alignment); member in class:ElfReader
|
/bionic/tools/relocation_packer/src/ |
H A D | sleb128.cc | 50 static const size_t size = CHAR_BIT * sizeof(value); local 61 value |= -(static_cast<uint_t>(1) << (size - 7)); 76 for (size_t i = 0; i < values.size(); ++i) { 98 static const size_t size = CHAR_BIT * sizeof(value); local 112 if (shift < size && (byte & 64)) 121 while (cursor_ < encoding_.size()) {
|
/bionic/tools/versioner/current/ |
H A D | string.h | 231 __error_if_overflows_dst(memcpy, dst, copy_amount, "size"); 235 __error_if_overflows_dst(memmove, dst, len, "size"); 239 __error_if_overflows_dst(memset, s, n, "size"); 283 /* Ignore dst size checks; they're handled in strncpy_chk */ 298 /* Ignore dst size checks; they're handled in strncpy_chk */ 310 const char *_Nonnull __restrict src, size_t size) __overloadable { 314 return __call_bypassing_fortify(strlcpy)(dst, src, size); 317 return __strlcpy_chk(dst, src, size, bos); 322 const char* _Nonnull __restrict src, size_t size) __overloadable { 326 return __call_bypassing_fortify(strlcat)(dst, src, size); 517 strlcpy(char* _Nonnull __restrict dst __pass_object_size, const char* _Nonnull __restrict src, size_t size) argument 536 strlcat(char* _Nonnull __restrict dst, const char* _Nonnull __restrict src, size_t size) argument [all...] |
/bionic/libc/include/ |
H A D | stdio.h | 100 #define BUFSIZ 1024 /* size of buffer used by setbuf */ 229 #define L_ctermid 1024 /* size for ctermid() */ 272 int vsnprintf(char *const __pass_object_size dest, size_t size, 274 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap); 291 int snprintf(char *__restrict dest, size_t size, const char *__restrict format) 301 size_t size, const char *__restrict format, ...) __overloadable { 304 int result = __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, va); 330 size_t fread(void *__restrict buf, size_t size, size_t count, 332 __enable_if(__unsafe_check_mul_overflow(size, count), "size * coun 424 snprintf(char *__restrict dest, size_t size, const char* _Nonnull format, ...) argument 439 fread(void *__restrict buf, size_t size, size_t count, FILE * __restrict stream) argument 463 fwrite(const void * __restrict buf, size_t size, size_t count, FILE * __restrict stream) argument 489 fgets(char* dest, int size, FILE* stream) argument [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | cramfs_fs.h | 36 __u32 size : CRAMFS_SIZE_WIDTH, gid : CRAMFS_GID_WIDTH; member in struct:cramfs_inode 50 __u32 size; member in struct:cramfs_super
|
H A D | romfs_fs.h | 40 __be32 size; member in struct:romfs_super_block 49 __be32 size; member in struct:romfs_inode
|
H A D | uvcvideo.h | 54 __u8 size; member in struct:uvc_xu_control_mapping 69 __u16 size; member in struct:uvc_xu_control_query
|
H A D | virtio_input.h | 54 __u8 size; member in struct:virtio_input_config
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
H A D | xt_hashlimit.h | 44 __u32 size; member in struct:hashlimit_cfg 66 __u32 size; member in struct:hashlimit_cfg1 79 __u32 size; member in struct:hashlimit_cfg2
|
/bionic/libc/malloc_debug/ |
H A D | RecordData.cpp | 58 MallocEntry::MallocEntry(void* pointer, size_t size) : AllocEntry(pointer), size_(size) { argument 72 CallocEntry::CallocEntry(void* pointer, size_t nmemb, size_t size) argument 73 : MallocEntry(pointer, size), nmemb_(nmemb) { 80 ReallocEntry::ReallocEntry(void* pointer, size_t size, void* old_pointer) argument 81 : MallocEntry(pointer, size), old_pointer_(old_pointer) { 90 MemalignEntry::MemalignEntry(void* pointer, size_t size, size_t alignment) argument 91 : MallocEntry(pointer, size), alignment_(alignment) {
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter/ |
H A D | xt_hashlimit.h | 44 __u32 size; member in struct:hashlimit_cfg 66 __u32 size; member in struct:hashlimit_cfg1 79 __u32 size; member in struct:hashlimit_cfg2
|
/bionic/tests/ |
H A D | grp_pwd_test.cpp | 205 if (pwd->pw_uid >= exist.size()) { 431 long size = sysconf(_SC_GETGR_R_SIZE_MAX); local 432 ASSERT_GT(size, 0); 433 char buf[size]; 436 ASSERT_EQ(0, getgrnam_r("root", &grp_storage, buf, size, &grp)); 453 if (grp->gr_gid >= exist.size()) {
|