Lines Matching refs:pathname
591 char *pathname; in remote_fileio_func_open() local
616 pathname = alloca (length); in remote_fileio_func_open()
617 if (target_read_memory (ptrval, (gdb_byte *) pathname, length) != 0) in remote_fileio_func_open()
626 if (!stat (pathname, &st)) in remote_fileio_func_open()
642 fd = open (pathname, flags, mode); in remote_fileio_func_open()
1035 char *pathname; in remote_fileio_func_unlink() local
1046 pathname = alloca (length); in remote_fileio_func_unlink()
1047 if (target_read_memory (ptrval, (gdb_byte *) pathname, length) != 0) in remote_fileio_func_unlink()
1055 if (!stat (pathname, &st) && !S_ISREG (st.st_mode) && !S_ISDIR (st.st_mode)) in remote_fileio_func_unlink()
1062 ret = unlink (pathname); in remote_fileio_func_unlink()
1075 char *pathname; in remote_fileio_func_stat() local
1096 pathname = alloca (namelength); in remote_fileio_func_stat()
1097 if (target_read_memory (nameptr, (gdb_byte *) pathname, namelength) != 0) in remote_fileio_func_stat()
1104 ret = stat (pathname, &st); in remote_fileio_func_stat()