Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 25 of 43) 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_TRUNC | 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/linaro/bootloader/edk2/StdLib/Include/sys/
Dfcntl.h65 #define O_WRONLY 0x00000001 ///< open for writing only macro
/device/google/cuttlefish/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/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/cuttlefish/guest/commands/vsoc_input_service/
Dvirtual_device_base.cpp58 fd_ = open("/dev/uinput", O_WRONLY | O_NONBLOCK); in SetUp()
/device/generic/goldfish-opengl/android-emu/android/utils/
Ddebug.c152 null_fd = open( "/dev/null", O_WRONLY ); in stdio_disable()
/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/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/redbull/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/coral/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/sunfish/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/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/amlogic/yukawa/lights/
Dlights.cpp130 int fd = open(path, O_WRONLY); in writeLed()
/device/google/cuttlefish/guest/hals/camera/
DEmulatedCameraHotplugThread.cpp214 TEMP_FAILURE_RETRY(open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC, in createFileIfNotExists()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dfileinput.py330 os.O_CREAT | os.O_WRONLY | os.O_TRUNC,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dfileinput.py333 os.O_CREAT | os.O_WRONLY | os.O_TRUNC,
/device/google/cuttlefish/host/commands/run_cvd/
Dmain.cc212 cvd::SharedFD::Open(log_path.c_str(), O_CREAT | O_WRONLY | O_TRUNC, in DaemonizeLauncher()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp265 return SharedFD::Open(path, O_CREAT|O_WRONLY|O_TRUNC, mode); in Creat()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dgzlib.c232 (O_WRONLY | O_CREAT |
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c327 fd = open(fname, O_WRONLY); in fileWriteData()

12