OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:readAmount
(Results
1 - 5
of
5
) sorted by null
/dalvik/libdex/
ZipArchive.cpp
156
ZipArchive* pArchive, off64_t fileLength, size_t
readAmount
, u1* scanBuf)
190
off64_t searchStart = fileLength -
readAmount
;
196
actual = TEMP_FAILURE_RETRY(read(pArchive->mFd, scanBuf,
readAmount
));
197
if (actual != (ssize_t)
readAmount
) {
199
actual,
readAmount
, strerror(errno));
211
for (i =
readAmount
- kEOCDLen; i >= 0; i--) {
312
size_t
readAmount
= kMaxEOCDSearch;
313
if (fileLength < off_t(
readAmount
))
314
readAmount
= fileLength;
316
u1* scanBuf = (u1*) malloc(
readAmount
);
[
all
...]
/frameworks/base/libs/androidfw/
ZipFileRO.cpp
179
ssize_t
readAmount
= kMaxEOCDSearch;
180
if (
readAmount
> (ssize_t) mFileLength)
181
readAmount
= mFileLength;
183
if (
readAmount
< kEOCDSize) {
188
unsigned char* scanBuf = (unsigned char*) malloc(
readAmount
);
230
off64_t searchStart = mFileLength -
readAmount
;
237
actual = TEMP_FAILURE_RETRY(read(mFd, scanBuf,
readAmount
));
238
if (actual != (ssize_t)
readAmount
) {
240
(ZD_TYPE) actual, (ZD_TYPE)
readAmount
, strerror(errno));
252
for (i =
readAmount
- kEOCDLen; i >= 0; i--)
[
all
...]
/build/tools/zipalign/
ZipFile.cpp
209
long
readAmount
;
233
readAmount
= EndOfCentralDir::kMaxEOCDSearch;
236
readAmount
= (long) fileLength;
245
if (fread(buf, 1,
readAmount
, mZipFp) != (size_t)
readAmount
) {
246
ALOGD("short file? wanted %ld\n",
readAmount
);
252
for (i =
readAmount
- 4; i >= 0; i--) {
267
result = mEOCD.readBuf(buf + i,
readAmount
- i);
269
ALOGD("Failure reading %ld bytes of EOCD values",
readAmount
- i);
[
all
...]
/frameworks/base/tools/aapt/
ZipFile.cpp
209
long
readAmount
;
233
readAmount
= EndOfCentralDir::kMaxEOCDSearch;
236
readAmount
= (long) fileLength;
245
if (fread(buf, 1,
readAmount
, mZipFp) != (size_t)
readAmount
) {
246
ALOGD("short file? wanted %ld\n",
readAmount
);
252
for (i =
readAmount
- 4; i >= 0; i--) {
267
result = mEOCD.readBuf(buf + i,
readAmount
- i);
269
ALOGD("Failure reading %ld bytes of EOCD values",
readAmount
- i);
[
all
...]
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/
FileUtil.java
183
* @param
readAmount
returns amount of read in bytes for each interval.
189
public static double[] measureIO(int count, double[]
readAmount
, double[] writeAmount,
206
readAmount
[i] = currentAmount.mRd - prevAmount.mRd;
Completed in 57 milliseconds