Home
last modified time | relevance | path

Searched refs:thread_name (Results 1 – 13 of 13) sorted by relevance

/third_party/musl/libc-test/src/functional/
Dpthread_getname_np.c25 char thread_name[NAMELEN]; in main() local
29 rc = pthread_getname_np(pthread_self(), thread_name, NAMELEN-1); in main()
32 rc = pthread_getname_np(pthread_self(), thread_name, NAMELEN); in main()
34 if(strcmp(thread_name, default_name) != 0) perror("pthread name comparison failed"); in main()
42 rc = pthread_getname_np(thread, thread_name, (argc > 2) ? atoi(argv[1]) : NAMELEN); in main()
44 if(strcmp(thread_name, set_thread_name) != 0) perror("pthread name comparison failed"); in main()
/third_party/openh264/codec/common/src/
DWelsThreadLib.cpp199 WELS_THREAD_ERROR_CODE WelsThreadSetName (const char* thread_name) { in WelsThreadSetName() argument
252 WELS_THREAD_ERROR_CODE WelsThreadSetName (const char* thread_name) { in WelsThreadSetName() argument
254 pthread_setname_np (thread_name); in WelsThreadSetName()
257 pthread_setname_np (pthread_self(), thread_name); in WelsThreadSetName()
/third_party/skia/third_party/externals/microhttpd/src/include/
Dw32functions.h199 static void W32_SetThreadName(const DWORD thread_id, const char *thread_name) in W32_SetThreadName() argument
207 void W32_SetThreadName(const DWORD thread_id, const char *thread_name);
/third_party/skia/third_party/externals/microhttpd/src/platform/
Dw32functions.c676 void W32_SetThreadName(const DWORD thread_id, const char *thread_name) in W32_SetThreadName() argument
689 if (NULL == thread_name) in W32_SetThreadName()
693 thread_info.name = thread_name; in W32_SetThreadName()
/third_party/pulseaudio/src/modules/raop/
Draop-sink.c735 char *thread_name = NULL; in pa_raop_sink_new() local
930 thread_name = pa_sprintf_malloc("raop-sink-%s", server); in pa_raop_sink_new()
931 if (!(u->thread = pa_thread_new(thread_name, thread_func, u))) { in pa_raop_sink_new()
935 pa_xfree(thread_name); in pa_raop_sink_new()
936 thread_name = NULL; in pa_raop_sink_new()
947 pa_xfree(thread_name); in pa_raop_sink_new()
/third_party/python/Lib/concurrent/futures/
Dthread.py192 thread_name = '%s_%d' % (self._thread_name_prefix or self,
194 t = threading.Thread(name=thread_name, target=_worker,
/third_party/openh264/codec/common/inc/
DWelsThreadLib.h137 WELS_THREAD_ERROR_CODE WelsThreadSetName (const char* thread_name);
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast.c1173 char thread_name[16]; in thread_function() local
1175 snprintf(thread_name, sizeof thread_name, "llvmpipe-%u", task->thread_index); in thread_function()
1176 u_thread_setname(thread_name); in thread_function()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c2037 char *thread_name = NULL; in pa_alsa_source_new() local
2444thread_name = pa_sprintf_malloc("alsa-source-%s", pa_strnull(pa_proplist_gets(u->source->proplist,… in pa_alsa_source_new()
2445 if (!(u->thread = pa_thread_new(thread_name, thread_func, u))) { in pa_alsa_source_new()
2449 pa_xfree(thread_name); in pa_alsa_source_new()
2450 thread_name = NULL; in pa_alsa_source_new()
2484 pa_xfree(thread_name); in pa_alsa_source_new()
Dalsa-sink.c2333 char *thread_name = NULL; in pa_alsa_sink_new() local
2786thread_name = pa_sprintf_malloc("alsa-sink-%s", pa_strnull(pa_proplist_gets(u->sink->proplist, "al… in pa_alsa_sink_new()
2787 if (!(u->thread = pa_thread_new(thread_name, thread_func, u))) { in pa_alsa_sink_new()
2791 pa_xfree(thread_name); in pa_alsa_sink_new()
2792 thread_name = NULL; in pa_alsa_sink_new()
2858 pa_xfree(thread_name); in pa_alsa_sink_new()
/third_party/ffmpeg/fftools/
Dffplay.c2105 static int decoder_start(Decoder *d, int (*fn)(void *), const char *thread_name, void* arg) in decoder_start() argument
2108 d->decoder_tid = SDL_CreateThread(fn, thread_name, arg); in decoder_start()
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi39047 <!-- const char* __tsan::thread_name(char*, int) -->
39048 …<function-decl name='thread_name' filepath='../../.././libsanitizer/tsan/tsan_report.cc' line='56'…
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi23257 …<function-decl name='thread_name' filepath='../../.././libsanitizer/tsan/tsan_report.cc' line='56'…