Home
last modified time | relevance | path

Searched refs:emutls_address_array (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/compiler-rt/lib/builtins/
Demutls.c36 typedef struct emutls_address_array { struct
40 } emutls_address_array; argument
46 static void emutls_shutdown(emutls_address_array *array);
92 static __inline void emutls_setspecific(emutls_address_array *value) { in emutls_setspecific()
96 static __inline emutls_address_array *emutls_getspecific() { in emutls_getspecific()
97 return (emutls_address_array *)pthread_getspecific(emutls_pthread_key); in emutls_getspecific()
101 emutls_address_array *array = (emutls_address_array *)ptr; in emutls_key_destructor()
179 emutls_shutdown((emutls_address_array *)TlsGetValue(emutls_tls_index)); in emutls_exit()
216 static __inline void emutls_setspecific(emutls_address_array *value) { in emutls_setspecific()
221 static __inline emutls_address_array *emutls_getspecific() { in emutls_getspecific()
[all …]
/external/compiler-rt/lib/builtins/
Demutls.c100 typedef struct emutls_address_array { struct
103 } emutls_address_array; typedef
108 emutls_address_array* array = (emutls_address_array*)ptr; in emutls_key_destructor()
140 static __inline void emutls_check_array_set_size(emutls_address_array *array, in emutls_check_array_set_size()
162 static __inline emutls_address_array *
164 emutls_address_array* array = pthread_getspecific(emutls_pthread_key); in emutls_get_address_array()
167 array = malloc(new_size * sizeof(void *) + sizeof(emutls_address_array)); in emutls_get_address_array()
174 array = realloc(array, new_size * sizeof(void *) + sizeof(emutls_address_array)); in emutls_get_address_array()
185 emutls_address_array* array = emutls_get_address_array(index); in __emutls_get_address()