HomeSort by relevance Sort by last modified time
    Searched defs:tls (Results 1 - 23 of 23) sorted by null

  /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]);
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_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...]
pthread_internal.h 48 void** tls; /* thread-local storage area */ member in struct:pthread_internal_t
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...]
  /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/include/cutils/
threads.h 39 pthread_key_t tls; member in struct:__anon43847
52 DWORD tls; member in struct:__anon43848
  /bionic/linker/
dlfcn.cpp 34 void* tls = const_cast<void*>(__get_tls()); local
35 char** dlerror_slot = &reinterpret_cast<char**>(tls)[TLS_SLOT_DLERROR];
  /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...]
  /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 );
  /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...]
  /frameworks/compile/mclinker/lib/Target/ARM/
ARMRelocator.cpp 876 ARMRelocator::Result tls(Relocation& pReloc, ARMRelocator& pParent) function
  /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;
  /external/qemu/
vnc.h 80 #include "vnc-tls.h"
100 VncDisplayTLS tls; member in struct:VncDisplay
139 VncStateTLS tls; member in struct:VncState
vnc-android.c 123 return "tls";
130 return "vencrypt+tls+none";
132 return "vencrypt+tls+vnc";
134 return "vencrypt+tls+plain";
142 return "vencrypt+tls+sasl";
170 if (client->tls.session &&
171 client->tls.dname)
172 monitor_printf(mon, " x509 dname: %s\n", client->tls.dname);
967 * written via the GNUTLS wrappers, if TLS/SSL encryption is enabled
970 * both SASL, and this TLS layer. It is highly unlikely in practic
2194 int tls = 0, x509 = 0; local
    [all...]
vnc.c 117 return "tls";
124 return "vencrypt+tls+none";
126 return "vencrypt+tls+vnc";
128 return "vencrypt+tls+plain";
136 return "vencrypt+tls+sasl";
164 if (client->tls.session &&
165 client->tls.dname)
166 monitor_printf(mon, " x509 dname: %s\n", client->tls.dname);
961 * written via the GNUTLS wrappers, if TLS/SSL encryption is enabled
964 * both SASL, and this TLS layer. It is highly unlikely in practic
2190 int tls = 0, x509 = 0; local
    [all...]
  /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++){
  /libcore/luni/src/main/java/java/io/
ObjectStreamClass.java 1082 ThreadLocal<WeakHashMap<Class<?>, ObjectStreamClass>> tls = storage.get(); local
    [all...]
  /prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 
  /external/mdnsresponder/mDNSCore/
uDNS.c 731 // with LLQs over TLS/TCP we're doing a weird thing where instead of requesting packets be sent to ExternalAddress:ExternalPort
1118 mDNSBool tls; local
    [all...]

Completed in 1034 milliseconds