Searched refs:threadname (Results 1 - 2 of 2) sorted by relevance

/system/core/debuggerd/
H A Dbacktrace.cpp74 char* threadname = NULL; local
79 threadname = fgets(threadnamebuf, sizeof(threadnamebuf), fp);
81 if (threadname) {
82 size_t len = strlen(threadname);
83 if (len && threadname[len - 1] == '\n') {
84 threadname[len - 1] = '\0';
89 _LOG(log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", threadname ? threadname : "<unknown>", tid);
H A Dtombstone.cpp204 char* threadname = NULL; local
209 threadname = fgets(threadnamebuf, sizeof(threadnamebuf), fp);
211 if (threadname) {
212 size_t len = strlen(threadname);
213 if (len && threadname[len - 1] == '\n') {
214 threadname[len - 1] = '\0';
220 if (!strncmp(threadname, logd, sizeof(logd) - 1)
221 && (!threadname[sizeof(logd) - 1] || (threadname[sizeof(logd) - 1] == '.'))) {
235 threadname
[all...]

Completed in 3 milliseconds