/external/valgrind/drd/tests/ |
thread_name.vgtest | 1 prereq: test -e thread_name && ./supported_libpthread 3 prog: thread_name
|
thread_name_xml.vgtest | 1 prereq: test -e thread_name && ./supported_libpthread 3 prog: thread_name
|
thread_name.c | 23 char thread_name[32]; local 25 snprintf(thread_name, sizeof(thread_name), 27 ANNOTATE_THREAD_NAME(thread_name); 36 fprintf(stderr, "\n%s\n\n", thread_name);
|
thread_name.stderr.exp | 8 by 0x........: thread_func (thread_name.c:?) 17 by 0x........: thread_func (thread_name.c:?) 26 by 0x........: thread_func (thread_name.c:?) 35 by 0x........: thread_func (thread_name.c:?) 44 by 0x........: thread_func (thread_name.c:?) 53 by 0x........: thread_func (thread_name.c:?) 62 by 0x........: thread_func (thread_name.c:?) 71 by 0x........: thread_func (thread_name.c:?) 80 by 0x........: thread_func (thread_name.c:?) 89 by 0x........: thread_func (thread_name.c:? [all...] |
thread_name_xml.stderr.exp | 22 <exe>./thread_name</exe> 53 <file>thread_name.c</file> 89 <file>thread_name.c</file> 125 <file>thread_name.c</file> 161 <file>thread_name.c</file> 197 <file>thread_name.c</file> 233 <file>thread_name.c</file> 269 <file>thread_name.c</file> 305 <file>thread_name.c</file> 341 <file>thread_name.c</file [all...] |
/external/jemalloc/test/unit/ |
prof_thread_name.c | 25 mallctl_thread_name_set_impl(const char *thread_name, const char *func, 29 assert_d_eq(mallctl("thread.prof.name", NULL, NULL, &thread_name, 30 sizeof(thread_name)), 0, 33 mallctl_thread_name_get_impl(thread_name, func, line); 40 const char *thread_name; local 48 thread_name = NULL; 49 assert_d_eq(mallctl("thread.prof.name", NULL, NULL, &thread_name, 50 sizeof(thread_name)), EFAULT, 52 thread_name); 55 thread_name = "hi\nthere" 83 char thread_name[16] = ""; local [all...] |
/system/bt/osi/test/ |
thread_test.cpp | 28 ASSERT_STREQ(thread_name(thread), "test_name"); 34 ASSERT_STREQ("0123456789abcdef", thread_name(thread)); 40 ASSERT_STREQ("0123456789abcdef", thread_name(thread));
|
/libcore/luni/src/test/native/ |
libcore_java_lang_ThreadTest.cpp | 48 std::unique_ptr<char[]> thread_name(new char[32]); 49 if (prctl(PR_GET_NAME, reinterpret_cast<unsigned long>(thread_name.get()), 0L, 0L, 0L) == 0) { 53 if (attach_with_name && (thread_name.get() != native_thread_name)) { 54 exception_message = new std::string("expected_thread_name != thread_name: "); 58 exception_message->append(thread_name.get()); 63 if (!attach_with_name && strncmp(thread_name.get(), "Thread", 6)) { 65 exception_message->append(thread_name.get());
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
FramesDebuggee.java | 41 public volatile static String THREAD_NAME = "TBD"; 55 synchronizer.sendMessage(THREAD_NAME); 62 THREAD_NAME = Thread.currentThread().getName();
|
/bionic/libc/bionic/ |
pthread_setname_np.cpp | 46 int pthread_setname_np(pthread_t t, const char* thread_name) { 49 size_t thread_name_len = strlen(thread_name); 56 return prctl(PR_SET_NAME, thread_name) ? errno : 0; 72 ssize_t n = TEMP_FAILURE_RETRY(write(fd, thread_name, thread_name_len));
|
/external/chromium-trace/catapult/tracing/tracing/ui/extras/about_tracing/ |
inspector_tracing_controller_client_test.html | 59 tr.ui.e.about_tracing.appendTraceChunksTo(chunks, '"{ "method": "Tracing.dataCollected", "params": { "value": [ {"cat":"__metadata","pid":28871,"tid":0,"ts":0,"ph":"M","name":"num_cpus","args":{"number":4}},{"cat":"__metadata","pid":28871,"tid":28911,"ts":0,"ph":"M","name":"process_sort_index","args":{"sort_index":-5}},{"cat":"__metadata","pid":28871,"tid":28911,"ts":0,"ph":"M","name":"process_name","args":{"name":"Renderer"}},{"cat":"__metadata","pid":28871,"tid":28911,"ts":0,"ph":"M","name":"process_labels","args":{"labels":"JS Bin"}},{"cat":"__metadata","pid":28871,"tid":28908,"ts":0,"ph":"M","name":"thread_sort_index","args":{"sort_index":-1}},{"cat":"__metadata","pid":28871,"tid":28917,"ts":0,"ph":"M","name":"thread_name","args":{"name":"Compositor"}},{"cat":"__metadata","pid":28871,"tid":28911,"ts":0,"ph":"M","name":"thread_name","args":{"name":"Chrome_ChildIOThread"}},{"cat":"__metadata","pid":28871,"tid":28919,"ts":0,"ph":"M","name":"thread_name","args":{"name":"CompositorRasterWorker1/28919"}},{"cat":"__metadata","pid":28871,"tid":28908,"ts":0,"ph":"M","name":"thread_name","args":{"name":"CrRendererMain"}},{"cat":"ipc,toplevel","pid":28871,"tid":28911,"ts":22000084746,"ph":"X","name":"ChannelReader::DispatchInputData","args":{"class":64,"line":25},"tdur":0,"tts":1853064},{"cat":"__metadata","pid":28871,"tid":28911,"ts":0,"ph":"M","name":"overhead","args":{"average_overhead":0.015}} ] } }"'); // @suppress longLineCheck 66 tr.ui.e.about_tracing.appendTraceChunksTo(chunks, '"{ "method": "Tracing.dataCollected", "params": { "value": [{"cat":"__metadata","pid":28871,"tid":0,"ts":0,"ph":"M","name":"num_cpus","args":{"number":4}},{"cat":"__metadata","pid":28871,"tid":28911,"ts":0,"ph":"M","name":"process_sort_index","args":{"sort_index":-5}},{"cat":"__metadata","pid":28871,"tid":28911,"ts":0,"ph":"M","name":"process_name","args":{"name":"Renderer"}},{"cat":"__metadata","pid":28871,"tid":28911,"ts":0,"ph":"M","name":"process_labels","args":{"labels":"JS Bin"}},{"cat":"__metadata","pid":28871,"tid":28908,"ts":0,"ph":"M","name":"thread_sort_index","args":{"sort_index":-1}},{"cat":"__metadata","pid":28871,"tid":28917,"ts":0,"ph":"M","name":"thread_name","args":{"name":"Compositor"}},{"cat":"__metadata","pid":28871,"tid":28911,"ts":0,"ph":"M","name":"thread_name","args":{"name":"Chrome_ChildIOThread"}},{"cat":"__metadata","pid":28871,"tid":28919,"ts":0,"ph":"M","name":"thread_name","args":{"name":"CompositorRasterWorker1/28919"}},{"cat":"__metadata","pid":28871,"tid":28908,"ts":0,"ph":"M","name":"thread_name","args":{"name":"CrRendererMain"}},{"cat":"ipc,toplevel","pid":28871,"tid":28911,"ts":22000084746,"ph":"X","name":"ChannelReader::DispatchInputData","args":{"class":64,"line":25},"tdur":0,"tts":1853064},{"cat":"__metadata","pid":28871,"tid":28911,"ts":0,"ph":"M","name":"overhead","args":{"average_overhead":0.015}}] } }"'); // @suppress longLineCheck
|
/system/bt/osi/include/ |
eager_reader.h | 35 // internal read thread named |thread_name|. The returned object must be freed using 37 // must be greater than zero. |allocator| and |thread_name| may not be NULL. 43 const char *thread_name
|
thread.h | 57 // Requests |thread| to stop. Only |thread_free| and |thread_name| may be called 75 const char *thread_name(const thread_t *thread);
|
/art/runtime/ |
monitor_android.cc | 72 std::string thread_name; 73 self->GetThreadName(thread_name); 74 cp = EventLogWriteString(cp, thread_name.c_str(), thread_name.size());
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
model_unittest.py | 20 {"name": "thread_name", "args": {"name": "CrBrowserMain"},
|
/external/chromium-trace/catapult/devil/devil/utils/ |
timeout_retry.py | 117 def _LogLastException(thread_name, attempt, max_attempts, log_func): 119 log_func('Exception on thread %s (attempt %d of %d)', thread_name, 158 thread_name = 'TimeoutThread-%d-for-%s' % (num_try, 161 name=thread_name) 180 _LogLastException(thread_name, num_try, retries + 1, error_log_func)
|
/external/chromium-trace/catapult/tracing/tracing/model/helpers/ |
chrome_model_helper_test.html | 49 events.push({'cat' : '__metadata', 'pid' : 3507, 'tid' : 3507, 'ts' : 0, 'ph' : 'M', 'name' : 'thread_name', 'args' : {'name' : 'CrBrowserMain'}}); // @suppress longLineCheck 52 events.push({'cat' : '__metadata', 'pid' : 3508, 'tid' : 3508, 'ts' : 0, 'ph' : 'M', 'name' : 'thread_name', 'args' : {'name' : 'CrRendererMain'}}); // @suppress longLineCheck 54 events.push({'cat' : '__metadata', 'pid' : 3508, 'tid' : 3510, 'ts' : 0, 'ph' : 'M', 'name' : 'thread_name', 'args' : {'name' : 'Compositor'}}); // @suppress longLineCheck 57 events.push({'cat' : '__metadata', 'pid' : 3509, 'tid' : 3509, 'ts' : 0, 'ph' : 'M', 'name' : 'thread_name', 'args' : {'name' : 'CrRendererMain'}}); // @suppress longLineCheck 60 events.push({'cat' : '__metadata', 'pid' : 3509, 'tid' : 3511, 'ts' : 0, 'ph' : 'M', 'name' : 'thread_name', 'args' : {'name' : 'Compositor'}}); // @suppress longLineCheck
|
/external/testng/src/main/java/org/testng/internal/thread/ |
ThreadUtil.java | 21 private static final String THREAD_NAME = "TestNG";
27 return Thread.currentThread().getName().contains(THREAD_NAME);
53 result.setName(THREAD_NAME);
|
/system/core/libcutils/ |
sched_policy.c | 343 char thread_name[255]; local 347 memset(thread_name, 0, sizeof(thread_name)); 361 strncpy(thread_name, p, (q-p)); 365 SLOGD("vvv tid %d (%s)", tid, thread_name); 371 SLOGD("^^^ tid %d (%s)", tid, thread_name); 374 SLOGD("/// tid %d (%s)", tid, thread_name); 377 SLOGD("??? tid %d (%s)", tid, thread_name);
|
/system/bt/osi/src/ |
eager_reader.c | 70 const char *thread_name) { 76 assert(thread_name != NULL && *thread_name != '\0'); 97 ret->inbound_read_thread = thread_new(thread_name);
|
/external/jemalloc/src/ |
prof.c | 130 static char *prof_thread_name_alloc(tsd_t *tsd, const char *thread_name); 1275 (tdata->thread_name != NULL) ? " " : "", 1276 (tdata->thread_name != NULL) ? tdata->thread_name : "")) 1844 char *thread_name = (tdata->thread_name != NULL) ? local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_report.cc | 77 const char *thread_name(char *buf, int tid) { function in namespace:__tsan 160 thread_name(thrbuf, mop->tid)); 186 thread_name(thrbuf, loc->tid)); 189 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); 191 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); 194 loc->fd, thread_name(thrbuf, loc->tid)); 238 thread_name(thrbuf, rt->parent_tid)); 311 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i]));
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_vsync.cpp | 57 char thread_name[64] = HWC_VSYNC_THREAD_NAME; local 58 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0);
|
/external/webrtc/webrtc/modules/utility/source/ |
process_thread_impl.cc | 40 const char* thread_name) { 41 return rtc::scoped_ptr<ProcessThread>(new ProcessThreadImpl(thread_name)); 44 ProcessThreadImpl::ProcessThreadImpl(const char* thread_name) 47 thread_name_(thread_name) {}
|
/external/chromium-trace/catapult/tracing/test_data/ |
simple_trace.json | 83 "name": "thread_name", "args": {"name": "threadA"}}, 85 "name": "thread_name", "args": {"name": "threadB"}}, 87 "name": "thread_name", "args": {"name": "threadC"}}
|