Home
last modified time | relevance | path

Searched refs:tail_alloc (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/external/strace/tests-m32/
Dmmsg_name.c86 tail_alloc(sizeof(*send_addr) * IOV_MAX1); in test_mmsg_name()
87 char *const send_buf = tail_alloc(sizeof(*send_buf) * IOV_MAX1); in test_mmsg_name()
88 struct iovec *const send_iov = tail_alloc(sizeof(*send_iov) * IOV_MAX1); in test_mmsg_name()
89 struct mmsghdr *const send_mh = tail_alloc(sizeof(*send_mh) * IOV_MAX1); in test_mmsg_name()
181 tail_alloc(sizeof(*recv_addr) * IOV_MAX1); in test_mmsg_name()
182 char *const recv_buf = tail_alloc(sizeof(*recv_buf) * IOV_MAX1); in test_mmsg_name()
183 struct iovec *const recv_iov = tail_alloc(sizeof(*recv_iov) * IOV_MAX1); in test_mmsg_name()
184 struct mmsghdr *const recv_mh = tail_alloc(sizeof(*recv_mh) * IOV_MAX1); in test_mmsg_name()
Dgetcpu.c44 (unsigned *) tail_alloc(sizeof(*bogus_cpu)) + 1; in main()
46 (unsigned *) tail_alloc(sizeof(*bogus_node)) + 1; in main()
48 (unsigned *) tail_alloc(sizeof(*bogus_tcache)) + 1; in main()
53 long *tcache = tail_alloc(128); in main()
Dso_peercred.c80 struct ucred *const pid = tail_alloc(sizeof_pid); in main()
84 tail_alloc(sizeof_pid_truncated); in main()
87 struct ucred *const uid = tail_alloc(sizeof_uid); in main()
91 tail_alloc(sizeof_uid_truncated); in main()
96 tail_alloc(sizeof_gid_truncated); in main()
Dpreadv.c69 char *buf = tail_alloc(LEN); in main()
112 void *r0 = tail_alloc(r_len); in main()
130 void *r1 = tail_alloc(r_len); in main()
131 void *r2 = tail_alloc(LENGTH_OF(w)); in main()
Dexecve.c132 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main()
136 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main()
140 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main()
141 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main()
Dtest_printpath.c69 char *p = tail_alloc(test_max); in test_efault()
83 char *p = tail_alloc(PATH_MAX); in test_enametoolong()
103 char *p = tail_alloc(test_max + page_size); in test_printpath()
Dexecveat.c138 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main()
142 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main()
146 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main()
147 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main()
Dtests.h114 void *tail_alloc(const size_t)
121 ((void *) ((char *) tail_alloc(((before_) + (after_))) + (before_)))
129 type_name *const type_ptr = tail_alloc(sizeof(*type_ptr))
137 type_name *type_ptr = tail_alloc(sizeof(*type_ptr))
/external/strace/tests/
Dmmsg_name.c86 tail_alloc(sizeof(*send_addr) * IOV_MAX1); in test_mmsg_name()
87 char *const send_buf = tail_alloc(sizeof(*send_buf) * IOV_MAX1); in test_mmsg_name()
88 struct iovec *const send_iov = tail_alloc(sizeof(*send_iov) * IOV_MAX1); in test_mmsg_name()
89 struct mmsghdr *const send_mh = tail_alloc(sizeof(*send_mh) * IOV_MAX1); in test_mmsg_name()
181 tail_alloc(sizeof(*recv_addr) * IOV_MAX1); in test_mmsg_name()
182 char *const recv_buf = tail_alloc(sizeof(*recv_buf) * IOV_MAX1); in test_mmsg_name()
183 struct iovec *const recv_iov = tail_alloc(sizeof(*recv_iov) * IOV_MAX1); in test_mmsg_name()
184 struct mmsghdr *const recv_mh = tail_alloc(sizeof(*recv_mh) * IOV_MAX1); in test_mmsg_name()
Dgetcpu.c44 (unsigned *) tail_alloc(sizeof(*bogus_cpu)) + 1; in main()
46 (unsigned *) tail_alloc(sizeof(*bogus_node)) + 1; in main()
48 (unsigned *) tail_alloc(sizeof(*bogus_tcache)) + 1; in main()
53 long *tcache = tail_alloc(128); in main()
Dso_peercred.c80 struct ucred *const pid = tail_alloc(sizeof_pid); in main()
84 tail_alloc(sizeof_pid_truncated); in main()
87 struct ucred *const uid = tail_alloc(sizeof_uid); in main()
91 tail_alloc(sizeof_uid_truncated); in main()
96 tail_alloc(sizeof_gid_truncated); in main()
Dpreadv.c69 char *buf = tail_alloc(LEN); in main()
112 void *r0 = tail_alloc(r_len); in main()
130 void *r1 = tail_alloc(r_len); in main()
131 void *r2 = tail_alloc(LENGTH_OF(w)); in main()
Dexecve.c132 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main()
136 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main()
140 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main()
141 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main()
Dtest_printpath.c69 char *p = tail_alloc(test_max); in test_efault()
83 char *p = tail_alloc(PATH_MAX); in test_enametoolong()
103 char *p = tail_alloc(test_max + page_size); in test_printpath()
Dexecveat.c138 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main()
142 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main()
146 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main()
147 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main()
Dtests.h114 void *tail_alloc(const size_t)
121 ((void *) ((char *) tail_alloc(((before_) + (after_))) + (before_)))
129 type_name *const type_ptr = tail_alloc(sizeof(*type_ptr))
137 type_name *type_ptr = tail_alloc(sizeof(*type_ptr))
/external/strace/tests-mx32/
Dmmsg_name.c86 tail_alloc(sizeof(*send_addr) * IOV_MAX1); in test_mmsg_name()
87 char *const send_buf = tail_alloc(sizeof(*send_buf) * IOV_MAX1); in test_mmsg_name()
88 struct iovec *const send_iov = tail_alloc(sizeof(*send_iov) * IOV_MAX1); in test_mmsg_name()
89 struct mmsghdr *const send_mh = tail_alloc(sizeof(*send_mh) * IOV_MAX1); in test_mmsg_name()
181 tail_alloc(sizeof(*recv_addr) * IOV_MAX1); in test_mmsg_name()
182 char *const recv_buf = tail_alloc(sizeof(*recv_buf) * IOV_MAX1); in test_mmsg_name()
183 struct iovec *const recv_iov = tail_alloc(sizeof(*recv_iov) * IOV_MAX1); in test_mmsg_name()
184 struct mmsghdr *const recv_mh = tail_alloc(sizeof(*recv_mh) * IOV_MAX1); in test_mmsg_name()
Dgetcpu.c44 (unsigned *) tail_alloc(sizeof(*bogus_cpu)) + 1; in main()
46 (unsigned *) tail_alloc(sizeof(*bogus_node)) + 1; in main()
48 (unsigned *) tail_alloc(sizeof(*bogus_tcache)) + 1; in main()
53 long *tcache = tail_alloc(128); in main()
Dso_peercred.c80 struct ucred *const pid = tail_alloc(sizeof_pid); in main()
84 tail_alloc(sizeof_pid_truncated); in main()
87 struct ucred *const uid = tail_alloc(sizeof_uid); in main()
91 tail_alloc(sizeof_uid_truncated); in main()
96 tail_alloc(sizeof_gid_truncated); in main()
Dpreadv.c69 char *buf = tail_alloc(LEN); in main()
112 void *r0 = tail_alloc(r_len); in main()
130 void *r1 = tail_alloc(r_len); in main()
131 void *r2 = tail_alloc(LENGTH_OF(w)); in main()
Dexecve.c132 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main()
136 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main()
140 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main()
141 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main()
Dtest_printpath.c69 char *p = tail_alloc(test_max); in test_efault()
83 char *p = tail_alloc(PATH_MAX); in test_enametoolong()
103 char *p = tail_alloc(test_max + page_size); in test_printpath()
Dexecveat.c138 char *const str_a = tail_alloc(DEFAULT_STRLEN + 2); in main()
142 char *const str_b = tail_alloc(DEFAULT_STRLEN + 2); in main()
146 char **const a = tail_alloc(sizeof(*a) * (DEFAULT_STRLEN + 2)); in main()
147 char **const b = tail_alloc(sizeof(*b) * (DEFAULT_STRLEN + 2)); in main()
Dtests.h114 void *tail_alloc(const size_t)
121 ((void *) ((char *) tail_alloc(((before_) + (after_))) + (before_)))
129 type_name *const type_ptr = tail_alloc(sizeof(*type_ptr))
137 type_name *type_ptr = tail_alloc(sizeof(*type_ptr))
Dpread64-pwrite64.c90 buf = tail_alloc(len); in test_dump()
135 char *nil = tail_alloc(1); in main()
146 void *r0 = tail_alloc(r0_len); in main()
151 void *r1 = tail_alloc(w_len); in main()

12345678910>>...14