entry              80 Zend/zend.c    	OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             633 Zend/zend_builtin_functions.c 	zval *array, *entry, tmp;
entry             648 Zend/zend_builtin_functions.c 		entry = zend_hash_get_current_data(target_hash);
entry             649 Zend/zend_builtin_functions.c 		if (!entry) {
entry             651 Zend/zend_builtin_functions.c 		} else if (Z_TYPE_P(entry) == IS_INDIRECT) {
entry             652 Zend/zend_builtin_functions.c 			entry = Z_INDIRECT_P(entry);
entry             653 Zend/zend_builtin_functions.c 			if (Z_TYPE_P(entry) == IS_UNDEF) {
entry             664 Zend/zend_builtin_functions.c 	if (Z_ISREF_P(entry)) {
entry             665 Zend/zend_builtin_functions.c 		ZVAL_DUP(&tmp, Z_REFVAL_P(entry));
entry             666 Zend/zend_builtin_functions.c 		entry = &tmp;
entry             667 Zend/zend_builtin_functions.c 		if (Z_REFCOUNTED_P(entry)) Z_ADDREF_P(entry);
entry             669 Zend/zend_builtin_functions.c 		if (Z_REFCOUNTED_P(entry)) Z_ADDREF_P(entry);
entry             670 Zend/zend_builtin_functions.c 		if (Z_REFCOUNTED_P(entry)) Z_ADDREF_P(entry);
entry             672 Zend/zend_builtin_functions.c 	zend_hash_index_add_new(Z_ARRVAL_P(return_value), 1, entry);
entry             673 Zend/zend_builtin_functions.c 	zend_hash_str_add_new(Z_ARRVAL_P(return_value), "value", sizeof("value")-1, entry);
entry            1667 Zend/zend_builtin_functions.c 	zend_string *entry;
entry            1674 Zend/zend_builtin_functions.c 	ZEND_HASH_FOREACH_STR_KEY(&EG(included_files), entry) {
entry            1675 Zend/zend_builtin_functions.c 		if (entry) {
entry            1676 Zend/zend_builtin_functions.c 			add_next_index_str(return_value, zend_string_copy(entry));
entry             681 Zend/zend_inheritance.c 	zend_class_entry *entry;
entry             696 Zend/zend_inheritance.c 		entry = iface->interfaces[if_num];
entry             698 Zend/zend_inheritance.c 			if (ce->interfaces[i] == entry) {
entry             703 Zend/zend_inheritance.c 			ce->interfaces[ce->num_interfaces++] = entry;
entry              89 Zend/zend_ini.c 	zend_ini_entry *entry = (zend_ini_entry*)Z_PTR_P(zv);
entry              91 Zend/zend_ini.c 	zend_string_release(entry->name);
entry              92 Zend/zend_ini.c 	if (entry->value) {
entry              93 Zend/zend_ini.c 		zend_string_release(entry->value);
entry              95 Zend/zend_ini.c 	if (entry->orig_value) {
entry              96 Zend/zend_ini.c 		zend_string_release(entry->orig_value);
entry              98 Zend/zend_ini.c 	free(entry);
entry              30 Zend/zend_ini.h #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage)
entry             574 Zend/zend_operators.c 	zval entry;
entry             576 Zend/zend_operators.c 	ZVAL_COPY_VALUE(&entry, op);
entry             580 Zend/zend_operators.c 	zend_hash_index_add_new(Z_ARRVAL_P(op), 0, &entry);
entry            2817 ext/curl/interface.c 	zval		*zid, *arr, *entry;
entry            2830 ext/curl/interface.c 	ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(arr), option, string_key, entry) {
entry            2836 ext/curl/interface.c 		if (_php_curl_setopt(ch, (zend_long) option, entry) == FAILURE) {
entry             947 ext/date/php_date.c 	if (OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage) == FAILURE) {
entry            4561 ext/date/php_date.c 	const timelib_tz_lookup_table *table, *entry;
entry            4566 ext/date/php_date.c 	entry = table;
entry            4570 ext/date/php_date.c 		add_assoc_bool_ex(&element, "dst", sizeof("dst") -1, entry->type);
entry            4571 ext/date/php_date.c 		add_assoc_long_ex(&element, "offset", sizeof("offset") - 1, entry->gmtoffset);
entry            4572 ext/date/php_date.c 		if (entry->full_tz_name) {
entry            4573 ext/date/php_date.c 			add_assoc_string_ex(&element, "timezone_id", sizeof("timezone_id") - 1, entry->full_tz_name);
entry            4578 ext/date/php_date.c 		abbr_array_p = zend_hash_str_find(Z_ARRVAL_P(return_value), entry->name, strlen(entry->name));
entry            4581 ext/date/php_date.c 			add_assoc_zval(return_value, entry->name, &abbr_array);
entry            4586 ext/date/php_date.c 		entry++;
entry            4587 ext/date/php_date.c 	} while (entry->name);
entry             492 ext/dba/dba.c  		return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             502 ext/dba/dba.c  	return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             184 ext/dom/dom_iterators.c 	zval *entry;
entry             201 ext/dom/dom_iterators.c 				if ((entry = zend_hash_get_current_data(nodeht))) {
entry             204 ext/dom/dom_iterators.c 					ZVAL_COPY(&iterator->curobj, entry);
entry             262 ext/dom/dom_iterators.c 	zval *entry;
entry             284 ext/dom/dom_iterators.c 				if ((entry = zend_hash_get_current_data(nodeht))) {
entry             285 ext/dom/dom_iterators.c 					ZVAL_COPY(&iterator->curobj, entry);
entry             135 ext/dom/nodelist.c 					zval *entry = zend_hash_index_find(nodeht, index);
entry             136 ext/dom/nodelist.c 					if (entry) {
entry             137 ext/dom/nodelist.c 						ZVAL_COPY(return_value, entry);
entry             422 ext/dom/php_dom.c 	dom_prop_handler	*entry;
entry             436 ext/dom/php_dom.c 	ZEND_HASH_FOREACH_STR_KEY_PTR(prop_handlers, string_key, entry) {
entry             439 ext/dom/php_dom.c 		if (entry->read_func(obj, &value) == FAILURE || !string_key) {
entry             132 ext/dom/php_dom.h #define REGISTER_DOM_CLASS(ce, name, parent_ce, funcs, entry) \
entry             135 ext/dom/php_dom.h entry = zend_register_internal_class_ex(&ce, parent_ce);
entry             512 ext/dom/xpath.c 	zval *array_value, *entry, new_string;
entry             519 ext/dom/xpath.c 		ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(array_value), entry) {
entry             520 ext/dom/xpath.c 			zend_string *str = zval_get_string(entry);
entry             176 ext/exif/exif.c 	return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             191 ext/exif/exif.c 	return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry            1792 ext/ftp/ftp.c  	char		**entry;
entry            1853 ext/ftp/ftp.c  	entry = ret;
entry            1855 ext/ftp/ftp.c  	*entry = text;
entry            1860 ext/ftp/ftp.c  			*++entry = text;
entry            1866 ext/ftp/ftp.c  	*entry = NULL;
entry             238 ext/iconv/iconv.c 	OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             251 ext/iconv/iconv.c 	OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             264 ext/iconv/iconv.c 	OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             320 ext/intl/resourcebundle/resourcebundle_class.c 	const char * entry;
entry             346 ext/intl/resourcebundle/resourcebundle_class.c 	while ((entry = uenum_next( icuenum, &entry_len, &icuerror ))) {
entry             347 ext/intl/resourcebundle/resourcebundle_class.c 		add_next_index_stringl( return_value, (char *) entry, entry_len);
entry             133 ext/ldap/ldap.c 	ldap_resultentry *entry = (ldap_resultentry *)rsrc->ptr;
entry             135 ext/ldap/ldap.c 	if (entry->ber != NULL) {
entry             136 ext/ldap/ldap.c 		ber_free(entry->ber, 0);
entry             137 ext/ldap/ldap.c 		entry->ber = NULL;
entry             139 ext/ldap/ldap.c 	zval_ptr_dtor(&entry->res);
entry             140 ext/ldap/ldap.c 	efree(entry);
entry             755 ext/ldap/ldap.c 		zval *entry, resource;
entry             801 ext/ldap/ldap.c 			entry = zend_hash_get_current_data(Z_ARRVAL_P(link));
entry             803 ext/ldap/ldap.c 			ld = (ldap_linkdata *) zend_fetch_resource_ex(entry, "ldap link", le_link);
entry             809 ext/ldap/ldap.c 				entry = zend_hash_get_current_data(Z_ARRVAL_P(base_dn));
entry             813 ext/ldap/ldap.c 				if (Z_TYPE_P(entry) == IS_STRING) {
entry             814 ext/ldap/ldap.c 					ldap_base_dn = Z_STRVAL_P(entry);
entry             820 ext/ldap/ldap.c 				entry = zend_hash_get_current_data(Z_ARRVAL_P(filter));
entry             822 ext/ldap/ldap.c 				convert_to_string_ex(entry);
entry             823 ext/ldap/ldap.c 				ldap_filter = Z_STRVAL_P(entry);
entry             986 ext/ldap/ldap.c 	LDAPMessage *ldap_result, *entry;
entry            1000 ext/ldap/ldap.c 	if ((entry = ldap_first_entry(ld->link, ldap_result)) == NULL) {
entry            1006 ext/ldap/ldap.c 		resultentry->data = entry;
entry            1418 ext/ldap/ldap.c 	zval *link, *entry, *value, *ivalue;
entry            1429 ext/ldap/ldap.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "rsa", &link, &dn, &dn_len, &entry) != SUCCESS) {
entry            1437 ext/ldap/ldap.c 	num_attribs = zend_hash_num_elements(Z_ARRVAL_P(entry));
entry            1440 ext/ldap/ldap.c 	zend_hash_internal_pointer_reset(Z_ARRVAL_P(entry));
entry            1454 ext/ldap/ldap.c 		if (zend_hash_get_current_key(Z_ARRVAL_P(entry), &attribute, &index) == HASH_KEY_IS_STRING) {
entry            1471 ext/ldap/ldap.c 		value = zend_hash_get_current_data(Z_ARRVAL_P(entry));
entry            1505 ext/ldap/ldap.c 		zend_hash_move_forward(Z_ARRVAL_P(entry));
entry            2462 ext/ldap/ldap.c 	LDAPMessage *ldap_result, *entry;
entry            2476 ext/ldap/ldap.c 	if ((entry = ldap_first_reference(ld->link, ldap_result)) == NULL) {
entry            2482 ext/ldap/ldap.c 		resultentry->data = entry;
entry            3165 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3176 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3188 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3194 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3200 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3264 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3270 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry              57 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	struct mappings_entry *entry;
entry              61 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 		entry = &map->entries[i];
entry              62 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 		if (e == i || entry->cp_uni > cp_uni) {
entry              74 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 				entry = &map->entries[i];
entry              75 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 				entry->cp_uni = cp_uni;
entry              76 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 				entry->n = 0;
entry              80 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 		} else if (entry->cp_uni < cp_uni) {
entry              92 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 				entry = &map->entries[i + 1];
entry              93 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 				entry->cp_uni = cp_uni;
entry              94 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 				entry->n = 0;
entry             102 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	if (entry->n >= sizeof(entry->cp_932) / sizeof(*entry->cp_932))
entry             104 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	entry->cp_932[entry->n++] = cp_932;
entry             197 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c static void to_cp932_visitor(const struct mappings_entry *entry)
entry             202 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	if (entry->cp_uni < 32 || entry->cp_uni == 127)
entry             205 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	i = utf32_utf8(buf_uni, entry->cp_uni);
entry             218 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	       "expect {\n", entry->cp_uni, buf_uni);
entry             220 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	for (i = 0; i < entry->n; ++i) {
entry             222 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 		const int c = entry->cp_932[i];
entry             236 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c static void from_cp932_visitor(const struct mappings_entry *entry)
entry             241 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	if (entry->cp_uni < 32 || entry->cp_uni == 127)
entry             244 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	len = utf32_utf8(buf_uni, entry->cp_uni);
entry             254 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	for (i = 0; i < entry->n; ++i) {
entry             255 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 		const int c = entry->cp_932[i];
entry             266 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 			   entry->cp_uni, buf_cp932, buf_uni, len);
entry             270 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c static void to_cp50220_visitor(const struct mappings_entry *entry)
entry             275 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	if (entry->cp_uni < 32 || entry->cp_uni == 127)
entry             278 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	i = utf32_utf8(buf_uni, entry->cp_uni);
entry             291 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	       "expect {\n", entry->cp_uni, buf_uni);
entry             293 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	for (i = 0; i < entry->n; ++i) {
entry             295 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 		const int c = entry->cp_932[i];
entry             324 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c static void to_cp50222_visitor(const struct mappings_entry *entry)
entry             329 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	if (entry->cp_uni < 32 || entry->cp_uni == 127)
entry             332 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	i = utf32_utf8(buf_uni, entry->cp_uni);
entry             345 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	       "expect {\n", entry->cp_uni, buf_uni);
entry             347 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 	for (i = 0; i < entry->n; ++i) {
entry             349 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c 		const int c = entry->cp_932[i];
entry             693 ext/mbstring/mbstring.c 	const mbfl_encoding **entry, **list;
entry             727 ext/mbstring/mbstring.c 			entry = list;
entry             754 ext/mbstring/mbstring.c 							*entry++ = mbfl_no2encoding(*src++);
entry             761 ext/mbstring/mbstring.c 						*entry++ = encoding;
entry             812 ext/mbstring/mbstring.c 	const mbfl_encoding **list, **entry;
entry             821 ext/mbstring/mbstring.c 			entry = list;
entry             834 ext/mbstring/mbstring.c 							*entry++ = mbfl_no2encoding(*src++);
entry             841 ext/mbstring/mbstring.c 						*entry++ = encoding;
entry            1349 ext/mbstring/mbstring.c 	if (OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage) == FAILURE) {
entry            1416 ext/mbstring/mbstring.c 	OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry            1437 ext/mbstring/mbstring.c 		new_value = entry->orig_value;
entry            1832 ext/mbstring/mbstring.c 				const mbfl_encoding **entry = MBSTRG(http_input_list);
entry            1837 ext/mbstring/mbstring.c 					add_next_index_string(return_value, (*entry)->name);
entry            1838 ext/mbstring/mbstring.c 					entry++;
entry            1846 ext/mbstring/mbstring.c 				const mbfl_encoding **entry = MBSTRG(http_input_list);
entry            1853 ext/mbstring/mbstring.c 						spprintf(&list, 0, "%s,%s", temp, (*entry)->name);
entry            1859 ext/mbstring/mbstring.c 						list = estrdup((*entry)->name);
entry            1861 ext/mbstring/mbstring.c 					entry++;
entry            1932 ext/mbstring/mbstring.c 		const mbfl_encoding **entry = MBSTRG(current_detect_order_list);
entry            1935 ext/mbstring/mbstring.c 			add_next_index_string(return_value, (*entry)->name);
entry            1936 ext/mbstring/mbstring.c 			entry++;
entry            4481 ext/mbstring/mbstring.c 	const mbfl_encoding **entry;
entry            4536 ext/mbstring/mbstring.c 		entry = MBSTRG(current_detect_order_list);
entry            4541 ext/mbstring/mbstring.c 				add_next_index_string(&row2, (*entry)->name);
entry            4542 ext/mbstring/mbstring.c 				entry++;
entry            4617 ext/mbstring/mbstring.c 		entry = MBSTRG(current_detect_order_list);
entry            4622 ext/mbstring/mbstring.c 				add_next_index_string(return_value, (*entry)->name);
entry            4623 ext/mbstring/mbstring.c 				entry++;
entry            4708 ext/mbstring/mbstring.c 	const mbfl_encoding **entry = 0;
entry            4717 ext/mbstring/mbstring.c 		entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0);
entry            4718 ext/mbstring/mbstring.c 		memcpy(entry, MBSTRG(detect_order_list), sizeof(mbfl_encoding*) * nentries);
entry            4723 ext/mbstring/mbstring.c 		entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0);
entry            4725 ext/mbstring/mbstring.c 			entry[i] = mbfl_no2encoding(src[i]);
entry            4728 ext/mbstring/mbstring.c 	MBSTRG(current_detect_order_list) = entry;
entry             262 ext/mbstring/oniguruma/st.c     st_table_entry *entry;\
entry             268 ext/mbstring/oniguruma/st.c     entry = alloc(st_table_entry);\
entry             270 ext/mbstring/oniguruma/st.c     entry->hash = hash_val;\
entry             271 ext/mbstring/oniguruma/st.c     entry->key = key;\
entry             272 ext/mbstring/oniguruma/st.c     entry->record = value;\
entry             273 ext/mbstring/oniguruma/st.c     entry->next = table->bins[bin_pos];\
entry             274 ext/mbstring/oniguruma/st.c     table->bins[bin_pos] = entry;\
entry             344 ext/mbstring/oniguruma/st.c     st_table_entry *ptr, *entry;
entry             365 ext/mbstring/oniguruma/st.c 	    entry = alloc(st_table_entry);
entry             366 ext/mbstring/oniguruma/st.c 	    if (entry == 0) {
entry             371 ext/mbstring/oniguruma/st.c 	    *entry = *ptr;
entry             372 ext/mbstring/oniguruma/st.c 	    entry->next = new_table->bins[i];
entry             373 ext/mbstring/oniguruma/st.c 	    new_table->bins[i] = entry;
entry             424 ext/mysqli/mysqli.c 	mysqli_prop_handler *entry;
entry             429 ext/mysqli/mysqli.c 	ZEND_HASH_FOREACH_PTR(props, entry) {
entry             432 ext/mysqli/mysqli.c 		ZVAL_STR(&member, entry->name);
entry             133 ext/mysqli/mysqli_warning.c 		zval *entry;
entry             146 ext/mysqli/mysqli_warning.c 		entry = zend_hash_get_current_data(Z_ARRVAL(row));
entry             147 ext/mysqli/mysqli_warning.c 		convert_to_long_ex(entry);
entry             148 ext/mysqli/mysqli_warning.c 		errno = Z_LVAL_P(entry);
entry             152 ext/mysqli/mysqli_warning.c 		entry = zend_hash_get_current_data(Z_ARRVAL(row));
entry             154 ext/mysqli/mysqli_warning.c 		w = php_new_warning(entry, errno);
entry            1815 ext/mysqlnd/mysqlnd_result.c 	zval *entry;
entry            1836 ext/mysqlnd/mysqlnd_result.c 	entry = zend_hash_get_current_data(Z_ARRVAL(row));
entry            1838 ext/mysqlnd/mysqlnd_result.c 	ZVAL_COPY(return_value, entry);
entry             124 ext/oci8/oci8.c static void php_oci_spool_list_dtor(zend_resource *entry);
entry            1395 ext/oci8/oci8.c static void php_oci_connection_list_dtor(zend_resource *entry)
entry            1397 ext/oci8/oci8.c 	php_oci_connection *connection = (php_oci_connection *)entry->ptr;
entry            1410 ext/oci8/oci8.c static void php_oci_pconnection_list_dtor(zend_resource *entry)
entry            1412 ext/oci8/oci8.c 	php_oci_connection *connection = (php_oci_connection *)entry->ptr;
entry            1427 ext/oci8/oci8.c static void php_oci_pconnection_list_np_dtor(zend_resource *entry)
entry            1429 ext/oci8/oci8.c 	php_oci_connection *connection = (php_oci_connection *)entry->ptr;
entry            1493 ext/oci8/oci8.c static void php_oci_statement_list_dtor(zend_resource *entry)
entry            1495 ext/oci8/oci8.c 	php_oci_statement *statement = (php_oci_statement *)entry->ptr;
entry            1504 ext/oci8/oci8.c static void php_oci_descriptor_list_dtor(zend_resource *entry)
entry            1506 ext/oci8/oci8.c 	php_oci_descriptor *descriptor = (php_oci_descriptor *)entry->ptr;
entry            1515 ext/oci8/oci8.c static void php_oci_collection_list_dtor(zend_resource *entry)
entry            1517 ext/oci8/oci8.c 	php_oci_collection *collection = (php_oci_collection *)entry->ptr;
entry            3459 ext/oci8/oci8.c static void php_oci_spool_list_dtor(zend_resource *entry)
entry            3461 ext/oci8/oci8.c 	php_oci_spool *session_pool = (php_oci_spool *)entry->ptr;
entry             991 ext/oci8/oci8_statement.c 		zval *entry = NULL;
entry            1001 ext/oci8/oci8_statement.c 					if ((i < (int) bind->array.old_length) && (entry = zend_hash_get_current_data(hash)) != NULL) {
entry            1002 ext/oci8/oci8_statement.c 						zval_dtor(entry);
entry            1003 ext/oci8/oci8_statement.c 						ZVAL_LONG(entry, ((ub4 *)(bind->array.elements))[i]);
entry            1012 ext/oci8/oci8_statement.c 					if ((i < (int) bind->array.old_length) && (entry = zend_hash_get_current_data(hash)) != NULL) {
entry            1013 ext/oci8/oci8_statement.c 						zval_dtor(entry);
entry            1014 ext/oci8/oci8_statement.c 						ZVAL_DOUBLE(entry, ((double *)(bind->array.elements))[i]);
entry            1028 ext/oci8/oci8_statement.c 					if ((i < (int) bind->array.old_length) && (entry = zend_hash_get_current_data(hash)) != NULL) {
entry            1030 ext/oci8/oci8_statement.c 						zval_dtor(entry);
entry            1035 ext/oci8/oci8_statement.c 							ZVAL_NULL(entry);
entry            1038 ext/oci8/oci8_statement.c 							ZVAL_STRINGL(entry, (char *)buff, buff_len);
entry            1064 ext/oci8/oci8_statement.c 					if ((i < (int) bind->array.old_length) && (entry = zend_hash_get_current_data(hash)) != NULL) {
entry            1065 ext/oci8/oci8_statement.c 						zval_dtor(entry);
entry            1066 ext/oci8/oci8_statement.c 						ZVAL_STRINGL(entry, (char *)(((text *)bind->array.elements)+i*bind->array.max_length), curr_element_length);
entry            1688 ext/oci8/oci8_statement.c 	zval *entry;
entry            1694 ext/oci8/oci8_statement.c 		while ((entry = zend_hash_get_current_data(hash)) != NULL) {
entry            1695 ext/oci8/oci8_statement.c 			convert_to_string_ex(entry);
entry            1697 ext/oci8/oci8_statement.c 			if (maxlength == -1 || Z_STRLEN_P(entry) > (size_t) maxlength) {
entry            1698 ext/oci8/oci8_statement.c 				maxlength = Z_STRLEN_P(entry) + 1;
entry            1719 ext/oci8/oci8_statement.c 		if ((entry = zend_hash_get_current_data(hash)) != NULL) {
entry            1720 ext/oci8/oci8_statement.c 			convert_to_string_ex(entry);
entry            1721 ext/oci8/oci8_statement.c 			bind->array.element_lengths[i] = (ub2) Z_STRLEN_P(entry);
entry            1722 ext/oci8/oci8_statement.c 			if (Z_STRLEN_P(entry) == 0) {
entry            1733 ext/oci8/oci8_statement.c 		if ((i < bind->array.current_length) && (entry = zend_hash_get_current_data(hash)) != NULL) {
entry            1736 ext/oci8/oci8_statement.c 			convert_to_string_ex(entry);
entry            1737 ext/oci8/oci8_statement.c 			element_length = ((size_t) maxlength > Z_STRLEN_P(entry)) ? (int) Z_STRLEN_P(entry) : (int) maxlength;
entry            1739 ext/oci8/oci8_statement.c 			memcpy((text *)bind->array.elements + i*maxlength, Z_STRVAL_P(entry), element_length);
entry            1760 ext/oci8/oci8_statement.c 	zval *entry;
entry            1778 ext/oci8/oci8_statement.c 		if ((i < bind->array.current_length) && (entry = zend_hash_get_current_data(hash)) != NULL) {
entry            1779 ext/oci8/oci8_statement.c 			convert_to_long_ex(entry);
entry            1780 ext/oci8/oci8_statement.c 			((ub4 *)bind->array.elements)[i] = (ub4) Z_LVAL_P(entry);
entry            1799 ext/oci8/oci8_statement.c 	zval *entry;
entry            1817 ext/oci8/oci8_statement.c 		if ((i < bind->array.current_length) && (entry = zend_hash_get_current_data(hash)) != NULL) {
entry            1818 ext/oci8/oci8_statement.c 			convert_to_double_ex(entry);
entry            1819 ext/oci8/oci8_statement.c 			((double *)bind->array.elements)[i] = (double) Z_DVAL_P(entry);
entry            1838 ext/oci8/oci8_statement.c 	zval *entry;
entry            1858 ext/oci8/oci8_statement.c 		if ((i < bind->array.current_length) && (entry = zend_hash_get_current_data(hash)) != NULL) {
entry            1860 ext/oci8/oci8_statement.c 			convert_to_string_ex(entry);
entry            1861 ext/oci8/oci8_statement.c 			PHP_OCI_CALL_RETURN(errstatus, OCIDateFromText, (connection->err, (CONST text *)Z_STRVAL_P(entry), (ub4) Z_STRLEN_P(entry), NULL, 0, NULL, 0, &oci_date));
entry             213 ext/opcache/ZendAccelerator.c 	int ret = orig_include_path_on_modify(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry              78 ext/opcache/zend_accelerator_hash.c 	zend_accel_hash_entry *entry;
entry              92 ext/opcache/zend_accelerator_hash.c 	entry = accel_hash->hash_table[index];
entry              93 ext/opcache/zend_accelerator_hash.c 	while (entry) {
entry              94 ext/opcache/zend_accelerator_hash.c 		if (entry->hash_value == hash_value
entry              95 ext/opcache/zend_accelerator_hash.c 			&& entry->key_length == key_length
entry              96 ext/opcache/zend_accelerator_hash.c 			&& !memcmp(entry->key, key, key_length)) {
entry              98 ext/opcache/zend_accelerator_hash.c 			if (entry->indirect) {
entry             100 ext/opcache/zend_accelerator_hash.c 					entry->data = indirect_bucket;
entry             102 ext/opcache/zend_accelerator_hash.c 					((zend_accel_hash_entry*)entry->data)->data = data;
entry             107 ext/opcache/zend_accelerator_hash.c 					entry->data = indirect_bucket;
entry             108 ext/opcache/zend_accelerator_hash.c 					entry->indirect = 1;
entry             110 ext/opcache/zend_accelerator_hash.c 					entry->data = data;
entry             113 ext/opcache/zend_accelerator_hash.c 			return entry;
entry             115 ext/opcache/zend_accelerator_hash.c 		entry = entry->next;
entry             123 ext/opcache/zend_accelerator_hash.c 	entry = &accel_hash->hash_entries[accel_hash->num_entries++];
entry             125 ext/opcache/zend_accelerator_hash.c 		entry->data = indirect_bucket;
entry             126 ext/opcache/zend_accelerator_hash.c 		entry->indirect = 1;
entry             129 ext/opcache/zend_accelerator_hash.c 		entry->data = data;
entry             130 ext/opcache/zend_accelerator_hash.c 		entry->indirect = 0;
entry             132 ext/opcache/zend_accelerator_hash.c 	entry->hash_value = hash_value;
entry             133 ext/opcache/zend_accelerator_hash.c 	entry->key = key;
entry             134 ext/opcache/zend_accelerator_hash.c 	entry->key_length = key_length;
entry             135 ext/opcache/zend_accelerator_hash.c 	entry->next = accel_hash->hash_table[index];
entry             136 ext/opcache/zend_accelerator_hash.c 	accel_hash->hash_table[index] = entry;
entry             137 ext/opcache/zend_accelerator_hash.c 	return entry;
entry             143 ext/opcache/zend_accelerator_hash.c 	zend_accel_hash_entry *entry = accel_hash->hash_table[index];
entry             145 ext/opcache/zend_accelerator_hash.c 	while (entry) {
entry             146 ext/opcache/zend_accelerator_hash.c 		if (entry->hash_value == hash_value
entry             147 ext/opcache/zend_accelerator_hash.c 			&& entry->key_length == key_length
entry             148 ext/opcache/zend_accelerator_hash.c 			&& !memcmp(entry->key, key, key_length)) {
entry             149 ext/opcache/zend_accelerator_hash.c 			if (entry->indirect) {
entry             151 ext/opcache/zend_accelerator_hash.c 					return ((zend_accel_hash_entry*)entry->data)->data;
entry             153 ext/opcache/zend_accelerator_hash.c 					return entry->data;
entry             157 ext/opcache/zend_accelerator_hash.c 					return entry->data;
entry             159 ext/opcache/zend_accelerator_hash.c 					return entry;
entry             163 ext/opcache/zend_accelerator_hash.c 		entry = entry->next;
entry             224 ext/opcache/zend_accelerator_hash.c     zend_accel_hash_entry *entry, *last_entry=NULL;
entry             229 ext/opcache/zend_accelerator_hash.c 	entry = accel_hash->hash_table[index];
entry             230 ext/opcache/zend_accelerator_hash.c 	while (entry) {
entry             231 ext/opcache/zend_accelerator_hash.c 		if (entry->hash_value == hash_value
entry             232 ext/opcache/zend_accelerator_hash.c 			&& entry->key_length == key_length
entry             233 ext/opcache/zend_accelerator_hash.c 			&& !memcmp(entry->key, key, key_length)) {
entry             234 ext/opcache/zend_accelerator_hash.c 			if (!entry->indirect) {
entry             238 ext/opcache/zend_accelerator_hash.c 				last_entry->next = entry->next;
entry             240 ext/opcache/zend_accelerator_hash.c 				accel_hash->hash_table[index] = entry->next;
entry             244 ext/opcache/zend_accelerator_hash.c 		last_entry = entry;
entry             245 ext/opcache/zend_accelerator_hash.c 		entry = entry->next;
entry             112 ext/opcache/zend_accelerator_module.c 	(void)entry; (void)mh_arg2; (void)mh_arg3; (void)stage;
entry             148 ext/opcache/zend_accelerator_module.c 	(void)entry; (void)mh_arg2; (void)mh_arg3; (void)stage;
entry             192 ext/opcache/zend_accelerator_module.c 	(void)entry; (void)mh_arg2; (void)mh_arg3; (void)stage;
entry             220 ext/opcache/zend_accelerator_module.c 		return OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             266 ext/opcache/zend_accelerator_module.c 	OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             117 ext/pcre/pcrelib/pcre_get.c   pcre_uchar *entry = nametable + entrysize*mid;
entry             119 ext/pcre/pcrelib/pcre_get.c     (pcre_uchar *)(entry + IMM2_SIZE));
entry             120 ext/pcre/pcrelib/pcre_get.c   if (c == 0) return GET2(entry, 0);
entry             201 ext/pcre/pcrelib/pcre_get.c   pcre_uchar *entry = nametable + entrysize*mid;
entry             203 ext/pcre/pcrelib/pcre_get.c     (pcre_uchar *)(entry + IMM2_SIZE));
entry             206 ext/pcre/pcrelib/pcre_get.c     pcre_uchar *first = entry;
entry             207 ext/pcre/pcrelib/pcre_get.c     pcre_uchar *last = entry;
entry             270 ext/pcre/pcrelib/pcre_get.c pcre_uchar *entry;
entry             293 ext/pcre/pcrelib/pcre_get.c for (entry = (pcre_uchar *)first; entry <= (pcre_uchar *)last; entry += entrysize)
entry             295 ext/pcre/pcrelib/pcre_get.c   int n = GET2(entry, 0);
entry             298 ext/pcre/pcrelib/pcre_get.c return GET2(entry, 0);
entry             289 ext/pcre/pcrelib/pcre_jit_compile.c   struct sljit_label *entry;
entry            6294 ext/pcre/pcrelib/pcre_jit_compile.c recurse_entry *entry = common->entries;
entry            6311 ext/pcre/pcrelib/pcre_jit_compile.c while (entry != NULL)
entry            6313 ext/pcre/pcrelib/pcre_jit_compile.c   if (entry->start == start)
entry            6315 ext/pcre/pcrelib/pcre_jit_compile.c   prev = entry;
entry            6316 ext/pcre/pcrelib/pcre_jit_compile.c   entry = entry->next;
entry            6319 ext/pcre/pcrelib/pcre_jit_compile.c if (entry == NULL)
entry            6321 ext/pcre/pcrelib/pcre_jit_compile.c   entry = sljit_alloc_memory(compiler, sizeof(recurse_entry));
entry            6324 ext/pcre/pcrelib/pcre_jit_compile.c   entry->next = NULL;
entry            6325 ext/pcre/pcrelib/pcre_jit_compile.c   entry->entry = NULL;
entry            6326 ext/pcre/pcrelib/pcre_jit_compile.c   entry->calls = NULL;
entry            6327 ext/pcre/pcrelib/pcre_jit_compile.c   entry->start = start;
entry            6330 ext/pcre/pcrelib/pcre_jit_compile.c     prev->next = entry;
entry            6332 ext/pcre/pcrelib/pcre_jit_compile.c     common->entries = entry;
entry            6350 ext/pcre/pcrelib/pcre_jit_compile.c if (entry->entry == NULL)
entry            6351 ext/pcre/pcrelib/pcre_jit_compile.c   add_jump(compiler, &entry->calls, JUMP(SLJIT_FAST_CALL));
entry            6353 ext/pcre/pcrelib/pcre_jit_compile.c   JUMPTO(SLJIT_FAST_CALL, entry->entry);
entry            9686 ext/pcre/pcrelib/pcre_jit_compile.c SLJIT_ASSERT(common->currententry->entry == NULL && common->recursive_head_ptr != 0);
entry            9687 ext/pcre/pcrelib/pcre_jit_compile.c common->currententry->entry = LABEL();
entry            9688 ext/pcre/pcrelib/pcre_jit_compile.c set_jumps(common->currententry->calls, common->currententry->entry);
entry             431 ext/pcre/pcrelib/pcre_printint.c       pcre_uchar *entry = (pcre_uchar *)re + offset + (GET2(code, 1) * size) +
entry             434 ext/pcre/pcrelib/pcre_printint.c       print_puchar(f, entry);
entry             449 ext/pcre/pcrelib/pcre_printint.c       pcre_uchar *entry = (pcre_uchar *)re + offset + (GET2(code, 1) * size) +
entry             452 ext/pcre/pcrelib/pcre_printint.c       print_puchar(f, entry);
entry             615 ext/pcre/pcrelib/pcre_printint.c       pcre_uchar *entry = (pcre_uchar *)re + offset + (GET2(code, 1) * size) +
entry             618 ext/pcre/pcrelib/pcre_printint.c       print_puchar(f, entry);
entry            2019 ext/pcre/php_pcre.c 	zval		    *entry;				/* An entry in the input array */
entry            2057 ext/pcre/php_pcre.c 	ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(input), num_key, string_key, entry) {
entry            2058 ext/pcre/php_pcre.c 		zend_string *subject_str = zval_get_string(entry);
entry            2077 ext/pcre/php_pcre.c 			if (Z_REFCOUNTED_P(entry)) {
entry            2078 ext/pcre/php_pcre.c 			   	Z_ADDREF_P(entry);
entry            2083 ext/pcre/php_pcre.c 				zend_hash_update(Z_ARRVAL_P(return_value), string_key, entry);
entry            2085 ext/pcre/php_pcre.c 				zend_hash_index_update(Z_ARRVAL_P(return_value), num_key, entry);
entry             184 ext/phar/dirstream.c 	char *entry, *found, *save;
entry             229 ext/phar/dirstream.c 				entry = (char *) safe_emalloc(found - ZSTR_VAL(str_key), 1, 1);
entry             230 ext/phar/dirstream.c 				memcpy(entry, ZSTR_VAL(str_key), found - ZSTR_VAL(str_key));
entry             232 ext/phar/dirstream.c 				entry[keylen] = '\0';
entry             234 ext/phar/dirstream.c 				entry = (char *) safe_emalloc(keylen, 1, 1);
entry             235 ext/phar/dirstream.c 				memcpy(entry, ZSTR_VAL(str_key), keylen);
entry             236 ext/phar/dirstream.c 				entry[keylen] = '\0';
entry             263 ext/phar/dirstream.c 			entry = (char *) safe_emalloc(found - save + dirlen, 1, 1);
entry             264 ext/phar/dirstream.c 			memcpy(entry, save + dirlen + 1, found - save - dirlen - 1);
entry             266 ext/phar/dirstream.c 			entry[keylen] = '\0';
entry             270 ext/phar/dirstream.c 			entry = (char *) safe_emalloc(keylen - dirlen, 1, 1);
entry             271 ext/phar/dirstream.c 			memcpy(entry, save + dirlen + 1, keylen - dirlen - 1);
entry             272 ext/phar/dirstream.c 			entry[keylen - dirlen - 1] = '\0';
entry             277 ext/phar/dirstream.c 			phar_add_empty(data, entry, keylen);
entry             280 ext/phar/dirstream.c 		efree(entry);
entry             312 ext/phar/dirstream.c 	phar_entry_info *entry = NULL;
entry             370 ext/phar/dirstream.c 	if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, internal_file, strlen(internal_file))) && !entry->is_dir) {
entry             373 ext/phar/dirstream.c 	} else if (entry && entry->is_dir) {
entry             374 ext/phar/dirstream.c 		if (entry->is_mounted) {
entry             376 ext/phar/dirstream.c 			return php_stream_opendir(entry->tmp, options, context);
entry             414 ext/phar/dirstream.c 	phar_entry_info entry, *e;
entry             497 ext/phar/dirstream.c 	memset((void *) &entry, 0, sizeof(phar_entry_info));
entry             501 ext/phar/dirstream.c 		entry.is_zip = 1;
entry             504 ext/phar/dirstream.c 	entry.filename = estrdup(resource->path + 1);
entry             507 ext/phar/dirstream.c 		entry.is_tar = 1;
entry             508 ext/phar/dirstream.c 		entry.tar_type = TAR_DIR;
entry             511 ext/phar/dirstream.c 	entry.filename_len = strlen(resource->path + 1);
entry             513 ext/phar/dirstream.c 	entry.is_dir = 1;
entry             514 ext/phar/dirstream.c 	entry.phar = phar;
entry             515 ext/phar/dirstream.c 	entry.is_modified = 1;
entry             516 ext/phar/dirstream.c 	entry.is_crc_checked = 1;
entry             517 ext/phar/dirstream.c 	entry.flags = PHAR_ENT_PERM_DEF_DIR;
entry             518 ext/phar/dirstream.c 	entry.old_flags = PHAR_ENT_PERM_DEF_DIR;
entry             520 ext/phar/dirstream.c 	if (NULL == zend_hash_str_add_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info))) {
entry             521 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options, "phar error: cannot create directory \"%s\" in phar \"%s\", adding to manifest failed", entry.filename, phar->fname);
entry             523 ext/phar/dirstream.c 		efree(entry.filename);
entry             530 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options, "phar error: cannot create directory \"%s\" in phar \"%s\", %s", entry.filename, phar->fname, error);
entry             531 ext/phar/dirstream.c 		zend_hash_str_del(&phar->manifest, entry.filename, entry.filename_len);
entry             536 ext/phar/dirstream.c 	phar_add_virtual_dirs(phar, entry.filename, entry.filename_len);
entry             546 ext/phar/dirstream.c 	phar_entry_info *entry;
entry             602 ext/phar/dirstream.c 	if (!(entry = phar_get_entry_info_dir(phar, resource->path + 1, path_len, 2, &error, 1))) {
entry             613 ext/phar/dirstream.c 	if (!entry->is_deleted) {
entry             622 ext/phar/dirstream.c 				if (entry->is_temp_dir) {
entry             623 ext/phar/dirstream.c 					efree(entry->filename);
entry             624 ext/phar/dirstream.c 					efree(entry);
entry             639 ext/phar/dirstream.c 				if (entry->is_temp_dir) {
entry             640 ext/phar/dirstream.c 					efree(entry->filename);
entry             641 ext/phar/dirstream.c 					efree(entry);
entry             649 ext/phar/dirstream.c 	if (entry->is_temp_dir) {
entry             651 ext/phar/dirstream.c 		efree(entry->filename);
entry             652 ext/phar/dirstream.c 		efree(entry);
entry             654 ext/phar/dirstream.c 		entry->is_deleted = 1;
entry             655 ext/phar/dirstream.c 		entry->is_modified = 1;
entry             659 ext/phar/dirstream.c 			php_stream_wrapper_log_error(wrapper, options, "phar error: cannot remove directory \"%s\" in phar \"%s\", %s", entry->filename, phar->fname, error);
entry              46 ext/phar/func_interceptors.c 		char *arch, *entry, *fname;
entry              57 ext/phar/func_interceptors.c 		if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) {
entry              62 ext/phar/func_interceptors.c 			efree(entry);
entry              63 ext/phar/func_interceptors.c 			entry = estrndup(filename, filename_len);
entry              67 ext/phar/func_interceptors.c 			entry = phar_fix_filepath(entry, &entry_len, 1);
entry              69 ext/phar/func_interceptors.c 			if (entry[0] == '/') {
entry              70 ext/phar/func_interceptors.c 				spprintf(&name, 4096, "phar://%s%s", arch, entry);
entry              72 ext/phar/func_interceptors.c 				spprintf(&name, 4096, "phar://%s/%s", arch, entry);
entry              74 ext/phar/func_interceptors.c 			efree(entry);
entry             120 ext/phar/func_interceptors.c 		char *arch, *entry, *fname;
entry             131 ext/phar/func_interceptors.c 		if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) {
entry             135 ext/phar/func_interceptors.c 			efree(entry);
entry             136 ext/phar/func_interceptors.c 			entry = filename;
entry             152 ext/phar/func_interceptors.c 				if ((entry_str = phar_find_in_include_path(entry, entry_len, NULL))) {
entry             161 ext/phar/func_interceptors.c 				entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1);
entry             162 ext/phar/func_interceptors.c 				if (entry[0] == '/') {
entry             163 ext/phar/func_interceptors.c 					if (!zend_hash_str_exists(&(phar->manifest), entry + 1, entry_len - 1)) {
entry             167 ext/phar/func_interceptors.c 						efree(entry);
entry             171 ext/phar/func_interceptors.c 					if (!zend_hash_str_exists(&(phar->manifest), entry, entry_len)) {
entry             176 ext/phar/func_interceptors.c 				if (entry[0] == '/') {
entry             177 ext/phar/func_interceptors.c 					spprintf(&name, 4096, "phar://%s%s", arch, entry);
entry             179 ext/phar/func_interceptors.c 					spprintf(&name, 4096, "phar://%s/%s", arch, entry);
entry             181 ext/phar/func_interceptors.c 				if (entry != filename) {
entry             182 ext/phar/func_interceptors.c 					efree(entry);
entry             250 ext/phar/func_interceptors.c 		char *arch, *entry, *fname;
entry             262 ext/phar/func_interceptors.c 		if (FAILURE == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) {
entry             266 ext/phar/func_interceptors.c 		efree(entry);
entry             267 ext/phar/func_interceptors.c 		entry = filename;
entry             276 ext/phar/func_interceptors.c 			if (!(entry_str = phar_find_in_include_path(entry, entry_len, NULL))) {
entry             284 ext/phar/func_interceptors.c 			entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1);
entry             285 ext/phar/func_interceptors.c 			if (entry[0] == '/') {
entry             286 ext/phar/func_interceptors.c 				if (!zend_hash_str_exists(&(phar->manifest), entry + 1, entry_len - 1)) {
entry             289 ext/phar/func_interceptors.c 					efree(entry);
entry             294 ext/phar/func_interceptors.c 				if (!zend_hash_str_exists(&(phar->manifest), entry, entry_len)) {
entry             299 ext/phar/func_interceptors.c 			if (entry[0] == '/') {
entry             300 ext/phar/func_interceptors.c 				spprintf(&name, 4096, "phar://%s%s", arch, entry);
entry             302 ext/phar/func_interceptors.c 				spprintf(&name, 4096, "phar://%s/%s", arch, entry);
entry             304 ext/phar/func_interceptors.c 			efree(entry);
entry             351 ext/phar/func_interceptors.c 		char *arch, *entry, *fname;
entry             363 ext/phar/func_interceptors.c 		if (FAILURE == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) {
entry             367 ext/phar/func_interceptors.c 		efree(entry);
entry             368 ext/phar/func_interceptors.c 		entry = filename;
entry             377 ext/phar/func_interceptors.c 			if (!(entry_str = phar_find_in_include_path(entry, entry_len, NULL))) {
entry             385 ext/phar/func_interceptors.c 			entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1);
entry             386 ext/phar/func_interceptors.c 			if (entry[0] == '/') {
entry             387 ext/phar/func_interceptors.c 				if (!zend_hash_str_exists(&(phar->manifest), entry + 1, entry_len - 1)) {
entry             390 ext/phar/func_interceptors.c 					efree(entry);
entry             395 ext/phar/func_interceptors.c 				if (!zend_hash_str_exists(&(phar->manifest), entry, entry_len)) {
entry             401 ext/phar/func_interceptors.c 			if (entry[0] == '/') {
entry             402 ext/phar/func_interceptors.c 				spprintf(&name, 4096, "phar://%s%s", arch, entry);
entry             404 ext/phar/func_interceptors.c 				spprintf(&name, 4096, "phar://%s/%s", arch, entry);
entry             406 ext/phar/func_interceptors.c 			efree(entry);
entry             615 ext/phar/func_interceptors.c 		char *arch, *entry, *fname;
entry             633 ext/phar/func_interceptors.c 			entry = estrndup(filename, filename_length);
entry             639 ext/phar/func_interceptors.c 		if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) {
entry             641 ext/phar/func_interceptors.c 			efree(entry);
entry             642 ext/phar/func_interceptors.c 			entry = estrndup(filename, filename_length);
entry             647 ext/phar/func_interceptors.c 				efree(entry);
entry             651 ext/phar/func_interceptors.c 			entry = phar_fix_filepath(entry, &entry_len, 1);
entry             652 ext/phar/func_interceptors.c 			if (entry[0] == '/') {
entry             653 ext/phar/func_interceptors.c 				if (NULL != (data = zend_hash_str_find_ptr(&(phar->manifest), entry + 1, entry_len - 1))) {
entry             654 ext/phar/func_interceptors.c 					efree(entry);
entry             659 ext/phar/func_interceptors.c 			if (NULL != (data = zend_hash_str_find_ptr(&(phar->manifest), entry, entry_len))) {
entry             660 ext/phar/func_interceptors.c 				efree(entry);
entry             663 ext/phar/func_interceptors.c 			if (zend_hash_str_exists(&(phar->virtual_dirs), entry, entry_len)) {
entry             664 ext/phar/func_interceptors.c 				efree(entry);
entry             687 ext/phar/func_interceptors.c 				efree(entry);
entry             691 ext/phar/func_interceptors.c 				entry = estrndup(filename, filename_length);
entry             696 ext/phar/func_interceptors.c 				entry = phar_fix_filepath(entry, &entry_len, 1);
entry             697 ext/phar/func_interceptors.c 				if (NULL != (data = zend_hash_str_find_ptr(&(phar->manifest), entry + 1, entry_len - 1))) {
entry             700 ext/phar/func_interceptors.c 					efree(entry);
entry             707 ext/phar/func_interceptors.c 				if (zend_hash_str_exists(&(phar->virtual_dirs), entry + 1, entry_len - 1)) {
entry             710 ext/phar/func_interceptors.c 					efree(entry);
entry             731 ext/phar/func_interceptors.c 				efree(entry);
entry             909 ext/phar/func_interceptors.c 		char *arch, *entry, *fname;
entry             920 ext/phar/func_interceptors.c 		if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) {
entry             923 ext/phar/func_interceptors.c 			efree(entry);
entry             924 ext/phar/func_interceptors.c 			entry = filename;
entry             931 ext/phar/func_interceptors.c 				entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1);
entry             932 ext/phar/func_interceptors.c 				if (entry[0] == '/') {
entry             933 ext/phar/func_interceptors.c 					if (NULL != (etemp = zend_hash_str_find_ptr(&(phar->manifest), entry + 1, entry_len - 1))) {
entry             936 ext/phar/func_interceptors.c 						efree(entry);
entry             941 ext/phar/func_interceptors.c 					if (NULL != (etemp = zend_hash_str_find_ptr(&(phar->manifest), entry, entry_len))) {
entry             946 ext/phar/func_interceptors.c 			if (entry != filename) {
entry             947 ext/phar/func_interceptors.c 				efree(entry);
entry             976 ext/phar/func_interceptors.c 		char *arch, *entry, *fname;
entry             987 ext/phar/func_interceptors.c 		if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) {
entry             990 ext/phar/func_interceptors.c 			efree(entry);
entry             991 ext/phar/func_interceptors.c 			entry = filename;
entry             998 ext/phar/func_interceptors.c 				entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1);
entry             999 ext/phar/func_interceptors.c 				if (entry[0] == '/') {
entry            1000 ext/phar/func_interceptors.c 					if (NULL != (etemp = zend_hash_str_find_ptr(&(phar->manifest), entry + 1, entry_len - 1))) {
entry            1003 ext/phar/func_interceptors.c 						efree(entry);
entry            1008 ext/phar/func_interceptors.c 					if (NULL != (etemp = zend_hash_str_find_ptr(&(phar->manifest), entry, entry_len))) {
entry            1013 ext/phar/func_interceptors.c 			efree(entry);
entry              53 ext/phar/phar.c 	if (ZSTR_LEN(entry->name) == sizeof("phar.readonly")-1) {
entry              74 ext/phar/phar.c 		if (ZSTR_LEN(entry->name) == sizeof("phar.readonly")-1) {
entry              83 ext/phar/phar.c 	if (ZSTR_LEN(entry->name) == sizeof("phar.readonly")-1) {
entry             336 ext/phar/phar.c 	phar_entry_info *entry = (phar_entry_info *) Z_PTR_P(zv);
entry             338 ext/phar/phar.c 	if (entry->fp_type != PHAR_TMP) {
entry             342 ext/phar/phar.c 	if (entry->fp && !entry->fp_refcount) {
entry             343 ext/phar/phar.c 		php_stream_close(entry->fp);
entry             344 ext/phar/phar.c 		entry->fp = NULL;
entry             377 ext/phar/phar.c void destroy_phar_manifest_entry_int(phar_entry_info *entry) /* {{{ */
entry             380 ext/phar/phar.c 	if (entry->cfp) {
entry             381 ext/phar/phar.c 		php_stream_close(entry->cfp);
entry             382 ext/phar/phar.c 		entry->cfp = 0;
entry             385 ext/phar/phar.c 	if (entry->fp) {
entry             386 ext/phar/phar.c 		php_stream_close(entry->fp);
entry             387 ext/phar/phar.c 		entry->fp = 0;
entry             390 ext/phar/phar.c 	if (Z_TYPE(entry->metadata) != IS_UNDEF) {
entry             391 ext/phar/phar.c 		if (entry->is_persistent) {
entry             392 ext/phar/phar.c 			if (entry->metadata_len) {
entry             394 ext/phar/phar.c 				free(Z_PTR(entry->metadata));
entry             396 ext/phar/phar.c 				zval_internal_ptr_dtor(&entry->metadata);
entry             399 ext/phar/phar.c 			zval_ptr_dtor(&entry->metadata);
entry             401 ext/phar/phar.c 		entry->metadata_len = 0;
entry             402 ext/phar/phar.c 		ZVAL_UNDEF(&entry->metadata);
entry             405 ext/phar/phar.c 	if (entry->metadata_str.s) {
entry             406 ext/phar/phar.c 		smart_str_free(&entry->metadata_str);
entry             407 ext/phar/phar.c 		entry->metadata_str.s = NULL;
entry             410 ext/phar/phar.c 	pefree(entry->filename, entry->is_persistent);
entry             412 ext/phar/phar.c 	if (entry->link) {
entry             413 ext/phar/phar.c 		pefree(entry->link, entry->is_persistent);
entry             414 ext/phar/phar.c 		entry->link = 0;
entry             417 ext/phar/phar.c 	if (entry->tmp) {
entry             418 ext/phar/phar.c 		pefree(entry->tmp, entry->is_persistent);
entry             419 ext/phar/phar.c 		entry->tmp = 0;
entry             426 ext/phar/phar.c 	phar_entry_info *entry = Z_PTR_P(zv);
entry             427 ext/phar/phar.c 	destroy_phar_manifest_entry_int(entry);
entry             428 ext/phar/phar.c 	pefree(entry, entry->is_persistent);
entry             656 ext/phar/phar.c 	phar_entry_info entry;
entry            1054 ext/phar/phar.c 	memset(&entry, 0, sizeof(phar_entry_info));
entry            1055 ext/phar/phar.c 	entry.phar = mydata;
entry            1056 ext/phar/phar.c 	entry.fp_type = PHAR_FP;
entry            1057 ext/phar/phar.c 	entry.is_persistent = mydata->is_persistent;
entry            1064 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.filename_len);
entry            1066 ext/phar/phar.c 		if (entry.filename_len == 0) {
entry            1070 ext/phar/phar.c 		if (entry.is_persistent) {
entry            1071 ext/phar/phar.c 			entry.manifest_pos = manifest_index;
entry            1074 ext/phar/phar.c 		if (entry.filename_len + 20 > endbuffer - buffer) {
entry            1078 ext/phar/phar.c 		if ((manifest_ver & PHAR_API_VER_MASK) >= PHAR_API_MIN_DIR && buffer[entry.filename_len - 1] == '/') {
entry            1079 ext/phar/phar.c 			entry.is_dir = 1;
entry            1081 ext/phar/phar.c 			entry.is_dir = 0;
entry            1084 ext/phar/phar.c 		phar_add_virtual_dirs(mydata, buffer, entry.filename_len);
entry            1085 ext/phar/phar.c 		entry.filename = pestrndup(buffer, entry.filename_len, entry.is_persistent);
entry            1086 ext/phar/phar.c 		buffer += entry.filename_len;
entry            1087 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.uncompressed_filesize);
entry            1088 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.timestamp);
entry            1091 ext/phar/phar.c 			mydata->min_timestamp = entry.timestamp;
entry            1092 ext/phar/phar.c 			mydata->max_timestamp = entry.timestamp;
entry            1094 ext/phar/phar.c 			if (mydata->min_timestamp > entry.timestamp) {
entry            1095 ext/phar/phar.c 				mydata->min_timestamp = entry.timestamp;
entry            1096 ext/phar/phar.c 			} else if (mydata->max_timestamp < entry.timestamp) {
entry            1097 ext/phar/phar.c 				mydata->max_timestamp = entry.timestamp;
entry            1101 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.compressed_filesize);
entry            1102 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.crc32);
entry            1103 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.flags);
entry            1105 ext/phar/phar.c 		if (entry.is_dir) {
entry            1106 ext/phar/phar.c 			entry.filename_len--;
entry            1107 ext/phar/phar.c 			entry.flags |= PHAR_ENT_PERM_DEF_DIR;
entry            1111 ext/phar/phar.c 		if (entry.is_persistent) {
entry            1112 ext/phar/phar.c 			entry.metadata_len = len;
entry            1114 ext/phar/phar.c 			entry.metadata_len = 0;
entry            1117 ext/phar/phar.c 			pefree(entry.filename, entry.is_persistent);
entry            1120 ext/phar/phar.c 		if (phar_parse_metadata(&buffer, &entry.metadata, len) == FAILURE) {
entry            1121 ext/phar/phar.c 			pefree(entry.filename, entry.is_persistent);
entry            1126 ext/phar/phar.c 		entry.offset = entry.offset_abs = offset;
entry            1127 ext/phar/phar.c 		offset += entry.compressed_filesize;
entry            1129 ext/phar/phar.c 		switch (entry.flags & PHAR_ENT_COMPRESSION_MASK) {
entry            1132 ext/phar/phar.c 					if (Z_TYPE(entry.metadata) != IS_UNDEF) {
entry            1133 ext/phar/phar.c 						if (entry.is_persistent) {
entry            1134 ext/phar/phar.c 							free(Z_PTR(entry.metadata));
entry            1136 ext/phar/phar.c 							zval_ptr_dtor(&entry.metadata);
entry            1139 ext/phar/phar.c 					pefree(entry.filename, entry.is_persistent);
entry            1145 ext/phar/phar.c 					if (Z_TYPE(entry.metadata) != IS_UNDEF) {
entry            1146 ext/phar/phar.c 						if (entry.is_persistent) {
entry            1147 ext/phar/phar.c 							free(Z_PTR(entry.metadata));
entry            1149 ext/phar/phar.c 							zval_ptr_dtor(&entry.metadata);
entry            1152 ext/phar/phar.c 					pefree(entry.filename, entry.is_persistent);
entry            1157 ext/phar/phar.c 				if (entry.uncompressed_filesize != entry.compressed_filesize) {
entry            1158 ext/phar/phar.c 					if (Z_TYPE(entry.metadata) != IS_UNDEF) {
entry            1159 ext/phar/phar.c 						if (entry.is_persistent) {
entry            1160 ext/phar/phar.c 							free(Z_PTR(entry.metadata));
entry            1162 ext/phar/phar.c 							zval_ptr_dtor(&entry.metadata);
entry            1165 ext/phar/phar.c 					pefree(entry.filename, entry.is_persistent);
entry            1171 ext/phar/phar.c 		manifest_flags |= (entry.flags & PHAR_ENT_COMPRESSION_MASK);
entry            1173 ext/phar/phar.c 		entry.is_crc_checked = (manifest_flags & PHAR_HDR_SIGNATURE ? 1 : 0);
entry            1174 ext/phar/phar.c 		phar_set_inode(&entry);
entry            1175 ext/phar/phar.c 		zend_hash_str_add_mem(&mydata->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info));
entry            2191 ext/phar/phar.c int phar_split_fname(const char *filename, int filename_len, char **arch, int *arch_len, char **entry, int *entry_len, int executable, int for_create) /* {{{ */
entry            2244 ext/phar/phar.c 		*entry = estrndup(ext_str+ext_len, *entry_len);
entry            2246 ext/phar/phar.c 		phar_unixify_path_separators(*entry, *entry_len);
entry            2248 ext/phar/phar.c 		*entry = phar_fix_filepath(*entry, entry_len, 0);
entry            2251 ext/phar/phar.c 		*entry = estrndup("/", 1);
entry            2345 ext/phar/phar.c 	phar_entry_info *entry = idata->internal_file;
entry            2351 ext/phar/phar.c 	if (entry->is_zip && process_zip > 0) {
entry            2357 ext/phar/phar.c 			spprintf(error, 0, "phar error: unable to open zip-based phar archive \"%s\" to verify local file header for file \"%s\"", idata->phar->fname, entry->filename);
entry            2360 ext/phar/phar.c 		php_stream_seek(phar_get_entrypfp(idata->internal_file), entry->header_offset, SEEK_SET);
entry            2364 ext/phar/phar.c 			spprintf(error, 0, "phar error: internal corruption of zip-based phar \"%s\" (cannot read local file header for file \"%s\")", idata->phar->fname, entry->filename);
entry            2371 ext/phar/phar.c 					entry->header_offset + sizeof(local) +
entry            2374 ext/phar/phar.c 					entry->compressed_filesize, SEEK_SET);
entry            2377 ext/phar/phar.c 				spprintf(error, 0, "phar error: internal corruption of zip-based phar \"%s\" (cannot read local data descriptor for file \"%s\")", idata->phar->fname, entry->filename);
entry            2388 ext/phar/phar.c 		if (entry->filename_len != PHAR_ZIP_16(local.filename_len) || entry->crc32 != PHAR_ZIP_32(local.crc32) || entry->uncompressed_filesize != PHAR_ZIP_32(local.uncompsize) || entry->compressed_filesize != PHAR_ZIP_32(local.compsize)) {
entry            2389 ext/phar/phar.c 			spprintf(error, 0, "phar error: internal corruption of zip-based phar \"%s\" (local header of file \"%s\" does not match central directory)", idata->phar->fname, entry->filename);
entry            2394 ext/phar/phar.c 		entry->offset = entry->offset_abs =
entry            2395 ext/phar/phar.c 			sizeof(local) + entry->header_offset + PHAR_ZIP_16(local.filename_len) + PHAR_ZIP_16(local.extra_len);
entry            2397 ext/phar/phar.c 		if (idata->zero && idata->zero != entry->offset_abs) {
entry            2398 ext/phar/phar.c 			idata->zero = entry->offset_abs;
entry            2415 ext/phar/phar.c 		entry->is_crc_checked = 1;
entry            2418 ext/phar/phar.c 		spprintf(error, 0, "phar error: internal corruption of phar \"%s\" (crc32 mismatch on file \"%s\")", idata->phar->fname, entry->filename);
entry            2438 ext/phar/phar.c 	phar_entry_info *entry = (phar_entry_info *)Z_PTR_P(zv);
entry            2440 ext/phar/phar.c 	if (entry->fp_refcount <= 0 && entry->is_deleted) {
entry            2500 ext/phar/phar.c 	phar_entry_info *entry, *newentry;
entry            2690 ext/phar/phar.c 		if ((entry = zend_hash_get_current_data_ptr(&phar->manifest)) == NULL) {
entry            2693 ext/phar/phar.c 		if (entry->cfp) {
entry            2695 ext/phar/phar.c 			php_stream_close(entry->cfp);
entry            2696 ext/phar/phar.c 			entry->cfp = 0;
entry            2698 ext/phar/phar.c 		if (entry->is_deleted || entry->is_mounted) {
entry            2702 ext/phar/phar.c 		if (!entry->is_modified && entry->fp_refcount) {
entry            2704 ext/phar/phar.c 			switch (entry->fp_type) {
entry            2716 ext/phar/phar.c 		phar_add_virtual_dirs(phar, entry->filename, entry->filename_len);
entry            2718 ext/phar/phar.c 		if (entry->is_dir) {
entry            2722 ext/phar/phar.c 		if (Z_TYPE(entry->metadata) != IS_UNDEF) {
entry            2723 ext/phar/phar.c 			if (entry->metadata_str.s) {
entry            2724 ext/phar/phar.c 				smart_str_free(&entry->metadata_str);
entry            2726 ext/phar/phar.c 			entry->metadata_str.s = NULL;
entry            2728 ext/phar/phar.c 			php_var_serialize(&entry->metadata_str, &entry->metadata, &metadata_hash);
entry            2731 ext/phar/phar.c 			if (entry->metadata_str.s) {
entry            2732 ext/phar/phar.c 				smart_str_free(&entry->metadata_str);
entry            2734 ext/phar/phar.c 			entry->metadata_str.s = NULL;
entry            2738 ext/phar/phar.c 		offset += 4 + entry->filename_len + sizeof(entry_buffer) + (entry->metadata_str.s ? ZSTR_LEN(entry->metadata_str.s) : 0) + (entry->is_dir ? 1 : 0);
entry            2741 ext/phar/phar.c 		if ((oldfile && !entry->is_modified) || entry->is_dir) {
entry            2742 ext/phar/phar.c 			if (entry->fp_type == PHAR_UFP) {
entry            2744 ext/phar/phar.c 				entry->fp_type = PHAR_FP;
entry            2748 ext/phar/phar.c 		if (!phar_get_efp(entry, 0)) {
entry            2750 ext/phar/phar.c 			newentry = phar_open_jit(phar, entry, error);
entry            2757 ext/phar/phar.c 			entry = newentry;
entry            2759 ext/phar/phar.c 		file = phar_get_efp(entry, 0);
entry            2760 ext/phar/phar.c 		if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 1)) {
entry            2766 ext/phar/phar.c 				spprintf(error, 0, "unable to seek to start of file \"%s\" while creating new phar \"%s\"", entry->filename, phar->fname);
entry            2771 ext/phar/phar.c 		mytime = entry->uncompressed_filesize;
entry            2775 ext/phar/phar.c 		entry->crc32 = ~newcrc32;
entry            2776 ext/phar/phar.c 		entry->is_crc_checked = 1;
entry            2777 ext/phar/phar.c 		if (!(entry->flags & PHAR_ENT_COMPRESSION_MASK)) {
entry            2779 ext/phar/phar.c 			entry->compressed_filesize = entry->uncompressed_filesize;
entry            2782 ext/phar/phar.c 		filter = php_stream_filter_create(phar_compress_filter(entry, 0), NULL, 0);
entry            2788 ext/phar/phar.c 			if (entry->flags & PHAR_ENT_COMPRESSED_GZ) {
entry            2790 ext/phar/phar.c 					spprintf(error, 0, "unable to gzip compress file \"%s\" to new phar \"%s\"", entry->filename, phar->fname);
entry            2794 ext/phar/phar.c 					spprintf(error, 0, "unable to bzip2 compress file \"%s\" to new phar \"%s\"", entry->filename, phar->fname);
entry            2803 ext/phar/phar.c 		entry->cfp = php_stream_fopen_tmpfile();
entry            2804 ext/phar/phar.c 		if (!entry->cfp) {
entry            2815 ext/phar/phar.c 		if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0)) {
entry            2821 ext/phar/phar.c 				spprintf(error, 0, "unable to seek to start of file \"%s\" while creating new phar \"%s\"", entry->filename, phar->fname);
entry            2825 ext/phar/phar.c 		php_stream_filter_append((&entry->cfp->writefilters), filter);
entry            2826 ext/phar/phar.c 		if (SUCCESS != php_stream_copy_to_stream_ex(file, entry->cfp, entry->uncompressed_filesize, NULL)) {
entry            2832 ext/phar/phar.c 				spprintf(error, 0, "unable to copy compressed file contents of file \"%s\" while creating new phar \"%s\"", entry->filename, phar->fname);
entry            2837 ext/phar/phar.c 		php_stream_flush(entry->cfp);
entry            2839 ext/phar/phar.c 		php_stream_seek(entry->cfp, 0, SEEK_END);
entry            2840 ext/phar/phar.c 		entry->compressed_filesize = (php_uint32) php_stream_tell(entry->cfp);
entry            2842 ext/phar/phar.c 		php_stream_rewind(entry->cfp);
entry            2843 ext/phar/phar.c 		entry->old_flags = entry->flags;
entry            2844 ext/phar/phar.c 		entry->is_modified = 1;
entry            2845 ext/phar/phar.c 		global_flags |= (entry->flags & PHAR_ENT_COMPRESSION_MASK);
entry            2931 ext/phar/phar.c 		if ((entry = zend_hash_get_current_data_ptr(&phar->manifest)) == NULL) {
entry            2935 ext/phar/phar.c 		if (entry->is_deleted || entry->is_mounted) {
entry            2940 ext/phar/phar.c 		if (entry->is_dir) {
entry            2942 ext/phar/phar.c 			phar_set_32(entry_buffer, entry->filename_len + 1);
entry            2944 ext/phar/phar.c 			phar_set_32(entry_buffer, entry->filename_len);
entry            2948 ext/phar/phar.c 		|| entry->filename_len != php_stream_write(newfile, entry->filename, entry->filename_len)
entry            2949 ext/phar/phar.c 		|| (entry->is_dir && 1 != php_stream_write(newfile, "/", 1))) {
entry            2955 ext/phar/phar.c 				if (entry->is_dir) {
entry            2956 ext/phar/phar.c 					spprintf(error, 0, "unable to write filename of directory \"%s\" to manifest of new phar \"%s\"", entry->filename, phar->fname);
entry            2958 ext/phar/phar.c 					spprintf(error, 0, "unable to write filename of file \"%s\" to manifest of new phar \"%s\"", entry->filename, phar->fname);
entry            2974 ext/phar/phar.c 		phar_set_32(entry_buffer, entry->uncompressed_filesize);
entry            2976 ext/phar/phar.c 		phar_set_32(entry_buffer+8, entry->compressed_filesize);
entry            2977 ext/phar/phar.c 		phar_set_32(entry_buffer+12, entry->crc32);
entry            2978 ext/phar/phar.c 		phar_set_32(entry_buffer+16, entry->flags);
entry            2979 ext/phar/phar.c 		phar_set_32(entry_buffer+20, entry->metadata_str.s ? ZSTR_LEN(entry->metadata_str.s) : 0);
entry            2982 ext/phar/phar.c 		|| (entry->metadata_str.s &&
entry            2983 ext/phar/phar.c 		    ZSTR_LEN(entry->metadata_str.s) != php_stream_write(newfile, ZSTR_VAL(entry->metadata_str.s), ZSTR_LEN(entry->metadata_str.s)))) {
entry            2991 ext/phar/phar.c 				spprintf(error, 0, "unable to write temporary manifest of file \"%s\" to manifest of new phar \"%s\"", entry->filename, phar->fname);
entry            3020 ext/phar/phar.c 		if ((entry = zend_hash_get_current_data_ptr(&phar->manifest)) == NULL) {
entry            3024 ext/phar/phar.c 		if (entry->is_deleted || entry->is_dir || entry->is_mounted) {
entry            3028 ext/phar/phar.c 		if (entry->cfp) {
entry            3029 ext/phar/phar.c 			file = entry->cfp;
entry            3032 ext/phar/phar.c 			file = phar_get_efp(entry, 0);
entry            3033 ext/phar/phar.c 			if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0)) {
entry            3039 ext/phar/phar.c 					spprintf(error, 0, "unable to seek to start of file \"%s\" while creating new phar \"%s\"", entry->filename, phar->fname);
entry            3051 ext/phar/phar.c 				spprintf(error, 0, "unable to seek to start of file \"%s\" while creating new phar \"%s\"", entry->filename, phar->fname);
entry            3057 ext/phar/phar.c 		entry->offset = entry->offset_abs = offset;
entry            3058 ext/phar/phar.c 		offset += entry->compressed_filesize;
entry            3059 ext/phar/phar.c 		if (php_stream_copy_to_stream_ex(file, newfile, entry->compressed_filesize, &wrote) == FAILURE) {
entry            3067 ext/phar/phar.c 				spprintf(error, 0, "unable to write contents of file \"%s\" to new phar \"%s\"", entry->filename, phar->fname);
entry            3073 ext/phar/phar.c 		entry->is_modified = 0;
entry            3075 ext/phar/phar.c 		if (entry->cfp) {
entry            3076 ext/phar/phar.c 			php_stream_close(entry->cfp);
entry            3077 ext/phar/phar.c 			entry->cfp = NULL;
entry            3080 ext/phar/phar.c 		if (entry->fp_type == PHAR_MOD) {
entry            3082 ext/phar/phar.c 			if (entry->fp_refcount == 0 && entry->fp != phar->fp && entry->fp != phar->ufp) {
entry            3083 ext/phar/phar.c 				php_stream_close(entry->fp);
entry            3086 ext/phar/phar.c 			entry->fp = NULL;
entry            3087 ext/phar/phar.c 			entry->fp_type = PHAR_FP;
entry            3088 ext/phar/phar.c 		} else if (entry->fp_type == PHAR_UFP) {
entry            3089 ext/phar/phar.c 			entry->fp_type = PHAR_FP;
entry            3113 ext/phar/phar.c 					spprintf(error, 0, "unable to write contents of file \"%s\" to new phar \"%s\" with requested hash type", entry->filename, phar->fname);
entry             344 ext/phar/phar_internal.h static inline php_stream *phar_get_entrypfp(phar_entry_info *entry)
entry             346 ext/phar/phar_internal.h 	if (!entry->is_persistent) {
entry             347 ext/phar/phar_internal.h 		return entry->phar->fp;
entry             349 ext/phar/phar_internal.h 	return PHAR_G(cached_fp)[entry->phar->phar_pos].fp;
entry             352 ext/phar/phar_internal.h static inline php_stream *phar_get_entrypufp(phar_entry_info *entry)
entry             354 ext/phar/phar_internal.h 	if (!entry->is_persistent) {
entry             355 ext/phar/phar_internal.h 		return entry->phar->ufp;
entry             357 ext/phar/phar_internal.h 	return PHAR_G(cached_fp)[entry->phar->phar_pos].ufp;
entry             360 ext/phar/phar_internal.h static inline void phar_set_entrypfp(phar_entry_info *entry, php_stream *fp)
entry             362 ext/phar/phar_internal.h 	if (!entry->phar->is_persistent) {
entry             363 ext/phar/phar_internal.h 		entry->phar->fp =  fp;
entry             367 ext/phar/phar_internal.h 	PHAR_G(cached_fp)[entry->phar->phar_pos].fp = fp;
entry             370 ext/phar/phar_internal.h static inline void phar_set_entrypufp(phar_entry_info *entry, php_stream *fp)
entry             372 ext/phar/phar_internal.h 	if (!entry->phar->is_persistent) {
entry             373 ext/phar/phar_internal.h 		entry->phar->ufp =  fp;
entry             377 ext/phar/phar_internal.h 	PHAR_G(cached_fp)[entry->phar->phar_pos].ufp = fp;
entry             416 ext/phar/phar_internal.h static inline void phar_set_fp_type(phar_entry_info *entry, enum phar_fp_type type, zend_off_t offset)
entry             420 ext/phar/phar_internal.h 	if (!entry->is_persistent) {
entry             421 ext/phar/phar_internal.h 		entry->fp_type = type;
entry             422 ext/phar/phar_internal.h 		entry->offset = offset;
entry             425 ext/phar/phar_internal.h 	data = &(PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos]);
entry             430 ext/phar/phar_internal.h static inline enum phar_fp_type phar_get_fp_type(phar_entry_info *entry)
entry             432 ext/phar/phar_internal.h 	if (!entry->is_persistent) {
entry             433 ext/phar/phar_internal.h 		return entry->fp_type;
entry             435 ext/phar/phar_internal.h 	return PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type;
entry             438 ext/phar/phar_internal.h static inline zend_off_t phar_get_fp_offset(phar_entry_info *entry)
entry             440 ext/phar/phar_internal.h 	if (!entry->is_persistent) {
entry             441 ext/phar/phar_internal.h 		return entry->offset;
entry             443 ext/phar/phar_internal.h 	if (PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type == PHAR_FP) {
entry             444 ext/phar/phar_internal.h 		if (!PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset) {
entry             445 ext/phar/phar_internal.h 			PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset;
entry             448 ext/phar/phar_internal.h 	return PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset;
entry             488 ext/phar/phar_internal.h 	phar_entry_info          *entry;
entry             523 ext/phar/phar_internal.h static inline void phar_set_inode(phar_entry_info *entry) /* {{{ */
entry             529 ext/phar/phar_internal.h 	tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len);
entry             531 ext/phar/phar_internal.h 	len1 = MIN(entry->phar->fname_len, tmp_len);
entry             532 ext/phar/phar_internal.h 	memcpy(tmp, entry->phar->fname, len1);
entry             534 ext/phar/phar_internal.h 	len2 = MIN(tmp_len - len1, entry->filename_len);
entry             535 ext/phar/phar_internal.h 	memcpy(tmp + len1, entry->filename, len2);
entry             537 ext/phar/phar_internal.h 	entry->inode = (unsigned short) zend_hash_func(tmp, tmp_len);
entry             546 ext/phar/phar_internal.h int phar_open_entry_file(phar_archive_data *phar, phar_entry_info *entry, char **error);
entry             560 ext/phar/phar_internal.h char *phar_decompress_filter(phar_entry_info * entry, int return_unknown);
entry             561 ext/phar/phar_internal.h char *phar_compress_filter(phar_entry_info * entry, int return_unknown);
entry             568 ext/phar/phar_internal.h phar_entry_info * phar_open_jit(phar_archive_data *phar, phar_entry_info *entry, char **error);
entry             571 ext/phar/phar_internal.h int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int follow_links);
entry             572 ext/phar/phar_internal.h php_stream *phar_get_efp(phar_entry_info *entry, int follow_links);
entry             574 ext/phar/phar_internal.h int phar_open_entry_fp(phar_entry_info *entry, char **error, int follow_links);
entry             575 ext/phar/phar_internal.h phar_entry_info *phar_get_link_source(phar_entry_info *entry);
entry             576 ext/phar/phar_internal.h int phar_create_writeable_entry(phar_archive_data *phar, phar_entry_info *entry, char **error);
entry             577 ext/phar/phar_internal.h int phar_separate_entry_fp(phar_entry_info *entry, char **error);
entry             609 ext/phar/phar_internal.h int phar_split_fname(const char *filename, int filename_len, char **arch, int *arch_len, char **entry, int *entry_len, int executable, int for_create);
entry              59 ext/phar/phar_object.c static void phar_mung_server_vars(char *fname, char *entry, int entry_len, char *basename, int request_uri_len) /* {{{ */
entry              79 ext/phar/phar_object.c 		if (code > entry_len && !memcmp(path_info, entry, entry_len)) {
entry              87 ext/phar/phar_object.c 		zend_string *str = strpprintf(4096, "phar://%s%s", fname, entry);
entry             127 ext/phar/phar_object.c 			ZVAL_STRINGL(stuff, entry, entry_len);
entry             134 ext/phar/phar_object.c 			zend_string *str = strpprintf(4096, "phar://%s%s", fname, entry);
entry             145 ext/phar/phar_object.c static int phar_file_action(phar_archive_data *phar, phar_entry_info *info, char *mime_type, int code, char *entry, int entry_len, char *arch, char *basename, char *ru, int ru_len) /* {{{ */
entry             164 ext/phar/phar_object.c 			if (entry[0] == '/') {
entry             165 ext/phar/phar_object.c 				name_len = spprintf(&name, 4096, "phar://%s%s", arch, entry);
entry             167 ext/phar/phar_object.c 				name_len = spprintf(&name, 4096, "phar://%s/%s", arch, entry);
entry             223 ext/phar/phar_object.c 				phar_mung_server_vars(arch, entry, entry_len, basename, ru_len);
entry             227 ext/phar/phar_object.c 			if (entry[0] == '/') {
entry             228 ext/phar/phar_object.c 				name_len = spprintf(&name, 4096, "phar://%s%s", arch, entry);
entry             230 ext/phar/phar_object.c 				name_len = spprintf(&name, 4096, "phar://%s/%s", arch, entry);
entry             244 ext/phar/phar_object.c 				if ((cwd = zend_memrchr(entry, '/', entry_len))) {
entry             246 ext/phar/phar_object.c 					if (entry == cwd) {
entry             250 ext/phar/phar_object.c 					} else if (entry[0] == '/') {
entry             251 ext/phar/phar_object.c 						PHAR_G(cwd_len) = cwd - (entry + 1);
entry             252 ext/phar/phar_object.c 						PHAR_G(cwd) = estrndup(entry + 1, PHAR_G(cwd_len));
entry             254 ext/phar/phar_object.c 						PHAR_G(cwd_len) = cwd - entry;
entry             255 ext/phar/phar_object.c 						PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len));
entry             310 ext/phar/phar_object.c static void phar_do_403(char *entry, int entry_len) /* {{{ */
entry             320 ext/phar/phar_object.c 	PHPWRITE(entry, entry_len);
entry             325 ext/phar/phar_object.c static void phar_do_404(phar_archive_data *phar, char *fname, int fname_len, char *f404, size_t f404_len, char *entry, size_t entry_len) /* {{{ */
entry             345 ext/phar/phar_object.c 	PHPWRITE(entry, entry_len);
entry             353 ext/phar/phar_object.c static void phar_postprocess_ru_web(char *fname, int fname_len, char **entry, int *entry_len, char **ru, int *ru_len) /* {{{ */
entry             355 ext/phar/phar_object.c 	char *e = *entry + 1, *u = NULL, *u1 = NULL, *saveu = NULL;
entry             420 ext/phar/phar_object.c 	char *fname, *arch, *entry;
entry             431 ext/phar/phar_object.c 	if (fname_len > 7 && !memcmp(fname, "phar://", 7) && SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) {
entry             432 ext/phar/phar_object.c 		efree(entry);
entry             457 ext/phar/phar_object.c 	char *fname, *arch = NULL, *entry = NULL, *path, *actual;
entry             473 ext/phar/phar_object.c 	if (fname_len > 7 && !memcmp(fname, "phar://", 7) && SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) {
entry             474 ext/phar/phar_object.c 		efree(entry);
entry             475 ext/phar/phar_object.c 		entry = NULL;
entry             500 ext/phar/phar_object.c 			if (path && path == entry) {
entry             501 ext/phar/phar_object.c 				efree(entry);
entry             511 ext/phar/phar_object.c 		if (entry && path && path == entry) {
entry             512 ext/phar/phar_object.c 			efree(entry);
entry             528 ext/phar/phar_object.c 	} else if (SUCCESS == phar_split_fname(path, path_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) {
entry             529 ext/phar/phar_object.c 		path = entry;
entry             551 ext/phar/phar_object.c 	char *fname, *path_info, *mime_type = NULL, *entry, *pt;
entry             609 ext/phar/phar_object.c 				entry = estrndup(Z_STRVAL_P(z_path_info), entry_len);
entry             612 ext/phar/phar_object.c 				memcpy(path_info + Z_STRLEN_P(z_script_name), entry, entry_len + 1);
entry             616 ext/phar/phar_object.c 				entry = estrndup("", 0);
entry             634 ext/phar/phar_object.c 				entry = path_info;
entry             635 ext/phar/phar_object.c 				entry_len = strlen(entry);
entry             641 ext/phar/phar_object.c 				entry = estrndup("", 0);
entry             658 ext/phar/phar_object.c 		entry = estrndup(pt + (fname_len - (basename - fname)), entry_len);
entry             669 ext/phar/phar_object.c 		ZVAL_STRINGL(&params, entry, entry_len);
entry             708 ext/phar/phar_object.c 				efree(entry);
entry             709 ext/phar/phar_object.c 				entry = estrndup(Z_STRVAL_P(fci.retval), Z_STRLEN_P(fci.retval));
entry             714 ext/phar/phar_object.c 				phar_do_403(entry, entry_len);
entry             733 ext/phar/phar_object.c 		phar_postprocess_ru_web(fname, fname_len, &entry, &entry_len, &ru, &ru_len);
entry             736 ext/phar/phar_object.c 	if (!entry_len || (entry_len == 1 && entry[0] == '/')) {
entry             737 ext/phar/phar_object.c 		efree(entry);
entry             740 ext/phar/phar_object.c 			entry = index_php;
entry             742 ext/phar/phar_object.c 			if (entry[0] != '/') {
entry             743 ext/phar/phar_object.c 				spprintf(&entry, 0, "/%s", index_php);
entry             748 ext/phar/phar_object.c 			entry = estrndup("/index.php", sizeof("/index.php"));
entry             753 ext/phar/phar_object.c 			(info = phar_get_entry_info(phar, entry, entry_len, NULL, 0)) == NULL) {
entry             754 ext/phar/phar_object.c 			phar_do_404(phar, fname, fname_len, f404, f404_len, entry, entry_len);
entry             778 ext/phar/phar_object.c 				ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry + 1);
entry             780 ext/phar/phar_object.c 				ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry);
entry             799 ext/phar/phar_object.c 		(info = phar_get_entry_info(phar, entry, entry_len, NULL, 0)) == NULL) {
entry             800 ext/phar/phar_object.c 		phar_do_404(phar, fname, fname_len, f404, f404_len, entry, entry_len);
entry             808 ext/phar/phar_object.c 		const char *ext = zend_memrchr(entry, '.', entry_len);
entry             826 ext/phar/phar_object.c 							efree(entry);
entry             843 ext/phar/phar_object.c 						efree(entry);
entry             854 ext/phar/phar_object.c 		code = phar_file_type(&PHAR_G(mime_types), entry, &mime_type);
entry             856 ext/phar/phar_object.c 	phar_file_action(phar, info, mime_type, code, entry, entry_len, fname, pt, ru, ru_len);
entry            1123 ext/phar/phar_object.c 	char *fname, *alias = NULL, *error, *arch = NULL, *entry = NULL, *save_fname;
entry            1152 ext/phar/phar_object.c 	if (SUCCESS == phar_split_fname(fname, (int)fname_len, &arch, &arch_len, &entry, &entry_len, !is_data, 2)) {
entry            1176 ext/phar/phar_object.c 		if (entry) {
entry            1177 ext/phar/phar_object.c 			efree(entry);
entry            1210 ext/phar/phar_object.c 		efree(entry);
entry            1223 ext/phar/phar_object.c 	if (entry) {
entry            1224 ext/phar/phar_object.c 		fname_len = spprintf(&fname, 0, "phar://%s%s", phar_data->fname, entry);
entry            1225 ext/phar/phar_object.c 		efree(entry);
entry            1305 ext/phar/phar_object.c 	char *fname, *error, *zname, *arch, *entry;
entry            1332 ext/phar/phar_object.c 	if (zname_len > 7 && !memcmp(zname, "phar://", 7) && SUCCESS == phar_split_fname(zname, zname_len, &arch, &arch_len, &entry, &entry_len, 2, 0)) {
entry            1336 ext/phar/phar_object.c 			efree(entry);
entry            1340 ext/phar/phar_object.c 		efree(entry);
entry            1480 ext/phar/phar_object.c 						fname_len = spprintf(&fname, 0, "%s%c%s", test, DEFAULT_SLASH, intern->u.dir.entry.d_name);
entry            1953 ext/phar/phar_object.c static int phar_copy_file_contents(phar_entry_info *entry, php_stream *fp) /* {{{ */
entry            1959 ext/phar/phar_object.c 	if (FAILURE == phar_open_entry_fp(entry, &error, 1)) {
entry            1962 ext/phar/phar_object.c 				"Cannot convert phar archive \"%s\", unable to open entry \"%s\" contents: %s", entry->phar->fname, entry->filename, error);
entry            1966 ext/phar/phar_object.c 				"Cannot convert phar archive \"%s\", unable to open entry \"%s\" contents", entry->phar->fname, entry->filename);
entry            1972 ext/phar/phar_object.c 	phar_seek_efp(entry, 0, SEEK_SET, 0, 1);
entry            1974 ext/phar/phar_object.c 	link = phar_get_link_source(entry);
entry            1977 ext/phar/phar_object.c 		link = entry;
entry            1982 ext/phar/phar_object.c 			"Cannot convert phar archive \"%s\", unable to copy entry \"%s\" contents", entry->phar->fname, entry->filename);
entry            1986 ext/phar/phar_object.c 	if (entry->fp_type == PHAR_MOD) {
entry            1988 ext/phar/phar_object.c 		entry->cfp = entry->fp;
entry            1989 ext/phar/phar_object.c 		entry->fp = NULL;
entry            1993 ext/phar/phar_object.c 	entry->fp_type = PHAR_FP;
entry            1994 ext/phar/phar_object.c 	entry->offset = offset;
entry            2202 ext/phar/phar_object.c 	phar_entry_info *entry, newentry;
entry            2249 ext/phar/phar_object.c 	ZEND_HASH_FOREACH_PTR(&source->manifest, entry) {
entry            2251 ext/phar/phar_object.c 		newentry = *entry;
entry            2284 ext/phar/phar_object.c 			newentry.tar_type = (entry->is_dir ? TAR_DIR : TAR_FILE);
entry            2580 ext/phar/phar_object.c 	phar_entry_info *entry;
entry            2598 ext/phar/phar_object.c 		if (NULL != (entry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, fname, (uint) fname_len))) {
entry            2599 ext/phar/phar_object.c 			if (entry->is_deleted) {
entry            2603 ext/phar/phar_object.c 				entry->is_deleted = 1;
entry            2604 ext/phar/phar_object.c 				entry->is_modified = 1;
entry            3100 ext/phar/phar_object.c 	phar_entry_info *entry = (phar_entry_info *)Z_PTR_P(zv);
entry            3103 ext/phar/phar_object.c 	if (entry->is_deleted) {
entry            3107 ext/phar/phar_object.c 	entry->old_flags = entry->flags;
entry            3108 ext/phar/phar_object.c 	entry->flags &= ~PHAR_ENT_COMPRESSION_MASK;
entry            3109 ext/phar/phar_object.c 	entry->flags |= compress;
entry            3110 ext/phar/phar_object.c 	entry->is_modified = 1;
entry            3117 ext/phar/phar_object.c 	phar_entry_info *entry = (phar_entry_info *)Z_PTR_P(zv);
entry            3119 ext/phar/phar_object.c 	if (entry->is_deleted) {
entry            3124 ext/phar/phar_object.c 		if (entry->flags & PHAR_ENT_COMPRESSED_BZ2) {
entry            3130 ext/phar/phar_object.c 		if (entry->flags & PHAR_ENT_COMPRESSED_GZ) {
entry            3499 ext/phar/phar_object.c 	phar_entry_info *entry;
entry            3508 ext/phar/phar_object.c 		if (NULL != (entry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, fname, (uint) fname_len))) {
entry            3509 ext/phar/phar_object.c 			if (entry->is_deleted) {
entry            3537 ext/phar/phar_object.c 	phar_entry_info *entry;
entry            3546 ext/phar/phar_object.c 	if (!(entry = phar_get_entry_info_dir(phar_obj->archive, fname, fname_len, 1, &error, 0))) {
entry            3564 ext/phar/phar_object.c 		if (entry->is_temp_dir) {
entry            3565 ext/phar/phar_object.c 			efree(entry->filename);
entry            3566 ext/phar/phar_object.c 			efree(entry);
entry            3719 ext/phar/phar_object.c 	phar_entry_info *entry;
entry            3732 ext/phar/phar_object.c 		if (NULL != (entry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, fname, (uint) fname_len))) {
entry            3733 ext/phar/phar_object.c 			if (entry->is_deleted) {
entry            3744 ext/phar/phar_object.c 				entry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, fname, (uint) fname_len);
entry            3746 ext/phar/phar_object.c 			entry->is_modified = 0;
entry            3747 ext/phar/phar_object.c 			entry->is_deleted = 1;
entry            4063 ext/phar/phar_object.c static int phar_extract_file(zend_bool overwrite, phar_entry_info *entry, char *dest, int dest_len, char **error) /* {{{ */
entry            4075 ext/phar/phar_object.c 	if (entry->is_mounted) {
entry            4080 ext/phar/phar_object.c 	if (entry->filename_len >= sizeof(".phar")-1 && !memcmp(entry->filename, ".phar", sizeof(".phar")-1)) {
entry            4088 ext/phar/phar_object.c 	if (virtual_file_ex(&new_state, entry->filename, NULL, CWD_EXPAND) != 0 ||
entry            4090 ext/phar/phar_object.c 		if (EINVAL == errno && entry->filename_len > 50) {
entry            4091 ext/phar/phar_object.c 			char *tmp = estrndup(entry->filename, 50);
entry            4095 ext/phar/phar_object.c 			spprintf(error, 4096, "Cannot extract \"%s\", internal error", entry->filename);
entry            4121 ext/phar/phar_object.c 		if (entry->filename_len > 50) {
entry            4122 ext/phar/phar_object.c 			tmp = estrndup(entry->filename, 50);
entry            4126 ext/phar/phar_object.c 			spprintf(error, 4096, "Cannot extract \"%s\" to \"%s...\", extracted filename is too long for filesystem", entry->filename, fullpath);
entry            4134 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\", internal error", entry->filename);
entry            4141 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", openbasedir/safe mode restrictions in effect", entry->filename, fullpath);
entry            4149 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", path already exists", entry->filename, fullpath);
entry            4165 ext/phar/phar_object.c 		if (entry->is_dir) {
entry            4166 ext/phar/phar_object.c 			if (!php_stream_mkdir(fullpath, entry->flags & PHAR_ENT_PERM_MASK,  PHP_STREAM_MKDIR_RECURSIVE, NULL)) {
entry            4167 ext/phar/phar_object.c 				spprintf(error, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath);
entry            4174 ext/phar/phar_object.c 				spprintf(error, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath);
entry            4191 ext/phar/phar_object.c 	if (entry->is_dir) {
entry            4203 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\", could not open for writing \"%s\"", entry->filename, fullpath);
entry            4208 ext/phar/phar_object.c 	if (!phar_get_efp(entry, 0)) {
entry            4209 ext/phar/phar_object.c 		if (FAILURE == phar_open_entry_fp(entry, error, 1)) {
entry            4211 ext/phar/phar_object.c 				spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", unable to open internal file pointer: %s", entry->filename, fullpath, *error);
entry            4213 ext/phar/phar_object.c 				spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", unable to open internal file pointer", entry->filename, fullpath);
entry            4221 ext/phar/phar_object.c 	if (FAILURE == phar_seek_efp(entry, 0, SEEK_SET, 0, 0)) {
entry            4222 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", unable to seek internal file pointer", entry->filename, fullpath);
entry            4228 ext/phar/phar_object.c 	if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_efp(entry, 0), fp, entry->uncompressed_filesize, NULL)) {
entry            4229 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", copying contents failed", entry->filename, fullpath);
entry            4236 ext/phar/phar_object.c 	mode = (mode_t) entry->flags & PHAR_ENT_PERM_MASK;
entry            4239 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", setting file permissions failed", entry->filename, fullpath);
entry            4257 ext/phar/phar_object.c 	phar_entry_info *entry;
entry            4332 ext/phar/phar_object.c 						if (NULL == (entry = zend_hash_find_ptr(&phar_obj->archive->manifest, Z_STR_P(zval_file)))) {
entry            4336 ext/phar/phar_object.c 						if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error)) {
entry            4351 ext/phar/phar_object.c 		if (NULL == (entry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, filename, filename_len))) {
entry            4357 ext/phar/phar_object.c 		if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error)) {
entry            4372 ext/phar/phar_object.c 		ZEND_HASH_FOREACH_PTR(&phar->manifest, entry) {
entry            4373 ext/phar/phar_object.c 			if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error)) {
entry            4391 ext/phar/phar_object.c 	char *fname, *arch, *entry, *error;
entry            4405 ext/phar/phar_object.c 	if (entry_obj->entry) {
entry            4410 ext/phar/phar_object.c 	if (fname_len < 7 || memcmp(fname, "phar://", 7) || phar_split_fname(fname, (int)fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0) == FAILURE) {
entry            4418 ext/phar/phar_object.c 		efree(entry);
entry            4430 ext/phar/phar_object.c 	if ((entry_info = phar_get_entry_info_dir(phar_data, entry, entry_len, 1, &error, 1)) == NULL) {
entry            4432 ext/phar/phar_object.c 			"Cannot access phar file entry '%s' in archive '%s'%s%s", entry, arch, error ? ", " : "", error ? error : "");
entry            4434 ext/phar/phar_object.c 		efree(entry);
entry            4439 ext/phar/phar_object.c 	efree(entry);
entry            4441 ext/phar/phar_object.c 	entry_obj->entry = entry_info;
entry            4455 ext/phar/phar_object.c 	if (!entry_obj->entry) { \
entry            4469 ext/phar/phar_object.c 	if (entry_obj->entry && entry_obj->entry->is_temp_dir) {
entry            4470 ext/phar/phar_object.c 		if (entry_obj->entry->filename) {
entry            4471 ext/phar/phar_object.c 			efree(entry_obj->entry->filename);
entry            4472 ext/phar/phar_object.c 			entry_obj->entry->filename = NULL;
entry            4475 ext/phar/phar_object.c 		efree(entry_obj->entry);
entry            4476 ext/phar/phar_object.c 		entry_obj->entry = NULL;
entry            4492 ext/phar/phar_object.c 	RETURN_LONG(entry_obj->entry->compressed_filesize);
entry            4511 ext/phar/phar_object.c 			RETURN_BOOL(entry_obj->entry->flags & PHAR_ENT_COMPRESSION_MASK);
entry            4513 ext/phar/phar_object.c 			RETURN_BOOL(entry_obj->entry->flags & PHAR_ENT_COMPRESSED_GZ);
entry            4515 ext/phar/phar_object.c 			RETURN_BOOL(entry_obj->entry->flags & PHAR_ENT_COMPRESSED_BZ2);
entry            4534 ext/phar/phar_object.c 	if (entry_obj->entry->is_dir) {
entry            4540 ext/phar/phar_object.c 	if (entry_obj->entry->is_crc_checked) {
entry            4541 ext/phar/phar_object.c 		RETURN_LONG(entry_obj->entry->crc32);
entry            4560 ext/phar/phar_object.c 	RETURN_BOOL(entry_obj->entry->is_crc_checked);
entry            4575 ext/phar/phar_object.c 	RETURN_LONG(entry_obj->entry->flags & ~(PHAR_ENT_PERM_MASK|PHAR_ENT_COMPRESSION_MASK));
entry            4588 ext/phar/phar_object.c 	if (entry_obj->entry->is_temp_dir) {
entry            4590 ext/phar/phar_object.c 			"Phar entry \"%s\" is a temporary directory (not an actual entry in the archive), cannot chmod", entry_obj->entry->filename); \
entry            4594 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) {
entry            4595 ext/phar/phar_object.c 		zend_throw_exception_ex(phar_ce_PharException, 0, "Cannot modify permissions for file \"%s\" in phar \"%s\", write operations are prohibited", entry_obj->entry->filename, entry_obj->entry->phar->fname);
entry            4603 ext/phar/phar_object.c 	if (entry_obj->entry->is_persistent) {
entry            4604 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->entry->phar;
entry            4611 ext/phar/phar_object.c 		entry_obj->entry = zend_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len);
entry            4614 ext/phar/phar_object.c 	entry_obj->entry->flags &= ~PHAR_ENT_PERM_MASK;
entry            4616 ext/phar/phar_object.c 	entry_obj->entry->flags |= perms;
entry            4617 ext/phar/phar_object.c 	entry_obj->entry->old_flags = entry_obj->entry->flags;
entry            4618 ext/phar/phar_object.c 	entry_obj->entry->phar->is_modified = 1;
entry            4619 ext/phar/phar_object.c 	entry_obj->entry->is_modified = 1;
entry            4633 ext/phar/phar_object.c 	phar_flush(entry_obj->entry->phar, 0, 0, 0, &error);
entry            4653 ext/phar/phar_object.c 	RETURN_BOOL(Z_TYPE(entry_obj->entry->metadata) != IS_UNDEF);
entry            4668 ext/phar/phar_object.c 	if (Z_TYPE(entry_obj->entry->metadata) != IS_UNDEF) {
entry            4669 ext/phar/phar_object.c 		if (entry_obj->entry->is_persistent) {
entry            4670 ext/phar/phar_object.c 			char *buf = estrndup((char *) Z_PTR(entry_obj->entry->metadata), entry_obj->entry->metadata_len);
entry            4672 ext/phar/phar_object.c 			phar_parse_metadata(&buf, return_value, entry_obj->entry->metadata_len);
entry            4675 ext/phar/phar_object.c 			ZVAL_COPY(return_value, &entry_obj->entry->metadata);
entry            4691 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) {
entry            4696 ext/phar/phar_object.c 	if (entry_obj->entry->is_temp_dir) {
entry            4706 ext/phar/phar_object.c 	if (entry_obj->entry->is_persistent) {
entry            4707 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->entry->phar;
entry            4714 ext/phar/phar_object.c 		entry_obj->entry = zend_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len);
entry            4716 ext/phar/phar_object.c 	if (Z_TYPE(entry_obj->entry->metadata) != IS_UNDEF) {
entry            4717 ext/phar/phar_object.c 		zval_ptr_dtor(&entry_obj->entry->metadata);
entry            4718 ext/phar/phar_object.c 		ZVAL_UNDEF(&entry_obj->entry->metadata);
entry            4721 ext/phar/phar_object.c 	ZVAL_COPY(&entry_obj->entry->metadata, metadata);
entry            4723 ext/phar/phar_object.c 	entry_obj->entry->is_modified = 1;
entry            4724 ext/phar/phar_object.c 	entry_obj->entry->phar->is_modified = 1;
entry            4725 ext/phar/phar_object.c 	phar_flush(entry_obj->entry->phar, 0, 0, 0, &error);
entry            4747 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) {
entry            4752 ext/phar/phar_object.c 	if (entry_obj->entry->is_temp_dir) {
entry            4758 ext/phar/phar_object.c 	if (Z_TYPE(entry_obj->entry->metadata) != IS_UNDEF) {
entry            4759 ext/phar/phar_object.c 		if (entry_obj->entry->is_persistent) {
entry            4760 ext/phar/phar_object.c 			phar_archive_data *phar = entry_obj->entry->phar;
entry            4767 ext/phar/phar_object.c 			entry_obj->entry = zend_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len);
entry            4769 ext/phar/phar_object.c 		zval_ptr_dtor(&entry_obj->entry->metadata);
entry            4770 ext/phar/phar_object.c 		ZVAL_UNDEF(&entry_obj->entry->metadata);
entry            4771 ext/phar/phar_object.c 		entry_obj->entry->is_modified = 1;
entry            4772 ext/phar/phar_object.c 		entry_obj->entry->phar->is_modified = 1;
entry            4774 ext/phar/phar_object.c 		phar_flush(entry_obj->entry->phar, 0, 0, 0, &error);
entry            4806 ext/phar/phar_object.c 	if (entry_obj->entry->is_dir) {
entry            4808 ext/phar/phar_object.c 			"Phar error: Cannot retrieve contents, \"%s\" in phar \"%s\" is a directory", entry_obj->entry->filename, entry_obj->entry->phar->fname);
entry            4812 ext/phar/phar_object.c 	link = phar_get_link_source(entry_obj->entry);
entry            4815 ext/phar/phar_object.c 		link = entry_obj->entry;
entry            4820 ext/phar/phar_object.c 			"Phar error: Cannot retrieve contents, \"%s\" in phar \"%s\": %s", entry_obj->entry->filename, entry_obj->entry->phar->fname, error);
entry            4827 ext/phar/phar_object.c 			"Phar error: Cannot retrieve contents of \"%s\" in phar \"%s\"", entry_obj->entry->filename, entry_obj->entry->phar->fname);
entry            4854 ext/phar/phar_object.c 	if (entry_obj->entry->is_tar) {
entry            4860 ext/phar/phar_object.c 	if (entry_obj->entry->is_dir) {
entry            4866 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) {
entry            4872 ext/phar/phar_object.c 	if (entry_obj->entry->is_deleted) {
entry            4878 ext/phar/phar_object.c 	if (entry_obj->entry->is_persistent) {
entry            4879 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->entry->phar;
entry            4886 ext/phar/phar_object.c 		entry_obj->entry = zend_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len);
entry            4890 ext/phar/phar_object.c 			if (entry_obj->entry->flags & PHAR_ENT_COMPRESSED_GZ) {
entry            4894 ext/phar/phar_object.c 			if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_BZ2) != 0) {
entry            4902 ext/phar/phar_object.c 				if (SUCCESS != phar_open_entry_fp(entry_obj->entry, &error, 1)) {
entry            4904 ext/phar/phar_object.c 						"Phar error: Cannot decompress bzip2-compressed file \"%s\" in phar \"%s\" in order to compress with gzip: %s", entry_obj->entry->filename, entry_obj->entry->phar->fname, error);
entry            4916 ext/phar/phar_object.c 			entry_obj->entry->old_flags = entry_obj->entry->flags;
entry            4917 ext/phar/phar_object.c 			entry_obj->entry->flags &= ~PHAR_ENT_COMPRESSION_MASK;
entry            4918 ext/phar/phar_object.c 			entry_obj->entry->flags |= PHAR_ENT_COMPRESSED_GZ;
entry            4921 ext/phar/phar_object.c 			if (entry_obj->entry->flags & PHAR_ENT_COMPRESSED_BZ2) {
entry            4925 ext/phar/phar_object.c 			if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_GZ) != 0) {
entry            4933 ext/phar/phar_object.c 				if (SUCCESS != phar_open_entry_fp(entry_obj->entry, &error, 1)) {
entry            4935 ext/phar/phar_object.c 						"Phar error: Cannot decompress gzip-compressed file \"%s\" in phar \"%s\" in order to compress with bzip2: %s", entry_obj->entry->filename, entry_obj->entry->phar->fname, error);
entry            4946 ext/phar/phar_object.c 			entry_obj->entry->old_flags = entry_obj->entry->flags;
entry            4947 ext/phar/phar_object.c 			entry_obj->entry->flags &= ~PHAR_ENT_COMPRESSION_MASK;
entry            4948 ext/phar/phar_object.c 			entry_obj->entry->flags |= PHAR_ENT_COMPRESSED_BZ2;
entry            4955 ext/phar/phar_object.c 	entry_obj->entry->phar->is_modified = 1;
entry            4956 ext/phar/phar_object.c 	entry_obj->entry->is_modified = 1;
entry            4957 ext/phar/phar_object.c 	phar_flush(entry_obj->entry->phar, 0, 0, 0, &error);
entry            4980 ext/phar/phar_object.c 	if (entry_obj->entry->is_dir) {
entry            4986 ext/phar/phar_object.c 	if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSION_MASK) == 0) {
entry            4990 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->entry->phar->is_data) {
entry            4996 ext/phar/phar_object.c 	if (entry_obj->entry->is_deleted) {
entry            5002 ext/phar/phar_object.c 	if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_GZ) != 0 && !PHAR_G(has_zlib)) {
entry            5008 ext/phar/phar_object.c 	if ((entry_obj->entry->flags & PHAR_ENT_COMPRESSED_BZ2) != 0 && !PHAR_G(has_bz2)) {
entry            5014 ext/phar/phar_object.c 	if (entry_obj->entry->is_persistent) {
entry            5015 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->entry->phar;
entry            5022 ext/phar/phar_object.c 		entry_obj->entry = zend_hash_str_find_ptr(&phar->manifest, entry_obj->entry->filename, entry_obj->entry->filename_len);
entry            5024 ext/phar/phar_object.c 	if (!entry_obj->entry->fp) {
entry            5025 ext/phar/phar_object.c 		if (FAILURE == phar_open_archive_fp(entry_obj->entry->phar)) {
entry            5026 ext/phar/phar_object.c 			zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "Cannot decompress entry \"%s\", phar error: Cannot open phar archive \"%s\" for reading", entry_obj->entry->filename, entry_obj->entry->phar->fname);
entry            5029 ext/phar/phar_object.c 		entry_obj->entry->fp_type = PHAR_FP;
entry            5032 ext/phar/phar_object.c 	entry_obj->entry->old_flags = entry_obj->entry->flags;
entry            5033 ext/phar/phar_object.c 	entry_obj->entry->flags &= ~PHAR_ENT_COMPRESSION_MASK;
entry            5034 ext/phar/phar_object.c 	entry_obj->entry->phar->is_modified = 1;
entry            5035 ext/phar/phar_object.c 	entry_obj->entry->is_modified = 1;
entry            5036 ext/phar/phar_object.c 	phar_flush(entry_obj->entry->phar, 0, 0, 0, &error);
entry            5159 ext/phar/phar_object.c 	ZEND_ARG_INFO(0, entry)
entry            5170 ext/phar/phar_object.c 	ZEND_ARG_INFO(0, entry)
entry            5175 ext/phar/phar_object.c 	ZEND_ARG_INFO(0, entry)
entry              62 ext/phar/stream.c 	char *arch = NULL, *entry = NULL, *error;
entry              74 ext/phar/stream.c 	if (phar_split_fname(filename, strlen(filename), &arch, &arch_len, &entry, &entry_len, 2, (mode[0] == 'w' ? 2 : 0)) == FAILURE) {
entry              76 ext/phar/stream.c 			if (arch && !entry) {
entry              89 ext/phar/stream.c 	resource->path = entry;
entry             258 ext/phar/stream.c 				phar_entry_info *entry;
entry             260 ext/phar/stream.c 				entry = (phar_entry_info *) ecalloc(1, sizeof(phar_entry_info));
entry             261 ext/phar/stream.c 				entry->is_temp_dir = 1;
entry             262 ext/phar/stream.c 				entry->filename = estrndup("", 0);
entry             263 ext/phar/stream.c 				entry->filename_len = 0;
entry             264 ext/phar/stream.c 				entry->phar = phar;
entry             265 ext/phar/stream.c 				entry->offset = entry->offset_abs = 0;
entry             266 ext/phar/stream.c 				entry->compressed_filesize = entry->uncompressed_filesize = phar->halt_offset;
entry             267 ext/phar/stream.c 				entry->is_crc_checked = 1;
entry             272 ext/phar/stream.c 				idata->internal_file = entry;
entry             274 ext/phar/stream.c 					++(entry->phar->refcount);
entry             276 ext/phar/stream.c 				++(entry->fp_refcount);
entry             320 ext/phar/stream.c 		char *entry = idata->internal_file->filename, *cwd;
entry             326 ext/phar/stream.c 		} else if ((cwd = strrchr(entry, '/'))) {
entry             327 ext/phar/stream.c 			PHAR_G(cwd_len) = cwd - entry;
entry             328 ext/phar/stream.c 			PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len));
entry             366 ext/phar/stream.c 	phar_entry_info *entry;
entry             369 ext/phar/stream.c 		entry = phar_get_link_source(data->internal_file);
entry             371 ext/phar/stream.c 		entry = data->internal_file;
entry             374 ext/phar/stream.c 	if (entry->is_deleted) {
entry             382 ext/phar/stream.c 	got = php_stream_read(data->fp, buf, MIN(count, entry->uncompressed_filesize - data->position));
entry             384 ext/phar/stream.c 	stream->eof = (data->position == (zend_off_t) entry->uncompressed_filesize);
entry             396 ext/phar/stream.c 	phar_entry_info *entry;
entry             401 ext/phar/stream.c 		entry = phar_get_link_source(data->internal_file);
entry             403 ext/phar/stream.c 		entry = data->internal_file;
entry             408 ext/phar/stream.c 			temp = data->zero + entry->uncompressed_filesize + offset;
entry             419 ext/phar/stream.c 	if (temp > data->zero + (zend_off_t) entry->uncompressed_filesize) {
entry             575 ext/phar/stream.c 	phar_entry_info *entry;
entry             621 ext/phar/stream.c 	if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, internal_file, internal_file_len))) {
entry             622 ext/phar/stream.c 		phar_dostat(phar, entry, ssb, 0);
entry             643 ext/phar/stream.c 				if (NULL == (entry = zend_hash_find_ptr(&phar->manifest, str_key))) {
entry             646 ext/phar/stream.c 				if (!entry->tmp || !entry->is_mounted) {
entry             649 ext/phar/stream.c 				test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, internal_file + ZSTR_LEN(str_key));
entry             660 ext/phar/stream.c 				if (NULL == (entry = zend_hash_str_find_ptr(&phar->manifest, internal_file, internal_file_len))) {
entry             663 ext/phar/stream.c 				phar_dostat(phar, entry, ssb, 0);
entry             757 ext/phar/stream.c 	phar_entry_info *entry;
entry             850 ext/phar/stream.c 	if (NULL != (entry = zend_hash_str_find_ptr(&(phar->manifest), resource_from->path+1, strlen(resource_from->path)-1))) {
entry             854 ext/phar/stream.c 		if (entry->is_deleted) {
entry             861 ext/phar/stream.c 		memcpy((void *) &new, (void *) entry, sizeof(phar_entry_info));
entry             863 ext/phar/stream.c 		entry->is_deleted = 1;
entry             864 ext/phar/stream.c 		entry->fp = NULL;
entry             865 ext/phar/stream.c 		ZVAL_UNDEF(&entry->metadata);
entry             866 ext/phar/stream.c 		entry->link = entry->tmp = NULL;
entry             867 ext/phar/stream.c 		source = entry;
entry             870 ext/phar/stream.c 		entry = zend_hash_str_add_mem(&(phar->manifest), resource_to->path+1, strlen(resource_to->path)-1, (void **)&new, sizeof(phar_entry_info));
entry             872 ext/phar/stream.c 		entry->filename = estrdup(resource_to->path+1);
entry             873 ext/phar/stream.c 		if (FAILURE == phar_copy_entry_fp(source, entry, &error)) {
entry             878 ext/phar/stream.c 			zend_hash_str_del(&(phar->manifest), entry->filename, strlen(entry->filename));
entry             882 ext/phar/stream.c 		entry->is_modified = 1;
entry             883 ext/phar/stream.c 		entry->filename_len = strlen(entry->filename);
entry             884 ext/phar/stream.c 		is_dir = entry->is_dir;
entry             907 ext/phar/stream.c 			entry = Z_PTR(b->val);
entry             908 ext/phar/stream.c 			if (!entry->is_deleted &&
entry             919 ext/phar/stream.c 				entry->is_modified = 1;
entry             920 ext/phar/stream.c 				efree(entry->filename);
entry             922 ext/phar/stream.c 				entry->filename = estrndup(ZSTR_VAL(new_str_key), ZSTR_LEN(new_str_key));
entry             923 ext/phar/stream.c 				entry->filename_len = ZSTR_LEN(new_str_key);
entry             161 ext/phar/tar.c static int phar_tar_process_metadata(phar_entry_info *entry, php_stream *fp) /* {{{ */
entry             167 ext/phar/tar.c 	metadata = (char *) safe_emalloc(1, entry->uncompressed_filesize, 1);
entry             169 ext/phar/tar.c 	read = php_stream_read(fp, metadata, entry->uncompressed_filesize);
entry             170 ext/phar/tar.c 	if (read != entry->uncompressed_filesize) {
entry             176 ext/phar/tar.c 	if (phar_parse_metadata(&metadata, &entry->metadata, entry->uncompressed_filesize) == FAILURE) {
entry             183 ext/phar/tar.c 	if (entry->filename_len == sizeof(".phar/.metadata.bin")-1 && !memcmp(entry->filename, ".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1)) {
entry             184 ext/phar/tar.c 		entry->phar->metadata = entry->metadata;
entry             185 ext/phar/tar.c 		ZVAL_UNDEF(&entry->metadata);
entry             186 ext/phar/tar.c 	} else if (entry->filename_len >= sizeof(".phar/.metadata/") + sizeof("/.metadata.bin") - 1 && NULL != (mentry = zend_hash_str_find_ptr(&(entry->phar->manifest), entry->filename + sizeof(".phar/.metadata/") - 1, entry->filename_len - (sizeof("/.metadata.bin") - 1 + sizeof(".phar/.metadata/") - 1)))) {
entry             188 ext/phar/tar.c 		mentry->metadata = entry->metadata;
entry             189 ext/phar/tar.c 		ZVAL_UNDEF(&entry->metadata);
entry             208 ext/phar/tar.c 	phar_entry_info entry = {0};
entry             249 ext/phar/tar.c 	entry.is_tar = 1;
entry             250 ext/phar/tar.c 	entry.is_crc_checked = 1;
entry             251 ext/phar/tar.c 	entry.phar = myphar;
entry             266 ext/phar/tar.c 		size = entry.uncompressed_filesize = entry.compressed_filesize =
entry             356 ext/phar/tar.c 			entry.filename_len = entry.uncompressed_filesize;
entry             359 ext/phar/tar.c 			if (entry.filename_len == UINT_MAX || entry.filename_len == 0) {
entry             367 ext/phar/tar.c 			entry.filename = pemalloc(entry.filename_len+1, myphar->is_persistent);
entry             369 ext/phar/tar.c 			read = php_stream_read(fp, entry.filename, entry.filename_len);
entry             370 ext/phar/tar.c 			if (read != entry.filename_len) {
entry             371 ext/phar/tar.c 				efree(entry.filename);
entry             379 ext/phar/tar.c 			entry.filename[entry.filename_len] = '\0';
entry             387 ext/phar/tar.c 				efree(entry.filename);
entry             399 ext/phar/tar.c 				efree(entry.filename);
entry             426 ext/phar/tar.c 			entry.filename_len = i+j;
entry             428 ext/phar/tar.c 			if (name[entry.filename_len - 1] == '/') {
entry             430 ext/phar/tar.c 				entry.filename_len--;
entry             432 ext/phar/tar.c 			entry.filename = pestrndup(name, entry.filename_len, myphar->is_persistent);
entry             442 ext/phar/tar.c 			entry.filename_len = i;
entry             443 ext/phar/tar.c 			entry.filename = pestrndup(hdr->name, i, myphar->is_persistent);
entry             445 ext/phar/tar.c 			if (i > 0 && entry.filename[entry.filename_len - 1] == '/') {
entry             447 ext/phar/tar.c 				entry.filename[entry.filename_len - 1] = '\0';
entry             448 ext/phar/tar.c 				entry.filename_len--;
entry             453 ext/phar/tar.c 		phar_add_virtual_dirs(myphar, entry.filename, entry.filename_len);
entry             457 ext/phar/tar.c 				spprintf(error, 4096, "phar error: \"%s\" is a corrupted tar file (checksum mismatch of file \"%s\")", fname, entry.filename);
entry             459 ext/phar/tar.c 			pefree(entry.filename, myphar->is_persistent);
entry             465 ext/phar/tar.c 		entry.tar_type = ((old & (hdr->typeflag == '\0')) ? TAR_FILE : hdr->typeflag);
entry             466 ext/phar/tar.c 		entry.offset = entry.offset_abs = pos; /* header_offset unused in tar */
entry             467 ext/phar/tar.c 		entry.fp_type = PHAR_FP;
entry             468 ext/phar/tar.c 		entry.flags = phar_tar_number(hdr->mode, sizeof(hdr->mode)) & PHAR_ENT_PERM_MASK;
entry             469 ext/phar/tar.c 		entry.timestamp = phar_tar_number(hdr->mtime, sizeof(hdr->mtime));
entry             470 ext/phar/tar.c 		entry.is_persistent = myphar->is_persistent;
entry             472 ext/phar/tar.c 		if (old && entry.tar_type == TAR_FILE && S_ISDIR(entry.flags)) {
entry             473 ext/phar/tar.c 			entry.tar_type = TAR_DIR;
entry             476 ext/phar/tar.c 		if (entry.tar_type == TAR_DIR) {
entry             477 ext/phar/tar.c 			entry.is_dir = 1;
entry             479 ext/phar/tar.c 			entry.is_dir = 0;
entry             482 ext/phar/tar.c 		entry.link = NULL;
entry             486 ext/phar/tar.c 		if (entry.tar_type == TAR_LINK) {
entry             491 ext/phar/tar.c 				pefree(entry.filename, entry.is_persistent);
entry             496 ext/phar/tar.c 			entry.link = estrndup(hdr->linkname, linkname_len);
entry             497 ext/phar/tar.c 		} else if (entry.tar_type == TAR_SYMLINK) {
entry             498 ext/phar/tar.c 			entry.link = estrndup(hdr->linkname, linkname_len);
entry             500 ext/phar/tar.c 		phar_set_inode(&entry);
entry             502 ext/phar/tar.c 		newentry = zend_hash_str_update_mem(&myphar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info));
entry             505 ext/phar/tar.c 		if (entry.is_persistent) {
entry             506 ext/phar/tar.c 			++entry.manifest_pos;
entry             509 ext/phar/tar.c 		if (entry.filename_len >= sizeof(".phar/.metadata")-1 && !memcmp(entry.filename, ".phar/.metadata", sizeof(".phar/.metadata")-1)) {
entry             512 ext/phar/tar.c 					spprintf(error, 4096, "phar error: tar-based phar \"%s\" has invalid metadata in magic file \"%s\"", fname, entry.filename);
entry             520 ext/phar/tar.c 		if (!actual_alias && entry.filename_len == sizeof(".phar/alias.txt")-1 && !strncmp(entry.filename, ".phar/alias.txt", sizeof(".phar/alias.txt")-1)) {
entry             698 ext/phar/tar.c static int phar_tar_writeheaders_int(phar_entry_info *entry, void *argument) /* {{{ */
entry             705 ext/phar/tar.c 	if (entry->is_mounted) {
entry             709 ext/phar/tar.c 	if (entry->is_deleted) {
entry             710 ext/phar/tar.c 		if (entry->fp_refcount <= 0) {
entry             718 ext/phar/tar.c 	phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len);
entry             721 ext/phar/tar.c 	if (entry->filename_len > 100) {
entry             723 ext/phar/tar.c 		if (entry->filename_len > 256) {
entry             725 ext/phar/tar.c 				spprintf(fp->error, 4096, "tar-based phar \"%s\" cannot be created, filename \"%s\" is too long for tar file format", entry->phar->fname, entry->filename);
entry             729 ext/phar/tar.c 		boundary = entry->filename + entry->filename_len - 101;
entry             733 ext/phar/tar.c 		if (!*boundary || ((boundary - entry->filename) > 155)) {
entry             735 ext/phar/tar.c 				spprintf(fp->error, 4096, "tar-based phar \"%s\" cannot be created, filename \"%s\" is too long for tar file format", entry->phar->fname, entry->filename);
entry             739 ext/phar/tar.c 		memcpy(header.prefix, entry->filename, boundary - entry->filename);
entry             740 ext/phar/tar.c 		memcpy(header.name, boundary + 1, entry->filename_len - (boundary + 1 - entry->filename));
entry             742 ext/phar/tar.c 		memcpy(header.name, entry->filename, entry->filename_len);
entry             745 ext/phar/tar.c 	phar_tar_octal(header.mode, entry->flags & PHAR_ENT_PERM_MASK, sizeof(header.mode)-1);
entry             747 ext/phar/tar.c 	if (FAILURE == phar_tar_octal(header.size, entry->uncompressed_filesize, sizeof(header.size)-1)) {
entry             749 ext/phar/tar.c 			spprintf(fp->error, 4096, "tar-based phar \"%s\" cannot be created, filename \"%s\" is too large for tar file format", entry->phar->fname, entry->filename);
entry             754 ext/phar/tar.c 	if (FAILURE == phar_tar_octal(header.mtime, entry->timestamp, sizeof(header.mtime)-1)) {
entry             756 ext/phar/tar.c 			spprintf(fp->error, 4096, "tar-based phar \"%s\" cannot be created, file modification time of file \"%s\" is too large for tar file format", entry->phar->fname, entry->filename);
entry             762 ext/phar/tar.c 	header.typeflag = entry->tar_type;
entry             764 ext/phar/tar.c 	if (entry->link) {
entry             765 ext/phar/tar.c 		strncpy(header.linkname, entry->link, strlen(entry->link));
entry             771 ext/phar/tar.c 	entry->crc32 = phar_tar_checksum((char *)&header, sizeof(header));
entry             773 ext/phar/tar.c 	if (FAILURE == phar_tar_octal(header.checksum, entry->crc32, sizeof(header.checksum)-1)) {
entry             775 ext/phar/tar.c 			spprintf(fp->error, 4096, "tar-based phar \"%s\" cannot be created, checksum of file \"%s\" is too large for tar file format", entry->phar->fname, entry->filename);
entry             781 ext/phar/tar.c 	entry->header_offset = php_stream_tell(fp->new);
entry             785 ext/phar/tar.c 			spprintf(fp->error, 4096, "tar-based phar \"%s\" cannot be created, header for  file \"%s\" could not be written", entry->phar->fname, entry->filename);
entry             793 ext/phar/tar.c 	if (entry->uncompressed_filesize) {
entry             794 ext/phar/tar.c 		if (FAILURE == phar_open_entry_fp(entry, fp->error, 0)) {
entry             798 ext/phar/tar.c 		if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0)) {
entry             800 ext/phar/tar.c 				spprintf(fp->error, 4096, "tar-based phar \"%s\" cannot be created, contents of file \"%s\" could not be written, seek failed", entry->phar->fname, entry->filename);
entry             805 ext/phar/tar.c 		if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_efp(entry, 0), fp->new, entry->uncompressed_filesize, NULL)) {
entry             807 ext/phar/tar.c 				spprintf(fp->error, 4096, "tar-based phar \"%s\" cannot be created, contents of file \"%s\" could not be written", entry->phar->fname, entry->filename);
entry             813 ext/phar/tar.c 		php_stream_write(fp->new, padding, ((entry->uncompressed_filesize +511)&~511) - entry->uncompressed_filesize);
entry             816 ext/phar/tar.c 	if (!entry->is_modified && entry->fp_refcount) {
entry             818 ext/phar/tar.c 		switch (entry->fp_type) {
entry             829 ext/phar/tar.c 	entry->is_modified = 0;
entry             831 ext/phar/tar.c 	if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) {
entry             832 ext/phar/tar.c 		if (!entry->fp_refcount) {
entry             833 ext/phar/tar.c 			php_stream_close(entry->fp);
entry             835 ext/phar/tar.c 		entry->fp = NULL;
entry             838 ext/phar/tar.c 	entry->fp_type = PHAR_FP;
entry             841 ext/phar/tar.c 	entry->offset = entry->offset_abs = pos;
entry             852 ext/phar/tar.c int phar_tar_setmetadata(zval *metadata, phar_entry_info *entry, char **error) /* {{{ */
entry             856 ext/phar/tar.c 	if (entry->metadata_str.s) {
entry             857 ext/phar/tar.c 		smart_str_free(&entry->metadata_str);
entry             860 ext/phar/tar.c 	entry->metadata_str.s = NULL;
entry             862 ext/phar/tar.c 	php_var_serialize(&entry->metadata_str, metadata, &metadata_hash);
entry             864 ext/phar/tar.c 	entry->uncompressed_filesize = entry->compressed_filesize = entry->metadata_str.s ? ZSTR_LEN(entry->metadata_str.s) : 0;
entry             866 ext/phar/tar.c 	if (entry->fp && entry->fp_type == PHAR_MOD) {
entry             867 ext/phar/tar.c 		php_stream_close(entry->fp);
entry             870 ext/phar/tar.c 	entry->fp_type = PHAR_MOD;
entry             871 ext/phar/tar.c 	entry->is_modified = 1;
entry             872 ext/phar/tar.c 	entry->fp = php_stream_fopen_tmpfile();
entry             873 ext/phar/tar.c 	entry->offset = entry->offset_abs = 0;
entry             874 ext/phar/tar.c 	if (entry->fp == NULL) {
entry             878 ext/phar/tar.c 	if (ZSTR_LEN(entry->metadata_str.s) != php_stream_write(entry->fp, ZSTR_VAL(entry->metadata_str.s), ZSTR_LEN(entry->metadata_str.s))) {
entry             879 ext/phar/tar.c 		spprintf(error, 0, "phar tar error: unable to write metadata to magic metadata file \"%s\"", entry->filename);
entry             880 ext/phar/tar.c 		zend_hash_str_del(&(entry->phar->manifest), entry->filename, entry->filename_len);
entry             893 ext/phar/tar.c 	phar_entry_info *entry = (phar_entry_info *)Z_PTR_P(zv), *metadata, newentry = {0};
entry             895 ext/phar/tar.c 	if (entry->filename_len >= sizeof(".phar/.metadata") && !memcmp(entry->filename, ".phar/.metadata", sizeof(".phar/.metadata")-1)) {
entry             896 ext/phar/tar.c 		if (entry->filename_len == sizeof(".phar/.metadata.bin")-1 && !memcmp(entry->filename, ".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1)) {
entry             897 ext/phar/tar.c 			return phar_tar_setmetadata(&entry->phar->metadata, entry, error);
entry             900 ext/phar/tar.c 		if (entry->filename_len >= sizeof(".phar/.metadata/") + sizeof("/.metadata.bin") - 1 && !zend_hash_str_exists(&(entry->phar->manifest), entry->filename + sizeof(".phar/.metadata/") - 1, entry->filename_len - (sizeof("/.metadata.bin") - 1 + sizeof(".phar/.metadata/") - 1))) {
entry             908 ext/phar/tar.c 	if (!entry->is_modified) {
entry             913 ext/phar/tar.c 	lookfor_len = spprintf(&lookfor, 0, ".phar/.metadata/%s/.metadata.bin", entry->filename);
entry             915 ext/phar/tar.c 	if (Z_TYPE(entry->metadata) == IS_UNDEF) {
entry             916 ext/phar/tar.c 		zend_hash_str_del(&(entry->phar->manifest), lookfor, lookfor_len);
entry             921 ext/phar/tar.c 	if (NULL != (metadata = zend_hash_str_find_ptr(&(entry->phar->manifest), lookfor, lookfor_len))) {
entry             923 ext/phar/tar.c 		ret = phar_tar_setmetadata(&entry->metadata, metadata, error);
entry             930 ext/phar/tar.c 	newentry.phar = entry->phar;
entry             934 ext/phar/tar.c 	if (NULL == (metadata = zend_hash_str_add_mem(&(entry->phar->manifest), lookfor, lookfor_len, (void *)&newentry, sizeof(phar_entry_info)))) {
entry             936 ext/phar/tar.c 		spprintf(error, 0, "phar tar error: unable to add magic metadata file to manifest for file \"%s\"", entry->filename);
entry             940 ext/phar/tar.c 	return phar_tar_setmetadata(&entry->metadata, metadata, error);
entry             946 ext/phar/tar.c 	phar_entry_info entry = {0};
entry             954 ext/phar/tar.c 	entry.flags = PHAR_ENT_PERM_DEF_FILE;
entry             955 ext/phar/tar.c 	entry.timestamp = time(NULL);
entry             956 ext/phar/tar.c 	entry.is_modified = 1;
entry             957 ext/phar/tar.c 	entry.is_crc_checked = 1;
entry             958 ext/phar/tar.c 	entry.is_tar = 1;
entry             959 ext/phar/tar.c 	entry.tar_type = '0';
entry             960 ext/phar/tar.c 	entry.phar = phar;
entry             961 ext/phar/tar.c 	entry.fp_type = PHAR_MOD;
entry             976 ext/phar/tar.c 		entry.filename = estrndup(".phar/alias.txt", sizeof(".phar/alias.txt")-1);
entry             977 ext/phar/tar.c 		entry.filename_len = sizeof(".phar/alias.txt")-1;
entry             978 ext/phar/tar.c 		entry.fp = php_stream_fopen_tmpfile();
entry             979 ext/phar/tar.c 		if (entry.fp == NULL) {
entry             983 ext/phar/tar.c 		if (phar->alias_len != (int)php_stream_write(entry.fp, phar->alias, phar->alias_len)) {
entry             990 ext/phar/tar.c 		entry.uncompressed_filesize = phar->alias_len;
entry             992 ext/phar/tar.c 		if (NULL == zend_hash_str_update_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info))) {
entry            1060 ext/phar/tar.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1061 ext/phar/tar.c 		if (entry.fp == NULL) {
entry            1065 ext/phar/tar.c 		entry.uncompressed_filesize = len + 5;
entry            1067 ext/phar/tar.c 		if ((size_t)len != php_stream_write(entry.fp, user_stub, len)
entry            1068 ext/phar/tar.c 		||            5 != php_stream_write(entry.fp, " ?>\r\n", 5)) {
entry            1075 ext/phar/tar.c 			php_stream_close(entry.fp);
entry            1079 ext/phar/tar.c 		entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1);
entry            1080 ext/phar/tar.c 		entry.filename_len = sizeof(".phar/stub.php")-1;
entry            1081 ext/phar/tar.c 		zend_hash_str_update_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info));
entry            1088 ext/phar/tar.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1089 ext/phar/tar.c 		if (entry.fp == NULL) {
entry            1093 ext/phar/tar.c 		if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) {
entry            1094 ext/phar/tar.c 			php_stream_close(entry.fp);
entry            1101 ext/phar/tar.c 		entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1;
entry            1102 ext/phar/tar.c 		entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1);
entry            1103 ext/phar/tar.c 		entry.filename_len = sizeof(".phar/stub.php")-1;
entry            1107 ext/phar/tar.c 				if (NULL == zend_hash_str_add_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info))) {
entry            1108 ext/phar/tar.c 					php_stream_close(entry.fp);
entry            1109 ext/phar/tar.c 					efree(entry.filename);
entry            1116 ext/phar/tar.c 				php_stream_close(entry.fp);
entry            1117 ext/phar/tar.c 				efree(entry.filename);
entry            1120 ext/phar/tar.c 			if (NULL == zend_hash_str_update_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info))) {
entry            1121 ext/phar/tar.c 				php_stream_close(entry.fp);
entry            1122 ext/phar/tar.c 				efree(entry.filename);
entry            1224 ext/phar/tar.c 		entry.filename = ".phar/signature.bin";
entry            1225 ext/phar/tar.c 		entry.filename_len = sizeof(".phar/signature.bin")-1;
entry            1226 ext/phar/tar.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1227 ext/phar/tar.c 		if (entry.fp == NULL) {
entry            1243 ext/phar/tar.c 		if (8 != (int)php_stream_write(entry.fp, sigbuf, 8) || signature_length != (int)php_stream_write(entry.fp, signature, signature_length)) {
entry            1257 ext/phar/tar.c 		entry.uncompressed_filesize = entry.compressed_filesize = signature_length + 8;
entry            1259 ext/phar/tar.c 		entry.filename_len = phar_tar_writeheaders_int(&entry, (void *)&pass);
entry              45 ext/phar/util.c static char *phar_get_link_location(phar_entry_info *entry) /* {{{ */
entry              48 ext/phar/util.c 	if (!entry->link) {
entry              51 ext/phar/util.c 	if (entry->link[0] == '/') {
entry              52 ext/phar/util.c 		return estrdup(entry->link + 1);
entry              54 ext/phar/util.c 	p = strrchr(entry->filename, '/');
entry              57 ext/phar/util.c 		spprintf(&ret, 0, "%s/%s", entry->filename, entry->link);
entry              60 ext/phar/util.c 	return entry->link;
entry              64 ext/phar/util.c phar_entry_info *phar_get_link_source(phar_entry_info *entry) /* {{{ */
entry              69 ext/phar/util.c 	if (!entry->link) {
entry              70 ext/phar/util.c 		return entry;
entry              73 ext/phar/util.c 	link = phar_get_link_location(entry);
entry              74 ext/phar/util.c 	if (NULL != (link_entry = zend_hash_str_find_ptr(&(entry->phar->manifest), entry->link, strlen(entry->link))) ||
entry              75 ext/phar/util.c 		NULL != (link_entry = zend_hash_str_find_ptr(&(entry->phar->manifest), link, strlen(link)))) {
entry              76 ext/phar/util.c 		if (link != entry->link) {
entry              81 ext/phar/util.c 		if (link != entry->link) {
entry              90 ext/phar/util.c php_stream *phar_get_efp(phar_entry_info *entry, int follow_links) /* {{{ */
entry              92 ext/phar/util.c 	if (follow_links && entry->link) {
entry              93 ext/phar/util.c 		phar_entry_info *link_entry = phar_get_link_source(entry);
entry              95 ext/phar/util.c 		if (link_entry && link_entry != entry) {
entry             100 ext/phar/util.c 	if (phar_get_fp_type(entry) == PHAR_FP) {
entry             101 ext/phar/util.c 		if (!phar_get_entrypfp(entry)) {
entry             103 ext/phar/util.c 			phar_open_archive_fp(entry->phar);
entry             105 ext/phar/util.c 		return phar_get_entrypfp(entry);
entry             106 ext/phar/util.c 	} else if (phar_get_fp_type(entry) == PHAR_UFP) {
entry             107 ext/phar/util.c 		return phar_get_entrypufp(entry);
entry             108 ext/phar/util.c 	} else if (entry->fp_type == PHAR_MOD) {
entry             109 ext/phar/util.c 		return entry->fp;
entry             112 ext/phar/util.c 		if (!entry->fp) {
entry             113 ext/phar/util.c 			entry->fp = php_stream_open_wrapper(entry->tmp, "rb", STREAM_MUST_SEEK|0, NULL);
entry             115 ext/phar/util.c 		return entry->fp;
entry             120 ext/phar/util.c int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int follow_links) /* {{{ */
entry             122 ext/phar/util.c 	php_stream *fp = phar_get_efp(entry, follow_links);
entry             131 ext/phar/util.c 		t = phar_get_link_source(entry);
entry             133 ext/phar/util.c 			entry = t;
entry             137 ext/phar/util.c 	if (entry->is_dir) {
entry             141 ext/phar/util.c 	eoffset = phar_get_fp_offset(entry);
entry             145 ext/phar/util.c 			temp = eoffset + entry->uncompressed_filesize + offset;
entry             157 ext/phar/util.c 	if (temp > eoffset + (zend_off_t) entry->uncompressed_filesize) {
entry             172 ext/phar/util.c 	phar_entry_info entry = {0};
entry             188 ext/phar/util.c 	entry.phar = phar;
entry             189 ext/phar/util.c 	entry.filename = estrndup(path, path_len);
entry             191 ext/phar/util.c 	phar_unixify_path_separators(entry.filename, path_len);
entry             193 ext/phar/util.c 	entry.filename_len = path_len;
entry             195 ext/phar/util.c 		entry.tmp = estrndup(filename, filename_len);
entry             197 ext/phar/util.c 		entry.tmp = expand_filepath(filename, NULL);
entry             198 ext/phar/util.c 		if (!entry.tmp) {
entry             199 ext/phar/util.c 			entry.tmp = estrndup(filename, filename_len);
entry             203 ext/phar/util.c 	if (PG(safe_mode) && !is_phar && (!php_checkuid(entry.tmp, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
entry             204 ext/phar/util.c 		efree(entry.tmp);
entry             205 ext/phar/util.c 		efree(entry.filename);
entry             209 ext/phar/util.c 	filename = entry.tmp;
entry             213 ext/phar/util.c 		efree(entry.tmp);
entry             214 ext/phar/util.c 		efree(entry.filename);
entry             218 ext/phar/util.c 	entry.is_mounted = 1;
entry             219 ext/phar/util.c 	entry.is_crc_checked = 1;
entry             220 ext/phar/util.c 	entry.fp_type = PHAR_TMP;
entry             223 ext/phar/util.c 		efree(entry.tmp);
entry             224 ext/phar/util.c 		efree(entry.filename);
entry             229 ext/phar/util.c 		entry.is_dir = 1;
entry             230 ext/phar/util.c 		if (NULL == zend_hash_str_add_ptr(&phar->mounted_dirs, entry.filename, path_len, entry.filename)) {
entry             232 ext/phar/util.c 			efree(entry.tmp);
entry             233 ext/phar/util.c 			efree(entry.filename);
entry             237 ext/phar/util.c 		entry.is_dir = 0;
entry             238 ext/phar/util.c 		entry.uncompressed_filesize = entry.compressed_filesize = ssb.sb.st_size;
entry             241 ext/phar/util.c 	entry.flags = ssb.sb.st_mode;
entry             243 ext/phar/util.c 	if (NULL != zend_hash_str_add_mem(&phar->manifest, entry.filename, path_len, (void*)&entry, sizeof(phar_entry_info))) {
entry             247 ext/phar/util.c 	efree(entry.tmp);
entry             248 ext/phar/util.c 	efree(entry.filename);
entry             256 ext/phar/util.c 	char *path, *fname, *arch, *entry, *test;
entry             280 ext/phar/util.c 	if (fname_len < 7 || memcmp(fname, "phar://", 7) || SUCCESS != phar_split_fname(fname, strlen(fname), &arch, &arch_len, &entry, &entry_len, 1, 0)) {
entry             284 ext/phar/util.c 	efree(entry);
entry             326 ext/phar/util.c 		if (SUCCESS != phar_split_fname(ZSTR_VAL(ret), ZSTR_LEN(ret), &arch, &arch_len, &entry, &entry_len, 1, 0)) {
entry             337 ext/phar/util.c 		efree(entry);
entry             355 ext/phar/util.c 	phar_entry_info *entry;
entry             390 ext/phar/util.c 		if ((entry = phar_get_entry_info_dir(phar, path, path_len, allow_dir, for_create && !PHAR_G(readonly) && !phar->is_data ? NULL : error, security)) == NULL) {
entry             397 ext/phar/util.c 		if ((entry = phar_get_entry_info(phar, path, path_len, for_create && !PHAR_G(readonly) && !phar->is_data ? NULL : error, security)) == NULL) {
entry             416 ext/phar/util.c 	if (entry->is_modified && !for_write) {
entry             423 ext/phar/util.c 	if (entry->fp_refcount && for_write) {
entry             430 ext/phar/util.c 	if (entry->is_deleted) {
entry             434 ext/phar/util.c 		entry->is_deleted = 0;
entry             437 ext/phar/util.c 	if (entry->is_dir) {
entry             443 ext/phar/util.c 		(*ret)->internal_file = entry;
entry             444 ext/phar/util.c 		(*ret)->is_zip = entry->is_zip;
entry             445 ext/phar/util.c 		(*ret)->is_tar = entry->is_tar;
entry             448 ext/phar/util.c 			++(entry->phar->refcount);
entry             449 ext/phar/util.c 			++(entry->fp_refcount);
entry             455 ext/phar/util.c 	if (entry->fp_type == PHAR_MOD) {
entry             457 ext/phar/util.c 			if (FAILURE == phar_create_writeable_entry(phar, entry, error)) {
entry             461 ext/phar/util.c 			phar_seek_efp(entry, 0, SEEK_END, 0, 0);
entry             465 ext/phar/util.c 			if (entry->link) {
entry             466 ext/phar/util.c 				efree(entry->link);
entry             467 ext/phar/util.c 				entry->link = NULL;
entry             468 ext/phar/util.c 				entry->tar_type = (entry->is_tar ? TAR_FILE : '\0');
entry             472 ext/phar/util.c 				if (FAILURE == phar_create_writeable_entry(phar, entry, error)) {
entry             476 ext/phar/util.c 				if (FAILURE == phar_separate_entry_fp(entry, error)) {
entry             481 ext/phar/util.c 			if (FAILURE == phar_open_entry_fp(entry, error, 1)) {
entry             491 ext/phar/util.c 	(*ret)->internal_file = entry;
entry             492 ext/phar/util.c 	(*ret)->is_zip = entry->is_zip;
entry             493 ext/phar/util.c 	(*ret)->is_tar = entry->is_tar;
entry             494 ext/phar/util.c 	(*ret)->fp = phar_get_efp(entry, 1);
entry             495 ext/phar/util.c 	if (entry->link) {
entry             496 ext/phar/util.c 		phar_entry_info *link = phar_get_link_source(entry);
entry             503 ext/phar/util.c 		(*ret)->zero = phar_get_fp_offset(entry);
entry             507 ext/phar/util.c 		++(entry->fp_refcount);
entry             508 ext/phar/util.c 		++(entry->phar->refcount);
entry             521 ext/phar/util.c 	phar_entry_info *entry, etemp;
entry             599 ext/phar/util.c 	if (NULL == (entry = zend_hash_str_add_mem(&phar->manifest, etemp.filename, path_len, (void*)&etemp, sizeof(phar_entry_info)))) {
entry             609 ext/phar/util.c 	if (!entry) {
entry             618 ext/phar/util.c 	ret->fp = entry->fp;
entry             621 ext/phar/util.c 	ret->is_zip = entry->is_zip;
entry             622 ext/phar/util.c 	ret->is_tar = entry->is_tar;
entry             623 ext/phar/util.c 	ret->internal_file = entry;
entry             695 ext/phar/util.c int phar_open_entry_fp(phar_entry_info *entry, char **error, int follow_links) /* {{{ */
entry             698 ext/phar/util.c 	phar_archive_data *phar = entry->phar;
entry             704 ext/phar/util.c 	if (follow_links && entry->link) {
entry             705 ext/phar/util.c 		phar_entry_info *link_entry = phar_get_link_source(entry);
entry             706 ext/phar/util.c 		if (link_entry && link_entry != entry) {
entry             711 ext/phar/util.c 	if (entry->is_modified) {
entry             715 ext/phar/util.c 	if (entry->fp_type == PHAR_TMP) {
entry             716 ext/phar/util.c 		if (!entry->fp) {
entry             717 ext/phar/util.c 			entry->fp = php_stream_open_wrapper(entry->tmp, "rb", STREAM_MUST_SEEK|0, NULL);
entry             722 ext/phar/util.c 	if (entry->fp_type != PHAR_FP) {
entry             734 ext/phar/util.c 	if ((entry->old_flags && !(entry->old_flags & PHAR_ENT_COMPRESSION_MASK)) || !(entry->flags & PHAR_ENT_COMPRESSION_MASK)) {
entry             735 ext/phar/util.c 		dummy.internal_file = entry;
entry             737 ext/phar/util.c 		dummy.zero = entry->offset;
entry             739 ext/phar/util.c 		if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 1)) {
entry             745 ext/phar/util.c 	if (!phar_get_entrypufp(entry)) {
entry             746 ext/phar/util.c 		phar_set_entrypufp(entry, php_stream_fopen_tmpfile());
entry             747 ext/phar/util.c 		if (!phar_get_entrypufp(entry)) {
entry             748 ext/phar/util.c 			spprintf(error, 4096, "phar error: Cannot open temporary file for decompressing phar archive \"%s\" file \"%s\"", phar->fname, entry->filename);
entry             753 ext/phar/util.c 	dummy.internal_file = entry;
entry             755 ext/phar/util.c 	dummy.zero = entry->offset;
entry             757 ext/phar/util.c 	if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 1)) {
entry             761 ext/phar/util.c 	ufp = phar_get_entrypufp(entry);
entry             763 ext/phar/util.c 	if ((filtername = phar_decompress_filter(entry, 0)) != NULL) {
entry             770 ext/phar/util.c 		spprintf(error, 4096, "phar error: unable to read phar \"%s\" (cannot create %s filter while decompressing file \"%s\")", phar->fname, phar_decompress_filter(entry, 1), entry->filename);
entry             779 ext/phar/util.c 	php_stream_seek(phar_get_entrypfp(entry), phar_get_fp_offset(entry), SEEK_SET);
entry             781 ext/phar/util.c 	if (entry->uncompressed_filesize) {
entry             782 ext/phar/util.c 		if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_entrypfp(entry), ufp, entry->compressed_filesize, NULL)) {
entry             783 ext/phar/util.c 			spprintf(error, 4096, "phar error: internal corruption of phar \"%s\" (actual filesize mismatch on file \"%s\")", phar->fname, entry->filename);
entry             793 ext/phar/util.c 	if (php_stream_tell(ufp) - loc != (zend_off_t) entry->uncompressed_filesize) {
entry             794 ext/phar/util.c 		spprintf(error, 4096, "phar error: internal corruption of phar \"%s\" (actual filesize mismatch on file \"%s\")", phar->fname, entry->filename);
entry             798 ext/phar/util.c 	entry->old_flags = entry->flags;
entry             801 ext/phar/util.c 	phar_set_fp_type(entry, PHAR_UFP, loc);
entry             802 ext/phar/util.c 	dummy.zero = entry->offset;
entry             804 ext/phar/util.c 	if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 0)) {
entry             811 ext/phar/util.c int phar_create_writeable_entry(phar_archive_data *phar, phar_entry_info *entry, char **error) /* {{{ */
entry             813 ext/phar/util.c 	if (entry->fp_type == PHAR_MOD) {
entry             815 ext/phar/util.c 		php_stream_truncate_set_size(entry->fp, 0);
entry             817 ext/phar/util.c 		entry->old_flags = entry->flags;
entry             818 ext/phar/util.c 		entry->is_modified = 1;
entry             821 ext/phar/util.c 		entry->uncompressed_filesize = 0;
entry             822 ext/phar/util.c 		entry->compressed_filesize = 0;
entry             823 ext/phar/util.c 		entry->crc32 = 0;
entry             824 ext/phar/util.c 		entry->flags = PHAR_ENT_PERM_DEF_FILE;
entry             825 ext/phar/util.c 		entry->fp_type = PHAR_MOD;
entry             826 ext/phar/util.c 		entry->offset = 0;
entry             835 ext/phar/util.c 	if (entry->link) {
entry             836 ext/phar/util.c 		efree(entry->link);
entry             837 ext/phar/util.c 		entry->link = NULL;
entry             838 ext/phar/util.c 		entry->tar_type = (entry->is_tar ? TAR_FILE : '\0');
entry             841 ext/phar/util.c 	entry->fp = php_stream_fopen_tmpfile();
entry             843 ext/phar/util.c 	if (!entry->fp) {
entry             850 ext/phar/util.c 	entry->old_flags = entry->flags;
entry             851 ext/phar/util.c 	entry->is_modified = 1;
entry             854 ext/phar/util.c 	entry->uncompressed_filesize = 0;
entry             855 ext/phar/util.c 	entry->compressed_filesize = 0;
entry             856 ext/phar/util.c 	entry->crc32 = 0;
entry             857 ext/phar/util.c 	entry->flags = PHAR_ENT_PERM_DEF_FILE;
entry             858 ext/phar/util.c 	entry->fp_type = PHAR_MOD;
entry             859 ext/phar/util.c 	entry->offset = 0;
entry             864 ext/phar/util.c int phar_separate_entry_fp(phar_entry_info *entry, char **error) /* {{{ */
entry             869 ext/phar/util.c 	if (FAILURE == phar_open_entry_fp(entry, error, 1)) {
entry             873 ext/phar/util.c 	if (entry->fp_type == PHAR_MOD) {
entry             882 ext/phar/util.c 	phar_seek_efp(entry, 0, SEEK_SET, 0, 1);
entry             883 ext/phar/util.c 	link = phar_get_link_source(entry);
entry             886 ext/phar/util.c 		link = entry;
entry             891 ext/phar/util.c 			spprintf(error, 4096, "phar error: cannot separate entry file \"%s\" contents in phar archive \"%s\" for write access", entry->filename, entry->phar->fname);
entry             896 ext/phar/util.c 	if (entry->link) {
entry             897 ext/phar/util.c 		efree(entry->link);
entry             898 ext/phar/util.c 		entry->link = NULL;
entry             899 ext/phar/util.c 		entry->tar_type = (entry->is_tar ? TAR_FILE : '\0');
entry             902 ext/phar/util.c 	entry->offset = 0;
entry             903 ext/phar/util.c 	entry->fp = fp;
entry             904 ext/phar/util.c 	entry->fp_type = PHAR_MOD;
entry             905 ext/phar/util.c 	entry->is_modified = 1;
entry             913 ext/phar/util.c phar_entry_info * phar_open_jit(phar_archive_data *phar, phar_entry_info *entry, char **error) /* {{{ */
entry             919 ext/phar/util.c 	if (FAILURE == phar_open_entry_fp(entry, error, 1)) {
entry             922 ext/phar/util.c 	if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 1)) {
entry             923 ext/phar/util.c 		spprintf(error, 4096, "phar error: cannot seek to start of file \"%s\" in phar \"%s\"", entry->filename, phar->fname);
entry             926 ext/phar/util.c 	return entry;
entry            1169 ext/phar/util.c char * phar_compress_filter(phar_entry_info * entry, int return_unknown) /* {{{ */
entry            1171 ext/phar/util.c 	switch (entry->flags & PHAR_ENT_COMPRESSION_MASK) {
entry            1185 ext/phar/util.c char * phar_decompress_filter(phar_entry_info * entry, int return_unknown) /* {{{ */
entry            1189 ext/phar/util.c 	if (entry->is_modified) {
entry            1190 ext/phar/util.c 		flags = entry->old_flags;
entry            1192 ext/phar/util.c 		flags = entry->flags;
entry            1222 ext/phar/util.c 	phar_entry_info *entry;
entry            1267 ext/phar/util.c 	if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, path, path_len))) {
entry            1268 ext/phar/util.c 		if (entry->is_deleted) {
entry            1272 ext/phar/util.c 		if (entry->is_dir && !dir) {
entry            1278 ext/phar/util.c 		if (!entry->is_dir && dir == 2) {
entry            1285 ext/phar/util.c 		return entry;
entry            1291 ext/phar/util.c 			entry = (phar_entry_info *) ecalloc(1, sizeof(phar_entry_info));
entry            1293 ext/phar/util.c 			entry->is_temp_dir = entry->is_dir = 1;
entry            1294 ext/phar/util.c 			entry->filename = (char *) estrndup(path, path_len + 1);
entry            1295 ext/phar/util.c 			entry->filename_len = path_len;
entry            1296 ext/phar/util.c 			entry->phar = phar;
entry            1297 ext/phar/util.c 			return entry;
entry            1312 ext/phar/util.c 				if (NULL == (entry = zend_hash_find_ptr(&phar->manifest, str_key))) {
entry            1319 ext/phar/util.c 				if (!entry->tmp || !entry->is_mounted) {
entry            1326 ext/phar/util.c 				test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, path + ZSTR_LEN(str_key));
entry            1361 ext/phar/util.c 				if (NULL == (entry = zend_hash_str_find_ptr(&phar->manifest, path, path_len))) {
entry            1367 ext/phar/util.c 				return entry;
entry            1941 ext/phar/util.c 	phar_entry_info *entry = (phar_entry_info *)Z_PTR_P(data);
entry            1943 ext/phar/util.c 	entry->phar = (phar_archive_data *)argument;
entry            1945 ext/phar/util.c 	if (entry->link) {
entry            1946 ext/phar/util.c 		entry->link = estrdup(entry->link);
entry            1949 ext/phar/util.c 	if (entry->tmp) {
entry            1950 ext/phar/util.c 		entry->tmp = estrdup(entry->tmp);
entry            1953 ext/phar/util.c 	entry->metadata_str.s = NULL;
entry            1954 ext/phar/util.c 	entry->filename = estrndup(entry->filename, entry->filename_len);
entry            1955 ext/phar/util.c 	entry->is_persistent = 0;
entry            1957 ext/phar/util.c 	if (Z_TYPE(entry->metadata) != IS_UNDEF) {
entry            1958 ext/phar/util.c 		if (entry->metadata_len) {
entry            1959 ext/phar/util.c 			char *buf = estrndup((char *) Z_PTR(entry->metadata), entry->metadata_len);
entry            1961 ext/phar/util.c 			phar_parse_metadata((char **) &buf, &entry->metadata, entry->metadata_len);
entry            1964 ext/phar/util.c 			zval_copy_ctor(&entry->metadata);
entry            1965 ext/phar/util.c 			entry->metadata_str.s = NULL;
entry              42 ext/phar/zip.c static int phar_zip_process_extra(php_stream *fp, phar_entry_info *entry, php_uint16 len) /* {{{ */
entry              76 ext/phar/zip.c 		entry->flags &= PHAR_ENT_COMPRESSION_MASK;
entry              78 ext/phar/zip.c 		if (entry->is_dir) {
entry              79 ext/phar/zip.c 			entry->flags |= PHAR_GET_16(h.unix3.perms) & PHAR_ENT_PERM_MASK;
entry              81 ext/phar/zip.c 			entry->flags |= PHAR_GET_16(h.unix3.perms) & PHAR_ENT_PERM_MASK;
entry             173 ext/phar/zip.c 	phar_entry_info entry = {0};
entry             290 ext/phar/zip.c 	entry.phar = mydata;
entry             291 ext/phar/zip.c 	entry.is_zip = 1;
entry             292 ext/phar/zip.c 	entry.fp_type = PHAR_FP;
entry             293 ext/phar/zip.c 	entry.is_persistent = mydata->is_persistent;
entry             353 ext/phar/zip.c 		if (entry.is_persistent) {
entry             354 ext/phar/zip.c 			entry.manifest_pos = i;
entry             357 ext/phar/zip.c 		entry.compressed_filesize = PHAR_GET_32(zipentry.compsize);
entry             358 ext/phar/zip.c 		entry.uncompressed_filesize = PHAR_GET_32(zipentry.uncompsize);
entry             359 ext/phar/zip.c 		entry.crc32 = PHAR_GET_32(zipentry.crc32);
entry             361 ext/phar/zip.c 		entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp);
entry             362 ext/phar/zip.c 		entry.flags = PHAR_ENT_PERM_DEF_FILE;
entry             363 ext/phar/zip.c 		entry.header_offset = PHAR_GET_32(zipentry.offset);
entry             364 ext/phar/zip.c 		entry.offset = entry.offset_abs = PHAR_GET_32(zipentry.offset) + sizeof(phar_zip_file_header) + PHAR_GET_16(zipentry.filename_len) +
entry             375 ext/phar/zip.c 		entry.filename_len = PHAR_GET_16(zipentry.filename_len);
entry             376 ext/phar/zip.c 		entry.filename = (char *) pemalloc(entry.filename_len + 1, entry.is_persistent);
entry             378 ext/phar/zip.c 		if (entry.filename_len != php_stream_read(fp, entry.filename, entry.filename_len)) {
entry             379 ext/phar/zip.c 			pefree(entry.filename, entry.is_persistent);
entry             383 ext/phar/zip.c 		entry.filename[entry.filename_len] = '\0';
entry             385 ext/phar/zip.c 		if (entry.filename[entry.filename_len - 1] == '/') {
entry             386 ext/phar/zip.c 			entry.is_dir = 1;
entry             387 ext/phar/zip.c 			if(entry.filename_len > 1) {
entry             388 ext/phar/zip.c 				entry.filename_len--;
entry             390 ext/phar/zip.c 			entry.flags |= PHAR_ENT_PERM_DEF_DIR;
entry             392 ext/phar/zip.c 			entry.is_dir = 0;
entry             395 ext/phar/zip.c 		if (entry.filename_len == sizeof(".phar/signature.bin")-1 && !strncmp(entry.filename, ".phar/signature.bin", sizeof(".phar/signature.bin")-1)) {
entry             402 ext/phar/zip.c 			pefree(entry.filename, entry.is_persistent);
entry             410 ext/phar/zip.c 			php_stream_copy_to_stream_ex(fp, sigfile, entry.header_offset, NULL);
entry             418 ext/phar/zip.c 			php_stream_seek(fp, sizeof(phar_zip_file_header) + entry.header_offset + entry.filename_len + PHAR_GET_16(zipentry.extra_len), SEEK_SET);
entry             419 ext/phar/zip.c 			sig = (char *) emalloc(entry.uncompressed_filesize);
entry             420 ext/phar/zip.c 			read = php_stream_read(fp, sig, entry.uncompressed_filesize);
entry             421 ext/phar/zip.c 			if (read != entry.uncompressed_filesize) {
entry             427 ext/phar/zip.c 			if (FAILURE == phar_verify_signature(sigfile, php_stream_tell(sigfile), mydata->sig_flags, sig + 8, entry.uncompressed_filesize - 8, fname, &mydata->signature, &mydata->sig_len, error)) {
entry             450 ext/phar/zip.c 		phar_add_virtual_dirs(mydata, entry.filename, entry.filename_len);
entry             454 ext/phar/zip.c 			if (FAILURE == phar_zip_process_extra(fp, &entry, PHAR_GET_16(zipentry.extra_len))) {
entry             455 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             466 ext/phar/zip.c 				entry.flags |= PHAR_ENT_COMPRESSED_GZ;
entry             468 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             473 ext/phar/zip.c 				entry.flags |= PHAR_ENT_COMPRESSED_BZ2;
entry             475 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             480 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             486 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             489 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             492 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             495 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             498 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             501 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             504 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             507 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             510 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             513 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             516 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             523 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             528 ext/phar/zip.c 			entry.metadata_len = PHAR_GET_16(zipentry.comment_len);
entry             530 ext/phar/zip.c 			if (phar_parse_metadata(&p, &(entry.metadata), PHAR_GET_16(zipentry.comment_len)) == FAILURE) {
entry             531 ext/phar/zip.c 				entry.metadata_len = 0;
entry             534 ext/phar/zip.c 				ZVAL_NEW_STR(&entry.metadata, zend_string_init(buf, PHAR_GET_16(zipentry.comment_len), entry.is_persistent));
entry             537 ext/phar/zip.c 			ZVAL_UNDEF(&entry.metadata);
entry             540 ext/phar/zip.c 		if (!actual_alias && entry.filename_len == sizeof(".phar/alias.txt")-1 && !strncmp(entry.filename, ".phar/alias.txt", sizeof(".phar/alias.txt")-1)) {
entry             551 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             556 ext/phar/zip.c 			if (entry.filename_len != PHAR_GET_16(local.filename_len) || entry.crc32 != PHAR_GET_32(local.crc32) || entry.uncompressed_filesize != PHAR_GET_32(local.uncompsize) || entry.compressed_filesize != PHAR_GET_32(local.compsize)) {
entry             557 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             562 ext/phar/zip.c 			entry.offset = entry.offset_abs =
entry             563 ext/phar/zip.c 				sizeof(local) + entry.header_offset + PHAR_GET_16(local.filename_len) + PHAR_GET_16(local.extra_len);
entry             564 ext/phar/zip.c 			php_stream_seek(fp, entry.offset, SEEK_SET);
entry             568 ext/phar/zip.c 			php_stream_seek(fp, entry.offset, SEEK_SET);
entry             573 ext/phar/zip.c 			mydata->alias_len = entry.uncompressed_filesize;
entry             574 ext/phar/zip.c 			if (entry.flags & PHAR_ENT_COMPRESSED_GZ) {
entry             578 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             587 ext/phar/zip.c 					zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0);
entry             589 ext/phar/zip.c 						entry.uncompressed_filesize = ZSTR_LEN(str);
entry             594 ext/phar/zip.c 						entry.uncompressed_filesize = 0;
entry             598 ext/phar/zip.c 				if (!entry.uncompressed_filesize || !actual_alias) {
entry             599 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             606 ext/phar/zip.c 			} else if (entry.flags & PHAR_ENT_COMPRESSED_BZ2) {
entry             610 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             619 ext/phar/zip.c 					zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0);
entry             621 ext/phar/zip.c 						entry.uncompressed_filesize = ZSTR_LEN(str);
entry             626 ext/phar/zip.c 						entry.uncompressed_filesize = 0;
entry             630 ext/phar/zip.c 				if (!entry.uncompressed_filesize || !actual_alias) {
entry             631 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             641 ext/phar/zip.c 					zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0);
entry             643 ext/phar/zip.c 						entry.uncompressed_filesize = ZSTR_LEN(str);
entry             648 ext/phar/zip.c 						entry.uncompressed_filesize = 0;
entry             652 ext/phar/zip.c 				if (!entry.uncompressed_filesize || !actual_alias) {
entry             653 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             662 ext/phar/zip.c 		phar_set_inode(&entry);
entry             663 ext/phar/zip.c 		zend_hash_str_add_mem(&mydata->manifest, entry.filename, entry.filename_len, (void *)&entry, sizeof(phar_entry_info));
entry             701 ext/phar/zip.c 		mydata->alias = entry.is_persistent ? pestrndup(actual_alias, mydata->alias_len, 1) : actual_alias;
entry             703 ext/phar/zip.c 		if (entry.is_persistent) {
entry             788 ext/phar/zip.c static int phar_zip_changed_apply_int(phar_entry_info *entry, void *arg) /* {{{ */
entry             799 ext/phar/zip.c 	if (entry->is_mounted) {
entry             803 ext/phar/zip.c 	if (entry->is_deleted) {
entry             804 ext/phar/zip.c 		if (entry->fp_refcount <= 0) {
entry             812 ext/phar/zip.c 	phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len);
entry             823 ext/phar/zip.c 	PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK);
entry             831 ext/phar/zip.c 	if (entry->flags & PHAR_ENT_COMPRESSED_GZ) {
entry             836 ext/phar/zip.c 	if (entry->flags & PHAR_ENT_COMPRESSED_BZ2) {
entry             842 ext/phar/zip.c 	phar_zip_u2d_time(entry->timestamp, local.timestamp, local.datestamp);
entry             845 ext/phar/zip.c 	PHAR_SET_16(central.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0));
entry             846 ext/phar/zip.c 	PHAR_SET_16(local.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0));
entry             850 ext/phar/zip.c 	if (entry->is_modified) {
entry             855 ext/phar/zip.c 		if (entry->is_dir) {
entry             856 ext/phar/zip.c 			entry->is_modified = 0;
entry             857 ext/phar/zip.c 			if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) {
entry             858 ext/phar/zip.c 				php_stream_close(entry->fp);
entry             859 ext/phar/zip.c 				entry->fp = NULL;
entry             860 ext/phar/zip.c 				entry->fp_type = PHAR_FP;
entry             865 ext/phar/zip.c 		if (FAILURE == phar_open_entry_fp(entry, p->error, 0)) {
entry             866 ext/phar/zip.c 			spprintf(p->error, 0, "unable to open file contents of file \"%s\" in zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry             871 ext/phar/zip.c 		if (entry->flags & PHAR_ENT_COMPRESSION_MASK && (entry->old_flags == entry->flags || !entry->old_flags)) {
entry             876 ext/phar/zip.c 		if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0)) {
entry             877 ext/phar/zip.c 			spprintf(p->error, 0, "unable to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry             881 ext/phar/zip.c 		efp = phar_get_efp(entry, 0);
entry             884 ext/phar/zip.c 		for (loc = 0;loc < entry->uncompressed_filesize; ++loc) {
entry             888 ext/phar/zip.c 		entry->crc32 = ~newcrc32;
entry             889 ext/phar/zip.c 		PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize);
entry             890 ext/phar/zip.c 		PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize);
entry             892 ext/phar/zip.c 		if (!(entry->flags & PHAR_ENT_COMPRESSION_MASK)) {
entry             894 ext/phar/zip.c 			entry->compressed_filesize = entry->uncompressed_filesize;
entry             895 ext/phar/zip.c 			PHAR_SET_32(central.compsize, entry->uncompressed_filesize);
entry             896 ext/phar/zip.c 			PHAR_SET_32(local.compsize, entry->uncompressed_filesize);
entry             900 ext/phar/zip.c 		filter = php_stream_filter_create(phar_compress_filter(entry, 0), NULL, 0);
entry             903 ext/phar/zip.c 			if (entry->flags & PHAR_ENT_COMPRESSED_GZ) {
entry             904 ext/phar/zip.c 				spprintf(p->error, 0, "unable to gzip compress file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry             906 ext/phar/zip.c 				spprintf(p->error, 0, "unable to bzip2 compress file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry             914 ext/phar/zip.c 		entry->cfp = php_stream_fopen_tmpfile();
entry             916 ext/phar/zip.c 		if (!entry->cfp) {
entry             917 ext/phar/zip.c 			spprintf(p->error, 0, "unable to create temporary file for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry             923 ext/phar/zip.c 		if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0)) {
entry             924 ext/phar/zip.c 			spprintf(p->error, 0, "unable to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry             928 ext/phar/zip.c 		php_stream_filter_append((&entry->cfp->writefilters), filter);
entry             930 ext/phar/zip.c 		if (SUCCESS != php_stream_copy_to_stream_ex(efp, entry->cfp, entry->uncompressed_filesize, NULL)) {
entry             931 ext/phar/zip.c 			spprintf(p->error, 0, "unable to copy compressed file contents of file \"%s\" while creating new phar \"%s\"", entry->filename, entry->phar->fname);
entry             936 ext/phar/zip.c 		php_stream_flush(entry->cfp);
entry             938 ext/phar/zip.c 		php_stream_seek(entry->cfp, 0, SEEK_END);
entry             939 ext/phar/zip.c 		entry->compressed_filesize = (php_uint32) php_stream_tell(entry->cfp);
entry             940 ext/phar/zip.c 		PHAR_SET_32(central.compsize, entry->compressed_filesize);
entry             941 ext/phar/zip.c 		PHAR_SET_32(local.compsize, entry->compressed_filesize);
entry             943 ext/phar/zip.c 		php_stream_rewind(entry->cfp);
entry             944 ext/phar/zip.c 		entry->old_flags = entry->flags;
entry             945 ext/phar/zip.c 		entry->is_modified = 1;
entry             948 ext/phar/zip.c 		PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize);
entry             949 ext/phar/zip.c 		PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize);
entry             950 ext/phar/zip.c 		PHAR_SET_32(central.compsize, entry->compressed_filesize);
entry             951 ext/phar/zip.c 		PHAR_SET_32(local.compsize, entry->compressed_filesize);
entry             953 ext/phar/zip.c 			if (-1 == php_stream_seek(p->old, entry->offset_abs, SEEK_SET)) {
entry             954 ext/phar/zip.c 				spprintf(p->error, 0, "unable to seek to start of file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry             960 ext/phar/zip.c 	PHAR_SET_32(central.crc32, entry->crc32);
entry             961 ext/phar/zip.c 	PHAR_SET_32(local.crc32, entry->crc32);
entry             964 ext/phar/zip.c 	if (Z_TYPE(entry->metadata) != IS_UNDEF) {
entry             967 ext/phar/zip.c 		if (entry->metadata_str.s) {
entry             968 ext/phar/zip.c 			smart_str_free(&entry->metadata_str);
entry             970 ext/phar/zip.c 		entry->metadata_str.s = NULL;
entry             972 ext/phar/zip.c 		php_var_serialize(&entry->metadata_str, &entry->metadata, &metadata_hash);
entry             974 ext/phar/zip.c 		PHAR_SET_16(central.comment_len, ZSTR_LEN(entry->metadata_str.s));
entry             977 ext/phar/zip.c 	entry->header_offset = php_stream_tell(p->filefp);
entry             978 ext/phar/zip.c 	offset = entry->header_offset + sizeof(local) + entry->filename_len + (entry->is_dir ? 1 : 0) + sizeof(perms);
entry             981 ext/phar/zip.c 		spprintf(p->error, 0, "unable to write local file header of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry             986 ext/phar/zip.c 		spprintf(p->error, 0, "unable to write central directory entry for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry             990 ext/phar/zip.c 	if (entry->is_dir) {
entry             991 ext/phar/zip.c 		if (entry->filename_len != php_stream_write(p->filefp, entry->filename, entry->filename_len)) {
entry             992 ext/phar/zip.c 			spprintf(p->error, 0, "unable to write filename to local directory entry for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry             997 ext/phar/zip.c 			spprintf(p->error, 0, "unable to write filename to local directory entry for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry            1001 ext/phar/zip.c 		if (entry->filename_len != php_stream_write(p->centralfp, entry->filename, entry->filename_len)) {
entry            1002 ext/phar/zip.c 			spprintf(p->error, 0, "unable to write filename to central directory entry for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry            1007 ext/phar/zip.c 			spprintf(p->error, 0, "unable to write filename to central directory entry for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry            1011 ext/phar/zip.c 		if (entry->filename_len != php_stream_write(p->filefp, entry->filename, entry->filename_len)) {
entry            1012 ext/phar/zip.c 			spprintf(p->error, 0, "unable to write filename to local directory entry for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry            1016 ext/phar/zip.c 		if (entry->filename_len != php_stream_write(p->centralfp, entry->filename, entry->filename_len)) {
entry            1017 ext/phar/zip.c 			spprintf(p->error, 0, "unable to write filename to central directory entry for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry            1023 ext/phar/zip.c 		spprintf(p->error, 0, "unable to write local extra permissions file header of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry            1028 ext/phar/zip.c 		spprintf(p->error, 0, "unable to write central extra permissions file header of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry            1032 ext/phar/zip.c 	if (!not_really_modified && entry->is_modified) {
entry            1033 ext/phar/zip.c 		if (entry->cfp) {
entry            1034 ext/phar/zip.c 			if (SUCCESS != php_stream_copy_to_stream_ex(entry->cfp, p->filefp, entry->compressed_filesize, NULL)) {
entry            1035 ext/phar/zip.c 				spprintf(p->error, 0, "unable to write compressed contents of file \"%s\" in zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry            1039 ext/phar/zip.c 			php_stream_close(entry->cfp);
entry            1040 ext/phar/zip.c 			entry->cfp = NULL;
entry            1042 ext/phar/zip.c 			if (FAILURE == phar_open_entry_fp(entry, p->error, 0)) {
entry            1046 ext/phar/zip.c 			phar_seek_efp(entry, 0, SEEK_SET, 0, 0);
entry            1048 ext/phar/zip.c 			if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_efp(entry, 0), p->filefp, entry->uncompressed_filesize, NULL)) {
entry            1049 ext/phar/zip.c 				spprintf(p->error, 0, "unable to write contents of file \"%s\" in zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry            1054 ext/phar/zip.c 		if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp && entry->fp_refcount == 0) {
entry            1055 ext/phar/zip.c 			php_stream_close(entry->fp);
entry            1058 ext/phar/zip.c 		entry->is_modified = 0;
entry            1060 ext/phar/zip.c 		entry->is_modified = 0;
entry            1061 ext/phar/zip.c 		if (entry->fp_refcount) {
entry            1063 ext/phar/zip.c 			switch (entry->fp_type) {
entry            1074 ext/phar/zip.c 		if (!entry->is_dir && entry->compressed_filesize && SUCCESS != php_stream_copy_to_stream_ex(p->old, p->filefp, entry->compressed_filesize, NULL)) {
entry            1075 ext/phar/zip.c 			spprintf(p->error, 0, "unable to copy contents of file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry            1080 ext/phar/zip.c 	entry->fp = NULL;
entry            1081 ext/phar/zip.c 	entry->offset = entry->offset_abs = offset;
entry            1082 ext/phar/zip.c 	entry->fp_type = PHAR_FP;
entry            1084 ext/phar/zip.c 	if (entry->metadata_str.s) {
entry            1085 ext/phar/zip.c 		if (ZSTR_LEN(entry->metadata_str.s) != php_stream_write(p->centralfp, ZSTR_VAL(entry->metadata_str.s), ZSTR_LEN(entry->metadata_str.s))) {
entry            1086 ext/phar/zip.c 			spprintf(p->error, 0, "unable to write metadata as file comment for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname);
entry            1087 ext/phar/zip.c 			smart_str_free(&entry->metadata_str);
entry            1091 ext/phar/zip.c 		smart_str_free(&entry->metadata_str);
entry            1111 ext/phar/zip.c 		phar_entry_info entry = {0};
entry            1142 ext/phar/zip.c 		entry.filename = ".phar/signature.bin";
entry            1143 ext/phar/zip.c 		entry.filename_len = sizeof(".phar/signature.bin")-1;
entry            1144 ext/phar/zip.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1145 ext/phar/zip.c 		entry.fp_type = PHAR_MOD;
entry            1146 ext/phar/zip.c 		entry.is_modified = 1;
entry            1147 ext/phar/zip.c 		if (entry.fp == NULL) {
entry            1155 ext/phar/zip.c 		if (8 != (int)php_stream_write(entry.fp, sigbuf, 8) || signature_length != (int)php_stream_write(entry.fp, signature, signature_length)) {
entry            1166 ext/phar/zip.c 		entry.uncompressed_filesize = entry.compressed_filesize = signature_length + 8;
entry            1167 ext/phar/zip.c 		entry.phar = phar;
entry            1169 ext/phar/zip.c 		phar_zip_changed_apply_int(&entry, (void *)pass);
entry            1193 ext/phar/zip.c 	phar_entry_info entry = {0};
entry            1200 ext/phar/zip.c 	entry.flags = PHAR_ENT_PERM_DEF_FILE;
entry            1201 ext/phar/zip.c 	entry.timestamp = time(NULL);
entry            1202 ext/phar/zip.c 	entry.is_modified = 1;
entry            1203 ext/phar/zip.c 	entry.is_zip = 1;
entry            1204 ext/phar/zip.c 	entry.phar = phar;
entry            1205 ext/phar/zip.c 	entry.fp_type = PHAR_MOD;
entry            1220 ext/phar/zip.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1221 ext/phar/zip.c 		if (entry.fp == NULL) {
entry            1225 ext/phar/zip.c 		if (phar->alias_len != (int)php_stream_write(entry.fp, phar->alias, phar->alias_len)) {
entry            1232 ext/phar/zip.c 		entry.uncompressed_filesize = entry.compressed_filesize = phar->alias_len;
entry            1233 ext/phar/zip.c 		entry.filename = estrndup(".phar/alias.txt", sizeof(".phar/alias.txt")-1);
entry            1234 ext/phar/zip.c 		entry.filename_len = sizeof(".phar/alias.txt")-1;
entry            1236 ext/phar/zip.c 		if (NULL == zend_hash_str_update_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info))) {
entry            1312 ext/phar/zip.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1313 ext/phar/zip.c 		if (entry.fp == NULL) {
entry            1317 ext/phar/zip.c 		entry.uncompressed_filesize = len + 5;
entry            1319 ext/phar/zip.c 		if ((size_t)len != php_stream_write(entry.fp, user_stub, len)
entry            1320 ext/phar/zip.c 		||            5 != php_stream_write(entry.fp, " ?>\r\n", 5)) {
entry            1327 ext/phar/zip.c 			php_stream_close(entry.fp);
entry            1331 ext/phar/zip.c 		entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1);
entry            1332 ext/phar/zip.c 		entry.filename_len = sizeof(".phar/stub.php")-1;
entry            1334 ext/phar/zip.c 		if (NULL == zend_hash_str_update_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info))) {
entry            1349 ext/phar/zip.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1350 ext/phar/zip.c 		if (entry.fp == NULL) {
entry            1354 ext/phar/zip.c 		if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) {
entry            1355 ext/phar/zip.c 			php_stream_close(entry.fp);
entry            1362 ext/phar/zip.c 		entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1;
entry            1363 ext/phar/zip.c 		entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1);
entry            1364 ext/phar/zip.c 		entry.filename_len = sizeof(".phar/stub.php")-1;
entry            1368 ext/phar/zip.c 				if (NULL == zend_hash_str_add_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info))) {
entry            1369 ext/phar/zip.c 					php_stream_close(entry.fp);
entry            1370 ext/phar/zip.c 					efree(entry.filename);
entry            1377 ext/phar/zip.c 				php_stream_close(entry.fp);
entry            1378 ext/phar/zip.c 				efree(entry.filename);
entry            1381 ext/phar/zip.c 			if (NULL == zend_hash_str_update_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info))) {
entry            1382 ext/phar/zip.c 				php_stream_close(entry.fp);
entry            1383 ext/phar/zip.c 				efree(entry.filename);
entry             448 ext/readline/readline.c 	zval *entry;
entry             454 ext/readline/readline.c 	while ((entry = zend_hash_get_current_data(myht)) != NULL) {
entry             457 ext/readline/readline.c 		convert_to_string_ex(entry);
entry             458 ext/readline/readline.c 		if (strncmp (Z_STRVAL_P(entry), text, strlen(text)) == 0) {
entry             459 ext/readline/readline.c 			return (strdup(Z_STRVAL_P(entry)));
entry             280 ext/session/mod_files.c 	struct dirent *entry = (struct dirent *) &dentry;
entry             301 ext/session/mod_files.c 	while (php_readdir_r(dir, (struct dirent *) dentry, &entry) == 0 && entry) {
entry             303 ext/session/mod_files.c 		if (!strncmp(entry->d_name, FILE_PREFIX, sizeof(FILE_PREFIX) - 1)) {
entry             304 ext/session/mod_files.c 			size_t entry_len = strlen(entry->d_name);
entry             309 ext/session/mod_files.c 				memcpy(buf + dirname_len + 1, entry->d_name, entry_len);
entry             718 ext/session/session.c 	OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             742 ext/session/session.c 	OnUpdateStringUnempty(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             517 ext/soap/soap.c 	OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             840 ext/sockets/conversions.c 	ancillary_reg_entry	*entry;
entry             864 ext/sockets/conversions.c 	entry = get_ancillary_reg_entry(level, type);
entry             865 ext/sockets/conversions.c 	if (entry == NULL) {
entry             871 ext/sockets/conversions.c 	if (entry->calc_space) {
entry             878 ext/sockets/conversions.c 		data_len = entry->calc_space(data_elem, ctx);
entry             883 ext/sockets/conversions.c 		data_len = entry->size;
entry             901 ext/sockets/conversions.c 	descriptor_data[0].from_zval = entry->from_array;
entry             956 ext/sockets/conversions.c 	ancillary_reg_entry		*entry;
entry             960 ext/sockets/conversions.c 	entry = get_ancillary_reg_entry(cmsg->cmsg_level, cmsg->cmsg_type);
entry             961 ext/sockets/conversions.c 	if (entry == NULL) {
entry             966 ext/sockets/conversions.c 	if (CMSG_LEN(entry->size) > cmsg->cmsg_len) {
entry             969 ext/sockets/conversions.c 				(zend_long)CMSG_LEN(entry->size), (zend_long)cmsg->cmsg_len);
entry             980 ext/sockets/conversions.c 	entry->to_array((const char *)CMSG_DATA(cmsg), zv, ctx);
entry              95 ext/sockets/sendrecvmsg.c 	ancillary_reg_entry entry;
entry             102 ext/sockets/sendrecvmsg.c 	entry.size			= sizev; \
entry             103 ext/sockets/sendrecvmsg.c 	entry.var_el_size	= var_size; \
entry             104 ext/sockets/sendrecvmsg.c 	entry.calc_space	= calc; \
entry             105 ext/sockets/sendrecvmsg.c 	entry.from_array	= from; \
entry             106 ext/sockets/sendrecvmsg.c 	entry.to_array		= to; \
entry             109 ext/sockets/sendrecvmsg.c 	zend_hash_str_update_mem(&ancillary_registry.ht, (char*)&key, sizeof(key) - 1, (void*)&entry, sizeof(entry))
entry             147 ext/sockets/sendrecvmsg.c 	ancillary_reg_entry	*entry;
entry             159 ext/sockets/sendrecvmsg.c 	if ((entry = zend_hash_str_find_ptr(&ancillary_registry.ht, (char*)&key, sizeof(key) - 1)) != NULL) {
entry             160 ext/sockets/sendrecvmsg.c 		return entry;
entry             283 ext/sockets/sendrecvmsg.c 	ancillary_reg_entry	*entry;
entry             300 ext/sockets/sendrecvmsg.c 	entry = get_ancillary_reg_entry(level, type);
entry             301 ext/sockets/sendrecvmsg.c 	if (entry == NULL) {
entry             307 ext/sockets/sendrecvmsg.c 	if (entry->var_el_size > 0 && n > (ZEND_LONG_MAX - (zend_long)entry->size -
entry             308 ext/sockets/sendrecvmsg.c 			(zend_long)CMSG_SPACE(0) - 15L) / entry->var_el_size) {
entry             315 ext/sockets/sendrecvmsg.c 	RETURN_LONG((zend_long)CMSG_SPACE(entry->size + n * entry->var_el_size));
entry             786 ext/spl/php_spl.c int spl_build_class_list_string(zval *entry, char **list) /* {{{ */
entry             790 ext/spl/php_spl.c 	spprintf(&res, 0, "%s, %s", *list, Z_STRVAL_P(entry));
entry            1512 ext/spl/spl_array.c 	zval *entry;
entry            1523 ext/spl/spl_array.c 	if ((entry = zend_hash_get_current_data_ex(aht, spl_array_get_pos_ptr(aht, intern))) == NULL) {
entry            1526 ext/spl/spl_array.c 	if (Z_TYPE_P(entry) == IS_INDIRECT) {
entry            1527 ext/spl/spl_array.c 		entry = Z_INDIRECT_P(entry);
entry            1528 ext/spl/spl_array.c 		if (Z_TYPE_P(entry) == IS_UNDEF) {
entry            1532 ext/spl/spl_array.c 	ZVAL_DEREF(entry);
entry            1533 ext/spl/spl_array.c 	ZVAL_COPY(return_value, entry);
entry            1605 ext/spl/spl_array.c 	zval *object = getThis(), *entry;
entry            1617 ext/spl/spl_array.c 	if ((entry = zend_hash_get_current_data_ex(aht, spl_array_get_pos_ptr(aht, intern))) == NULL) {
entry            1621 ext/spl/spl_array.c 	RETURN_BOOL(Z_TYPE_P(entry) == IS_ARRAY || (Z_TYPE_P(entry) == IS_OBJECT && (intern->ar_flags & SPL_ARRAY_CHILD_ARRAYS_ONLY) == 0));
entry            1629 ext/spl/spl_array.c 	zval *object = getThis(), *entry, flags;
entry            1641 ext/spl/spl_array.c 	if ((entry = zend_hash_get_current_data_ex(aht, spl_array_get_pos_ptr(aht, intern))) == NULL) {
entry            1645 ext/spl/spl_array.c 	if (Z_TYPE_P(entry) == IS_OBJECT) {
entry            1649 ext/spl/spl_array.c 		if (instanceof_function(Z_OBJCE_P(entry), Z_OBJCE_P(getThis()))) {
entry            1650 ext/spl/spl_array.c 			ZVAL_OBJ(return_value, Z_OBJ_P(entry));
entry            1657 ext/spl/spl_array.c 	spl_instantiate_arg_ex2(Z_OBJCE_P(getThis()), return_value, entry, &flags);
entry             204 ext/spl/spl_directory.c 			                                 slash, intern->u.dir.entry.d_name);
entry             211 ext/spl/spl_directory.c 	if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) {
entry             212 ext/spl/spl_directory.c 		intern->u.dir.entry.d_name[0] = '\0';
entry             246 ext/spl/spl_directory.c 		intern->u.dir.entry.d_name[0] = '\0';
entry             255 ext/spl/spl_directory.c 		} while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
entry             353 ext/spl/spl_directory.c 				} while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
entry             468 ext/spl/spl_directory.c 			if (!source->u.dir.entry.d_name[0]) {
entry             567 ext/spl/spl_directory.c 			if (intern->u.dir.entry.d_name[0]) {
entry             660 ext/spl/spl_directory.c 	if (fsobj->u.dir.entry.d_name[0] == '\0' && fsobj->orig_path == NULL) {
entry             804 ext/spl/spl_directory.c 	} while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
entry             854 ext/spl/spl_directory.c 	RETURN_BOOL(intern->u.dir.entry.d_name[0] != '\0');
entry             906 ext/spl/spl_directory.c 	RETURN_STRING(intern->u.dir.entry.d_name);
entry             964 ext/spl/spl_directory.c 	fname = php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), NULL, 0);
entry            1018 ext/spl/spl_directory.c 	fname = php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen);
entry            1055 ext/spl/spl_directory.c 		RETURN_STRING(intern->u.dir.entry.d_name);
entry            1097 ext/spl/spl_directory.c 	RETURN_BOOL(spl_filesystem_is_dot(intern->u.dir.entry.d_name));
entry            1279 ext/spl/spl_directory.c 	if (intern->type == SPL_FS_DIR && !intern->file_name && intern->u.dir.entry.d_name[0]) {
entry            1429 ext/spl/spl_directory.c 	} while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
entry            1471 ext/spl/spl_directory.c 	if (spl_filesystem_is_invalid_or_dot(intern->u.dir.entry.d_name)) {
entry            1510 ext/spl/spl_directory.c 			subdir->u.dir.sub_path_len = (int)spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name);
entry            1512 ext/spl/spl_directory.c 			subdir->u.dir.sub_path_len = (int)strlen(intern->u.dir.entry.d_name);
entry            1513 ext/spl/spl_directory.c 			subdir->u.dir.sub_path = estrndup(intern->u.dir.entry.d_name, subdir->u.dir.sub_path_len);
entry            1552 ext/spl/spl_directory.c 		RETURN_NEW_STR(strpprintf(0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name));
entry            1554 ext/spl/spl_directory.c 		RETURN_STRING(intern->u.dir.entry.d_name);
entry            1657 ext/spl/spl_directory.c 	return object->u.dir.entry.d_name[0] != '\0' ? SUCCESS : FAILURE;
entry            1753 ext/spl/spl_directory.c 		ZVAL_STRING(key, object->u.dir.entry.d_name);
entry            1770 ext/spl/spl_directory.c 	} while (spl_filesystem_is_dot(object->u.dir.entry.d_name));
entry            1794 ext/spl/spl_directory.c 	} while (spl_filesystem_is_dot(object->u.dir.entry.d_name));
entry            1861 ext/spl/spl_directory.c 				ZVAL_STRING(retval_ptr, intern->u.dir.entry.d_name);
entry            1865 ext/spl/spl_directory.c 				ZVAL_STRING(writeobj, intern->u.dir.entry.d_name);
entry              77 ext/spl/spl_directory.h 			php_stream_dirent  entry;
entry            1199 ext/spl/spl_iterators.c 	zval                       prefix, entry, postfix;
entry            1229 ext/spl/spl_iterators.c 	ZVAL_NULL(&entry);
entry            1231 ext/spl/spl_iterators.c 	spl_recursive_tree_iterator_get_entry(object, &entry);
entry            1232 ext/spl/spl_iterators.c 	if (Z_TYPE(entry) != IS_STRING) {
entry            1234 ext/spl/spl_iterators.c 		zval_ptr_dtor(&entry);
entry            1239 ext/spl/spl_iterators.c 	str = zend_string_alloc(Z_STRLEN(prefix) + Z_STRLEN(entry) + Z_STRLEN(postfix), 0);
entry            1244 ext/spl/spl_iterators.c 	memcpy(ptr, Z_STRVAL(entry), Z_STRLEN(entry));
entry            1245 ext/spl/spl_iterators.c 	ptr += Z_STRLEN(entry);
entry            1251 ext/spl/spl_iterators.c 	zval_ptr_dtor(&entry);
entry             745 ext/spl/spl_observer.c 	zval entry, inf;
entry             787 ext/spl/spl_observer.c 		if (!php_var_unserialize(&entry, &p, s + buf_len, &var_hash)) {
entry             790 ext/spl/spl_observer.c 		if (Z_TYPE(entry) != IS_OBJECT) {
entry             791 ext/spl/spl_observer.c 			zval_ptr_dtor(&entry);
entry             797 ext/spl/spl_observer.c 				zval_ptr_dtor(&entry);
entry             804 ext/spl/spl_observer.c 		hash = spl_object_storage_get_hash(intern, getThis(), &entry);
entry             806 ext/spl/spl_observer.c 			zval_ptr_dtor(&entry);
entry             820 ext/spl/spl_observer.c 		element = spl_object_storage_attach(intern, getThis(), &entry, Z_ISUNDEF(inf)?NULL:&inf);
entry             821 ext/spl/spl_observer.c 		var_replace(&var_hash, &entry, &element->obj);
entry             823 ext/spl/spl_observer.c 		zval_ptr_dtor(&entry);
entry             824 ext/spl/spl_observer.c 		ZVAL_UNDEF(&entry);
entry            1147 ext/standard/array.c 	zval *entry;
entry            1162 ext/standard/array.c 		if ((entry = zend_hash_get_current_data(array)) == NULL) {
entry            1166 ext/standard/array.c 		if (Z_TYPE_P(entry) == IS_INDIRECT) {
entry            1167 ext/standard/array.c 			entry = Z_INDIRECT_P(entry);
entry            1170 ext/standard/array.c 		ZVAL_DEREF(entry);
entry            1171 ext/standard/array.c 		ZVAL_COPY(return_value, entry);
entry            1181 ext/standard/array.c 	zval *entry;
entry            1196 ext/standard/array.c 		if ((entry = zend_hash_get_current_data(array)) == NULL) {
entry            1200 ext/standard/array.c 		if (Z_TYPE_P(entry) == IS_INDIRECT) {
entry            1201 ext/standard/array.c 			entry = Z_INDIRECT_P(entry);
entry            1204 ext/standard/array.c 		ZVAL_DEREF(entry);
entry            1205 ext/standard/array.c 		ZVAL_COPY(return_value, entry);
entry            1215 ext/standard/array.c 	zval *entry;
entry            1230 ext/standard/array.c 		if ((entry = zend_hash_get_current_data(array)) == NULL) {
entry            1234 ext/standard/array.c 		if (Z_TYPE_P(entry) == IS_INDIRECT) {
entry            1235 ext/standard/array.c 			entry = Z_INDIRECT_P(entry);
entry            1238 ext/standard/array.c 		ZVAL_DEREF(entry);
entry            1239 ext/standard/array.c 		ZVAL_COPY(return_value, entry);
entry            1249 ext/standard/array.c 	zval *entry;
entry            1264 ext/standard/array.c 		if ((entry = zend_hash_get_current_data(array)) == NULL) {
entry            1268 ext/standard/array.c 		if (Z_TYPE_P(entry) == IS_INDIRECT) {
entry            1269 ext/standard/array.c 			entry = Z_INDIRECT_P(entry);
entry            1272 ext/standard/array.c 		ZVAL_DEREF(entry);
entry            1273 ext/standard/array.c 		ZVAL_COPY(return_value, entry);
entry            1283 ext/standard/array.c 	zval *entry;
entry            1295 ext/standard/array.c 	if ((entry = zend_hash_get_current_data(array)) == NULL) {
entry            1299 ext/standard/array.c 	if (Z_TYPE_P(entry) == IS_INDIRECT) {
entry            1300 ext/standard/array.c 		entry = Z_INDIRECT_P(entry);
entry            1303 ext/standard/array.c 	ZVAL_DEREF(entry);
entry            1304 ext/standard/array.c 	ZVAL_COPY(return_value, entry);
entry            1594 ext/standard/array.c 		 *entry;				/* pointer to array entry */
entry            1613 ext/standard/array.c 		ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(array), num_idx, str_idx, entry) {
entry            1614 ext/standard/array.c 			ZVAL_DEREF(entry);
entry            1615 ext/standard/array.c 			if (fast_is_identical_function(value, entry)) {
entry            1631 ext/standard/array.c 			ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(array), num_idx, str_idx, entry) {
entry            1632 ext/standard/array.c 				if (fast_equal_check_long(value, entry)) {
entry            1646 ext/standard/array.c 			ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(array), num_idx, str_idx, entry) {
entry            1647 ext/standard/array.c 				if (fast_equal_check_string(value, entry)) {
entry            1661 ext/standard/array.c 			ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(array), num_idx, str_idx, entry) {
entry            1662 ext/standard/array.c 				if (fast_equal_check_function(value, entry)) {
entry            1776 ext/standard/array.c 	zval *entry;
entry            1833 ext/standard/array.c 	ZEND_HASH_FOREACH_KEY_VAL_IND(Z_ARRVAL(var_array), num_key, var_name, entry) {
entry            1904 ext/standard/array.c 				ZVAL_MAKE_REF(entry);
entry            1905 ext/standard/array.c 				Z_ADDREF_P(entry);
entry            1912 ext/standard/array.c 					ZVAL_COPY_VALUE(orig_var, entry);
entry            1914 ext/standard/array.c 					zend_hash_update(symbol_table, Z_STR(final_name), entry);
entry            1917 ext/standard/array.c 				ZVAL_DEREF(entry);
entry            1918 ext/standard/array.c 				if (Z_REFCOUNTED_P(entry)) Z_ADDREF_P(entry);
entry            1925 ext/standard/array.c 					ZVAL_COPY_VALUE(orig_var, entry);
entry            1927 ext/standard/array.c 					zend_hash_update(symbol_table, Z_STR(final_name), entry);
entry            1940 ext/standard/array.c static void php_compact_var(HashTable *eg_active_symbol_table, zval *return_value, zval *entry) /* {{{ */
entry            1944 ext/standard/array.c 	ZVAL_DEREF(entry);
entry            1945 ext/standard/array.c 	if (Z_TYPE_P(entry) == IS_STRING) {
entry            1946 ext/standard/array.c 		if ((value_ptr = zend_hash_find_ind(eg_active_symbol_table, Z_STR_P(entry))) != NULL) {
entry            1949 ext/standard/array.c 			zend_hash_update(Z_ARRVAL_P(return_value), Z_STR_P(entry), &data);
entry            1951 ext/standard/array.c 	} else if (Z_TYPE_P(entry) == IS_ARRAY) {
entry            1952 ext/standard/array.c 		if ((Z_ARRVAL_P(entry)->u.v.nApplyCount > 1)) {
entry            1957 ext/standard/array.c 	    if (ZEND_HASH_APPLY_PROTECTION(Z_ARRVAL_P(entry))) {
entry            1958 ext/standard/array.c 			Z_ARRVAL_P(entry)->u.v.nApplyCount++;
entry            1960 ext/standard/array.c 		ZEND_HASH_FOREACH_VAL_IND(Z_ARRVAL_P(entry), value_ptr) {
entry            1963 ext/standard/array.c 	    if (ZEND_HASH_APPLY_PROTECTION(Z_ARRVAL_P(entry))) {
entry            1964 ext/standard/array.c 			Z_ARRVAL_P(entry)->u.v.nApplyCount--;
entry            2046 ext/standard/array.c 	zval *keys, *val, *entry;
entry            2055 ext/standard/array.c 	ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(keys), entry) {
entry            2056 ext/standard/array.c 		ZVAL_DEREF(entry);
entry            2058 ext/standard/array.c 		if (Z_TYPE_P(entry) == IS_LONG) {
entry            2059 ext/standard/array.c 			zend_hash_index_update(Z_ARRVAL_P(return_value), Z_LVAL_P(entry), val);
entry            2061 ext/standard/array.c 			zend_string *key = zval_get_string(entry);
entry            2402 ext/standard/array.c 	zval		*entry;				/* Hash entry */
entry            2430 ext/standard/array.c 		entry = &p->val;
entry            2434 ext/standard/array.c 			zend_hash_next_index_insert_new(&out_hash, entry);
entry            2436 ext/standard/array.c 			zend_hash_add_new(&out_hash, p->key, entry);
entry            2453 ext/standard/array.c 			entry = &p->val;
entry            2454 ext/standard/array.c 			if (Z_REFCOUNTED_P(entry)) {
entry            2455 ext/standard/array.c 				Z_ADDREF_P(entry);
entry            2458 ext/standard/array.c 				zend_hash_next_index_insert_new(removed, entry);
entry            2461 ext/standard/array.c 				zend_hash_add_new(removed, p->key, entry);
entry            2491 ext/standard/array.c 		ZEND_HASH_FOREACH_VAL_IND(replace, entry) {
entry            2492 ext/standard/array.c 			if (Z_REFCOUNTED_P(entry)) Z_ADDREF_P(entry);
entry            2493 ext/standard/array.c 			zend_hash_next_index_insert_new(&out_hash, entry);
entry            2502 ext/standard/array.c 		entry = &p->val;
entry            2504 ext/standard/array.c 			zend_hash_next_index_insert_new(&out_hash, entry);
entry            2506 ext/standard/array.c 			zend_hash_add_new(&out_hash, p->key, entry);
entry            2878 ext/standard/array.c 			 *entry;		/* An array entry */
entry            2939 ext/standard/array.c 			ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(input), entry) {
entry            2947 ext/standard/array.c 				ZEND_HASH_FILL_ADD(entry);
entry            2948 ext/standard/array.c 				zval_add_ref(entry);
entry            2952 ext/standard/array.c 		ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(input), num_key, string_key, entry) {
entry            2962 ext/standard/array.c 				entry = zend_hash_add_new(Z_ARRVAL_P(return_value), string_key, entry);
entry            2965 ext/standard/array.c 					entry = zend_hash_index_add_new(Z_ARRVAL_P(return_value), num_key, entry);
entry            2967 ext/standard/array.c 					entry = zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), entry);
entry            2970 ext/standard/array.c 			zval_add_ref(entry);
entry            3306 ext/standard/array.c 	     *entry,				/* An entry in the input array */
entry            3330 ext/standard/array.c 			ZEND_HASH_FOREACH_KEY_VAL_IND(Z_ARRVAL_P(input), num_idx, str_idx, entry) {
entry            3331 ext/standard/array.c 				ZVAL_DEREF(entry);
entry            3332 ext/standard/array.c 				if (fast_is_identical_function(search_value, entry)) {
entry            3342 ext/standard/array.c 			ZEND_HASH_FOREACH_KEY_VAL_IND(Z_ARRVAL_P(input), num_idx, str_idx, entry) {
entry            3343 ext/standard/array.c 				if (fast_equal_check_function(search_value, entry)) {
entry            3361 ext/standard/array.c 			ZEND_HASH_FOREACH_KEY_VAL_IND(Z_ARRVAL_P(input), num_idx, str_idx, entry) {
entry            3379 ext/standard/array.c 			 *entry;		/* An entry in the input array */
entry            3402 ext/standard/array.c 		ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(input), entry) {
entry            3403 ext/standard/array.c 			if (UNEXPECTED(Z_ISREF_P(entry) && Z_REFCOUNT_P(entry) == 1)) {
entry            3404 ext/standard/array.c 				entry = Z_REFVAL_P(entry);
entry            3406 ext/standard/array.c 			Z_TRY_ADDREF_P(entry);
entry            3407 ext/standard/array.c 			ZEND_HASH_FILL_ADD(entry);
entry            3418 ext/standard/array.c 			*entry,		/* An entry in the input array */
entry            3431 ext/standard/array.c 	ZEND_HASH_FOREACH_VAL(myht, entry) {
entry            3432 ext/standard/array.c 		ZVAL_DEREF(entry);
entry            3433 ext/standard/array.c 		if (Z_TYPE_P(entry) == IS_LONG) {
entry            3434 ext/standard/array.c 			if ((tmp = zend_hash_index_find(Z_ARRVAL_P(return_value), Z_LVAL_P(entry))) == NULL) {
entry            3437 ext/standard/array.c 				zend_hash_index_update(Z_ARRVAL_P(return_value), Z_LVAL_P(entry), &data);
entry            3441 ext/standard/array.c 		} else if (Z_TYPE_P(entry) == IS_STRING) {
entry            3442 ext/standard/array.c 			if ((tmp = zend_symtable_find(Z_ARRVAL_P(return_value), Z_STR_P(entry))) == NULL) {
entry            3445 ext/standard/array.c 				zend_symtable_update(Z_ARRVAL_P(return_value), Z_STR_P(entry), &data);
entry            3570 ext/standard/array.c 			 *entry;				/* An entry in the input array */
entry            3582 ext/standard/array.c 	ZEND_HASH_REVERSE_FOREACH_KEY_VAL(Z_ARRVAL_P(input), num_key, string_key, entry) {
entry            3584 ext/standard/array.c 			entry = zend_hash_add_new(Z_ARRVAL_P(return_value), string_key, entry);
entry            3587 ext/standard/array.c 				entry = zend_hash_index_add_new(Z_ARRVAL_P(return_value), num_key, entry);
entry            3589 ext/standard/array.c 				entry = zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), entry);
entry            3593 ext/standard/array.c 		zval_add_ref(entry);
entry            3665 ext/standard/array.c 	zval *array, *entry, data;
entry            3675 ext/standard/array.c 	ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(array), num_idx, str_idx, entry) {
entry            3676 ext/standard/array.c 		ZVAL_DEREF(entry);
entry            3677 ext/standard/array.c 		if (Z_TYPE_P(entry) == IS_LONG) {
entry            3683 ext/standard/array.c 			zend_hash_index_update(Z_ARRVAL_P(return_value), Z_LVAL_P(entry), &data);
entry            3684 ext/standard/array.c 		} else if (Z_TYPE_P(entry) == IS_STRING) {
entry            3690 ext/standard/array.c 			zend_symtable_update(Z_ARRVAL_P(return_value), Z_STR_P(entry), &data);
entry            3702 ext/standard/array.c 	zval *array, *entry;
entry            3714 ext/standard/array.c 	ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(array), num_key, string_key, entry) {
entry            3716 ext/standard/array.c 			entry = zend_hash_index_update(Z_ARRVAL_P(return_value), num_key, entry);
entry            3723 ext/standard/array.c 			entry = zend_hash_update(Z_ARRVAL_P(return_value), new_key, entry);
entry            3727 ext/standard/array.c 		zval_add_ref(entry);
entry            5041 ext/standard/array.c 		 *entry,
entry            5050 ext/standard/array.c 	ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(input), entry) {
entry            5051 ext/standard/array.c 		if (Z_TYPE_P(entry) == IS_ARRAY || Z_TYPE_P(entry) == IS_OBJECT) {
entry            5054 ext/standard/array.c 		ZVAL_COPY(&entry_n, entry);
entry            5066 ext/standard/array.c 		 *entry,
entry            5079 ext/standard/array.c 	ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(input), entry) {
entry            5080 ext/standard/array.c 		if (Z_TYPE_P(entry) == IS_ARRAY || Z_TYPE_P(entry) == IS_OBJECT) {
entry            5083 ext/standard/array.c 		ZVAL_COPY(&entry_n, entry);
entry            5465 ext/standard/array.c 	zval *entry;
entry            5486 ext/standard/array.c 	ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(input), num_key, str_key, entry) {
entry            5495 ext/standard/array.c 				entry = zend_hash_update(Z_ARRVAL(chunk), str_key, entry);
entry            5497 ext/standard/array.c 				entry = zend_hash_index_update(Z_ARRVAL(chunk), num_key, entry);
entry            5500 ext/standard/array.c 			entry = zend_hash_next_index_insert(Z_ARRVAL(chunk), entry);
entry            5502 ext/standard/array.c 		zval_add_ref(entry);
entry            4274 ext/standard/basic_functions.c 		zval *entry;
entry            4286 ext/standard/basic_functions.c 		ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(args), entry) {
entry            4287 ext/standard/basic_functions.c 			zend_string *arg_str = zval_get_string(entry);
entry            4306 ext/standard/basic_functions.c 		zval *entry;
entry            4319 ext/standard/basic_functions.c 		ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(p_longopts), entry) {
entry            4320 ext/standard/basic_functions.c 			zend_string *arg_str = zval_get_string(entry);
entry            4561 ext/standard/basic_functions.c static int add_config_entry_cb(zval *entry, int num_args, va_list args, zend_hash_key *hash_key)
entry            4566 ext/standard/basic_functions.c 	if (Z_TYPE_P(entry) == IS_STRING) {
entry            4568 ext/standard/basic_functions.c 			add_assoc_str_ex(retval, ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key), zend_string_copy(Z_STR_P(entry)));
entry            4570 ext/standard/basic_functions.c 			add_index_str(retval, hash_key->h, zend_string_copy(Z_STR_P(entry)));
entry            4572 ext/standard/basic_functions.c 	} else if (Z_TYPE_P(entry) == IS_ARRAY) {
entry            4574 ext/standard/basic_functions.c 		zend_hash_apply_with_arguments(Z_ARRVAL_P(entry), add_config_entry_cb, 1, tmp);
entry             411 ext/standard/dir.c 	php_stream_dirent entry;
entry             420 ext/standard/dir.c 	if (php_stream_readdir(dirp, &entry)) {
entry             421 ext/standard/dir.c 		RETURN_STRINGL(entry.d_name, strlen(entry.d_name));
entry            1220 ext/standard/filestat.c 			zval entry;
entry            1222 ext/standard/filestat.c 			array_init(&entry);
entry            1226 ext/standard/filestat.c 				add_assoc_long_ex(&entry, "key", sizeof("key") - 1, bucket->key);
entry            1228 ext/standard/filestat.c 				add_assoc_double_ex(&entry, "key", sizeof("key") - 1, (double)bucket->key);
entry            1230 ext/standard/filestat.c 			add_assoc_bool_ex(&entry, "is_dir", sizeof("is_dir") - 1, bucket->is_dir);
entry            1231 ext/standard/filestat.c 			add_assoc_stringl_ex(&entry, "realpath", sizeof("realpath") - 1, bucket->realpath, bucket->realpath_len);
entry            1232 ext/standard/filestat.c 			add_assoc_long_ex(&entry, "expires", sizeof("expires") - 1, bucket->expires);
entry            1234 ext/standard/filestat.c 			add_assoc_bool_ex(&entry, "is_rvalid", sizeof("is_rvalid") - 1, bucket->is_rvalid);
entry            1235 ext/standard/filestat.c 			add_assoc_bool_ex(&entry, "is_wvalid", sizeof("is_wvalid") - 1, bucket->is_wvalid);
entry            1236 ext/standard/filestat.c 			add_assoc_bool_ex(&entry, "is_readable", sizeof("is_readable") - 1, bucket->is_readable);
entry            1237 ext/standard/filestat.c 			add_assoc_bool_ex(&entry, "is_writable", sizeof("is_writable") - 1, bucket->is_writable);
entry            1239 ext/standard/filestat.c 			zend_hash_str_update(Z_ARRVAL_P(return_value), bucket->path, bucket->path_len, &entry);
entry            3005 ext/standard/string.c 	zval *entry;
entry            3043 ext/standard/string.c 		ZEND_HASH_FOREACH_KEY_VAL(pats, num_key, str_key, entry) {
entry            3068 ext/standard/string.c 			zend_hash_add(&str_hash, key_used, entry);
entry            3095 ext/standard/string.c 					entry = zend_hash_str_find(pats, key, len);
entry            3096 ext/standard/string.c 					if (entry != NULL) {
entry            3097 ext/standard/string.c 						zend_string *s = zval_get_string(entry);
entry            3480 ext/standard/string.c 			zval *entry, tmp;
entry            3482 ext/standard/string.c 			ZEND_HASH_FOREACH_KEY_VAL(pats, num_key, str_key, entry) {
entry            3489 ext/standard/string.c 				replace = zval_get_string(entry);
entry            1028 ext/standard/var.c 			zval *entry;
entry            1031 ext/standard/var.c 			ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(classes), entry) {
entry            1032 ext/standard/var.c 				convert_to_string_ex(entry);
entry            1033 ext/standard/var.c 				lcname = zend_string_tolower(Z_STR_P(entry));
entry            1116 ext/tidy/tidy.c 	status = OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry              88 ext/xsl/php_xsl.h #define REGISTER_XSL_CLASS(ce, name, parent_ce, funcs, entry) \
entry              91 ext/xsl/php_xsl.h entry = zend_register_internal_class_ex(&ce, parent_ce);
entry             754 ext/xsl/xsltprocessor.c 	zval *array_value, *entry, new_string;
entry             763 ext/xsl/xsltprocessor.c 		ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(array_value), string_key, entry) {
entry             768 ext/xsl/xsltprocessor.c 			convert_to_string_ex(entry);
entry             769 ext/xsl/xsltprocessor.c 			if (Z_REFCOUNTED_P(entry)) {
entry             770 ext/xsl/xsltprocessor.c 				Z_ADDREF_P(entry);
entry             772 ext/xsl/xsltprocessor.c 			zend_hash_update(intern->parameter, string_key, entry);
entry             846 ext/xsl/xsltprocessor.c 	zval *array_value, *entry, new_string;
entry             854 ext/xsl/xsltprocessor.c 		ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(array_value), entry) {
entry             855 ext/xsl/xsltprocessor.c 			convert_to_string_ex(entry);
entry             857 ext/xsl/xsltprocessor.c 			zend_hash_update(intern->registered_phpfunctions, Z_STR_P(entry), &new_string);
entry              67 ext/zip/lib/zip_add_entry.c 	rentries = (zip_entry_t *)realloc(za->entry, sizeof(struct zip_entry) * (size_t)nalloc);
entry              72 ext/zip/lib/zip_add_entry.c 	za->entry = rentries;
entry              78 ext/zip/lib/zip_add_entry.c     _zip_entry_init(za->entry+idx);
entry             104 ext/zip/lib/zip_close.c 	if (za->entry[i].deleted)
entry             131 ext/zip/lib/zip_close.c 	zip_entry_t *entry;
entry             135 ext/zip/lib/zip_close.c 	entry = za->entry+i;
entry             137 ext/zip/lib/zip_close.c 	new_data = (ZIP_ENTRY_DATA_CHANGED(entry) || ZIP_ENTRY_CHANGED(entry, ZIP_DIRENT_COMP_METHOD));
entry             140 ext/zip/lib/zip_close.c 	if (entry->changes == NULL) {
entry             141 ext/zip/lib/zip_close.c 	    if ((entry->changes=_zip_dirent_clone(entry->orig)) == NULL) {
entry             147 ext/zip/lib/zip_close.c 	de = entry->changes;
entry             164 ext/zip/lib/zip_close.c 	    if (!ZIP_ENTRY_DATA_CHANGED(entry)) {
entry             172 ext/zip/lib/zip_close.c 	    if (add_data(za, zs ? zs : entry->source, de) < 0) {
entry             482 ext/zip/lib/zip_close.c 	if (za->entry[i].deleted || za->entry[i].source || (za->entry[i].changes && za->entry[i].changes->changed != 0))
entry             484 ext/zip/lib/zip_close.c 	if (!za->entry[i].deleted)
entry              66 ext/zip/lib/zip_delete.c     za->entry[idx].deleted = 1;
entry              57 ext/zip/lib/zip_dirent.c 	_zip_entry_finalize(cd->entry+i);
entry              58 ext/zip/lib/zip_dirent.c     free(cd->entry);
entry              76 ext/zip/lib/zip_dirent.c 	cd->entry = NULL;
entry              77 ext/zip/lib/zip_dirent.c     else if ((nentry > SIZE_MAX/sizeof(*(cd->entry))) || (cd->entry=(zip_entry_t *)malloc(sizeof(*(cd->entry))*(size_t)nentry)) == NULL) {
entry              84 ext/zip/lib/zip_dirent.c 	_zip_entry_init(cd->entry+i);
entry             115 ext/zip/lib/zip_dirent.c 	zip_entry_t *entry = za->entry+filelist[i].idx;
entry             117 ext/zip/lib/zip_dirent.c 	if ((ret=_zip_dirent_write(za, entry->changes ? entry->changes : entry->orig, ZIP_FL_CENTRAL)) < 0)
entry             880 ext/zip/lib/zip_dirent.c     if ((flags & ZIP_FL_UNCHANGED) || za->entry[idx].changes == NULL) {
entry             881 ext/zip/lib/zip_dirent.c 	if (za->entry[idx].orig == NULL) {
entry             885 ext/zip/lib/zip_dirent.c 	if (za->entry[idx].deleted && (flags & ZIP_FL_UNCHANGED) == 0) {
entry             889 ext/zip/lib/zip_dirent.c 	return za->entry[idx].orig;
entry             892 ext/zip/lib/zip_dirent.c 	return za->entry[idx].changes;
entry              63 ext/zip/lib/zip_discard.c     if (za->entry) {
entry              65 ext/zip/lib/zip_discard.c 	    _zip_entry_finalize(za->entry+i);
entry              66 ext/zip/lib/zip_discard.c 	free(za->entry);
entry             374 ext/zip/lib/zip_extra_field.c     e = za->entry+idx;
entry              64 ext/zip/lib/zip_extra_field_api.c     de = za->entry[idx].changes;
entry              97 ext/zip/lib/zip_extra_field_api.c     de = za->entry[idx].changes;
entry             256 ext/zip/lib/zip_extra_field_api.c     de = za->entry[idx].changes;
entry             341 ext/zip/lib/zip_extra_field_api.c     e = za->entry+idx;
entry              56 ext/zip/lib/zip_file_get_offset.c     offset = za->entry[idx].orig->offset;
entry              83 ext/zip/lib/zip_file_replace.c 	    _zip_entry_finalize(za->entry+idx);
entry              91 ext/zip/lib/zip_file_replace.c     _zip_unchange_data(za->entry+idx);
entry              93 ext/zip/lib/zip_file_replace.c     if (za->entry[idx].orig != NULL && (za->entry[idx].changes == NULL || (za->entry[idx].changes->changed & ZIP_DIRENT_COMP_METHOD) == 0)) {
entry              94 ext/zip/lib/zip_file_replace.c         if (za->entry[idx].changes == NULL) {
entry              95 ext/zip/lib/zip_file_replace.c             if ((za->entry[idx].changes=_zip_dirent_clone(za->entry[idx].orig)) == NULL) {
entry             101 ext/zip/lib/zip_file_replace.c         za->entry[idx].changes->comp_method = ZIP_CM_REPLACED_DEFAULT;
entry             102 ext/zip/lib/zip_file_replace.c         za->entry[idx].changes->changed |= ZIP_DIRENT_COMP_METHOD;
entry             105 ext/zip/lib/zip_file_replace.c     za->entry[idx].source = source;
entry              70 ext/zip/lib/zip_file_set_comment.c     e = za->entry+idx;
entry              52 ext/zip/lib/zip_file_set_external_attributes.c     e = za->entry+idx;
entry              49 ext/zip/lib/zip_file_set_mtime.c     e = za->entry+idx;
entry              48 ext/zip/lib/zip_get_num_entries.c 	while (n>0 && za->entry[n-1].orig == NULL)
entry              76 ext/zip/lib/zip_hash.c _free_list(zip_hash_entry_t *entry)
entry              80 ext/zip/lib/zip_hash.c 	next = entry->next;
entry              81 ext/zip/lib/zip_hash.c 	free(entry);
entry              82 ext/zip/lib/zip_hash.c 	entry = next;
entry              83 ext/zip/lib/zip_hash.c     } while (entry != NULL);
entry             126 ext/zip/lib/zip_hash.c     zip_hash_entry_t *entry;
entry             134 ext/zip/lib/zip_hash.c     for (entry = hash->table[hash_value]; entry != NULL; entry = entry->next) {
entry             135 ext/zip/lib/zip_hash.c 	if (strcmp((const char *)name, (const char *)entry->name) == 0) {
entry             136 ext/zip/lib/zip_hash.c 	    if (((flags & ZIP_FL_UNCHANGED) && entry->orig_index != -1) || entry->current_index != -1) {
entry             146 ext/zip/lib/zip_hash.c     if (entry == NULL) {
entry             147 ext/zip/lib/zip_hash.c 	if ((entry=(zip_hash_entry_t *)malloc(sizeof(zip_hash_entry_t))) == NULL) {
entry             151 ext/zip/lib/zip_hash.c 	entry->name = name;
entry             152 ext/zip/lib/zip_hash.c 	entry->next = hash->table[hash_value];
entry             153 ext/zip/lib/zip_hash.c 	hash->table[hash_value] = entry;
entry             154 ext/zip/lib/zip_hash.c 	entry->orig_index = -1;
entry             158 ext/zip/lib/zip_hash.c 	entry->orig_index = (zip_int64_t)index;
entry             160 ext/zip/lib/zip_hash.c     entry->current_index = (zip_int64_t)index;
entry             170 ext/zip/lib/zip_hash.c     zip_hash_entry_t *entry, *previous;
entry             179 ext/zip/lib/zip_hash.c     entry = hash->table[hash_value];
entry             180 ext/zip/lib/zip_hash.c     while (entry) {
entry             181 ext/zip/lib/zip_hash.c 	if (strcmp((const char *)name, (const char *)entry->name) == 0) {
entry             182 ext/zip/lib/zip_hash.c 	    if (entry->orig_index == -1) {
entry             184 ext/zip/lib/zip_hash.c 		    previous->next = entry->next;
entry             187 ext/zip/lib/zip_hash.c 		    hash->table[hash_value] = entry->next;
entry             189 ext/zip/lib/zip_hash.c 		free(entry);
entry             192 ext/zip/lib/zip_hash.c 		entry->current_index = -1;
entry             196 ext/zip/lib/zip_hash.c 	previous = entry;
entry             197 ext/zip/lib/zip_hash.c 	entry = entry->next;
entry             209 ext/zip/lib/zip_hash.c     zip_hash_entry_t *entry;
entry             217 ext/zip/lib/zip_hash.c     for (entry = hash->table[hash_value]; entry != NULL; entry = entry->next) {
entry             218 ext/zip/lib/zip_hash.c 	if (strcmp((const char *)name, (const char *)entry->name) == 0) {
entry             220 ext/zip/lib/zip_hash.c 		if (entry->orig_index != -1) {
entry             221 ext/zip/lib/zip_hash.c 		    return entry->orig_index;
entry             225 ext/zip/lib/zip_hash.c 		if (entry->current_index != -1) {
entry             226 ext/zip/lib/zip_hash.c 		    return entry->current_index;
entry             241 ext/zip/lib/zip_hash.c     zip_hash_entry_t *entry, *previous;
entry             245 ext/zip/lib/zip_hash.c 	entry = hash->table[i];
entry             246 ext/zip/lib/zip_hash.c 	while (entry) {
entry             247 ext/zip/lib/zip_hash.c 	    if (entry->orig_index == -1) {
entry             250 ext/zip/lib/zip_hash.c 		    previous->next = entry->next;
entry             253 ext/zip/lib/zip_hash.c 		    hash->table[i] = entry->next;
entry             255 ext/zip/lib/zip_hash.c 		p = entry;
entry             256 ext/zip/lib/zip_hash.c 		entry = entry->next;
entry             261 ext/zip/lib/zip_hash.c 		entry->current_index = entry->orig_index;
entry             262 ext/zip/lib/zip_hash.c 		previous = entry;
entry             263 ext/zip/lib/zip_hash.c 		entry = entry->next;
entry              68 ext/zip/lib/zip_new.c     za->entry = NULL;
entry             221 ext/zip/lib/zip_open.c     za->entry = cdir->entry;
entry             229 ext/zip/lib/zip_open.c 	const zip_uint8_t *name = _zip_string_get(za->entry[idx].orig->filename, NULL, 0, error);
entry             375 ext/zip/lib/zip_open.c 	if ((cd->entry[i].orig=_zip_dirent_new()) == NULL || (entry_size = _zip_dirent_read(cd->entry[i].orig, za->src, cd_buffer, false, error)) < 0) {
entry             437 ext/zip/lib/zip_open.c 	max = cd->entry[0].orig->offset;
entry             438 ext/zip/lib/zip_open.c 	min = cd->entry[0].orig->offset;
entry             444 ext/zip/lib/zip_open.c 	if (cd->entry[i].orig->offset < min)
entry             445 ext/zip/lib/zip_open.c 	    min = cd->entry[i].orig->offset;
entry             451 ext/zip/lib/zip_open.c 	j = cd->entry[i].orig->offset + cd->entry[i].orig->comp_size
entry             452 ext/zip/lib/zip_open.c 	    + _zip_string_length(cd->entry[i].orig->filename) + LENTRYSIZE;
entry             460 ext/zip/lib/zip_open.c         if (zip_source_seek(za->src, (zip_int64_t)cd->entry[i].orig->offset, SEEK_SET) < 0) {
entry             470 ext/zip/lib/zip_open.c 	if (_zip_headercomp(cd->entry[i].orig, &temp) != 0) {
entry             476 ext/zip/lib/zip_open.c 	cd->entry[i].orig->extra_fields = _zip_ef_merge(cd->entry[i].orig->extra_fields, temp.extra_fields);
entry             477 ext/zip/lib/zip_open.c 	cd->entry[i].orig->local_extra_fields_read = 1;
entry              59 ext/zip/lib/zip_set_file_compression.c     e = za->entry+idx;
entry              84 ext/zip/lib/zip_set_name.c     e = za->entry+idx;
entry              58 ext/zip/lib/zip_source_zip_new.c 	&& (ZIP_ENTRY_DATA_CHANGED(srcza->entry+srcidx) || srcza->entry[srcidx].deleted)) {
entry              53 ext/zip/lib/zip_stat_index.c 	&& ZIP_ENTRY_DATA_CHANGED(za->entry+index)) {
entry              54 ext/zip/lib/zip_stat_index.c 	if (zip_source_stat(za->entry[index].source, st) < 0) {
entry              58 ext/zip/lib/zip_unchange.c     if (!allow_duplicates && za->entry[idx].changes && (za->entry[idx].changes->changed & ZIP_DIRENT_FILENAME)) {
entry              59 ext/zip/lib/zip_unchange.c 	if (za->entry[idx].orig != NULL) {
entry              89 ext/zip/lib/zip_unchange.c     _zip_dirent_free(za->entry[idx].changes);
entry              90 ext/zip/lib/zip_unchange.c     za->entry[idx].changes = NULL;
entry              92 ext/zip/lib/zip_unchange.c     _zip_unchange_data(za->entry+idx);
entry             309 ext/zip/lib/zipint.h     zip_entry_t *entry;                 /* entries */
entry             364 ext/zip/lib/zipint.h     zip_entry_t *entry;	 		/* directory entries */
entry            1414 ext/zlib/zlib.c 	return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             392 main/main.c    		OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             403 main/main.c    		OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             414 main/main.c    		OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             430 main/main.c    	OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry             445 main/main.c    	OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
entry              61 main/output.c  static inline zval *php_output_handler_status(php_output_handler *handler, zval *entry);
entry            1174 main/output.c  static inline zval *php_output_handler_status(php_output_handler *handler, zval *entry)
entry            1176 main/output.c  	ZEND_ASSERT(entry != NULL);
entry            1178 main/output.c  	array_init(entry);
entry            1179 main/output.c  	add_assoc_str(entry, "name", zend_string_copy(handler->name));
entry            1180 main/output.c  	add_assoc_long(entry, "type", (zend_long) (handler->flags & 0xf));
entry            1181 main/output.c  	add_assoc_long(entry, "flags", (zend_long) handler->flags);
entry            1182 main/output.c  	add_assoc_long(entry, "level", (zend_long) handler->level);
entry            1183 main/output.c  	add_assoc_long(entry, "chunk_size", (zend_long) handler->size);
entry            1184 main/output.c  	add_assoc_long(entry, "buffer_size", (zend_long) handler->buffer.size);
entry            1185 main/output.c  	add_assoc_long(entry, "buffer_used", (zend_long) handler->buffer.used);
entry            1187 main/output.c  	return entry;
entry             213 main/php_ini.c 	zval *entry;
entry             241 main/php_ini.c 					entry = zend_hash_update(active_hash, Z_STR_P(arg1), arg2);
entry             242 main/php_ini.c 					Z_STR_P(entry) = zend_string_dup(Z_STR_P(entry), 1);
entry             267 main/php_ini.c 					entry = zend_symtable_update(Z_ARRVAL_P(find_arr), Z_STR_P(arg3), arg2);
entry             269 main/php_ini.c 					entry = zend_hash_next_index_insert(Z_ARRVAL_P(find_arr), arg2);
entry             271 main/php_ini.c 				Z_STR_P(entry) = zend_string_dup(Z_STR_P(entry), 1);
entry             324 main/php_ini.c 					if ((entry = zend_hash_str_find(target_hash, key, key_len)) == NULL) {
entry             329 main/php_ini.c 						entry = zend_hash_str_update(target_hash, key, key_len, &section_arr);
entry             331 main/php_ini.c 					active_ini_hash = Z_ARRVAL_P(entry);
entry              57 main/php_reentrancy.h PHPAPI int php_readdir_r(DIR *dirp, struct dirent *entry,
entry              60 main/php_scandir.c PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct dirent **a, const struct dirent **b))
entry              66 main/php_scandir.c 	char entry[sizeof(struct dirent)+MAXPATHLEN];
entry              67 main/php_scandir.c 	struct dirent *dp = (struct dirent *)&entry;
entry              77 main/php_scandir.c 	while (!php_readdir_r(dirp, (struct dirent *)entry, &dp) && dp) {
entry              45 main/php_scandir.h PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct dirent **a, const struct dirent **b));
entry             128 main/reentrancy.c PHPAPI int php_readdir_r(DIR *dirp, struct dirent *entry,
entry             138 main/reentrancy.c 	entry->d_name[0] = '\0';
entry             139 main/reentrancy.c 	readdir_r(dirp, entry);
entry             141 main/reentrancy.c 	if (entry->d_name[0] == '\0') {
entry             145 main/reentrancy.c 		*result = entry;
entry             162 main/reentrancy.c 		memcpy(entry, ptr, sizeof(*ptr));
entry             412 main/rfc1867.c 	mime_header_entry entry = {0};
entry             440 main/rfc1867.c 				entry.key = key;
entry             441 main/rfc1867.c 				entry.value = buf_value.c;
entry             442 main/rfc1867.c 				zend_llist_add_element(header, &entry);
entry             462 main/rfc1867.c 		entry.key = key;
entry             463 main/rfc1867.c 		entry.value = buf_value.c;
entry             464 main/rfc1867.c 		zend_llist_add_element(header, &entry);
entry             472 main/rfc1867.c 	mime_header_entry *entry;
entry             478 main/rfc1867.c 	entry = zend_llist_get_first(&header);
entry             479 main/rfc1867.c 	while (entry) {
entry             480 main/rfc1867.c 		if (!strcasecmp(entry->key, key)) {
entry             481 main/rfc1867.c 			return entry->value;
entry             483 main/rfc1867.c 		entry = zend_llist_get_next(&header);
entry             876 main/streams/plain_wrapper.c 	char entry[sizeof(struct dirent)+MAXPATHLEN];
entry             877 main/streams/plain_wrapper.c 	struct dirent *result = (struct dirent *)&entry;
entry             884 main/streams/plain_wrapper.c 	if (php_readdir_r(dir, (struct dirent *)entry, &result) == 0 && result) {
entry             194 sapi/cgi/cgi_main.c 	user_config_cache_entry *entry = (user_config_cache_entry *)Z_PTR_P(el);
entry             195 sapi/cgi/cgi_main.c 	zend_hash_destroy(entry->user_config);
entry             196 sapi/cgi/cgi_main.c 	free(entry->user_config);
entry             197 sapi/cgi/cgi_main.c 	free(entry);
entry             737 sapi/cgi/cgi_main.c 	user_config_cache_entry *new_entry, *entry;
entry             741 sapi/cgi/cgi_main.c 	if ((entry = zend_hash_str_find_ptr(&CGIG(user_config_cache), path, path_len)) == NULL) {
entry             746 sapi/cgi/cgi_main.c 		entry = zend_hash_str_update_ptr(&CGIG(user_config_cache), path, path_len, new_entry);
entry             750 sapi/cgi/cgi_main.c 	if (request_time > entry->expires) {
entry             757 sapi/cgi/cgi_main.c 		zend_hash_clean(entry->user_config);
entry             791 sapi/cgi/cgi_main.c 				php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config);
entry             796 sapi/cgi/cgi_main.c 			php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config);
entry             802 sapi/cgi/cgi_main.c 		entry->expires = request_time + PG(user_ini_cache_ttl);
entry             806 sapi/cgi/cgi_main.c 	php_ini_activate_config(entry->user_config, PHP_INI_PERDIR, PHP_INI_STAGE_HTACCESS);
entry             593 sapi/cli/php_cli_server.c static int sapi_cli_server_register_entry_cb(char **entry, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ {
entry             608 sapi/cli/php_cli_server.c 			sapi_cli_server_register_variable(track_vars_array, key, *entry);
entry             610 sapi/cli/php_cli_server.c 		sapi_cli_server_register_variable(track_vars_array, real_key, *entry);
entry             194 sapi/fpm/fpm/fpm_main.c 	user_config_cache_entry *entry = (user_config_cache_entry *)Z_PTR_P(el);
entry             195 sapi/fpm/fpm/fpm_main.c 	zend_hash_destroy(entry->user_config);
entry             196 sapi/fpm/fpm/fpm_main.c 	free(entry->user_config);
entry             197 sapi/fpm/fpm/fpm_main.c 	free(entry);
entry             674 sapi/fpm/fpm/fpm_main.c 	user_config_cache_entry *entry = zend_hash_str_find_ptr(&CGIG(user_config_cache), path, path_len);
entry             677 sapi/fpm/fpm/fpm_main.c 	if (!entry) {
entry             678 sapi/fpm/fpm/fpm_main.c 		entry = pemalloc(sizeof(user_config_cache_entry), 1);
entry             679 sapi/fpm/fpm/fpm_main.c 		entry->expires = 0;
entry             680 sapi/fpm/fpm/fpm_main.c 		entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
entry             681 sapi/fpm/fpm/fpm_main.c 		zend_hash_init(entry->user_config, 0, NULL, config_zval_dtor, 1);
entry             682 sapi/fpm/fpm/fpm_main.c 		zend_hash_str_update_ptr(&CGIG(user_config_cache), path, path_len, entry);
entry             686 sapi/fpm/fpm/fpm_main.c 	if (request_time > entry->expires) {
entry             693 sapi/fpm/fpm/fpm_main.c 		zend_hash_clean(entry->user_config);
entry             727 sapi/fpm/fpm/fpm_main.c 				php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config);
entry             732 sapi/fpm/fpm/fpm_main.c 			php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config);
entry             735 sapi/fpm/fpm/fpm_main.c 		entry->expires = request_time + PG(user_ini_cache_ttl);
entry             739 sapi/fpm/fpm/fpm_main.c 	php_ini_activate_config(entry->user_config, PHP_INI_PERDIR, PHP_INI_STAGE_HTACCESS);
entry              80 sapi/fpm/fpm/fpm_unix.c 		acl_entry_t entry;
entry             107 sapi/fpm/fpm/fpm_unix.c 				if (0 > acl_create_entry(&acl, &entry) ||
entry             108 sapi/fpm/fpm/fpm_unix.c 					0 > acl_set_tag_type(entry, ACL_USER) ||
entry             109 sapi/fpm/fpm/fpm_unix.c 					0 > acl_set_qualifier(entry, &pwd->pw_uid) ||
entry             110 sapi/fpm/fpm/fpm_unix.c 					0 > acl_get_permset(entry, &perm) ||
entry             140 sapi/fpm/fpm/fpm_unix.c 				if (0 > acl_create_entry(&acl, &entry) ||
entry             141 sapi/fpm/fpm/fpm_unix.c 					0 > acl_set_tag_type(entry, ACL_GROUP) ||
entry             142 sapi/fpm/fpm/fpm_unix.c 					0 > acl_set_qualifier(entry, &grp->gr_gid) ||
entry             143 sapi/fpm/fpm/fpm_unix.c 					0 > acl_get_permset(entry, &perm) ||
entry             106 sapi/litespeed/lsapi_main.c     zend_hash_update(configuration_hash, name, sizeof(name), tmp, sizeof(zval), (void**)&entry);\
entry             107 sapi/litespeed/lsapi_main.c     Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry))
entry             111 sapi/litespeed/lsapi_main.c     zval *tmp, *entry;
entry              91 win32/readdir.c int readdir_r(DIR *dp, struct dirent *entry, struct dirent **result)
entry             112 win32/readdir.c 	memcpy(entry, &dp->dent, sizeof(*entry));