HomeSort by: relevance | last modified time | path
    Searched defs:thread_name (Results 1 - 25 of 46) sorted by relevancy

1 2

  /src/external/bsd/jemalloc.old/dist/test/unit/
prof_sys_thread_name.c 35 const char *thread_name; local
36 sz = sizeof(thread_name);
37 assert_d_eq(mallctl("thread.prof.name", &thread_name, &sz, NULL, 0), 0,
39 expect_str_eq(thread_name, "", "Initial thread name should be empty");
41 thread_name = test_thread_name;
42 assert_d_eq(mallctl("thread.prof.name", NULL, NULL, &thread_name, sz),
44 assert_ptr_eq(thread_name, test_thread_name,
50 assert_d_eq(mallctl("thread.prof.name", &thread_name, &sz, NULL, 0), 0,
52 assert_str_eq(thread_name, "",
58 assert_d_eq(mallctl("thread.prof.name", &thread_name, &sz, NULL, 0), 0
    [all...]
prof_thread_name.c 21 mallctl_thread_name_set_impl(const char *thread_name, const char *func,
24 (void *)&thread_name, sizeof(thread_name)), 0,
27 mallctl_thread_name_get_impl(thread_name, func, line);
33 const char *thread_name; local
42 thread_name = NULL;
44 (void *)&thread_name, sizeof(thread_name)), EFAULT,
46 thread_name);
49 thread_name = "hi\nthere"
77 char thread_name[16] = ""; local
    [all...]
  /src/external/bsd/jemalloc/dist/test/unit/
prof_sys_thread_name.c 37 const char *thread_name; local
38 sz = sizeof(thread_name);
39 assert_d_eq(mallctl("thread.prof.name", &thread_name, &sz, NULL, 0), 0,
41 expect_str_eq(thread_name, "", "Initial thread name should be empty");
43 thread_name = test_thread_name;
44 assert_d_eq(mallctl("thread.prof.name", NULL, NULL, &thread_name, sz),
47 thread_name, test_thread_name, "Thread name should not be touched");
54 assert_d_eq(mallctl("thread.prof.name", &thread_name, &sz, NULL, 0), 0,
56 assert_str_eq(thread_name, "",
62 assert_d_eq(mallctl("thread.prof.name", &thread_name, &sz, NULL, 0), 0
    [all...]
prof_thread_name.c 20 const char *thread_name, const char *func, int line) {
22 (void *)&thread_name, sizeof(thread_name)),
25 mallctl_thread_name_get_impl(thread_name, func, line);
84 char thread_name[16] = ""; local
87 malloc_snprintf(thread_name, sizeof(thread_name), "thread %u", thd_ind);
90 mallctl_thread_name_set(thread_name);
96 mallctl_thread_name_get(thread_name);
99 mallctl_thread_name_set(thread_name);
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/nat/
netbsd-nat.c 126 thread_name (ptid_t ptid) function
windows-nat.c 123 windows_thread_info::thread_name () function in class:windows_thread_info
324 gdb::unique_xmalloc_ptr<char> thread_name member in class:gdb
328 thread_name.get ()[thread_name_len - 1] = '\0';
329 named_thread->name = std::move (thread_name);
  /src/external/mit/libuv/dist/test/
test-thread-name.c 35 char thread_name[16]; local
53 r = uv_thread_getname(&thread, thread_name, sizeof(thread_name));
56 ASSERT_STR_EQ(thread_name, "worker-thread");
61 TEST_IMPL(thread_name) {
65 char thread_name[UV_PTHREAD_MAX_NAMELEN_NP]; local
79 memset(thread_name, 'a', sizeof(thread_name) - 1);
80 thread_name[sizeof(thread_name) - 1] = '\0'
    [all...]
  /src/external/gpl3/gdb/dist/gdb/nat/
netbsd-nat.c 126 thread_name (ptid_t ptid) function
windows-nat.c 123 windows_thread_info::thread_name () function in class:windows_thread_info
324 gdb::unique_xmalloc_ptr<char> thread_name member in class:gdb
328 thread_name.get ()[thread_name_len - 1] = '\0';
329 named_thread->name = std::move (thread_name);
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_report.cc 72 const char *thread_name(char *buf, int tid) { function in namespace:__tsan
166 (void *)mop->addr, thread_name(thrbuf, mop->tid));
173 (void *)mop->addr, thread_name(thrbuf, mop->tid));
202 thread_name(thrbuf, loc->tid));
206 thread_name(thrbuf, loc->tid));
210 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid));
212 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid));
215 loc->fd, thread_name(thrbuf, loc->tid));
265 thread_name(thrbuf, rt->parent_tid));
338 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i]))
    [all...]
  /src/external/gpl3/gcc/dist/libsanitizer/tsan/
tsan_report.cpp 55 const char *thread_name(char *buf, Tid tid) { function in namespace:__tsan
149 (void *)mop->addr, thread_name(thrbuf, mop->tid));
156 (void *)mop->addr, thread_name(thrbuf, mop->tid));
186 thread_name(thrbuf, loc->tid));
191 thread_name(thrbuf, loc->tid));
195 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid));
197 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid));
201 thread_name(thrbuf, loc->tid));
248 thread_name(thrbuf, rt->parent_tid));
325 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i]))
    [all...]
  /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
tsan_report.cpp 55 const char *thread_name(char *buf, Tid tid) { function in namespace:__tsan
153 (void *)mop->addr, thread_name(thrbuf, mop->tid));
160 (void *)mop->addr, thread_name(thrbuf, mop->tid));
190 thread_name(thrbuf, loc->tid));
195 thread_name(thrbuf, loc->tid));
199 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid));
201 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid));
204 loc->fd, thread_name(thrbuf, loc->tid));
257 thread_name(thrbuf, rt->parent_tid));
330 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i]))
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/
netbsd-nat.c 110 nbsd_nat_target::thread_name (struct thread_info *thr) function in class:nbsd_nat_target
113 return netbsd_nat::thread_name (ptid);
  /src/external/gpl3/gdb/dist/gdb/
netbsd-nat.c 110 nbsd_nat_target::thread_name (struct thread_info *thr) function in class:nbsd_nat_target
113 return netbsd_nat::thread_name (ptid);
  /src/external/mit/libuv/dist/src/win/
thread.c 329 char* thread_name; local
350 thread_name = NULL;
358 r = uv__convert_utf16_to_utf8(namew, wcslen(namew), &thread_name);
360 uv__strscpy(name, thread_name, size);
361 uv__free(thread_name);
  /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/
prof_structs.h 160 char *thread_name; member in struct:prof_tdata_s
  /src/external/bsd/jemalloc.old/include/jemalloc/internal/
prof_structs.h 160 char *thread_name; member in struct:prof_tdata_s
  /src/external/bsd/jemalloc/dist/include/jemalloc/internal/
prof_structs.h 178 char thread_name[PROF_THREAD_NAME_MAX_LEN]; member in struct:prof_tdata_s
  /src/external/bsd/jemalloc/dist/src/
prof_recent.c 500 const char *thread_name = alloc_tdata->thread_name; local
502 emitter_type_string, &thread_name);
517 const char *thread_name = dalloc_tdata->thread_name; local
519 emitter_type_string, &thread_name);
prof.c 456 char thread_name[PROF_THREAD_NAME_MAX_LEN]; local
457 strncpy(thread_name, tdata->thread_name, PROF_THREAD_NAME_MAX_LEN);
461 tsd, thr_uid, thr_discrim, thread_name, active);
512 return tdata->thread_name;
516 prof_thread_name_set(tsd_t *tsd, const char *thread_name) {
520 return prof_thread_name_set_impl(tsd, thread_name);
  /src/external/bsd/jemalloc/include/jemalloc/internal/
prof_structs.h 178 char thread_name[PROF_THREAD_NAME_MAX_LEN]; member in struct:prof_tdata_s
  /src/external/gpl3/gdb.old/dist/gdbserver/
target.cc 805 process_stratum_target::thread_name (ptid_t thread) function in class:process_stratum_target
  /src/external/mit/libuv/dist/src/unix/
thread.c 947 char thread_name[UV_PTHREAD_MAX_NAMELEN_NP]; local
948 pthread_get_name_np(*tid, thread_name, sizeof(thread_name));
949 strncpy(name, thread_name, size - 1);
955 char thread_name[UV_PTHREAD_MAX_NAMELEN_NP]; local
956 if (pthread_getname_np(*tid, thread_name, sizeof(thread_name)) != 0)
959 strncpy(name, thread_name, size - 1);
966 char thread_name[UV_PTHREAD_MAX_NAMELEN_NP]; local
967 r = pthread_getname_np(*tid, thread_name, sizeof(thread_name))
    [all...]
  /src/external/gpl3/gdb/dist/gdbserver/
target.cc 812 process_stratum_target::thread_name (ptid_t thread) function in class:process_stratum_target
  /src/external/bsd/jemalloc.old/dist/src/
prof.c 391 char *thread_name = (tdata->thread_name != NULL) ? local
392 prof_thread_name_alloc(tsd, tdata->thread_name) : NULL;
396 return prof_tdata_init_impl(tsd, thr_uid, thr_discrim, thread_name,
448 return (tdata->thread_name != NULL ? tdata->thread_name : "");
452 prof_thread_name_set(tsd_t *tsd, const char *thread_name) {
456 return prof_thread_name_set_impl(tsd, thread_name);

Completed in 28 milliseconds

1 2