Searched defs:new_name (Results 1 - 2 of 2) sorted by relevance

/system/core/libcutils/
H A Dprocess_name.c35 void set_process_name(const char* new_name) { argument
38 if (new_name == NULL) {
43 int len = strlen(new_name);
45 strcpy(copy, new_name);
50 prctl(PR_SET_NAME, (unsigned long) new_name, 0, 0, 0);
52 prctl(PR_SET_NAME, (unsigned long) new_name + len - 15, 0, 0, 0);
/system/core/sdcard/
H A Dsdcard.c345 char* new_name = realloc(node->name, namelen + 1); local
346 if (!new_name) {
349 node->name = new_name;
731 const char* old_name, const char* new_name)
749 old_name, new_name,
770 || strcasecmp(old_name, new_name);
771 if (!(new_actual_name = find_file_within(new_parent_path, new_name,
785 res = rename_node_locked(child_node, new_name, new_actual_name);
1086 const char *new_name = old_name + strlen(old_name) + 1; local
1087 return handle_rename(fuse, handler, hdr, req, old_name, new_name);
729 handle_rename(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_rename_in* req, const char* old_name, const char* new_name) argument
[all...]

Completed in 5 milliseconds