Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 25 of 46) sorted by relevance

12

/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dflags.c79 m = O_WRONLY; in __sflags()
85 m = O_WRONLY; in __sflags()
/device/generic/goldfish/wifi/createns/
Dcreatens.cpp106 O_CREAT | O_EXCL | O_WRONLY | O_CLOEXEC, in writeNamespacePid()
185 if (::open("/dev/null", O_WRONLY) == -1) { in daemonize()
188 if (::open("/dev/null", O_WRONLY) == -1) { in daemonize()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_posix.py174 os.O_WRONLY|os.O_EXLOCK|os.O_CREAT)
176 os.O_WRONLY|os.O_EXLOCK|os.O_NONBLOCK)
181 os.O_WRONLY|os.O_SHLOCK|os.O_CREAT)
183 os.O_WRONLY|os.O_EXLOCK|os.O_NONBLOCK)
189 os.O_WRONLY|os.O_SHLOCK|os.O_CREAT)
191 os.O_WRONLY|os.O_SHLOCK|os.O_CREAT)
197 os.O_WRONLY|os.O_SHLOCK|os.O_CREAT)
/device/linaro/bootloader/edk2/StdLib/LibC/Main/
DMain.c164 i = open("stdout:", (O_WRONLY | O_TTY_INIT), 0222); in ShellAppMain()
166 i = open("stderr:", O_WRONLY, 0222); in ShellAppMain()
/device/google/marlin/recovery/nanohub/
Dnanohub_recovery_ui.cpp52 int fd = open("/sys/class/nanohub/nanohub/erase_shared", O_WRONLY); in PostWipeData()
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dfcntl.h65 #define O_WRONLY 0x00000001 ///< open for writing only macro
/device/google/cuttlefish_common/host/commands/logcat_receiver/
Dmain.cpp36 cvd::SharedFD::Open(path.c_str(), O_CREAT | O_APPEND | O_WRONLY, 0666); in main()
/device/google/contexthub/util/common/
Dfile.cpp51 modeval = O_WRONLY | O_CREAT | O_TRUNC; in setTo()
/device/google/marlin/liblight/
Dlights.c122 fd = open(path, O_WRONLY); in write_int()
145 fd = open(path, O_WRONLY); in write_double_int()
/device/google/wahoo/liblight/
Dlights.c122 fd = open(path, O_WRONLY); in write_int()
145 fd = open(path, O_WRONLY); in write_double_int()
/device/google/contexthub/util/stm32_flash/
Dflash.c164 gpio = open(gpio_dev, O_WRONLY); in main()
328 gpio = open(gpio_dev, O_WRONLY); in main()
/device/google/marlin/dataservices/datatop/src/
Ddatatop_sys_snap.c90 int fd = open(file, O_WRONLY | O_APPEND | O_CREAT, in dtop_run_and_log()
/device/google/cuttlefish_common/guest/commands/vsoc_input_service/
Dvirtual_device_base.cpp57 fd_ = open("/dev/uinput", O_WRONLY | O_NONBLOCK); in SetUp()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Console/
DdaConsole.c54 O_WRONLY, // stdout
55 O_WRONLY // stderr
567 if (Flags != O_WRONLY) { // (Flags == O_RDONLY) || (Flags == O_RDWR) in da_ConFlush()
/device/linaro/hikey/power/
Dpower_hikey.c110 int fd = open(path, O_WRONLY); in sysfs_write()
194 hikey->boostpulse_fd = open(INTERACTIVE_BOOSTPULSE_PATH, O_WRONLY); in interactive_boostpulse()
/device/generic/goldfish-opengl/android-emu/android/utils/
Ddebug.c150 null_fd = open( "/dev/null", O_WRONLY ); in stdio_disable()
/device/google/wahoo/folio_daemon/
Dmain.cpp53 uinputFd = TEMP_FAILURE_RETRY(open("/dev/uinput", O_WRONLY | O_NONBLOCK)); in main()
/device/google/crosshatch/json-c/
Djson_util.c112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext()
/device/google/bonito/json-c/
Djson_util.c112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext()
/device/google/marlin/power/
Dutils.c149 int fd = open(path, O_WRONLY); in sysfs_write()
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedCameraHotplugThread.cpp214 TEMP_FAILURE_RETRY(open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC, in createFileIfNotExists()
/device/generic/goldfish/camera/
DEmulatedCameraHotplugThread.cpp231 open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC, in createFileIfNotExists()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dfileinput.py333 os.O_CREAT | os.O_WRONLY | os.O_TRUNC,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dfileinput.py330 os.O_CREAT | os.O_WRONLY | os.O_TRUNC,
/device/google/cuttlefish_common/host/commands/launch/
Dmain.cc257 cvd::SharedFD::Open(log_path.c_str(), O_CREAT | O_WRONLY | O_TRUNC, in DaemonizeLauncher()

12