/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 126 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); local 144 egl_tls_t* tls = (egl_tls_t *)pthread_getspecific(sKey); local [all...] |
/external/llvm/test/MC/ELF/ |
type.s | 29 tls: label 30 .global tls 31 .type tls,@tls_object 32 .type tls,@gnu_indirect_function 80 // CHECK-NEXT: Name: tls 84 // CHECK-NEXT: Type: TLS
|
/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); 86 // Our 'tls' and __pthread_clone's 'child_stack' are one and the same, just growing in 88 extern "C" void __thread_entry(void* (*func)(void*), void* arg, void** tls) { 207 void** tls = (void**)((uint8_t*)(thread->attr.stack_base) + thread->attr.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 | 82 /* Init TLS for the initial thread. Called by the linker _before_ libc is mapped 87 * stores the pointer in TLS, but does not add it to pthread's gThreadList. This 90 * This function also stores a pointer to the kernel argument block in a TLS slot to be 100 static void* tls[BIONIC_TLS_SLOTS]; local 103 thread.tls = tls; 108 tls[TLS_SLOT_BIONIC_PREINIT] = &args; 122 // 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) \ 144 { &tls, 104, "R_ARM_TLS_GD32" }, \ 147 { &tls, 107, "R_ARM_TLS_IE32" }, \ 148 { &tls, 108, "R_ARM_TLS_LE32" }, \
|
/external/llvm/test/MC/PowerPC/ |
ppc64-errors.s | 15 # TLS register operands 18 # CHECK-NEXT: add 3, symbol@tls, 4 19 add 3, symbol@tls, 4 22 # CHECK-NEXT: subf 3, 4, symbol@tls 23 subf 3, 4, symbol@tls
|
/system/core/include/cutils/ |
threads.h | 39 pthread_key_t tls; member in struct:__anon62587 52 DWORD tls; member in struct:__anon62588
|
/frameworks/native/opengl/libs/GLES2/ |
gl2.cpp | 52 "ldr r12, [r12, %[tls]] \n" \ 56 : [tls] "J"(TLS_SLOT_OPENGL_API*4), \ 74 "rdhwr %[tls], $29\n\t" \ 75 "lw %[t0], %[OPENGL_API](%[tls])\n\t" \ 85 [tls] "=&r"(_tls), \
|
/frameworks/rs/cpu_ref/ |
rsCpuCore.cpp | 92 ScriptTLSStruct * tls = (ScriptTLSStruct *)pthread_getspecific(gThreadTLSKey); local 93 return tls->mContext; 97 ScriptTLSStruct * tls = (ScriptTLSStruct *)pthread_getspecific(gThreadTLSKey); local 98 return tls->mScript; 245 ALOGE("Failed to init thread tls key."); 476 ScriptTLSStruct * tls = (ScriptTLSStruct *)pthread_getspecific(gThreadTLSKey); local 477 rsAssert(tls); 478 RsdCpuScriptImpl *old = tls->mImpl; 479 tls->mImpl = sc; 480 tls->mContext = mRSC [all...] |
/external/chromium/third_party/libjingle/source/talk/examples/login/ |
xmppsocket.h | 47 XmppSocket(bool tls);
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
xmppsocket.h | 51 XmppSocket(buzz::TlsOptions tls);
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/tls/ |
FakeSSLSession.java | 17 package com.squareup.okhttp.internal.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];
|
/frameworks/native/opengl/libs/GLES_CM/ |
gl.cpp | 104 "ldr r12, [r12, %[tls]] \n" \ 108 : [tls] "J"(TLS_SLOT_OPENGL_API*4), \ 126 "rdhwr %[tls], $29\n\t" \ 127 "lw %[t0], %[OPENGL_API](%[tls])\n\t" \ 137 [tls] "=&r"(_tls), \
|
/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++){
|