Home
last modified time | relevance | path

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

12

/hardware/google/aemu/base/
DSharedMemory_posix.cpp42 return openInternal(O_CREAT | O_RDWR, mode); in create()
46 return openInternal(O_CREAT | O_RDWR, mode, false /* no mapping */); in createNoMapping()
112 if (oflag & O_CREAT) { in openInternal()
130 if (oflag & O_RDWR || oflag & O_CREAT) { in openInternal()
142 mCreate |= (oflag & O_CREAT); in openInternal()
/hardware/google/graphics/common/libhwjpeg/
Dhwjpeg-base.cpp93 int fd = open(path, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH | S_IWGRP); in WriteToFile()
119 int fd = open(path, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH | S_IWGRP); in WriteToFile()
/hardware/google/gfxstream/guest/mesa/src/util/
Dos_file.c21 #define O_CREAT _O_CREAT macro
35 int fd = open(filename, O_CREAT | O_EXCL | O_WRONLY, filemode); in os_file_create_unique()
Danon_file.c129 fd = shm_open(SHM_ANON, O_CREAT | O_RDWR | O_CLOEXEC, 0600); in os_create_anonymous_file()
Ddisk_cache_os.c745 fd = open(filename_tmp, O_WRONLY | O_CLOEXEC | O_CREAT, 0644); in disk_cache_write_item_to_disk()
754 fd = open(filename_tmp, O_WRONLY | O_CLOEXEC | O_CREAT, 0644); in disk_cache_write_item_to_disk()
1017 fd = open(path, O_RDWR | O_CREAT | O_CLOEXEC, 0644); in disk_cache_mmap_cache_index()
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXw32defs.h59 # define O_CREAT _O_CREAT macro
/hardware/interfaces/bluetooth/1.0/default/test/
Dbluetooth_address_test.cc52 int fd = open(path, O_CREAT | O_RDWR, 0600); in FileWriteString()
/hardware/knowles/athletico/sound_trigger_hal/tests/
Dcrash_event_logger.c270 out_fp = open(file_name, O_WRONLY | O_CREAT, 0644); in dump_crash_log()
336 out_fp = open(file_name, O_WRONLY | O_CREAT, 0644); in dump_reg_access_hist_log()
483 dis_fp = open(dis_path, O_CREAT | O_SYNC | O_WRONLY, in ssr_copy_log()
/hardware/qcom/wlan/legacy/qcwcn/wcnss-service/
Dwcnss_service.c197 | O_CREAT | O_TRUNC, 0664); in wcnss_read_and_store_cal_data()
300 wfd = open(WLAN_INI_FILE_DEST, O_WRONLY | O_CREAT | O_TRUNC, 0660); in setup_wlan_config_file()
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraHALPP.cpp322 int file_fd = open(name, O_RDWR | O_CREAT, 0777); in dumpYUVtoFile()
/hardware/google/aemu/base/include/aemu/base/testing/
DTestTempDir.h139 int fd = ::android_open(path.c_str(), O_WRONLY | O_CREAT, 0744); in makeSubFile()
/hardware/google/aemu/base/testing/
Dfile_io.cpp127 return android_open(path, O_CREAT | O_WRONLY | O_TRUNC, mode); in android_creat()
/hardware/interfaces/bluetooth/1.0/default/test/fuzzer/
DbluetoothV1.0_fuzzer.cpp158 mFdList[i] = open("/dev/null", O_RDWR | O_CREAT); in process()
/hardware/google/pixel/fastboot/
DFastboot.cpp163 int fd = open(v->blk_device.c_str(), O_WRONLY | O_CREAT, 0644); in wipe_volume()
DFastboot_aidl.cpp182 int fd = open(v->blk_device.c_str(), O_WRONLY | O_CREAT, 0644); in wipe_volume()
/hardware/qcom/wlan/wcn6740/wcnss-service/
Dwcnss_service.c226 | O_CREAT | O_TRUNC, 0664); in wcnss_read_and_store_cal_data()
329 wfd = open(WLAN_INI_FILE_DEST, O_WRONLY | O_CREAT | O_TRUNC, 0660); in setup_wlan_config_file()
/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c399 fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0664); in rec_raw()
436 fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0664); in rec_wav()
/hardware/google/graphics/common/libv4l2/
Dexynos_subdev.c52 if (oflag & O_CREAT) in __subdev_open()
Dexynos_v4l2.c84 if (oflag & O_CREAT) in __v4l2_open()
/hardware/google/graphics/common/libgscaler/
Dexynos_subdev.c55 if (oflag & O_CREAT) in __subdev_open()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c52 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_rdi_dump_frame()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DCompilationCachingTests.cpp83 fd = open(file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in createCacheFds()
85 fd = open(file.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in createCacheFds()
813 int toFd = open(to[i].c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in copyCacheFiles()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCompilationCachingTests.cpp82 fd = open(file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in createCacheHandles()
84 fd = open(file.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in createCacheHandles()
1010 int toFd = open(to[i][0].c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in copyCacheFiles()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DCompilationCachingTests.cpp85 fd = open(file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in createCacheHandles()
87 fd = open(file.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in createCacheHandles()
1001 int toFd = open(to[i][0].c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in copyCacheFiles()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMuxer.cpp2350 int file_fd_main = open(buf_main, O_RDWR | O_CREAT, 0777); in composeMpo()
2367 int file_fd_aux = open(buf_aux, O_RDWR | O_CREAT, 0777); in composeMpo()
2395 int file_fd_mpo = open(buf_mpo, O_RDWR | O_CREAT, 0777); in composeMpo()

12