HomeSort by relevance Sort by last modified time
    Searched refs:PathError (Results 26 - 50 of 73) sorted by null

12 3

  /prebuilts/go/linux-x86/src/os/
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...]
error_test.go 90 {&os.PathError{Err: os.ErrInvalid}, false, false},
91 {&os.PathError{Err: os.ErrPermission}, false, false},
92 {&os.PathError{Err: os.ErrExist}, true, false},
93 {&os.PathError{Err: os.ErrNotExist}, false, true},
94 {&os.PathError{Err: os.ErrClosed}, false, false},
123 {&os.PathError{Err: os.ErrPermission}, true},
dir_windows.go 17 return nil, &PathError{"Readdir", file.name, syscall.ENOTDIR}
37 err = &PathError{"FindNextFile", file.name, e}
exec_posix.go 27 pe := err.(*PathError)
47 return nil, &PathError{"fork/exec", name, e}
file_unix.go 85 // If there is an error, it will be of type *PathError.
109 return nil, &PathError{"open", name, e}
141 err = &PathError{"close", file.name, e}
225 // If there is an error, it will be of type *PathError.
228 return &PathError{"truncate", name, e}
234 // If there is an error, it will be of type *PathError.
261 return &PathError{"remove", name, e}
path_test.go 47 perr, ok := err.(*PathError)
49 t.Fatalf("MkdirAll %q returned %T, not *PathError", fpath, err)
61 perr, ok = err.(*PathError)
63 t.Fatalf("MkdirAll %q returned %T, not *PathError", ffpath, err)
214 pathErr, ok := err.(*PathError)
file_windows.go 149 // If there is an error, it will be of type *PathError.
152 return nil, &PathError{"open", name, syscall.ENOENT}
162 return nil, &PathError{"open", name, syscall.EISDIR}
166 return nil, &PathError{"open", name, errf}
197 err = &PathError{"close", file.name, e}
421 // If there is an error, it will be of type *PathError.
425 return &PathError{"remove", name, e}
456 return &PathError{"remove", name, e}
path.go 26 return &PathError{"mkdir", path, syscall.ENOTDIR}
76 if serr, ok := serr.(*PathError); ok && (IsNotExist(serr.Err) || serr.Err == syscall.ENOTDIR) {
  /prebuilts/go/darwin-x86/src/os/
error_test.go 90 {&os.PathError{Err: os.ErrInvalid}, false, false},
91 {&os.PathError{Err: os.ErrPermission}, false, false},
92 {&os.PathError{Err: os.ErrExist}, true, false},
93 {&os.PathError{Err: os.ErrNotExist}, false, true},
94 {&os.PathError{Err: os.ErrClosed}, false, false},
123 {&os.PathError{Err: os.ErrPermission}, true},
dir_windows.go 17 return nil, &PathError{"Readdir", file.name, syscall.ENOTDIR}
37 err = &PathError{"FindNextFile", file.name, e}
exec_posix.go 27 pe := err.(*PathError)
47 return nil, &PathError{"fork/exec", name, e}
file_unix.go 85 // If there is an error, it will be of type *PathError.
109 return nil, &PathError{"open", name, e}
141 err = &PathError{"close", file.name, e}
225 // If there is an error, it will be of type *PathError.
228 return &PathError{"truncate", name, e}
234 // If there is an error, it will be of type *PathError.
261 return &PathError{"remove", name, e}
path_test.go 47 perr, ok := err.(*PathError)
49 t.Fatalf("MkdirAll %q returned %T, not *PathError", fpath, err)
61 perr, ok = err.(*PathError)
63 t.Fatalf("MkdirAll %q returned %T, not *PathError", ffpath, err)
214 pathErr, ok := err.(*PathError)
file_windows.go 149 // If there is an error, it will be of type *PathError.
152 return nil, &PathError{"open", name, syscall.ENOENT}
162 return nil, &PathError{"open", name, syscall.EISDIR}
166 return nil, &PathError{"open", name, errf}
197 err = &PathError{"close", file.name, e}
421 // If there is an error, it will be of type *PathError.
425 return &PathError{"remove", name, e}
456 return &PathError{"remove", name, e}
path.go 26 return &PathError{"mkdir", path, syscall.ENOTDIR}
76 if serr, ok := serr.(*PathError); ok && (IsNotExist(serr.Err) || serr.Err == syscall.ENOTDIR) {
exec_plan9.go 35 return nil, &PathError{"fork/exec", name, e}
pipe_test.go 35 if pe, ok := err.(*os.PathError); ok {
  /device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/Device/
Device.h 24 PathError
101 @retval PathError Path is NULL.
  /prebuilts/go/darwin-x86/src/io/ioutil/
tempfile_test.go 66 if pe, ok := err.(*os.PathError); !ok || !os.IsNotExist(err) || pe.Path != badDir {
67 t.Errorf("TempDir error = %#v; want PathError for path %q satisifying os.IsNotExist", err, badDir)
  /prebuilts/go/linux-x86/src/io/ioutil/
tempfile_test.go 66 if pe, ok := err.(*os.PathError); !ok || !os.IsNotExist(err) || pe.Path != badDir {
67 t.Errorf("TempDir error = %#v; want PathError for path %q satisifying os.IsNotExist", err, badDir)
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Utility/
Path.c 46 @retval PathError Path is NULL.
59 return PathError; // Bad parameter
84 return PathError;
326 /* Fall through to PathError if Remapped.
330 case PathError:
  /build/blueprint/bootstrap/
cleanup.go 129 pathErr := err.(*os.PathError)
151 pathErr := err.(*os.PathError)
  /prebuilts/go/darwin-x86/src/cmd/go/
note.go 96 return "", &os.PathError{Path: filename, Op: "parse", Err: err}
164 return "", &os.PathError{Path: filename, Op: "parse", Err: err}
170 return "", &os.PathError{Path: filename, Op: "parse", Err: fmt.Errorf("cannot find __text section")}
  /prebuilts/go/linux-x86/src/cmd/go/
note.go 96 return "", &os.PathError{Path: filename, Op: "parse", Err: err}
164 return "", &os.PathError{Path: filename, Op: "parse", Err: err}
170 return "", &os.PathError{Path: filename, Op: "parse", Err: fmt.Errorf("cannot find __text section")}
  /prebuilts/go/darwin-x86/misc/cgo/test/
issue18146.go 100 if pe, ok := err.(*os.PathError); ok {

Completed in 307 milliseconds

12 3