Searched refs:size_t (Results 151 - 175 of 603) sorted by relevance

1234567891011>>

/bionic/libc/malloc_hooks/tests/
H A Dmalloc_hooks_tests.cpp46 void get_malloc_leak_info(uint8_t**, size_t*, size_t*, size_t*, size_t*);
48 int malloc_iterate(uintptr_t, size_t, void (*)(uintptr_t, size_t, void*), void*);
51 ssize_t malloc_backtrace(void*, uintptr_t*, size_t);
107 static void* (*orig_malloc_hook_)(size_t, const void*);
109 static void* (*orig_realloc_hook_)(void*, size_t, const void*);
110 static void* (*orig_memalign_hook_)(size_t, size_
[all...]
/bionic/libc/arch-mips/string/
H A Dstrnlen.c39 static inline size_t __attribute__ ((always_inline))
59 return (size_t) (p - base);
68 static inline size_t __attribute__ ((always_inline))
72 return (size_t) (p - base);
82 size_t strnlen (const char *str, size_t n) {
88 for (; n > 0 && ((size_t) p % op_size) != 0; --n, ++p) {
/bionic/tests/
H A Diconv_test.cpp61 size_t in_bytes = strlen(in);
64 size_t out_bytes = sizeof(buf);
87 size_t in_bytes = strlen(in);
90 size_t out_bytes = sizeof(buf);
116 size_t in_bytes = strlen(in);
119 size_t out_bytes = sizeof(buf);
124 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes));
144 size_t in_bytes = strlen(in);
147 size_t out_bytes = sizeof(buf);
151 EXPECT_EQ(static_cast<size_t>(
[all...]
/bionic/libc/upstream-netbsd/lib/libc/regex/
H A Dregex2.h79 = size_t re_nsub; // number of parenthesized subexpressions
113 typedef size_t sopno;
161 size_t smultis;
182 size_t csetsize; /* number of bits in a cset vector */
183 size_t ncsets; /* number of csets in use */
194 size_t nbol; /* number of ^ used */
195 size_t neol; /* number of $ used */
196 size_t ncategories; /* how many character categories */
199 size_t mlen; /* length of must */
200 size_t nsu
[all...]
/bionic/libc/bionic/
H A Dmmap.cpp38 extern "C" void* __mmap2(void*, size_t, int, int, int, size_t);
44 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) {
51 size_t rounded = __BIONIC_ALIGN(size, PAGE_SIZE);
75 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) {
H A Dwchar_l.cpp36 int wcsncasecmp_l(const wchar_t* ws1, const wchar_t* ws2, size_t n, locale_t) {
44 size_t wcsftime_l(wchar_t* buf, size_t n, const wchar_t* fmt, const struct tm* tm, locale_t) {
48 size_t wcsxfrm_l(wchar_t* dst, const wchar_t* src, size_t n, locale_t) {
H A Dc32rtomb.cpp35 size_t c32rtomb(char* s, char32_t c32, mbstate_t* ps) {
68 size_t length;
90 for (size_t i = length - 1; i > 0; i--) {
H A Dgetcwd.cpp34 extern "C" int __getcwd(char* buf, size_t size);
36 char* getcwd(char* buf, size_t size) {
45 size_t allocated_size = size;
H A Dmbrtoc32.cpp36 size_t mbrtoc32(char32_t* pc32, const char* s, size_t n, mbstate_t* ps) {
70 size_t length;
81 size_t bytes_so_far = mbstate_bytes_so_far(state);
105 size_t bytes_wanted = length - bytes_so_far;
106 size_t i;
H A Dstrerror_r.cpp25 for (size_t i = 0; strings[i].msg != NULL; ++i) {
53 int strerror_r(int error_number, char* buf, size_t buf_len) {
55 size_t length;
71 extern "C" char* __gnu_strerror_r(int error_number, char* buf, size_t buf_len) {
77 extern "C" __LIBC_HIDDEN__ const char* __strsignal(int signal_number, char* buf, size_t buf_len) {
88 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number);
/bionic/libc/private/
H A Dbionic_macros.h48 static constexpr uintptr_t align_down(uintptr_t p, size_t align) {
52 static constexpr uintptr_t align_up(uintptr_t p, size_t align) {
57 static inline T* align_down(T* p, size_t align) {
62 static inline T* align_up(T* p, size_t align) {
92 template <typename T, size_t N>
/bionic/benchmarks/tests/
H A Dbenchmark_test.cpp22 for (size_t alignment = 1; alignment <= 32; alignment *= 2) {
23 for (size_t or_mask = 0; or_mask < alignment; ++or_mask) {
34 for (size_t alignment = 1; alignment <= 2048; alignment *= 2) {
/bionic/libc/include/
H A Dglob.h46 size_t gl_pathc; /* Count of total paths so far. */
47 size_t gl_matchc; /* Count of paths matching pattern. */
48 size_t gl_offs; /* Reserved at beginning of gl_pathv. */
/bionic/libc/upstream-netbsd/lib/libc/stdlib/
H A Dbsearch.c62 bsearch(const void *key, const void *base0, size_t nmemb, size_t size,
66 size_t lim;
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dfgetwc.c43 size_t size;
71 if (size == (size_t)-1) {
75 } while (size == (size_t)-2);
/bionic/linker/
H A Dlinker_main.h46 static size_t ref_count_;
59 size_t library_names_count,
62 size_t ld_preloads_count,
/bionic/tests/headers/posix/
H A Dpwd_h.c43 TYPE(size_t);
48 FUNCTION(getpwnam_r, int (*f)(const char*, struct passwd*, char*, size_t, struct passwd**));
50 FUNCTION(getpwuid_r, int (*f)(uid_t, struct passwd*, char*, size_t, struct passwd**));
H A Dsys_msg_h.c50 TYPE(size_t);
56 FUNCTION(msgrcv, ssize_t (*f)(int, void*, size_t, long, int));
57 FUNCTION(msgsnd, int (*f)(int, const void*, size_t, int));
H A Dsys_shm_h.c42 STRUCT_MEMBER(struct shmid_ds, size_t, shm_segsz);
51 TYPE(size_t);
57 FUNCTION(shmget, int (*f)(key_t, size_t, int));
/bionic/tools/versioner/current/
H A Dglob.h46 size_t gl_pathc; /* Count of total paths so far. */
47 size_t gl_matchc; /* Count of paths matching pattern. */
48 size_t gl_offs; /* Reserved at beginning of gl_pathv. */
/bionic/tools/versioner/tests/preprocessor_file_offset_bits/expected/
H A Dfoo.h7 typedef unsigned size_t; typedef
26 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset) __RENAME(pread64)
31 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset);
/bionic/tools/versioner/tests/preprocessor_file_offset_bits/headers/
H A Dfoo.h7 typedef unsigned size_t; typedef
24 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset) __RENAME(pread64)
27 ssize_t pread(int __fd, void* __buf, size_t __count, off_t __offset);
/bionic/libc/kernel/uapi/linux/
H A Dpmu.h102 #define PMU_IOC_GET_BACKLIGHT _IOR('B', 1, size_t)
103 #define PMU_IOC_SET_BACKLIGHT _IOW('B', 2, size_t)
104 #define PMU_IOC_GET_MODEL _IOR('B', 3, size_t)
105 #define PMU_IOC_HAS_ADB _IOR('B', 4, size_t)
106 #define PMU_IOC_CAN_SLEEP _IOR('B', 5, size_t)
107 #define PMU_IOC_GRAB_BACKLIGHT _IOR('B', 6, size_t)
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dpmu.h102 #define PMU_IOC_GET_BACKLIGHT _IOR('B', 1, size_t)
103 #define PMU_IOC_SET_BACKLIGHT _IOW('B', 2, size_t)
104 #define PMU_IOC_GET_MODEL _IOR('B', 3, size_t)
105 #define PMU_IOC_HAS_ADB _IOR('B', 4, size_t)
106 #define PMU_IOC_CAN_SLEEP _IOR('B', 5, size_t)
107 #define PMU_IOC_GRAB_BACKLIGHT _IOR('B', 6, size_t)
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dpmu.h102 #define PMU_IOC_GET_BACKLIGHT _IOR('B', 1, size_t)
103 #define PMU_IOC_SET_BACKLIGHT _IOW('B', 2, size_t)
104 #define PMU_IOC_GET_MODEL _IOR('B', 3, size_t)
105 #define PMU_IOC_HAS_ADB _IOR('B', 4, size_t)
106 #define PMU_IOC_CAN_SLEEP _IOR('B', 5, size_t)
107 #define PMU_IOC_GRAB_BACKLIGHT _IOR('B', 6, size_t)

Completed in 343 milliseconds

1234567891011>>