Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dflags.c80 o = O_CREAT | O_TRUNC; in __sflags()
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dfcntl.h72 #define O_TRUNC 0x00000400 ///< truncate to zero length macro
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
DXform.c51 if(oflags & (O_CREAT | O_TRUNC)) { // Now add the Create flag. in Oflags2EFI()
/device/google/contexthub/util/common/
Dfile.cpp54 modeval = O_WRONLY | O_CREAT | O_TRUNC; in setTo()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/
DdaShell.c515 if((oflags & O_TRUNC) || ((oflags & (O_EXCL | O_CREAT)) == (O_EXCL | O_CREAT))) { in da_ShellOpen()
519 if(oflags & O_TRUNC) { in da_ShellOpen()
/device/generic/goldfish/camera/
DEmulatedCameraHotplugThread.cpp231 open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC, in createFileIfNotExists()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dfileinput.py333 os.O_CREAT | os.O_WRONLY | os.O_TRUNC,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dfileinput.py330 os.O_CREAT | os.O_WRONLY | os.O_TRUNC,
Dmailbox.py934 os.close(os.open(path, os.O_WRONLY | os.O_TRUNC))
1103 os.close(os.open(f.name, os.O_WRONLY | os.O_TRUNC))
Dtarfile.py372 "w": os.O_WRONLY | os.O_CREAT | os.O_TRUNC,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dgzlib.c237 O_TRUNC :
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dfileio.c283 flags |= O_CREAT | O_TRUNC; in fileio_init()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dfileio.c277 flags |= O_CREAT | O_TRUNC; in fileio_init()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dimport.c876 #if defined(O_EXCL)&&defined(O_CREAT)&&defined(O_WRONLY)&&defined(O_TRUNC) in open_exclusive()
885 fd = open(filename, O_EXCL|O_CREAT|O_WRONLY|O_TRUNC in open_exclusive()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dimport.c844 #if defined(O_EXCL)&&defined(O_CREAT)&&defined(O_WRONLY)&&defined(O_TRUNC) in open_exclusive()
853 fd = open(filename, O_EXCL|O_CREAT|O_WRONLY|O_TRUNC in open_exclusive()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dimport.c844 #if defined(O_EXCL)&&defined(O_CREAT)&&defined(O_WRONLY)&&defined(O_TRUNC) in open_exclusive()
853 fd = open(filename, O_EXCL|O_CREAT|O_WRONLY|O_TRUNC in open_exclusive()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Dedk2module.c4034 #ifdef O_TRUNC in all_ins()
4035 if (ins(d, "O_TRUNC", (long)O_TRUNC)) return -1; in all_ins()
/device/google/marlin/camera/QCamera2/HAL/test/
Dqcamera_test.cpp176 fd = open(path, O_CREAT | O_WRONLY | O_TRUNC, 0655); in saveFile()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
Dedk2module.c7194 #ifdef O_TRUNC in all_ins()
7195 if (ins(d, "O_TRUNC", (long)O_TRUNC)) return -1; in all_ins()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dposixmodule.c9123 #ifdef O_TRUNC in all_ins()
9124 if (ins(d, "O_TRUNC", (long)O_TRUNC)) return -1; in all_ins()