Home
last modified time | relevance | path

Searched refs:O_BINARY (Results 1 – 7 of 7) 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
141 fd = open(fileName, O_RDONLY | O_BINARY); in createFromFile()
202 fd = open(fileName, O_RDONLY | O_BINARY); in createFromCompressedFile()
688 return open(fname, O_RDONLY | O_BINARY); in openFileDescriptor()
695 return open(mFileName, O_RDONLY | O_BINARY); in openFileDescriptor()
DApkAssets.cpp88 unique_fd fd(base::utf8::open(path.c_str(), O_RDONLY | O_BINARY | O_CLOEXEC)); in CreateAssetFromFile()
/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()