Home
last modified time | relevance | path

Searched refs:O_TRUNC (Results 1 – 12 of 12) sorted by relevance

/device/google/cuttlefish/host/commands/assemble_cvd/
Dvendor_dlkm_utils.cc51 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/
Dfile.cpp51 modeval = O_WRONLY | O_CREAT | O_TRUNC; in setTo()
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/X11/
DXw32defs.h60 # define O_TRUNC _O_TRUNC macro
/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/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/generic/goldfish/fingerprint/
Dstorage.cpp39 fd = ::open(filename, O_CLOEXEC | O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in openFile()
/device/google/cuttlefish/host/libs/config/
Ddata_image.cpp112 auto fd = SharedFD::Open(image, O_CREAT | O_TRUNC | O_RDWR, 0666); in CreateBlankImage()
/device/google/cuttlefish/common/libs/utils/
Dfiles.cpp214 open(to.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644)); in Copy()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp430 return SharedFD::Open(path, O_CREAT|O_WRONLY|O_TRUNC, mode); in Creat()
/device/google/contexthub/contexthubhal/
Dsystem_comms.cpp1114 int fd = open(file, O_CREAT | O_WRONLY | O_TRUNC, CHRE_APP_FILE_PERMS); in writeApp()
/device/generic/goldfish-opengl/system/profiler/
Dperfetto.cpp51278 const int flags = O_RDWR | O_CREAT | (overwrite ? O_TRUNC : O_EXCL); in CreateTraceFile()