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
103
// includes all of the
EOCD
except for the comment length field (2
107
unsigned char*
eocd
= (unsigned char*)malloc(eocd_size);
local
108
if (
eocd
== NULL) {
109
LOGE("malloc for
EOCD
record failed\n");
113
if (fread(
eocd
, 1, eocd_size, f) != eocd_size) {
114
LOGE("failed to read
eocd
from %s (%s)\n", path, strerror(errno));
119
// If this is really is the
EOCD
record, it will begin with the
121
if (
eocd
[0] != 0x50 ||
eocd
[1] != 0x4b ||
122
eocd
[2] != 0x05 || eocd[3] != 0x06)
[
all
...]
/system/core/libzipfile/
centraldir.c
38
fprintf(stderr, " Zip
EOCD
: expected >= %d bytes, found %d\n",
53
fprintf(stderr, "
EOCD
(%d) + comment(%d) exceeds len (%d)\n",
176
* This is all a little wobbly. If the wrong value ends up in the
EOCD
187
const unsigned char*
eocd
;
local
208
eocd
= p;
214
fprintf(stderr, "
EOCD
not found, not Zip\n");
218
// extract
eocd
values
219
err = read_central_dir_values(file,
eocd
, (buf+bufsize)-
eocd
);
Completed in 71 milliseconds