/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;
|
/bionic/libc/bionic/ |
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]);
|
pthread_internal.h | 48 void** tls; /* thread-local storage area */ member in struct:pthread_internal_t
|
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_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...] |
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...] |
/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/include/cutils/ |
threads.h | 39 pthread_key_t tls; member in struct:__anon60785 52 DWORD tls; member in struct:__anon60786
|
/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...] |
/bionic/linker/ |
dlfcn.cpp | 34 void* tls = const_cast<void*>(__get_tls()); local 35 char** dlerror_slot = &reinterpret_cast<char**>(tls)[TLS_SLOT_DLERROR];
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
OkHostnameVerifier.java | 18 package com.squareup.okhttp.internal.tls;
|
DistinguishedNameParser.java | 18 package com.squareup.okhttp.internal.tls;
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/tls/ |
HostnameVerifierTest.java | 18 package com.squareup.okhttp.internal.tls;
|
FakeSSLSession.java | 17 package com.squareup.okhttp.internal.tls;
|
/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/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_screen.h | 33 struct nouveau_bo *tls; member in struct:nvc0_screen
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_screen.h | 33 struct nouveau_bo *tls; member in struct:nvc0_screen
|
/frameworks/native/libs/binder/ |
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 );
|
/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_org/third_party/libjingle/source/talk/examples/call/ |
call_main.cc | 225 DEFINE_string(tls, "require", 275 std::string tls = FLAG_tls; local 352 if (tls == "disable") { 354 } else if (tls == "enable") { 356 } else if (tls == "require") { 359 Print("Invalid TLS option, must be enable, disable, or require.\n");
|
/external/chromium_org/third_party/skia/src/core/ |
SkGlyphCache.cpp | 32 // Returns the TLS globals (if set), or the shared globals 34 SkGlyphCache_Globals* tls = SkGlyphCache_Globals::FindTLS(); local 35 return tls ? *tls : getSharedGlobals(); 708 const SkGlyphCache_Globals* tls = SkGlyphCache_Globals::FindTLS(); local 709 return tls ? tls->getCacheSizeLimit() : 0;
|
/external/skia/src/core/ |
SkGlyphCache.cpp | 32 // Returns the TLS globals (if set), or the shared globals 34 SkGlyphCache_Globals* tls = SkGlyphCache_Globals::FindTLS(); local 35 return tls ? *tls : getSharedGlobals(); 708 const SkGlyphCache_Globals* tls = SkGlyphCache_Globals::FindTLS(); local 709 return tls ? tls->getCacheSizeLimit() : 0;
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
ARMRelocator.cpp | 504 // FIXME: Below judgements concern nothing about TLS related relocation 1357 ARMRelocator::Result tls(Relocation& pReloc, ARMRelocator& pParent) function [all...] |
/art/compiler/dex/portable/ |
mir_to_gbc.cc | 106 CompilerTls* tls = cu_->compiler_driver->GetTls(); local 107 CHECK(tls != NULL); 108 llvm_info_ = static_cast<LLVMInfo*>(tls->GetLLVMInfo()); 111 tls->SetLLVMInfo(llvm_info_); [all...] |