Lines Matching refs:full_path
406 char *full_path = NULL; in shell_cmd_mkdir() local
409 full_path = argv[1]; in shell_cmd_mkdir()
412 full_path = get_target_filepath(argv[1], &result_path_len); in shell_cmd_mkdir()
416 int retval = mkdir(full_path, 0); in shell_cmd_mkdir()
421 free(full_path); in shell_cmd_mkdir()
434 char *full_path = NULL; in shell_cmd_rmdir() local
439 full_path = argv[1]; in shell_cmd_rmdir()
442 full_path = get_target_filepath(argv[1], &result_path_len); in shell_cmd_rmdir()
445 int retval = rmdir(full_path); in shell_cmd_rmdir()
447 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rmdir()
452 free(full_path); in shell_cmd_rmdir()
465 char *full_path = NULL; in shell_cmd_rm() local
471 full_path = argv[1]; in shell_cmd_rm()
474 full_path = get_target_filepath(argv[1], &result_path_len); in shell_cmd_rm()
478 retval = rm(full_path); in shell_cmd_rm()
481 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rm()
483 free(full_path); in shell_cmd_rm()