Home
last modified time | relevance | path

Searched refs:nentry (Results 1 – 20 of 20) sorted by relevance

/PHP-7.2/ext/zip/lib/
H A Dzip_get_num_files.c46 if (za->nentry > INT_MAX) { in zip_get_num_files()
51 return (int)za->nentry; in zip_get_num_files()
H A Dzip_file_replace.c41 if (idx >= za->nentry || source == NULL) { in zip_file_replace()
66 za_nentry_prev = za->nentry; in _zip_file_replace()
82 if (za->nentry != za_nentry_prev) { in _zip_file_replace()
84 za->nentry = za_nentry_prev; in _zip_file_replace()
H A Dzip_get_num_entries.c47 n = za->nentry; in zip_get_num_entries()
52 return (zip_int64_t)za->nentry; in zip_get_num_entries()
H A Dzip_add_entry.c47 if (za->nentry+1 >= za->nentry_alloc) { in _zip_add_entry()
76 idx = za->nentry++; in _zip_add_entry()
H A Dzip_open.c222 za->nentry = cdir->nentry; in _zip_open()
228 for (idx = 0; idx < za->nentry; idx++) { in _zip_open()
373 while (i<cd->nentry && left > 0) { in _zip_read_cdir()
384 if (i != cd->nentry) { in _zip_read_cdir()
436 if (cd->nentry) { in _zip_checkcons()
443 for (i=0; i<cd->nentry; i++) { in _zip_checkcons()
689 nentry = _zip_buffer_get_16(buffer); in _zip_read_eocd()
691 if (nentry != i) { in _zip_read_eocd()
732 zip_uint64_t size, nentry, i, eocdloc_offset; in _zip_read_eocd64() local
810 nentry = _zip_buffer_get_64(buffer); in _zip_read_eocd64()
[all …]
H A Dzip_unchange_all.c49 for (i=0; i<za->nentry; i++) in zip_unchange_all()
H A Dzip_delete.c43 if (idx >= za->nentry) { in zip_delete()
H A Dzip_discard.c64 for (i=0; i<za->nentry; i++) in zip_discard()
H A Dzip_file_rename.c46 if (idx >= za->nentry || (name != NULL && strlen(name) > ZIP_UINT16_MAX)) { in zip_file_rename()
H A Dzip_new.c67 za->nentry = za->nentry_alloc = 0; in _zip_new()
H A Dzip_dirent.c56 for (i=0; i<cd->nentry; i++) in _zip_cdir_free()
65 _zip_cdir_new(zip_uint64_t nentry, zip_error_t *error) in _zip_cdir_new() argument
75 if (nentry == 0) in _zip_cdir_new()
77 …else if ((nentry > SIZE_MAX/sizeof(*(cd->entry))) || (cd->entry=(zip_entry_t *)malloc(sizeof(*(cd-… in _zip_cdir_new()
83 for (i=0; i<nentry; i++) in _zip_cdir_new()
86 cd->nentry = cd->nentry_alloc = nentry; in _zip_cdir_new()
875 if (idx >= za->nentry) { in _zip_get_dirent()
H A Dzip_name_locate.c69 for (i=0; i<za->nentry; i++) { in _zip_name_locate()
H A Dzip_set_file_compression.c44 if (idx >= za->nentry) { in zip_set_file_compression()
H A Dzip_unchange.c53 if (idx >= za->nentry) { in _zip_unchange()
H A Dzip_close.c94 if (survivors > za->nentry) { in zip_close()
103 for (i=j=0; i<za->nentry; i++) { in zip_close()
481 for (i=0; i<za->nentry; i++) { in _zip_changed()
H A Dzip_set_name.c51 if (idx >= za->nentry) { in _zip_set_name()
H A Dzip_source_zip_new.c52 if (srcza == NULL || srcidx >= srcza->nentry) { in _zip_source_zip_new()
H A Dzipint.h307 zip_uint64_t nentry; /* number of entries */ member
365 zip_uint64_t nentry; /* number of entries */ member
H A Dzip_extra_field_api.c336 if (idx >= za->nentry) { in _zip_file_extra_field_prepare_for_change()
H A Dzip_extra_field.c369 if (idx >= za->nentry) { in _zip_read_local_ef()

Completed in 31 milliseconds