/PHP-5.5/ext/zip/lib/ |
H A D | zip_open.c | 128 if ((za->entry=(struct zip_entry *)malloc(sizeof(*(za->entry)) in _zip_open() 267 if ((_zip_dirent_read(cd->entry+i, fp, bufp, &left, 0, error)) < 0) { in _zip_readcdir() 306 max = cd->entry[0].offset; in _zip_checkcons() 307 min = cd->entry[0].offset; in _zip_checkcons() 313 if (cd->entry[i].offset < min) in _zip_checkcons() 314 min = cd->entry[i].offset; in _zip_checkcons() 320 j = cd->entry[i].offset + cd->entry[i].comp_size in _zip_checkcons() 321 + cd->entry[i].filename_len + LENTRYSIZE; in _zip_checkcons() 329 if (fseeko(fp, cd->entry[i].offset, SEEK_SET) != 0) { in _zip_checkcons() 337 if (_zip_headercomp(cd->entry+i, 0, &temp, 1) != 0) { in _zip_checkcons()
|
H A D | zip_replace.c | 75 _zip_unchange_data(za->entry+idx); in _zip_replace() 80 za->entry[idx].state = ((za->cdir == NULL || idx >= za->cdir->nentry) in _zip_replace() 82 za->entry[idx].source = source; in _zip_replace()
|
H A D | zip_set_file_comment.c | 67 free(za->entry[idx].ch_comment); in zip_set_file_comment() 68 za->entry[idx].ch_comment = tmpcom; in zip_set_file_comment() 69 za->entry[idx].ch_comment_len = len; in zip_set_file_comment()
|
H A D | zip_set_file_extra.c | 67 free(za->entry[idx].ch_extra); in zip_set_file_extra() 68 za->entry[idx].ch_extra = tmpext; in zip_set_file_extra() 69 za->entry[idx].ch_extra_len = len; in zip_set_file_extra()
|
H A D | zip_set_name.c | 68 if (za->entry[idx].state == ZIP_ST_UNCHANGED) in _zip_set_name() 69 za->entry[idx].state = ZIP_ST_RENAMED; in _zip_set_name() 71 free(za->entry[idx].ch_filename); in _zip_set_name() 72 za->entry[idx].ch_filename = s; in _zip_set_name()
|
H A D | zip_source_zip.c | 72 && ZIP_ENTRY_DATA_CHANGED(srcza->entry+srcidx)) { in zip_source_zip()
|
H A D | zip_stat_index.c | 56 && ZIP_ENTRY_DATA_CHANGED(za->entry+index)) { in zip_stat_index() 57 if (zip_source_stat(za->entry[index].source, st) < 0) { in zip_stat_index() 70 st->crc = za->cdir->entry[index].crc; in zip_stat_index() 71 st->size = za->cdir->entry[index].uncomp_size; in zip_stat_index() 72 st->mtime = za->cdir->entry[index].last_mod; in zip_stat_index() 73 st->comp_size = za->cdir->entry[index].comp_size; in zip_stat_index() 74 st->comp_method = za->cdir->entry[index].comp_method; in zip_stat_index() 75 if (za->cdir->entry[index].bitflags & ZIP_GPBF_ENCRYPTED) { in zip_stat_index() 76 if (za->cdir->entry[index].bitflags & ZIP_GPBF_STRONG_ENCRYPTION) { in zip_stat_index()
|
H A D | zip_unchange.c | 60 if (za->entry[idx].ch_filename) { in _zip_unchange() 71 free(za->entry[idx].ch_filename); in _zip_unchange() 72 za->entry[idx].ch_filename = NULL; in _zip_unchange() 75 free(za->entry[idx].ch_extra); in _zip_unchange() 76 za->entry[idx].ch_extra = NULL; in _zip_unchange() 77 za->entry[idx].ch_extra_len = -1; in _zip_unchange() 78 free(za->entry[idx].ch_comment); in _zip_unchange() 79 za->entry[idx].ch_comment = NULL; in _zip_unchange() 80 za->entry[idx].ch_comment_len = -1; in _zip_unchange() 82 _zip_unchange_data(za->entry+idx); in _zip_unchange()
|
H A D | zipint.h | 199 struct zip_entry *entry; /* entries */ member 240 struct zip_dirent *entry; /* directory entries */ member
|
H A D | zip_close.c | 118 _zip_dirent_init(&cd->entry[i]); in zip_close() 176 memcpy(cd->entry+j, &de, sizeof(cd->entry[j])); in zip_close() 183 cd->entry[j].filename = "-"; in zip_close() 189 cd->entry[j].filename = za->cdir->entry[i].filename; in zip_close() 206 memcpy(cd->entry+j, za->cdir->entry+i, sizeof(cd->entry[j])); in zip_close() 216 if (za->entry[i].ch_filename) { in zip_close() 223 cd->entry[j].filename = za->entry[i].ch_filename; in zip_close() 233 memcpy(de.extrafield, za->entry[i].ch_extra, za->entry[i].ch_extra_len); in zip_close() 246 cd->entry[j].comment = za->entry[i].ch_comment; in zip_close() 247 cd->entry[j].comment_len = za->entry[i].ch_comment_len; in zip_close() [all …]
|
H A D | zip_delete.c | 58 za->entry[idx].state = ZIP_ST_DELETED; in zip_delete()
|
H A D | zip_dirent.c | 62 _zip_dirent_finalize(cd->entry+i); in _zip_cdir_free() 64 free(cd->entry); in _zip_cdir_free() 73 struct zip_dirent *entry; in _zip_cdir_grow() local 80 if ((entry=((struct zip_dirent *) in _zip_cdir_grow() 81 realloc(cd->entry, sizeof(*(cd->entry))*nentry))) == NULL) { in _zip_cdir_grow() 87 cd->entry = entry; in _zip_cdir_grow() 104 …if ( nentry > ((size_t)-1)/sizeof(*(cd->entry)) || (cd->entry=(struct zip_dirent *)malloc(sizeof(*… in _zip_cdir_new() 131 if (_zip_dirent_write(cd->entry+i, fp, 0, error) != 0) in _zip_cdir_write()
|
H A D | zip_entry_new.c | 56 rentries = (struct zip_entry *)realloc(za->entry, in _zip_entry_new() 63 za->entry = rentries; in _zip_entry_new() 65 ze = za->entry+za->nentry; in _zip_entry_new()
|
/PHP-5.5/ext/xsl/ |
H A D | xsltprocessor.c | 779 zval *array_value, **entry, *new_string; in PHP_FUNCTION() local 790 while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { in PHP_FUNCTION() 791 SEPARATE_ZVAL(entry); in PHP_FUNCTION() 792 convert_to_string_ex(entry); in PHP_FUNCTION() 800 Z_ADDREF_PP(entry); in PHP_FUNCTION() 801 COPY_PZVAL_TO_ZVAL(*new_string, *entry); in PHP_FUNCTION() 878 zval *array_value, **entry, *new_string; in PHP_FUNCTION() local 888 while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { in PHP_FUNCTION() 889 SEPARATE_ZVAL(entry); in PHP_FUNCTION() 890 convert_to_string_ex(entry); in PHP_FUNCTION() [all …]
|
H A D | php_xsl.h | 79 #define REGISTER_XSL_CLASS(ce, name, parent_ce, funcs, entry) \ argument 82 entry = zend_register_internal_class_ex(&ce, parent_ce, NULL TSRMLS_CC);
|
/PHP-5.5/ext/tidy/ |
H A D | tidy.c | 1140 …status = OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
|
/PHP-5.5/ext/standard/tests/dir/ |
H A D | readdir_basic.phpt | 6 * Description: Read directory entry from dir_handle
|
H A D | readdir_error.phpt | 6 * Description: Read directory entry from dir_handle
|
H A D | readdir_variation1.phpt | 6 * Description: Read directory entry from dir_handle
|
H A D | readdir_variation2.phpt | 6 * Description: Read directory entry from dir_handle 32 foreach($entries as $entry) { 33 var_dump($entry);
|
H A D | readdir_variation3.phpt | 6 * Description: Read directory entry from dir_handle
|
H A D | readdir_variation4.phpt | 6 * Description: Read directory entry from dir_handle
|
H A D | readdir_variation5.phpt | 21 * Description: Read directory entry from dir_handle
|
H A D | readdir_variation6.phpt | 6 * Description: Read directory entry from dir_handle
|
H A D | readdir_variation7.phpt | 6 * Description: Read directory entry from dir_handle
|