Home
last modified time | relevance | path

Searched refs:byte_count (Results 1 – 4 of 4) sorted by relevance

/bionic/linker/
Dlinker_memory.cpp71 void* malloc(size_t byte_count) { in malloc() argument
72 return get_allocator().alloc(byte_count); in malloc()
79 void* realloc(void* p, size_t byte_count) { in realloc() argument
80 return get_allocator().realloc(p, byte_count); in realloc()
84 size_t byte_count; in reallocarray() local
85 if (__builtin_mul_overflow(item_count, item_size, &byte_count)) { in reallocarray()
89 return get_allocator().realloc(p, byte_count); in reallocarray()
/bionic/libc/bionic/
Dswab.cpp31 void swab(const void* void_src, void* void_dst, ssize_t byte_count) { in swab() argument
34 while (byte_count > 1) { in swab()
39 byte_count -= 2; in swab()
Dlegacy_32_bit_support.cpp64 ssize_t pread(int fd, void* buf, size_t byte_count, off_t offset) { in pread() argument
65 return pread64(fd, buf, byte_count, static_cast<off64_t>(offset)); in pread()
69 ssize_t pwrite(int fd, const void* buf, size_t byte_count, off_t offset) { in pwrite() argument
70 return pwrite64(fd, buf, byte_count, static_cast<off64_t>(offset)); in pwrite()
Dgrp_pwd.cpp582 int getpwnam_r(const char* name, passwd* pwd, char* buf, size_t byte_count, passwd** result) { in getpwnam_r() argument
583 return getpasswd_r(true, name, -1, pwd, buf, byte_count, result); in getpwnam_r()
586 int getpwuid_r(uid_t uid, passwd* pwd, char* buf, size_t byte_count, passwd** result) { in getpwuid_r() argument
587 return getpasswd_r(false, nullptr, uid, pwd, buf, byte_count, result); in getpwuid_r()