Home
last modified time | relevance | path

Searched refs:O_BINARY (Results 1 – 6 of 6) sorted by relevance

/frameworks/compile/libbcc/lib/
DFileBase.cpp51 #ifdef O_BINARY in FileBase()
53 mOpenFlags |= O_BINARY; in FileBase()
/frameworks/base/libs/androidfw/
DAsset.cpp45 #ifndef O_BINARY
46 # define O_BINARY 0 macro
136 return createFromFd(open(fileName, O_RDONLY | O_BINARY), fileName, mode); in createFromFile()
212 fd = open(fileName, O_RDONLY | O_BINARY); in createFromCompressedFile()
690 return open(fname, O_RDONLY | O_BINARY); in openFileDescriptor()
697 return open(mFileName, O_RDONLY | O_BINARY); in openFileDescriptor()
/frameworks/base/tools/aapt2/io/
DFileStream.cpp42 int mode = O_RDONLY | O_CLOEXEC | O_BINARY; in FileInputStream()
113 int mode = O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_BINARY; in FileOutputStream()
/frameworks/base/libs/androidfw/tests/
DApkAssets_test.cpp50 unique_fd fd(::open(path.c_str(), O_RDONLY | O_BINARY)); in TEST()
/frameworks/base/tools/aapt2/util/
DFiles.cpp212 int flags = O_RDONLY | O_CLOEXEC | O_BINARY; in MmapPath()
/frameworks/base/tools/aapt/
DXMLNode.cpp16 #define O_BINARY 0 macro
586 int fd = open(file->getSourceFile().string(), O_RDONLY | O_BINARY); in parse()