HomeSort by relevance Sort by last modified time
    Searched defs:eocd (Results 1 - 2 of 2) sorted by null

  /bootable/recovery/
verifier.cpp 101 // includes all of the EOCD except for the comment length field (2
105 unsigned char* eocd = (unsigned char*)malloc(eocd_size); local
106 if (eocd == NULL) {
107 LOGE("malloc for EOCD record failed\n");
111 if (fread(eocd, 1, eocd_size, f) != eocd_size) {
112 LOGE("failed to read eocd from %s (%s)\n", path, strerror(errno));
117 // If this is really is the EOCD record, it will begin with the
119 if (eocd[0] != 0x50 || eocd[1] != 0x4b ||
120 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 249 milliseconds