Home
last modified time | relevance | path

Searched refs:cffi_tls_s (Results 1 – 3 of 3) sorted by relevance

/external/python/cffi/c/
Dmisc_win32.h44 static struct cffi_tls_s *get_cffi_tls(void) in get_cffi_tls()
49 p = malloc(sizeof(struct cffi_tls_s)); in get_cffi_tls()
52 memset(p, 0, sizeof(struct cffi_tls_s)); in get_cffi_tls()
55 return (struct cffi_tls_s *)p; in get_cffi_tls()
66 struct cffi_tls_s *p = get_cffi_tls(); in save_errno()
76 struct cffi_tls_s *p = get_cffi_tls(); in restore_errno()
100 struct cffi_tls_s *p = get_cffi_tls(); in b_getwinerror()
149 struct cffi_tls_s *p = get_cffi_tls(); in b_getwinerror()
Dmisc_thread_posix.h28 static struct cffi_tls_s *_make_cffi_tls(void) in _make_cffi_tls()
30 void *p = calloc(1, sizeof(struct cffi_tls_s)); in _make_cffi_tls()
40 static struct cffi_tls_s *get_cffi_tls(void) in get_cffi_tls()
45 return (struct cffi_tls_s *)p; in get_cffi_tls()
Dmisc_thread_common.h7 struct cffi_tls_s { struct
25 static struct cffi_tls_s *get_cffi_tls(void); /* in misc_thread_posix.h argument
78 struct cffi_tls_s *tls;
179 struct cffi_tls_s *tls; in thread_canary_register()
258 struct cffi_tls_s *tls = (struct cffi_tls_s *)p; in cffi_thread_shutdown()
285 struct cffi_tls_s *tls = get_cffi_tls(); in save_errno_only()
292 struct cffi_tls_s *tls = get_cffi_tls(); in restore_errno_only()