HomeSort by relevance Sort by last modified time
    Searched refs:PathError (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /prebuilts/go/darwin-x86/src/os/
stat_windows.go 14 // If there is an error, it will be of type *PathError.
30 return nil, &PathError{"GetFileType", file.name, err}
40 return nil, &PathError{"GetFileInformationByHandle", file.name, err}
62 return nil, &PathError{"Stat", name, syscall.Errno(syscall.ERROR_PATH_NOT_FOUND)}
69 return nil, &PathError{"Stat", name, err}
82 return nil, &PathError{"FullPath", name, err}
97 return nil, &PathError{"CreateFile", name, err}
104 return nil, &PathError{"GetFileInformationByHandle", name, err}
133 return nil, &PathError{"FindFirstFile", name, err}
141 return nil, &PathError{"FullPath", name, err
    [all...]
error_unix_test.go 16 isExistTest{err: &os.PathError{Err: syscall.EEXIST}, is: true, isnot: false},
17 isExistTest{err: &os.PathError{Err: syscall.ENOTEMPTY}, is: true, isnot: false},
26 isPermissionTest{err: &os.PathError{Err: syscall.EACCES}, want: true},
27 isPermissionTest{err: &os.PathError{Err: syscall.EPERM}, want: true},
28 isPermissionTest{err: &os.PathError{Err: syscall.EEXIST}, want: false},
error_windows_test.go 18 isExistTest{err: &os.PathError{Err: syscall.ERROR_FILE_NOT_FOUND}, is: false, isnot: true},
22 isExistTest{err: &os.PathError{Err: _ERROR_BAD_NETPATH}, is: false, isnot: true},
26 isExistTest{err: &os.PathError{Err: syscall.ERROR_PATH_NOT_FOUND}, is: false, isnot: true},
30 isExistTest{err: &os.PathError{Err: syscall.ERROR_DIR_NOT_EMPTY}, is: true, isnot: false},
35 isPermissionTest{err: &os.PathError{Err: syscall.ERROR_ACCESS_DENIED}, want: true},
stat.go 10 // If there is an error, it will be of type *PathError.
19 // If there is an error, it will be of type *PathError.
dir_plan9.go 36 return fi, &PathError{"readdir", file.name, err}
39 return fi, &PathError{"readdir", file.name, syscall.ErrShortStat}
47 return fi, &PathError{"readdir", file.name, syscall.ErrShortStat}
52 return fi, &PathError{"readdir", file.name, err}
stat_unix.go 14 // If there is an error, it will be of type *PathError.
22 return nil, &PathError{"stat", f.name, err}
33 return nil, &PathError{"stat", name, err}
44 return nil, &PathError{"lstat", name, err}
file_posix.go 17 // If there is an error, it will be of type *PathError.
23 return "", &PathError{"readlink", name, e}
50 return &PathError{"chmod", name, e}
68 // If there is an error, it will be of type *PathError.
71 // in *PathError.
74 return &PathError{"chown", name, e}
81 // If there is an error, it will be of type *PathError.
84 // in *PathError.
87 return &PathError{"lchown", name, e}
93 // If there is an error, it will be of type *PathError
    [all...]
file_plan9.go 123 return nil, &PathError{"open", name, e}
128 return nil, &PathError{"seek", name, e}
150 err = &PathError{"close", file.name, e}
160 // If there is an error, it will be of type *PathError.
174 // If there is an error, it will be of type *PathError.
187 return &PathError{"truncate", f.name, err}
190 return &PathError{"truncate", f.name, err}
205 return &PathError{"chmod", f.name, e}
213 return &PathError{"chmod", f.name, err}
216 return &PathError{"chmod", f.name, err
    [all...]
  /prebuilts/go/linux-x86/src/os/
stat_windows.go 14 // If there is an error, it will be of type *PathError.
30 return nil, &PathError{"GetFileType", file.name, err}
40 return nil, &PathError{"GetFileInformationByHandle", file.name, err}
62 return nil, &PathError{"Stat", name, syscall.Errno(syscall.ERROR_PATH_NOT_FOUND)}
69 return nil, &PathError{"Stat", name, err}
82 return nil, &PathError{"FullPath", name, err}
97 return nil, &PathError{"CreateFile", name, err}
104 return nil, &PathError{"GetFileInformationByHandle", name, err}
133 return nil, &PathError{"FindFirstFile", name, err}
141 return nil, &PathError{"FullPath", name, err
    [all...]
error_unix_test.go 16 isExistTest{err: &os.PathError{Err: syscall.EEXIST}, is: true, isnot: false},
17 isExistTest{err: &os.PathError{Err: syscall.ENOTEMPTY}, is: true, isnot: false},
26 isPermissionTest{err: &os.PathError{Err: syscall.EACCES}, want: true},
27 isPermissionTest{err: &os.PathError{Err: syscall.EPERM}, want: true},
28 isPermissionTest{err: &os.PathError{Err: syscall.EEXIST}, want: false},
error_windows_test.go 18 isExistTest{err: &os.PathError{Err: syscall.ERROR_FILE_NOT_FOUND}, is: false, isnot: true},
22 isExistTest{err: &os.PathError{Err: _ERROR_BAD_NETPATH}, is: false, isnot: true},
26 isExistTest{err: &os.PathError{Err: syscall.ERROR_PATH_NOT_FOUND}, is: false, isnot: true},
30 isExistTest{err: &os.PathError{Err: syscall.ERROR_DIR_NOT_EMPTY}, is: true, isnot: false},
35 isPermissionTest{err: &os.PathError{Err: syscall.ERROR_ACCESS_DENIED}, want: true},
stat.go 10 // If there is an error, it will be of type *PathError.
19 // If there is an error, it will be of type *PathError.
dir_plan9.go 36 return fi, &PathError{"readdir", file.name, err}
39 return fi, &PathError{"readdir", file.name, syscall.ErrShortStat}
47 return fi, &PathError{"readdir", file.name, syscall.ErrShortStat}
52 return fi, &PathError{"readdir", file.name, err}
stat_unix.go 14 // If there is an error, it will be of type *PathError.
22 return nil, &PathError{"stat", f.name, err}
33 return nil, &PathError{"stat", name, err}
44 return nil, &PathError{"lstat", name, err}
file_posix.go 17 // If there is an error, it will be of type *PathError.
23 return "", &PathError{"readlink", name, e}
50 return &PathError{"chmod", name, e}
68 // If there is an error, it will be of type *PathError.
71 // in *PathError.
74 return &PathError{"chown", name, e}
81 // If there is an error, it will be of type *PathError.
84 // in *PathError.
87 return &PathError{"lchown", name, e}
93 // If there is an error, it will be of type *PathError
    [all...]
file_plan9.go 123 return nil, &PathError{"open", name, e}
128 return nil, &PathError{"seek", name, e}
150 err = &PathError{"close", file.name, e}
160 // If there is an error, it will be of type *PathError.
174 // If there is an error, it will be of type *PathError.
187 return &PathError{"truncate", f.name, err}
190 return &PathError{"truncate", f.name, err}
205 return &PathError{"chmod", f.name, e}
213 return &PathError{"chmod", f.name, err}
216 return &PathError{"chmod", f.name, err
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/rand/
eagain.go 18 // unixIsEAGAIN reports whether err is a syscall.EAGAIN wrapped in a PathError.
21 if pe, ok := err.(*os.PathError); ok {
  /prebuilts/go/linux-x86/src/crypto/rand/
eagain.go 18 // unixIsEAGAIN reports whether err is a syscall.EAGAIN wrapped in a PathError.
21 if pe, ok := err.(*os.PathError); ok {
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue15604.go 13 if err, ok = err.(*os.PathError); ok {
  /prebuilts/go/linux-x86/test/fixedbugs/
issue15604.go 13 if err, ok = err.(*os.PathError); ok {
  /prebuilts/go/darwin-x86/src/os/exec/
exec_unix.go 19 pe, ok := err.(*os.PathError)
exec_windows.go 18 pe, ok := err.(*os.PathError)
  /prebuilts/go/linux-x86/src/os/exec/
exec_unix.go 19 pe, ok := err.(*os.PathError)
exec_windows.go 18 pe, ok := err.(*os.PathError)
  /build/soong/finder/fs/
fs.go 259 return "", &os.PathError{
270 return "", &os.PathError{
278 return "", &os.PathError{
301 return nil, &os.PathError{
308 return nil, &os.PathError{
315 return nil, &os.PathError{
337 return nil, &os.PathError{
482 return nil, &os.PathError{
529 return nil, &os.PathError{
563 return &os.PathError{
    [all...]

Completed in 422 milliseconds

1 2 3 4