Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 1 – 25 of 58) sorted by relevance

123

/device/linaro/hikey/wpan/uim/
Duim.c300 fd = open(sysfs_dev_name, O_RDONLY); in st_uart_config()
315 fd = open(sysfs_baud_rate, O_RDONLY); in st_uart_config()
330 fd = open(sysfs_flow_ctrl, O_RDONLY); in st_uart_config()
503 st_fd = open(sysfs_install_entry, O_RDONLY); in main()
545 st_fd = open(sysfs_install_entry, O_RDONLY); in main()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dboot_image_unpacker.cc54 auto boot_img = SharedFD::Open(boot_image_path.c_str(), O_RDONLY); in FromImages()
68 O_RDONLY); in FromImages()
Dimage_aggregator.cc53 auto file = cvd::SharedFD::Open(partition.image_file_path.c_str(), O_RDONLY); in BpttoolInput()
254 auto file = cvd::SharedFD::Open(partition.image_file_path.c_str(), O_RDONLY); in DeAndroidSparse()
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dflags.c73 m = O_RDONLY; in __sflags()
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dfcntl.h64 #define O_RDONLY 0x00000000 ///< open for reading only macro
/device/generic/goldfish/wifi/createns/
Dcreatens.cpp182 if (::open("/dev/null", O_RDONLY) == -1) { in daemonize()
243 Fd fd(::open(path.c_str(), O_CREAT | O_TRUNC | O_RDONLY | O_CLOEXEC, in main()
/device/google/contexthub/util/common/
Dfile.cpp49 modeval = O_RDONLY; in setTo()
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/
Dopendir.c84 if ((fd = open(name, O_RDONLY | O_NONBLOCK, 0)) == -1 || in __opendir2()
/device/google/cuttlefish/guest/commands/vport_trigger/
Dmain.cpp46 int flags = O_RDONLY | O_CLOEXEC | (follow_symlinks ? 0 : O_NOFOLLOW); in ReadFileToString()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
Drandom.c186 fd = open("/dev/urandom", O_RDONLY, 0); in dev_urandom_noraise()
241 fd = open("/dev/urandom", O_RDONLY, 0); in dev_urandom_python()
/device/google/sunfish/json-c/
Drandom_seed.c154 int fd = open(dev_random_file, O_RDONLY); in get_dev_random_seed()
Djson_util.c74 if((fd = open(filename, O_RDONLY)) < 0) { in json_object_from_file()
/device/google/cuttlefish/guest/commands/vsock_logcat/
Dmain.cpp130 auto conn = cvd::SharedFD::Open(FLAGS_pipe_name.c_str(), O_RDONLY); in main()
/device/google/crosshatch/json-c/
Drandom_seed.c154 int fd = open(dev_random_file, O_RDONLY); in get_dev_random_seed()
Djson_util.c74 if((fd = open(filename, O_RDONLY)) < 0) { in json_object_from_file()
/device/google/coral/json-c/
Drandom_seed.c154 int fd = open(dev_random_file, O_RDONLY); in get_dev_random_seed()
Djson_util.c74 if((fd = open(filename, O_RDONLY)) < 0) { in json_object_from_file()
/device/google/bonito/json-c/
Drandom_seed.c154 int fd = open(dev_random_file, O_RDONLY); in get_dev_random_seed()
Djson_util.c74 if((fd = open(filename, O_RDONLY)) < 0) { in json_object_from_file()
/device/google/cuttlefish/host/commands/kernel_log_monitor/
Dmain.cc84 pipe = cvd::SharedFD::Open(log_name.c_str(), O_RDONLY); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_fcntl.py97 fd = os.open(os.path.dirname(os.path.abspath(TESTFN)), os.O_RDONLY)
/device/linaro/bootloader/edk2/StdLib/LibC/Main/
DMain.c162 i = open("stdin:", (O_RDONLY | O_TTY_INIT), 0444); in ShellAppMain()
/device/generic/goldfish/wifi/execns/
Dexecns.cpp137 FileDescriptor nsFd(open(nsPath, O_RDONLY | O_CLOEXEC)); in setNetworkNamespace()
/device/generic/goldfish/camera/
DEmulatedCameraHotplugThread.cpp303 open(filePath.string(), O_RDONLY, /*mode*/0)); in readFile()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Console/
DdaConsole.c53 O_RDONLY, // stdin
571 if (Flags != O_RDONLY) { // (Flags == O_WRONLY) || (Flags == O_RDWR) in da_ConFlush()

123