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

1 2 3 4

  /prebuilts/go/darwin-x86/src/os/
file_posix.go 47 // Chmod changes the mode of the named file to mode.
50 func Chmod(name string, mode FileMode) error {
51 if e := syscall.Chmod(name, syscallMode(mode)); e != nil {
52 return &PathError{"chmod", name, e}
57 // Chmod changes the mode of the file to mode.
59 func (f *File) Chmod(mode FileMode) error {
60 if err := f.checkValid("chmod"); err != nil {
64 return &PathError{"chmod", f.name, e}
path_test.go 125 // Chmod is not supported under windows.
144 if err = Chmod(dpath, 0); err != nil {
145 t.Fatalf("Chmod %q 0: %s", dpath, err)
156 Chmod(dpath, 0777)
example_test.go 25 if err := os.Chmod("some-filename", 0644); err != nil {
file_plan9.go 197 // Chmod changes the mode of the file to mode.
199 func (f *File) Chmod(mode FileMode) error {
207 return &PathError{"chmod", f.name, e}
215 return &PathError{"chmod", f.name, err}
218 return &PathError{"chmod", f.name, err}
368 // Chmod changes the mode of the named file to mode.
371 func Chmod(name string, mode FileMode) error {
376 return &PathError{"chmod", name, e}
384 return &PathError{"chmod", name, err}
387 return &PathError{"chmod", name, err
    [all...]
os_test.go 944 // Chmod is not supported under windows.
952 if err := Chmod(f.Name(), 0456); err != nil {
953 t.Fatalf("chmod %s 0456: %s", f.Name(), err)
957 if err := f.Chmod(0123); err != nil {
958 t.Fatalf("chmod %s 0123: %s", f.Name(), err)
    [all...]
file.go 214 Chmod(name, perm)
file_unix.go 87 chmod := false
90 chmod = true
113 if chmod {
114 Chmod(name, perm)
  /prebuilts/go/linux-x86/src/os/
file_posix.go 47 // Chmod changes the mode of the named file to mode.
50 func Chmod(name string, mode FileMode) error {
51 if e := syscall.Chmod(name, syscallMode(mode)); e != nil {
52 return &PathError{"chmod", name, e}
57 // Chmod changes the mode of the file to mode.
59 func (f *File) Chmod(mode FileMode) error {
60 if err := f.checkValid("chmod"); err != nil {
64 return &PathError{"chmod", f.name, e}
path_test.go 125 // Chmod is not supported under windows.
144 if err = Chmod(dpath, 0); err != nil {
145 t.Fatalf("Chmod %q 0: %s", dpath, err)
156 Chmod(dpath, 0777)
example_test.go 25 if err := os.Chmod("some-filename", 0644); err != nil {
file_plan9.go 197 // Chmod changes the mode of the file to mode.
199 func (f *File) Chmod(mode FileMode) error {
207 return &PathError{"chmod", f.name, e}
215 return &PathError{"chmod", f.name, err}
218 return &PathError{"chmod", f.name, err}
368 // Chmod changes the mode of the named file to mode.
371 func Chmod(name string, mode FileMode) error {
376 return &PathError{"chmod", name, e}
384 return &PathError{"chmod", name, err}
387 return &PathError{"chmod", name, err
    [all...]
os_test.go 944 // Chmod is not supported under windows.
952 if err := Chmod(f.Name(), 0456); err != nil {
953 t.Fatalf("chmod %s 0456: %s", f.Name(), err)
957 if err := f.Chmod(0123); err != nil {
958 t.Fatalf("chmod %s 0123: %s", f.Name(), err)
    [all...]
  /prebuilts/go/darwin-x86/src/syscall/
syscall_linux_test.go 43 os.Chmod(tempDir, 0755)
syscall_dragonfly.go 118 //sys Chmod(path string, mode uint32) (err error)
syscall_freebsd.go 131 //sys Chmod(path string, mode uint32) (err error)
syscall_netbsd.go 131 //sys Chmod(path string, mode uint32) (err error)
syscall_openbsd.go 109 //sys Chmod(path string, mode uint32) (err error)
  /prebuilts/go/linux-x86/src/syscall/
syscall_linux_test.go 43 os.Chmod(tempDir, 0755)
  /system/update_engine/common/
test_utils.h 82 inline int Chmod(const std::string& path, mode_t mode) {
83 return chmod(path.c_str(), mode);
  /prebuilts/go/darwin-x86/src/cmd/gofmt/
gofmt.go 269 err = f.Chmod(perm)
  /prebuilts/go/darwin-x86/src/path/filepath/
path_test.go 455 // introduce 2 errors: chmod top-level directories to 0
456 os.Chmod(filepath.Join(tree.name, tree.entries[1].name), 0)
457 os.Chmod(filepath.Join(tree.name, tree.entries[3].name), 0)
497 os.Chmod(filepath.Join(tree.name, tree.entries[1].name), 0770)
498 os.Chmod(filepath.Join(tree.name, tree.entries[3].name), 0770)
  /prebuilts/go/linux-x86/src/cmd/gofmt/
gofmt.go 269 err = f.Chmod(perm)
  /prebuilts/go/linux-x86/src/path/filepath/
path_test.go 455 // introduce 2 errors: chmod top-level directories to 0
456 os.Chmod(filepath.Join(tree.name, tree.entries[1].name), 0)
457 os.Chmod(filepath.Join(tree.name, tree.entries[3].name), 0)
497 os.Chmod(filepath.Join(tree.name, tree.entries[1].name), 0770)
498 os.Chmod(filepath.Join(tree.name, tree.entries[3].name), 0770)
  /prebuilts/go/darwin-x86/src/cmd/link/internal/ld/
macho_combine_dwarf.go 128 outf.Chmod(0755)
  /prebuilts/go/linux-x86/src/cmd/link/internal/ld/
macho_combine_dwarf.go 128 outf.Chmod(0755)

Completed in 169 milliseconds

1 2 3 4