Lines Matching refs:local
328 const unsigned char **bufp, zip_uint64_t *leftp, int local, in _zip_dirent_read() argument
337 if (local) in _zip_dirent_read()
360 if (memcmp(cur, (local ? LOCAL_MAGIC : CENTRAL_MAGIC), 4) != 0) { in _zip_dirent_read()
370 if (!local) in _zip_dirent_read()
390 if (local) { in _zip_dirent_read()
433 …if ((zde->extra_fields=_zip_ef_parse(ef, ef_len, local ? ZIP_EF_LOCAL : ZIP_EF_CENTRAL, error)) ==… in _zip_dirent_read()
438 if (local) in _zip_dirent_read()
462 …const zip_uint8_t *ef = _zip_ef_get_by_id(zde->extra_fields, &got_len, ZIP_EF_ZIP64, 0, local ? ZI… in _zip_dirent_read()
468 if (local) in _zip_dirent_read()
481 else if (local) in _zip_dirent_read()
485 if (!local) { in _zip_dirent_read()
493 if (!local) { in _zip_dirent_read()
544 int local = (flags & ZIP_EF_LOCAL); in _zip_dirent_size() local
549 size = local ? LENTRYSIZE : CDENTRYSIZE; in _zip_dirent_size()
551 if (fseek(f, local ? 26 : 28, SEEK_CUR) < 0) { in _zip_dirent_size()
556 if (fread(b, (local ? 4 : 6), 1, f) != 1) { in _zip_dirent_size()
562 for (i=0; i<(local ? 2 : 3); i++) { in _zip_dirent_size()