Lines Matching refs:full_path
395 char *full_path = NULL; in shell_cmd_mkdir() local
398 full_path = argv[1]; in shell_cmd_mkdir()
401 full_path = get_target_filepath(argv[1], &result_path_len); in shell_cmd_mkdir()
405 int retval = mkdir(full_path, 0); in shell_cmd_mkdir()
410 free(full_path); in shell_cmd_mkdir()
423 char *full_path = NULL; in shell_cmd_rmdir() local
428 full_path = argv[1]; in shell_cmd_rmdir()
431 full_path = get_target_filepath(argv[1], &result_path_len); in shell_cmd_rmdir()
434 int retval = rmdir(full_path); in shell_cmd_rmdir()
436 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rmdir()
441 free(full_path); in shell_cmd_rmdir()
454 char *full_path = NULL; in shell_cmd_rm() local
460 full_path = argv[1]; in shell_cmd_rm()
463 full_path = get_target_filepath(argv[1], &result_path_len); in shell_cmd_rm()
467 retval = rm(full_path); in shell_cmd_rm()
470 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rm()
472 free(full_path); in shell_cmd_rm()