OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:eocd
(Results
1 - 3
of
3
) sorted by null
/system/core/libzipfile/
centraldir.c
40
fprintf(stderr, " Zip
EOCD
: expected >= %d bytes, found %d\n",
55
fprintf(stderr, "
EOCD
(%d) + comment(%d) exceeds len (%d)\n",
145
* This is all a little wobbly. If the wrong value ends up in the
EOCD
156
const unsigned char*
eocd
;
local
177
eocd
= p;
183
fprintf(stderr, "
EOCD
not found, not Zip\n");
187
// extract
eocd
values
188
err = read_central_dir_values(file,
eocd
, (buf+bufsize)-
eocd
);
/bootable/recovery/
verifier.cpp
158
LOGE("not big enough to contain
EOCD
\n");
164
// includes all of the
EOCD
except for the comment length field (2
168
unsigned char*
eocd
= addr + length - eocd_size;
local
170
// If this is really is the
EOCD
record, it will begin with the
172
if (
eocd
[0] != 0x50 ||
eocd
[1] != 0x4b ||
173
eocd
[2] != 0x05 ||
eocd
[3] != 0x06) {
174
LOGE("signature length doesn't match
EOCD
marker\n");
180
if (
eocd
[i ] == 0x50 && eocd[i+1] == 0x4b &
[
all
...]
/system/core/libziparchive/
zip_archive.cc
49
// The "end of central directory" (
EOCD
) record. Each archive
202
// The maximum number of bytes to scan backwards for the
EOCD
start.
468
* Scan backward for the
EOCD
magic. In an archive without a trailing
477
ALOGV("+++ Found
EOCD
at buf+%d", i);
482
ALOGD("Zip:
EOCD
not found, %s is not zip", debug_file_name);
487
const EocdRecord*
eocd
= reinterpret_cast<const EocdRecord*>(scan_buffer + i);
local
493
+
eocd
->comment_length;
504
if (
eocd
->cd_start_offset +
eocd
->cd_size > eocd_offset) {
505
ALOGW("Zip: bad offsets (dir %" PRIu32 ", size %" PRIu32 ",
eocd
%" PRId64 ")"
[
all
...]
Completed in 280 milliseconds