Home | History | Annotate | Download | only in libc

Lines Matching defs:cookie

70 // cookie_of() takes a pointer to the user array and returns a reference to the cookie.
77 // element_size field of the cookie.
84 // element_count field of the cookie.
90 // user_array_of() takes a pointer to the cookie and returns a pointer to the user array.
99 extern "C" void* __aeabi_vec_ctor_cookie_nodtor(array_cookie* cookie,
139 // cookie fields and returns user_array. The parameters are arranged to make STRD
140 // usable. Does nothing and returns NULL if cookie is NULL.
141 extern "C" void* __aeabi_vec_ctor_cookie_nodtor(array_cookie* cookie,
145 if (cookie == nullptr) {
148 cookie->element_size = element_size;
149 cookie->element_count = element_count;
150 return __aeabi_vec_ctor_nocookie_nodtor(user_array_of(cookie), constructor,
172 array_cookie* cookie = reinterpret_cast<array_cookie*>(
175 cookie->element_size = element_size;
176 cookie->element_count = element_count;
177 return user_array_of(cookie);
191 array_cookie* cookie = reinterpret_cast<array_cookie*>(
194 return __aeabi_vec_ctor_cookie_nodtor(cookie, constructor, element_size, element_count);
205 // a pointer to the cookie (assuming user_array has one).
220 // __aeabi_vec_dtor is like __cxa_vec_dtor but returns a pointer to the cookie.
222 // each element (from highest index down to zero) and returns a pointer to the cookie.
223 // Does nothing and returns NULL if cookie is NULL.
226 // __aeabi_vec_dtor_cookie must not change the element count in the cookie.