/external/jemalloc/test/unit/ |
D | prof_thread_name.c | 26 mallctl_thread_name_set_impl(const char *thread_name, const char *func, in mallctl_thread_name_set_impl() argument 31 (void *)&thread_name, sizeof(thread_name)), 0, in mallctl_thread_name_set_impl() 34 mallctl_thread_name_get_impl(thread_name, func, line); in mallctl_thread_name_set_impl() 41 const char *thread_name; in TEST_BEGIN() local 49 thread_name = NULL; in TEST_BEGIN() 51 (void *)&thread_name, sizeof(thread_name)), EFAULT, in TEST_BEGIN() 53 thread_name); in TEST_BEGIN() 56 thread_name = "hi\nthere"; in TEST_BEGIN() 58 (void *)&thread_name, sizeof(thread_name)), EFAULT, in TEST_BEGIN() 60 thread_name); in TEST_BEGIN() [all …]
|
/external/jemalloc_new/test/unit/ |
D | prof_thread_name.c | 21 mallctl_thread_name_set_impl(const char *thread_name, const char *func, in mallctl_thread_name_set_impl() argument 24 (void *)&thread_name, sizeof(thread_name)), 0, in mallctl_thread_name_set_impl() 27 mallctl_thread_name_get_impl(thread_name, func, line); in mallctl_thread_name_set_impl() 33 const char *thread_name; in TEST_BEGIN() local 41 thread_name = NULL; in TEST_BEGIN() 43 (void *)&thread_name, sizeof(thread_name)), EFAULT, in TEST_BEGIN() 45 thread_name); in TEST_BEGIN() 48 thread_name = "hi\nthere"; in TEST_BEGIN() 50 (void *)&thread_name, sizeof(thread_name)), EFAULT, in TEST_BEGIN() 52 thread_name); in TEST_BEGIN() [all …]
|
/external/libaom/libaom/aom_util/ |
D | aom_thread.c | 44 if (worker->thread_name != NULL) { in thread_loop() 50 char thread_name[64]; in thread_loop() local 51 strncpy(thread_name, worker->thread_name, sizeof(thread_name)); in thread_loop() 52 thread_name[sizeof(thread_name) - 1] = '\0'; in thread_loop() 53 pthread_setname_np(thread_name); in thread_loop() 56 if (worker->thread_name != NULL) { in thread_loop() 59 char thread_name[16]; in thread_loop() local 60 strncpy(thread_name, worker->thread_name, sizeof(thread_name)); in thread_loop() 61 thread_name[sizeof(thread_name) - 1] = '\0'; in thread_loop() 62 pthread_setname_np(pthread_self(), thread_name); in thread_loop()
|
/external/libxcam/xcore/ |
D | xcam_thread.cpp | 104 char thread_name[16]; in start() local 105 xcam_mem_clear (thread_name); in start() 106 snprintf (thread_name, sizeof (thread_name), "xc:%s", XCAM_STR(_name)); in start() 107 int ret = pthread_setname_np (_thread_id, thread_name); in start()
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | trace_event.py | 93 def trace_set_thread_name(thread_name): argument 95 "thread_name", {"name": thread_name}) 149 def trace_set_thread_name(thread_name): argument 150 del thread_name # unused.
|
/external/jemalloc/src/ |
D | prof.c | 130 static char *prof_thread_name_alloc(tsdn_t *tsdn, const char *thread_name); 1308 (tdata->thread_name != NULL) ? " " : "", in prof_tdata_dump_iter() 1309 (tdata->thread_name != NULL) ? tdata->thread_name : "")) in prof_tdata_dump_iter() 1794 char *thread_name, bool active) in prof_tdata_init_impl() argument 1810 tdata->thread_name = thread_name; in prof_tdata_init_impl() 1878 if (tdata->thread_name != NULL) in prof_tdata_destroy_locked() 1879 idalloctm(tsd_tsdn(tsd), tdata->thread_name, NULL, true, true); in prof_tdata_destroy_locked() 1921 char *thread_name = (tdata->thread_name != NULL) ? in prof_tdata_reinit() local 1922 prof_thread_name_alloc(tsd_tsdn(tsd), tdata->thread_name) : NULL; in prof_tdata_reinit() 1926 return (prof_tdata_init_impl(tsd, thr_uid, thr_discrim, thread_name, in prof_tdata_reinit() [all …]
|
/external/jemalloc_new/src/ |
D | prof.c | 146 static char *prof_thread_name_alloc(tsdn_t *tsdn, const char *thread_name); 1318 (tdata->thread_name != NULL) ? " " : "", in prof_tdata_dump_iter() 1319 (tdata->thread_name != NULL) ? tdata->thread_name : "")) { in prof_tdata_dump_iter() 1904 char *thread_name, bool active) { in prof_tdata_init_impl() argument 1920 tdata->thread_name = thread_name; in prof_tdata_init_impl() 1982 if (tdata->thread_name != NULL) { in prof_tdata_destroy_locked() 1983 idalloctm(tsd_tsdn(tsd), tdata->thread_name, NULL, NULL, true, in prof_tdata_destroy_locked() 2026 char *thread_name = (tdata->thread_name != NULL) ? in prof_tdata_reinit() local 2027 prof_thread_name_alloc(tsd_tsdn(tsd), tdata->thread_name) : NULL; in prof_tdata_reinit() 2031 return prof_tdata_init_impl(tsd, thr_uid, thr_discrim, thread_name, in prof_tdata_reinit() [all …]
|
/external/tensorflow/tensorflow/core/profiler/lib/ |
D | profiler_session.cc | 87 for (const auto& thread_name : device_stats->thread_names()) { in ConvertRunMetadataToTraceEvent() local 89 resource.set_resource_id(thread_name.first); in ConvertRunMetadataToTraceEvent() 90 resource.set_name(thread_name.second); in ConvertRunMetadataToTraceEvent() 91 (*device.mutable_resources())[thread_name.first] = resource; in ConvertRunMetadataToTraceEvent()
|
/external/webrtc/webrtc/modules/utility/source/ |
D | process_thread_impl.cc | 40 const char* thread_name) { in Create() argument 41 return rtc::scoped_ptr<ProcessThread>(new ProcessThreadImpl(thread_name)); in Create() 44 ProcessThreadImpl::ProcessThreadImpl(const char* thread_name) in ProcessThreadImpl() argument 47 thread_name_(thread_name) {} in ProcessThreadImpl()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_report.cc | 77 const char *thread_name(char *buf, int tid) { in thread_name() function 162 thread_name(thrbuf, mop->tid)); in PrintMop() 188 thread_name(thrbuf, loc->tid)); in PrintLocation() 191 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation() 193 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation() 196 loc->fd, thread_name(thrbuf, loc->tid)); in PrintLocation() 240 thread_name(thrbuf, rt->parent_tid)); in PrintThread() 313 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i])); in PrintReport()
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | timeout_retry.py | 149 thread_name = 'TimeoutThread-%d-for-%s' % (num_try, 152 name=thread_name) 173 thread_name, desc, num_try, retries + 1, e)
|
/external/libchrome/base/android/ |
D | jni_android.cc | 51 char thread_name[16]; in AttachCurrentThread() local 52 int err = prctl(PR_GET_NAME, thread_name); in AttachCurrentThread() 57 args.name = thread_name; in AttachCurrentThread() 66 JNIEnv* AttachCurrentThreadWithName(const std::string& thread_name) { in AttachCurrentThreadWithName() argument 70 args.name = thread_name.c_str(); in AttachCurrentThreadWithName()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | unbounded_thread_pool.h | 41 UnboundedThreadPool(Env* env, const string& thread_name) in UnboundedThreadPool() argument 42 : env_(env), thread_name_(thread_name) {} in UnboundedThreadPool()
|
/external/webrtc/webrtc/base/ |
D | platform_thread.cc | 96 const char* thread_name) in PlatformThread() argument 99 name_(thread_name ? thread_name : "webrtc"), in PlatformThread()
|
/external/tensorflow/tensorflow/core/profiler/rpc/client/ |
D | trace_events_to_json_test.cc | 81 {"ph":"M", "pid":1, "tid":2, "name":"thread_name", in TEST() 87 {"ph":"M", "pid":2, "tid":2, "name":"thread_name", in TEST()
|
/external/google-breakpad/src/client/mac/handler/ |
D | exception_handler.h | 99 mach_port_t thread_name); 193 mach_port_t thread_name,
|
D | minidump_generator.h | 101 mach_port_t thread_name) { in SetExceptionInformation() argument 105 exception_thread_ = thread_name; in SetExceptionInformation()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | step_stats_collector.cc | 415 const string& thread_name) { in SaveThreadName() argument 417 << thread_name; in SaveThreadName() 424 thread_names_map[thread_id] = thread_name; in SaveThreadName() 556 for (const auto& thread_name : device_thread.second) { in FinalizeInternal() local 557 (*dss->mutable_thread_names())[thread_name.first] = thread_name.second; in FinalizeInternal()
|
/external/perfetto/src/trace_processor/ |
D | json_trace_parser.cc | 108 const char* thread_name = value["args"]["name"].asCString(); in ParseTracePacket() local 109 auto thread_name_id = context_->storage->InternString(thread_name); in ParseTracePacket()
|
/external/python/futures/concurrent/futures/ |
D | thread.py | 143 thread_name = '%s_%d' % (self._thread_name_prefix or self, 145 t = threading.Thread(name=thread_name, target=_worker,
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
D | log.py | 174 def trace_set_thread_name(thread_name): argument 176 {"name": thread_name})
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | event_timer_posix.cc | 156 const char* thread_name = "WebRtc_event_timer_thread"; in StartTimer() local 157 timer_thread_.reset(new rtc::PlatformThread(Run, this, thread_name)); in StartTimer()
|
/external/perfetto/src/traced/probes/ps/ |
D | process_stats_data_source.cc | 218 std::string thread_name; in WriteProcessOrThread() local 220 thread_name = ReadProcStatusEntry(proc_status, "Name:"); in WriteProcessOrThread() 221 WriteThread(pid, tgid, thread_name.empty() ? nullptr : thread_name.c_str()); in WriteProcessOrThread()
|
/external/python/cpython3/Lib/concurrent/futures/ |
D | thread.py | 173 thread_name = '%s_%d' % (self._thread_name_prefix or self, 175 t = threading.Thread(name=thread_name, target=_worker,
|
/external/libchrome/base/debug/ |
D | activity_tracker.cc | 657 char thread_name[32]; member 747 strlcpy(header_->thread_name, PlatformThread::GetName(), in ThreadActivityTracker() 748 sizeof(header_->thread_name)); in ThreadActivityTracker() 904 header_->thread_name[sizeof(header_->thread_name) - 1] != '\0') { in IsValid() 975 output_snapshot->thread_name = in CreateSnapshot() 976 std::string(header_->thread_name, sizeof(header_->thread_name) - 1); in CreateSnapshot() 984 output_snapshot->thread_name.resize( in CreateSnapshot() 985 strlen(output_snapshot->thread_name.c_str())); in CreateSnapshot()
|