Lines Matching refs:local
298 _zip_dirent_read(zip_dirent_t *zde, zip_source_t *src, zip_buffer_t *buffer, bool local, zip_error_… in _zip_dirent_read() argument
307 size = local ? LENTRYSIZE : CDENTRYSIZE; in _zip_dirent_read()
321 if (memcmp(_zip_buffer_get(buffer, 4), (local ? LOCAL_MAGIC : CENTRAL_MAGIC), 4) != 0) { in _zip_dirent_read()
332 if (!local) in _zip_dirent_read()
352 if (local) { in _zip_dirent_read()
426 …if (!_zip_ef_parse(ef, ef_len, local ? ZIP_EF_LOCAL : ZIP_EF_CENTRAL, &zde->extra_fields, error)) { in _zip_dirent_read()
434 if (local) in _zip_dirent_read()
465 …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()
484 else if (local) { in _zip_dirent_read()
491 if (!local) { in _zip_dirent_read()
572 bool local = (flags & ZIP_EF_LOCAL) != 0; in _zip_dirent_size() local
577 size = local ? LENTRYSIZE : CDENTRYSIZE; in _zip_dirent_size()
579 if (zip_source_seek(src, local ? 26 : 28, SEEK_CUR) < 0) { in _zip_dirent_size()
584 if ((buffer = _zip_buffer_new_from_source(src, local ? 4 : 6, b, error)) == NULL) { in _zip_dirent_size()
588 for (i=0; i<(local ? 2 : 3); i++) { in _zip_dirent_size()