HomeSort by relevance Sort by last modified time
    Searched refs:tls (Results 1 - 25 of 53) sorted by null

1 2 3

  /bionic/libc/arch-mips/bionic/
__get_tls.c 30 register void *tls asm("v1");
35 : "=r"(tls));
36 return tls;
clone.S 53 # sw $a1+16,8($a1) # tls
79 addu $a2,$sp,16 # tls
81 # void __thread_entry(void* (*func)(void*), void *arg, void *tls)
97 # pid_t *pid, void *tls, pid_t *ctid,
  /bionic/libc/arch-x86/bionic/
__get_tls.c 30 * address of the tls region
34 void* tls; local
35 asm ( " movl %%gs:0, %0" : "=r"(tls) );
36 return tls;
  /frameworks/native/opengl/libs/EGL/
egl_tls.cpp 73 egl_tls_t* tls = getTLS(); local
74 if (tls->error != error) {
84 tls->error = error;
89 egl_tls_t* tls = getTLS(); local
90 if (tls->logCallWithNoContext == true) {
91 tls->logCallWithNoContext = false;
98 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); local
99 if (tls == 0) {
100 tls = new egl_tls_t;
101 pthread_setspecific(sKey, tls);
108 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); local
    [all...]
  /system/core/libcutils/
threads.c 22 const pthread_key_t k = store->tls;
27 return pthread_getspecific( store->tls );
36 if (pthread_key_create( &store->tls, destroy) != 0) {
44 pthread_setspecific( store->tls, value );
55 return (void*) TlsGetValue( store->tls );
73 store->tls = TlsAlloc();
74 if (store->tls == TLS_OUT_OF_INDEXES) {
82 TlsSetValue( store->tls, value );
  /bionic/libc/bionic/
pthread_create.cpp 62 thread->tls[i] = NULL;
65 // Slot 0 must point to itself. The x86 Linux kernel reads the TLS from %fs:0.
66 thread->tls[TLS_SLOT_SELF] = thread->tls;
67 thread->tls[TLS_SLOT_THREAD_ID] = thread;
68 // GCC looks in the TLS for the stack guard on x86, so copy it there from our global.
69 thread->tls[TLS_SLOT_STACK_GUARD] = (void*) __stack_chk_guard;
71 __set_tls(thread->tls);
75 extern "C" void __thread_entry(void* (*func)(void*), void* arg, void** tls) {
80 pthread_mutex_t* start_mutex = (pthread_mutex_t*) &tls[TLS_SLOT_SELF]
185 void** tls = (void**)((uint8_t*)(thread->attr.stack_base) + stack_size - BIONIC_TLS_SLOTS * sizeof(void*)); local
    [all...]
libc_init_dynamic.cpp 67 // Read the kernel argument block pointer from TLS.
68 void* tls = const_cast<void*>(__get_tls()); local
69 KernelArgumentBlock** args_slot = &reinterpret_cast<KernelArgumentBlock**>(tls)[TLS_SLOT_BIONIC_PREINIT];
73 // __libc_init_common() will change the TLS area so the old one won't be accessible anyway.
pthread_internals.cpp 67 void** tls = reinterpret_cast<void**>(const_cast<void*>(__get_tls())); local
68 return reinterpret_cast<pthread_internal_t*>(tls[TLS_SLOT_THREAD_ID]);
libc_init_common.cpp 65 /* Init TLS for the initial thread. Called by the linker _before_ libc is mapped
70 * stores the pointer in TLS, but does not add it to pthread's gThreadList. This
73 * This function also stores a pointer to the kernel argument block in a TLS slot to be
83 static void* tls[BIONIC_TLS_SLOTS]; local
86 thread.tls = tls;
91 tls[TLS_SLOT_BIONIC_PREINIT] = &args;
105 // Get the main thread from TLS and add it to the thread list.
pthread_key.cpp 34 /* A technical note regarding our thread-local-storage (TLS) implementation:
36 * There can be up to BIONIC_TLS_SLOTS independent TLS keys in a given process,
43 * currently created/allocated TLS keys and the destructors associated
46 * The global TLS map simply contains a bitmap of allocated keys, and
49 * Each thread has a TLS area that is a simple array of BIONIC_TLS_SLOTS void*
50 * pointers. the TLS area of the main thread is stack-allocated in
51 * __libc_init_common, while the TLS area of other threads is placed at
55 * and its destructor, and will also clear the key data in the TLS area of
86 // If this is the first time the TLS map has been accessed,
90 // destructors, and all the functions that touch the TLS ma
136 void** tls = (void**)__get_tls(); local
    [all...]
pthread_internal.h 48 void** tls; /* thread-local storage area */ member in struct:pthread_internal_t
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/
balanced_quicksort.h 154 * @param tls Array of thread-local storages.
163 qsb_conquer(QSBThreadLocal<RandomAccessIterator>** tls,
177 tls[iam]->initial.first = begin;
178 tls[iam]->initial.second = end;
180 qsb_local_sort_with_helping(tls, comp, iam, parent_wait);
197 *tls[iam]->elements_leftover -= (difference_type)1;
212 qsb_conquer(tls, begin, begin + split_pos, comp,
221 qsb_conquer(tls, begin + split_pos + 1, end, comp,
233 * @param tls Array of thread-local storages.
239 qsb_local_sort_with_helping(QSBThreadLocal<RandomAccessIterator>** tls,
441 tls_type** tls = new tls_type*[num_threads]; local
    [all...]
  /external/wpa_supplicant_8/src/
Makefile 1 SUBDIRS=ap common crypto drivers eapol_auth eapol_supp eap_common eap_peer eap_server l2_packet p2p radius rsn_supp tls utils wps
  /frameworks/compile/mclinker/lib/Target/ARM/
ARMRelocationFunctions.h 34 DECL_ARM_APPLY_RELOC_FUNC(tls) \
143 { &tls, 104, "R_ARM_TLS_GD32" }, \
146 { &tls, 107, "R_ARM_TLS_IE32" }, \
147 { &tls, 108, "R_ARM_TLS_LE32" }, \
  /system/core/include/cutils/
threads.h 39 pthread_key_t tls; member in struct:__anon43847
52 DWORD tls; member in struct:__anon43848
  /frameworks/native/opengl/libs/GLES2/
gl2.cpp 54 "ldr r12, [r12, %[tls]] \n" \
60 : [tls] "J"(TLS_SLOT_OPENGL_API*4), \
78 "rdhwr %[tls], $29\n\t" \
79 "lw %[t0], %[OPENGL_API](%[tls])\n\t" \
89 [tls] "=&r"(_tls), \
  /frameworks/rs/cpu_ref/
rsCpuCore.cpp 86 ScriptTLSStruct * tls = (ScriptTLSStruct *)pthread_getspecific(gThreadTLSKey); local
87 return tls->mContext;
91 ScriptTLSStruct * tls = (ScriptTLSStruct *)pthread_getspecific(gThreadTLSKey); local
92 return tls->mScript;
206 ALOGE("Failed to init thread tls key.");
433 ScriptTLSStruct * tls = (ScriptTLSStruct *)pthread_getspecific(gThreadTLSKey); local
434 rsAssert(tls);
435 RsdCpuScriptImpl *old = tls->mImpl;
436 tls->mImpl = sc;
437 tls->mContext = mRSC
    [all...]
  /external/chromium/third_party/libjingle/source/talk/examples/login/
xmppsocket.h 47 XmppSocket(bool tls);
  /bionic/linker/
dlfcn.cpp 34 void* tls = const_cast<void*>(__get_tls()); local
35 char** dlerror_slot = &reinterpret_cast<char**>(tls)[TLS_SLOT_DLERROR];
  /sdk/emulator/opengl/host/libs/Translator/EGL/
EglWindowsApi.cpp 41 TlsData *tls = (TlsData *)TlsGetValue(s_tlsIndex); local
42 if (!tls) {
43 tls = new TlsData();
44 TlsSetValue(s_tlsIndex, tls);
46 return tls;
65 TlsData * tls = getTLS(); local
67 for(std::map<int,DisplayInfo>::iterator it = tls->m_map.begin(); it != tls->m_map.end();it++){
  /frameworks/native/libs/utils/
BufferedTextOutput.cpp 89 static thread_store_t tls; member in namespace:android
93 ThreadState* ts = (ThreadState*) thread_store_get( &tls );
96 thread_store_set( &tls, ts, threadDestructor );
  /external/wpa_supplicant_8/hostapd/
Android.mk 490 # Shared TLS functions (needed for EAP_TLS, EAP_PEAP, and EAP_TTLS)
577 OBJS += src/tls/tlsv1_common.c
578 OBJS += src/tls/tlsv1_record.c
579 OBJS += src/tls/tlsv1_cred.c
580 OBJS += src/tls/tlsv1_server.c
581 OBJS += src/tls/tlsv1_server_write.c
582 OBJS += src/tls/tlsv1_server_read.c
583 OBJS += src/tls/asn1.c
584 OBJS += src/tls/rsa.c
585 OBJS += src/tls/x509v3.
    [all...]
Makefile 446 # Shared TLS functions (needed for EAP_TLS, EAP_PEAP, and EAP_TTLS)
529 OBJS += ../src/tls/tlsv1_common.o
530 OBJS += ../src/tls/tlsv1_record.o
531 OBJS += ../src/tls/tlsv1_cred.o
532 OBJS += ../src/tls/tlsv1_server.o
533 OBJS += ../src/tls/tlsv1_server_write.o
534 OBJS += ../src/tls/tlsv1_server_read.o
535 OBJS += ../src/tls/asn1.o
536 OBJS += ../src/tls/rsa.o
537 OBJS += ../src/tls/x509v3.
    [all...]
  /external/skia/src/core/
SkGlyphCache.cpp 497 // Returns the TLS globals (if set), or the shared globals
499 SkGlyphCache_Globals* tls = SkGlyphCache_Globals::FindTLS(); local
500 return tls ? *tls : getSharedGlobals();
733 const SkGlyphCache_Globals* tls = SkGlyphCache_Globals::FindTLS(); local
734 return tls ? tls->getFontCacheLimit() : 0;
  /frameworks/rs/
rsScriptC.cpp 36 #define GET_TLS() Context::ScriptTLSStruct * tls = \
38 Context * rsc = tls->mContext; \
39 ScriptC * sc = (ScriptC *) tls->mScript

Completed in 4272 milliseconds

1 2 3