/prebuilts/go/darwin-x86/src/os/ |
file_posix.go | 17 // If there is an error, it will be of type *PathError. 23 return "", &PathError{"readlink", name, e} 49 // If there is an error, it will be of type *PathError. 52 return &PathError{"chmod", name, e} 58 // If there is an error, it will be of type *PathError. 64 return &PathError{"chmod", f.name, e} 71 // If there is an error, it will be of type *PathError. 74 return &PathError{"chown", name, e} 81 // If there is an error, it will be of type *PathError. 84 return &PathError{"lchown", name, e [all...] |
stat_unix.go | 14 // If there is an error, it will be of type *PathError. 22 return nil, &PathError{"stat", f.name, err} 29 // If there is an error, it will be of type *PathError. 34 return nil, &PathError{"stat", name, err} 43 // If there is an error, it will be of type *PathError. 48 return nil, &PathError{"lstat", name, err}
|
stat_windows.go | 14 // If there is an error, it will be of type *PathError. 32 return nil, &PathError{"GetFileType", file.name, err} 41 return nil, &PathError{"GetFileInformationByHandle", file.name, err} 61 // If there is an error, it will be of type *PathError. 78 return nil, &PathError{"Stat", name, syscall.ELOOP} 84 // If there is an error, it will be of type *PathError. 87 return nil, &PathError{"Lstat", name, syscall.Errno(syscall.ERROR_PATH_NOT_FOUND)} 95 return nil, &PathError{"Lstat", name, e} 100 return nil, &PathError{"GetFileAttributesEx", name, e} 106 return nil, &PathError{"FindFirstFile", name, e [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},
|
file_plan9.go | 82 // If there is an error, it will be of type *PathError. 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} 198 // If there is an error, it will be of type *PathError. 207 return &PathError{"chmod", f.name, e [all...] |
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_plan9.go | 64 return nil, &PathError{"stat", name, err} 75 return nil, &PathError{"stat", name, err} 86 return nil, &PathError{"stat", name, err} 90 // If there is an error, it will be of type *PathError. 102 // If there is an error, it will be of type *PathError.
|
error.go | 20 // PathError records an error and the operation and file path that caused it. 21 type PathError struct { 27 func (e *PathError) Error() string { return e.Op + " " + e.Path + ": " + e.Err.Error() } 71 case *PathError:
|
file.go | 11 // *PathError, which may be unpacked for more information. 106 err = &PathError{"read", f.name, e} 125 err = &PathError{"read", f.name, e} 153 err = &PathError{"write", f.name, e} 168 err = &PathError{"write", f.name, e} 192 return 0, &PathError{"seek", f.name, e} 204 // If there is an error, it will be of type *PathError. 209 return &PathError{"mkdir", name, e} 221 // If there is an error, it will be of type *PathError. 224 return &PathError{"chdir", dir, e [all...] |
/prebuilts/go/linux-x86/src/os/ |
file_posix.go | 17 // If there is an error, it will be of type *PathError. 23 return "", &PathError{"readlink", name, e} 49 // If there is an error, it will be of type *PathError. 52 return &PathError{"chmod", name, e} 58 // If there is an error, it will be of type *PathError. 64 return &PathError{"chmod", f.name, e} 71 // If there is an error, it will be of type *PathError. 74 return &PathError{"chown", name, e} 81 // If there is an error, it will be of type *PathError. 84 return &PathError{"lchown", name, e [all...] |
stat_unix.go | 14 // If there is an error, it will be of type *PathError. 22 return nil, &PathError{"stat", f.name, err} 29 // If there is an error, it will be of type *PathError. 34 return nil, &PathError{"stat", name, err} 43 // If there is an error, it will be of type *PathError. 48 return nil, &PathError{"lstat", name, err}
|
stat_windows.go | 14 // If there is an error, it will be of type *PathError. 32 return nil, &PathError{"GetFileType", file.name, err} 41 return nil, &PathError{"GetFileInformationByHandle", file.name, err} 61 // If there is an error, it will be of type *PathError. 78 return nil, &PathError{"Stat", name, syscall.ELOOP} 84 // If there is an error, it will be of type *PathError. 87 return nil, &PathError{"Lstat", name, syscall.Errno(syscall.ERROR_PATH_NOT_FOUND)} 95 return nil, &PathError{"Lstat", name, e} 100 return nil, &PathError{"GetFileAttributesEx", name, e} 106 return nil, &PathError{"FindFirstFile", name, e [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},
|
file_plan9.go | 82 // If there is an error, it will be of type *PathError. 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} 198 // If there is an error, it will be of type *PathError. 207 return &PathError{"chmod", f.name, e [all...] |
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_plan9.go | 64 return nil, &PathError{"stat", name, err} 75 return nil, &PathError{"stat", name, err} 86 return nil, &PathError{"stat", name, err} 90 // If there is an error, it will be of type *PathError. 102 // If there is an error, it will be of type *PathError.
|
error.go | 20 // PathError records an error and the operation and file path that caused it. 21 type PathError struct { 27 func (e *PathError) Error() string { return e.Op + " " + e.Path + ": " + e.Err.Error() } 71 case *PathError:
|
/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_posix.go | 19 pe, ok := err.(*os.PathError)
|
/prebuilts/go/linux-x86/src/os/exec/ |
exec_posix.go | 19 pe, ok := err.(*os.PathError)
|