Home
last modified time | relevance | path

Searched refs:ef_len (Results 1 – 2 of 2) sorted by relevance

/PHP-5.6/ext/zip/lib/
H A Dzip_extra_field.c327 zip_uint16_t fname_len, ef_len; in _zip_read_local_ef() local
352 ef_len = _zip_read2(&p); in _zip_read_local_ef()
354 if (ef_len > 0) { in _zip_read_local_ef()
363 ef_raw = _zip_read_data(NULL, za->zp, ef_len, 0, &za->error); in _zip_read_local_ef()
368 if ((ef=_zip_ef_parse(ef_raw, ef_len, ZIP_EF_LOCAL, &za->error)) == NULL) { in _zip_read_local_ef()
H A Dzip_dirent.c335 zip_uint16_t filename_len, comment_len, ef_len; in _zip_dirent_read() local
388 ef_len = _zip_read2(&cur); in _zip_dirent_read()
408 size += filename_len+ef_len+comment_len; in _zip_dirent_read()
428 if (ef_len) { in _zip_dirent_read()
429 zip_uint8_t *ef = _zip_read_data(bufp ? &cur : NULL, fp, ef_len, 0, error); 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()
515 zip_uint16_t ef_len; in _zip_dirent_process_ef_utf_8() local
518 const zip_uint8_t *ef = _zip_ef_get_by_id(de->extra_fields, &ef_len, id, 0, ZIP_EF_BOTH, NULL); in _zip_dirent_process_ef_utf_8()
520 if (ef == NULL || ef_len < 5 || ef[0] != 1) in _zip_dirent_process_ef_utf_8()
527 struct zip_string *ef_str = _zip_string_new(ef, ef_len-5, ZIP_ENCODING_UTF8_KNOWN, NULL); in _zip_dirent_process_ef_utf_8()

Completed in 15 milliseconds