Searched refs:new_name (Results 1 – 3 of 3) sorted by relevance
/system/core/libcutils/ |
D | process_name.c | 39 void set_process_name(const char* new_name) { in set_process_name() argument 44 if (new_name == NULL) { in set_process_name() 49 int len = strlen(new_name); in set_process_name() 51 strcpy(copy, new_name); in set_process_name() 56 prctl(PR_SET_NAME, (unsigned long) new_name, 0, 0, 0); in set_process_name() 58 prctl(PR_SET_NAME, (unsigned long) new_name + len - 15, 0, 0, 0); in set_process_name()
|
/system/core/sdcard/ |
D | sdcard.c | 616 char* new_name = realloc(node->name, namelen + 1); in rename_node_locked() local 617 if (!new_name) { in rename_node_locked() 620 node->name = new_name; in rename_node_locked() 1092 const char* old_name, const char* new_name) in handle_rename() argument 1112 old_name, new_name, in handle_rename() 1123 if (!check_caller_access_to_name(fuse, hdr, new_parent_node, new_name, W_OK, has_rw)) { in handle_rename() 1141 || strcasecmp(old_name, new_name); in handle_rename() 1142 if (!(new_actual_name = find_file_within(new_parent_path, new_name, in handle_rename() 1156 res = rename_node_locked(child_node, new_name, new_actual_name); in handle_rename() 1495 const char *new_name = old_name + strlen(old_name) + 1; in handle_fuse_request() local [all …]
|
/system/core/logd/ |
D | LogStatistics.cpp | 67 void PidStatistics::setName(char *new_name) { in setName() argument 69 name = new_name; in setName()
|