Home
last modified time | relevance | path

Searched refs:NAME_LEN (Results 1 – 13 of 13) sorted by relevance

/base/hiviewdfx/faultloggerd/common/util/
Ddfx_cutil.c41 char name[NAME_LEN]; in ReadStringFromFile()
42 char nameFilter[NAME_LEN]; in ReadStringFromFile()
53 if (read(fd, name, NAME_LEN -1) == -1) { in ReadStringFromFile()
61 if ((*p == '\n') || (i == NAME_LEN)) { in ReadStringFromFile()
67 nameFilter[NAME_LEN - 1] = '\0'; in ReadStringFromFile()
81 char path[NAME_LEN]; in GetThreadName()
91 char path[NAME_LEN]; in GetProcessName()
Dmusl_cutil.h41 char name[NAME_LEN]; in ReadStringFromFile()
42 char nameFilter[NAME_LEN]; in ReadStringFromFile()
52 if (read(fd, name, NAME_LEN -1) == -1) { in ReadStringFromFile()
60 if ((*p == '\n') || (i == NAME_LEN)) { in ReadStringFromFile()
66 nameFilter[NAME_LEN - 1] = '\0'; in ReadStringFromFile()
79 char path[NAME_LEN]; in GetThreadName()
89 char path[NAME_LEN]; in GetProcessName()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/include/
Ddfx_signal_handler.h37 char threadName[NAME_LEN];
38 char processName[NAME_LEN];
/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_dump_request.h84 char threadName_[NAME_LEN];
85 char processName_[NAME_LEN];
Ddfx_process.cpp45 char path[NAME_LEN] = "\0"; in FillProcessName()
50 ReadStringFromFile(path, processName_, NAME_LEN); in FillProcessName()
104 char path[NAME_LEN] = {0}; in InitOtherThreads()
165 char path[NAME_LEN]; in TidToNstid()
Ddfx_thread.cpp64 char path[NAME_LEN] = {0}; in ReadThreadName()
71 ReadStringFromFile(pathName, buf, NAME_LEN); in ReadThreadName()
Ddfx_util.cpp164 uint32_t maxStrLen = NAME_LEN; in TrimAndDupStr()
Ddfx_maps.cpp42 char path[NAME_LEN] = {0}; in Create()
/base/hiviewdfx/faultloggerd/common/
Ddfx_define.h25 #define NAME_LEN 128 macro
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/
Ddfx_base_test.cpp155 if (strcpy_s(request->threadName_, NAME_LEN, threadname) != EOK) {
158 if (strcpy_s(request->processName_, NAME_LEN, processname) != EOK) {
161 if (strcpy_s(request->lastFatalMessage_, NAME_LEN, fatalmsg) != EOK) {
Dprocess_dfx_test.cpp57 char result_buf_shell[NAME_LEN] = { 0, }; in GetAccountmgrPid()
/base/hiviewdfx/faultloggerd/test/performancetest/src/
Dfaultloggerd_performance_test.cpp100 char result_buf_shell[NAME_LEN] = {'\0'}; in ProcessDumpCommands()
122 char result_buf_shell[NAME_LEN] = { 0, }; in ForkAndRootCommands()
/base/hiviewdfx/faultloggerd/test/funchook/
Ddfx_signal_hook.c137 char path[NAME_LEN] = {0}; in IsSigactionAddr()