Searched refs:f_path_buf (Results 1 - 2 of 2) sorted by relevance
/third_party/musl/src/malloc/liteos_a/user_debug/ |
H A D | memory_check.c | 46 char f_path_buf[PATH_MAX]; member 237 strncpy(mem_stat.f_path_buf, mem_stat.f_path, PATH_MAX - 1); in file_path_init() 238 snprintf(mem_stat.f_path_buf + len, PATH_MAX - len, "pid(%d)_%s", getpid(), pos + 1); in file_path_init() 240 snprintf(mem_stat.f_path_buf, PATH_MAX, "pid(%d)_%s", getpid(), mem_stat.f_path); in file_path_init() 258 if (!access(mem_stat.f_path_buf, 0)) { in get_file() 261 mem_stat.fd = open(mem_stat.f_path_buf, O_RDWR | O_CREAT); in get_file() 263 printf("err: %s create failed, memory info will output from serial port!\n", mem_stat.f_path_buf); in get_file() 384 printf("Memory integrity information saved in %s\n", mem_stat.f_path_buf); in check_mem_integrity() 601 printf("Memory statistics information saved in %s\n", mem_stat.f_path_buf); in watch_mem() 734 printf("Leak check information saved in %s\n", mem_stat.f_path_buf); in check_leak() [all...] |
/third_party/musl/porting/liteos_a/user_debug/src/malloc/ |
H A D | memory_check.c | 31 char f_path_buf[PATH_MAX]; member 222 strncpy(mem_stat.f_path_buf, mem_stat.f_path, PATH_MAX - 1); in file_path_init() 223 snprintf(mem_stat.f_path_buf + len, PATH_MAX - len, "pid(%d)_%s", getpid(), pos + 1); in file_path_init() 225 snprintf(mem_stat.f_path_buf, PATH_MAX, "pid(%d)_%s", getpid(), mem_stat.f_path); in file_path_init() 243 if (!access(mem_stat.f_path_buf, 0)) { in get_file() 246 mem_stat.fd = open(mem_stat.f_path_buf, O_RDWR | O_CREAT); in get_file() 248 printf("err: %s create failed, memory info will output from serial port!\n", mem_stat.f_path_buf); in get_file() 369 printf("Memory integrity information saved in %s\n", mem_stat.f_path_buf); in check_mem_integrity() 586 printf("Memory statistics information saved in %s\n", mem_stat.f_path_buf); in watch_mem() 719 printf("Leak check information saved in %s\n", mem_stat.f_path_buf); in check_leak() [all...] |
Completed in 3 milliseconds