Searched refs:O_TRUNC (Results 1 – 12 of 12) sorted by relevance
/device/google/cuttlefish/host/commands/assemble_cvd/ |
D | vendor_dlkm_utils.cc | 51 open(path, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0640)); in WriteLinesToFile() 75 open(output_path, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644)); in WriteFsConfig() 208 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, in GenerateFileContexts()
|
/device/google/contexthub/util/common/ |
D | file.cpp | 51 modeval = O_WRONLY | O_CREAT | O_TRUNC; in setTo()
|
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/X11/ |
D | Xw32defs.h | 60 # define O_TRUNC _O_TRUNC macro
|
/device/google/coral/json-c/ |
D | json_util.c | 112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext()
|
/device/google/sunfish/json-c/ |
D | json_util.c | 112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext()
|
/device/google/redbull/json-c/ |
D | json_util.c | 112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext()
|
/device/generic/goldfish/fingerprint/ |
D | storage.cpp | 39 fd = ::open(filename, O_CLOEXEC | O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in openFile()
|
/device/google/cuttlefish/host/libs/config/ |
D | data_image.cpp | 112 auto fd = SharedFD::Open(image, O_CREAT | O_TRUNC | O_RDWR, 0666); in CreateBlankImage()
|
/device/google/cuttlefish/common/libs/utils/ |
D | files.cpp | 214 open(to.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644)); in Copy()
|
/device/google/cuttlefish/common/libs/fs/ |
D | shared_fd.cpp | 430 return SharedFD::Open(path, O_CREAT|O_WRONLY|O_TRUNC, mode); in Creat()
|
/device/google/contexthub/contexthubhal/ |
D | system_comms.cpp | 1114 int fd = open(file, O_CREAT | O_WRONLY | O_TRUNC, CHRE_APP_FILE_PERMS); in writeApp()
|
/device/generic/goldfish-opengl/system/profiler/ |
D | perfetto.cpp | 51278 const int flags = O_RDWR | O_CREAT | (overwrite ? O_TRUNC : O_EXCL); in CreateTraceFile()
|