Home
last modified time | relevance | path

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

/PHP-7.2/ext/zip/lib/
H A Dzip_extra_field.c367 zip_uint16_t fname_len, ef_len; in _zip_read_local_ef() local
394 ef_len = _zip_buffer_get_16(buffer); in _zip_read_local_ef()
404 if (ef_len > 0) { in _zip_read_local_ef()
413 ef_raw = _zip_read_data(NULL, za->src, ef_len, 0, &za->error); in _zip_read_local_ef()
418 if (!_zip_ef_parse(ef_raw, ef_len, ZIP_EF_LOCAL, &ef, &za->error)) { in _zip_read_local_ef()
H A Dzip_dirent.c303 zip_uint16_t filename_len, comment_len, ef_len; in _zip_dirent_read() local
350 ef_len = _zip_buffer_get_16(buffer); in _zip_dirent_read()
378 variable_size = (zip_uint32_t)filename_len+(zip_uint32_t)ef_len+(zip_uint32_t)comment_len; in _zip_dirent_read()
417 if (ef_len) { in _zip_dirent_read()
418 zip_uint8_t *ef = _zip_read_data(buffer, src, ef_len, 0, error); 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()
535 zip_uint16_t ef_len; in _zip_dirent_process_ef_utf_8() local
539 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()
541 if (ef == NULL || ef_len < 5 || ef[0] != 1) { in _zip_dirent_process_ef_utf_8()
545 if ((buffer = _zip_buffer_new((zip_uint8_t *)ef, ef_len)) == NULL) { in _zip_dirent_process_ef_utf_8()

Completed in 7 milliseconds