OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:eocd
(Results
1 - 2
of
2
) sorted by null
/bootable/recovery/
verifier.cpp
159
LOGE("not big enough to contain
EOCD
\n");
165
// includes all of the
EOCD
except for the comment length field (2
169
unsigned char*
eocd
= addr + length - eocd_size;
local
171
// If this is really is the
EOCD
record, it will begin with the
173
if (
eocd
[0] != 0x50 ||
eocd
[1] != 0x4b ||
174
eocd
[2] != 0x05 ||
eocd
[3] != 0x06) {
175
LOGE("signature length doesn't match
EOCD
marker\n");
181
if (
eocd
[i ] == 0x50 && eocd[i+1] == 0x4b &
[
all
...]
/system/core/libziparchive/
zip_archive.cc
52
// The "end of central directory" (
EOCD
) record. Each archive
207
// The maximum number of bytes to scan backwards for the
EOCD
start.
428
* Scan backward for the
EOCD
magic. In an archive without a trailing
438
ALOGV("+++ Found
EOCD
at buf+%d", i);
444
ALOGD("Zip:
EOCD
not found, %s is not zip", debug_file_name);
449
const EocdRecord*
eocd
= reinterpret_cast<const EocdRecord*>(scan_buffer + i);
local
455
+
eocd
->comment_length;
466
if (
eocd
->cd_start_offset +
eocd
->cd_size > eocd_offset) {
467
ALOGW("Zip: bad offsets (dir %" PRIu32 ", size %" PRIu32 ",
eocd
%" PRId64 ")"
[
all
...]
Completed in 115 milliseconds