Searched refs:O_BINARY (Results 1 - 5 of 5) sorted by relevance

/frameworks/compile/libbcc/lib/Support/
H A DFileBase.cpp38 #ifdef O_BINARY
40 mOpenFlags |= O_BINARY;
/frameworks/base/libs/androidfw/
H A DAsset.cpp44 #ifndef O_BINARY
45 # define O_BINARY 0 macro
128 fd = open(fileName, O_RDONLY | O_BINARY);
189 fd = open(fileName, O_RDONLY | O_BINARY);
635 return open(fname, O_RDONLY | O_BINARY);
642 return open(mFileName, O_RDONLY | O_BINARY);
/frameworks/native/libs/utils/
H A DZipFileRO.cpp44 * We must open binary files using open(path, ... | O_BINARY) under Windows.
47 #ifndef O_BINARY
48 # define O_BINARY 0 macro
143 fd = TEMP_FAILURE_RETRY(::open(zipFileName, O_RDONLY | O_BINARY));
/frameworks/base/tools/aidl/
H A Daidl.cpp22 #ifndef O_BINARY
23 # define O_BINARY 0 macro
1019 O_RDWR|O_CREAT|O_TRUNC|O_BINARY,
/frameworks/base/tools/aapt/
H A DXMLNode.cpp16 #define O_BINARY 0 macro
553 int fd = open(file->getSourceFile().string(), O_RDONLY | O_BINARY);

Completed in 470 milliseconds