/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) - 1); 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) - 1); 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/tensorflow/tensorflow/core/kernels/data/ |
D | unbounded_thread_pool.h | 37 UnboundedThreadPool(Env* env, const string& thread_name) in UnboundedThreadPool() argument 38 : unbounded_work_queue_(env, thread_name) {} in UnboundedThreadPool() 39 UnboundedThreadPool(Env* env, const string& thread_name, in UnboundedThreadPool() argument 41 : unbounded_work_queue_(env, thread_name, thread_options) {} in UnboundedThreadPool()
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | trace_event.py | 98 def trace_set_thread_name(thread_name): argument 100 "thread_name", {"name": thread_name}) 162 def trace_set_thread_name(thread_name): argument 163 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/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/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/perfetto/test/trace_processor/ |
D | track_event_same_tids.textproto | 10 thread_name: "t1" 22 thread_name: "t2"
|
D | track_event_tracks.textproto | 12 thread_name: "t1" 32 thread_name: "t2" 169 thread_name: "t3" 221 thread_name: "t4"
|
D | track_event_merged_debug_annotations.textproto | 10 thread_name: "t1" 23 thread_name: "t1"
|
D | track_event_counters.textproto | 12 thread_name: "t1" 100 thread_name: "t1" 213 thread_name: "t4"
|
/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/platform/default/ |
D | unbounded_work_queue.cc | 25 UnboundedWorkQueue::UnboundedWorkQueue(Env* env, const string& thread_name, in UnboundedWorkQueue() argument 27 : env_(env), thread_name_(thread_name), thread_options_(thread_options) {} in UnboundedWorkQueue()
|
D | env.cc | 127 auto thread_name = in GetCurrentThreadName() local 129 if (thread_name != GetThreadNameRegistry().end()) { in GetCurrentThreadName() 130 *name = thread_name->second; in GetCurrentThreadName()
|
/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/v4l2_codec2/accel/ |
D | v4l2_device_poller.cc | 20 const std::string& thread_name) in V4L2DevicePoller() argument 22 poll_thread_(std::move(thread_name)), in V4L2DevicePoller()
|
/external/tensorflow/tensorflow/core/profiler/internal/cpu/ |
D | host_tracer_test.cc | 111 string thread_name; in TEST() local 112 ASSERT_TRUE(Env::Default()->GetCurrentThreadName(&thread_name)); in TEST() 138 EXPECT_EQ(line.name(), thread_name); in TEST()
|
/external/tensorflow/tensorflow/core/platform/ |
D | env_test.cc | 430 string thread_name; in TEST_F() local 431 bool res = env->GetCurrentThreadName(&thread_name); in TEST_F() 436 EXPECT_GT(thread_name.size(), 0); in TEST_F() 447 string thread_name; in TEST_F() local 448 bool res = env->GetCurrentThreadName(&thread_name); in TEST_F() 450 ExpectHasSubstr(thread_name, "tf_child_thread"); in TEST_F()
|
/external/tensorflow/tensorflow/core/platform/windows/ |
D | env.cc | 111 auto thread_name = GetThreadNameRegistry().find(std::this_thread::get_id()); in GetCurrentThreadName() local 112 if (thread_name != GetThreadNameRegistry().end()) { in GetCurrentThreadName() 113 *name = thread_name->second; in GetCurrentThreadName()
|
/external/google-breakpad/src/client/mac/handler/ |
D | exception_handler.h | 99 mach_port_t thread_name); 193 mach_port_t thread_name,
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | step_stats_collector.cc | 423 const string& thread_name) { in SaveThreadName() argument 425 << thread_name; in SaveThreadName() 432 thread_names_map[thread_id] = thread_name; in SaveThreadName() 564 for (const auto& thread_name : device_thread.second) { in FinalizeInternal() local 565 (*dss->mutable_thread_names())[thread_name.first] = thread_name.second; in FinalizeInternal()
|
/external/perfetto/src/trace_processor/importers/json/ |
D | json_trace_parser.cc | 124 const char* thread_name = value["args"]["name"].asCString(); in ParseTracePacket() local 125 auto thread_name_id = context_->storage->InternString(thread_name); in ParseTracePacket()
|