entry              79 Zend/zend.c    	OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             575 Zend/zend_builtin_functions.c 	zval *array, *entry, **entry_ptr, *tmp;
entry             595 Zend/zend_builtin_functions.c 	entry = *entry_ptr;
entry             598 Zend/zend_builtin_functions.c 	if (Z_ISREF_P(entry)) {
entry             600 Zend/zend_builtin_functions.c 		*tmp = *entry;
entry             604 Zend/zend_builtin_functions.c 		entry=tmp;
entry             606 Zend/zend_builtin_functions.c 	zend_hash_index_update(return_value->value.ht, 1, &entry, sizeof(zval *), NULL);
entry             607 Zend/zend_builtin_functions.c 	Z_ADDREF_P(entry);
entry             608 Zend/zend_builtin_functions.c 	zend_hash_update(return_value->value.ht, "value", sizeof("value"), &entry, sizeof(zval *), NULL);
entry             609 Zend/zend_builtin_functions.c 	Z_ADDREF_P(entry);
entry            1485 Zend/zend_builtin_functions.c 	char *entry;
entry            1494 Zend/zend_builtin_functions.c 	while (zend_hash_get_current_key_ex(&EG(included_files), &entry, &entry_len, NULL, 0, NULL) == HASH_KEY_IS_STRING) {
entry            1495 Zend/zend_builtin_functions.c 		add_next_index_stringl(return_value, entry, entry_len-1, !IS_INTERNED(entry));
entry            3699 Zend/zend_compile.c 	zend_class_entry *entry;
entry            3714 Zend/zend_compile.c 		entry = iface->interfaces[if_num];
entry            3716 Zend/zend_compile.c 			if (ce->interfaces[i] == entry) {
entry            3721 Zend/zend_compile.c 			ce->interfaces[ce->num_interfaces++] = entry;
entry              60 Zend/zend_ini.h #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage TSRMLS_DC)
entry             666 Zend/zend_operators.c 	zval *entry;
entry             668 Zend/zend_operators.c 	ALLOC_ZVAL(entry);
entry             669 Zend/zend_operators.c 	*entry = *op;
entry             670 Zend/zend_operators.c 	INIT_PZVAL(entry);
entry             676 Zend/zend_operators.c 			zend_hash_index_update(Z_ARRVAL_P(op), 0, (void *) &entry, sizeof(zval *), NULL);
entry             681 Zend/zend_operators.c 			zend_hash_update(Z_OBJPROP_P(op), "scalar", sizeof("scalar"), (void *) &entry, sizeof(zval *), NULL);
entry            2923 ext/curl/interface.c 	zval		*zid, *arr, **entry;
entry            2937 ext/curl/interface.c 	while (zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), (void **)&entry, &pos) == SUCCESS) {
entry            2942 ext/curl/interface.c 		if (_php_curl_setopt(ch, (long) option, entry TSRMLS_CC) == FAILURE) {
entry             944 ext/date/php_date.c 	if (OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC) == FAILURE) {
entry            4650 ext/date/php_date.c 	const timelib_tz_lookup_table *table, *entry;
entry            4655 ext/date/php_date.c 	entry = table;
entry            4660 ext/date/php_date.c 		add_assoc_bool(element, "dst", entry->type);
entry            4661 ext/date/php_date.c 		add_assoc_long(element, "offset", entry->gmtoffset);
entry            4662 ext/date/php_date.c 		if (entry->full_tz_name) {
entry            4663 ext/date/php_date.c 			add_assoc_string(element, "timezone_id", entry->full_tz_name, 1);
entry            4668 ext/date/php_date.c 		if (zend_hash_find(HASH_OF(return_value), entry->name, strlen(entry->name) + 1, (void **) &abbr_array_pp) == FAILURE) {
entry            4671 ext/date/php_date.c 			add_assoc_zval(return_value, entry->name, abbr_array);
entry            4676 ext/date/php_date.c 		entry++;
entry            4677 ext/date/php_date.c 	} while (entry->name);
entry             475 ext/dba/dba.c  		return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             485 ext/dba/dba.c  	return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             190 ext/dom/dom_iterators.c 	zval **entry;
entry             206 ext/dom/dom_iterators.c 				if (zend_hash_get_current_data(nodeht, (void **) &entry)==SUCCESS) {
entry             207 ext/dom/dom_iterators.c 					curattr = *entry;
entry             265 ext/dom/dom_iterators.c 	zval **entry;
entry             285 ext/dom/dom_iterators.c 				if (zend_hash_get_current_data(nodeht, (void **) &entry)==SUCCESS) {
entry             286 ext/dom/dom_iterators.c 					curattr = *entry;
entry             117 ext/dom/nodelist.c 	zval **entry;
entry             137 ext/dom/nodelist.c 					if (zend_hash_index_find(nodeht, index, (void **) &entry)==SUCCESS) {
entry             138 ext/dom/nodelist.c 						*return_value = **entry;
entry             477 ext/dom/php_dom.c 	dom_prop_handler	*entry;
entry             501 ext/dom/php_dom.c 			zend_hash_get_current_data_ex(prop_handlers, (void **)&entry, &pos)
entry             509 ext/dom/php_dom.c 		if (entry->read_func(obj, &value TSRMLS_CC) == FAILURE) {
entry             129 ext/dom/php_dom.h #define REGISTER_DOM_CLASS(ce, name, parent_ce, funcs, entry) \
entry             132 ext/dom/php_dom.h entry = zend_register_internal_class_ex(&ce, parent_ce, NULL TSRMLS_CC);
entry             552 ext/dom/xpath.c 	zval *array_value, **entry, *new_string;
entry             562 ext/dom/xpath.c 		while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) {
entry             563 ext/dom/xpath.c 			SEPARATE_ZVAL(entry);
entry             564 ext/dom/xpath.c 			convert_to_string_ex(entry);
entry             569 ext/dom/xpath.c 			zend_hash_update(intern->registered_phpfunctions, Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &new_string, sizeof(zval*), NULL);
entry             179 ext/exif/exif.c 	return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             194 ext/exif/exif.c 	return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry            1618 ext/ftp/ftp.c  	char		**entry;
entry            1679 ext/ftp/ftp.c  	entry = ret;
entry            1681 ext/ftp/ftp.c  	*entry = text;
entry            1686 ext/ftp/ftp.c  			*++entry = text;
entry            1692 ext/ftp/ftp.c  	*entry = NULL;
entry             232 ext/iconv/iconv.c 	OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             245 ext/iconv/iconv.c 	OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             258 ext/iconv/iconv.c 	OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             316 ext/intl/resourcebundle/resourcebundle_class.c 	const char * entry;
entry             342 ext/intl/resourcebundle/resourcebundle_class.c 	while ((entry = uenum_next( icuenum, &entry_len, &icuerror ))) {
entry             343 ext/intl/resourcebundle/resourcebundle_class.c 		add_next_index_stringl( return_value, (char *) entry, entry_len, 1 );
entry             137 ext/ldap/ldap.c 	ldap_resultentry *entry = (ldap_resultentry *)rsrc->ptr;
entry             139 ext/ldap/ldap.c 	if (entry->ber != NULL) {
entry             140 ext/ldap/ldap.c 		ber_free(entry->ber, 0);
entry             141 ext/ldap/ldap.c 		entry->ber = NULL;
entry             143 ext/ldap/ldap.c 	zend_list_delete(entry->id);
entry             144 ext/ldap/ldap.c 	efree(entry);
entry             752 ext/ldap/ldap.c 		zval **entry, *resource;
entry             798 ext/ldap/ldap.c 			zend_hash_get_current_data(Z_ARRVAL_P(link), (void **)&entry);
entry             800 ext/ldap/ldap.c 			ld = (ldap_linkdata *) zend_fetch_resource(entry TSRMLS_CC, -1, "ldap link", NULL, 1, le_link);
entry             806 ext/ldap/ldap.c 				zend_hash_get_current_data(Z_ARRVAL_P(base_dn), (void **)&entry);
entry             810 ext/ldap/ldap.c 				if (Z_TYPE_PP(entry) == IS_STRING) {
entry             811 ext/ldap/ldap.c 					ldap_base_dn = Z_STRVAL_PP(entry);
entry             817 ext/ldap/ldap.c 				zend_hash_get_current_data(Z_ARRVAL_PP(filter), (void **)&entry);
entry             819 ext/ldap/ldap.c 				convert_to_string_ex(entry);
entry             820 ext/ldap/ldap.c 				ldap_filter = Z_STRVAL_PP(entry);
entry             977 ext/ldap/ldap.c 	LDAPMessage *ldap_result, *entry;
entry             986 ext/ldap/ldap.c 	if ((entry = ldap_first_entry(ld->link, ldap_result)) == NULL) {
entry             993 ext/ldap/ldap.c 		resultentry->data = entry;
entry            1374 ext/ldap/ldap.c 	zval *link, *entry, **value, **ivalue;
entry            1384 ext/ldap/ldap.c 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsa", &link, &dn, &dn_len, &entry) != SUCCESS) {
entry            1390 ext/ldap/ldap.c 	num_attribs = zend_hash_num_elements(Z_ARRVAL_P(entry));
entry            1393 ext/ldap/ldap.c 	zend_hash_internal_pointer_reset(Z_ARRVAL_P(entry));
entry            1407 ext/ldap/ldap.c 		if (zend_hash_get_current_key(Z_ARRVAL_P(entry), &attribute, &index, 0) == HASH_KEY_IS_STRING) {
entry            1424 ext/ldap/ldap.c 		zend_hash_get_current_data(Z_ARRVAL_P(entry), (void **)&value);
entry            1457 ext/ldap/ldap.c 		zend_hash_move_forward(Z_ARRVAL_P(entry));
entry            2397 ext/ldap/ldap.c 	LDAPMessage *ldap_result, *entry;
entry            2406 ext/ldap/ldap.c 	if ((entry = ldap_first_reference(ld->link, ldap_result)) == NULL) {
entry            2413 ext/ldap/ldap.c 		resultentry->data = entry;
entry            3081 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3092 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3104 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3110 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3116 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3180 ext/ldap/ldap.c 	ZEND_ARG_INFO(0, entry)
entry            3186 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             698 ext/mbstring/mbstring.c 	const mbfl_encoding **entry, **list;
entry             732 ext/mbstring/mbstring.c 			entry = list;
entry             759 ext/mbstring/mbstring.c 							*entry++ = mbfl_no2encoding(*src++);
entry             766 ext/mbstring/mbstring.c 						*entry++ = encoding;
entry             817 ext/mbstring/mbstring.c 	const mbfl_encoding **list, **entry;
entry             827 ext/mbstring/mbstring.c 			entry = list;
entry             843 ext/mbstring/mbstring.c 							*entry++ = mbfl_no2encoding(*src++);
entry             850 ext/mbstring/mbstring.c 						*entry++ = encoding;
entry            1359 ext/mbstring/mbstring.c 	if (OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC) == FAILURE) {
entry            1426 ext/mbstring/mbstring.c 	OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry            1447 ext/mbstring/mbstring.c 		new_value = entry->orig_value;
entry            1448 ext/mbstring/mbstring.c 		new_value_length = entry->orig_value_length;
entry            1826 ext/mbstring/mbstring.c 				const mbfl_encoding **entry = MBSTRG(http_input_list);
entry            1831 ext/mbstring/mbstring.c 					add_next_index_string(return_value, (*entry)->name, 1);
entry            1832 ext/mbstring/mbstring.c 					entry++;
entry            1840 ext/mbstring/mbstring.c 				const mbfl_encoding **entry = MBSTRG(http_input_list);
entry            1847 ext/mbstring/mbstring.c 						spprintf(&list, 0, "%s,%s", temp, (*entry)->name);
entry            1853 ext/mbstring/mbstring.c 						list = estrdup((*entry)->name);
entry            1855 ext/mbstring/mbstring.c 					entry++;
entry            1925 ext/mbstring/mbstring.c 		const mbfl_encoding **entry = MBSTRG(current_detect_order_list);
entry            1928 ext/mbstring/mbstring.c 			add_next_index_string(return_value, (*entry)->name, 1);
entry            1929 ext/mbstring/mbstring.c 			entry++;
entry            4345 ext/mbstring/mbstring.c 	const mbfl_encoding **entry;
entry            4401 ext/mbstring/mbstring.c 		entry = MBSTRG(current_detect_order_list);
entry            4407 ext/mbstring/mbstring.c 				add_next_index_string(row2, (*entry)->name, 1);
entry            4408 ext/mbstring/mbstring.c 				entry++;
entry            4483 ext/mbstring/mbstring.c 		entry = MBSTRG(current_detect_order_list);
entry            4488 ext/mbstring/mbstring.c 				add_next_index_string(return_value, (*entry)->name, 1);
entry            4489 ext/mbstring/mbstring.c 				entry++;
entry            4575 ext/mbstring/mbstring.c 	const mbfl_encoding **entry = 0;
entry            4584 ext/mbstring/mbstring.c 		entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0);
entry            4585 ext/mbstring/mbstring.c 		memcpy(entry, MBSTRG(detect_order_list), sizeof(mbfl_encoding*) * nentries);
entry            4590 ext/mbstring/mbstring.c 		entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0);
entry            4592 ext/mbstring/mbstring.c 			entry[i] = mbfl_no2encoding(src[i]);
entry            4595 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             462 ext/mysqli/mysqli.c 	mysqli_prop_handler *entry;
entry             468 ext/mysqli/mysqli.c 	while (zend_hash_get_current_data_ex(props, (void **)&entry, &pos) == SUCCESS) {
entry             472 ext/mysqli/mysqli.c 		ZVAL_STRINGL(&member, entry->name, entry->name_len, 0);
entry             476 ext/mysqli/mysqli.c 			zend_hash_add(retval, entry->name, entry->name_len + 1, &value, sizeof(zval *), NULL);
entry             139 ext/mysqli/mysqli_warning.c 		zval **entry;
entry             153 ext/mysqli/mysqli_warning.c 		zend_hash_get_current_data(Z_ARRVAL_P(row), (void **)&entry);
entry             154 ext/mysqli/mysqli_warning.c 		convert_to_long_ex(entry);
entry             155 ext/mysqli/mysqli_warning.c 		errno = Z_LVAL_PP(entry);
entry             159 ext/mysqli/mysqli_warning.c 		zend_hash_get_current_data(Z_ARRVAL_P(row), (void **)&entry);
entry             161 ext/mysqli/mysqli_warning.c 		w = php_new_warning(*entry, errno TSRMLS_CC);
entry            1911 ext/mysqlnd/mysqlnd_result.c 	zval **entry;
entry            1930 ext/mysqlnd/mysqlnd_result.c 		zend_hash_get_current_data(Z_ARRVAL(row), (void **)&entry);
entry            1933 ext/mysqlnd/mysqlnd_result.c 	zend_hash_get_current_data(Z_ARRVAL(row), (void **)&entry);
entry            1935 ext/mysqlnd/mysqlnd_result.c 	*return_value = **entry;
entry             130 ext/oci8/oci8.c static void php_oci_spool_list_dtor(zend_rsrc_list_entry *entry TSRMLS_DC);
entry            1402 ext/oci8/oci8.c static void php_oci_connection_list_dtor(zend_rsrc_list_entry *entry TSRMLS_DC)
entry            1404 ext/oci8/oci8.c 	php_oci_connection *connection = (php_oci_connection *)entry->ptr;
entry            1417 ext/oci8/oci8.c static void php_oci_pconnection_list_dtor(zend_rsrc_list_entry *entry TSRMLS_DC)
entry            1419 ext/oci8/oci8.c 	php_oci_connection *connection = (php_oci_connection *)entry->ptr;
entry            1434 ext/oci8/oci8.c static void php_oci_pconnection_list_np_dtor(zend_rsrc_list_entry *entry TSRMLS_DC)
entry            1436 ext/oci8/oci8.c 	php_oci_connection *connection = (php_oci_connection *)entry->ptr;
entry            1495 ext/oci8/oci8.c static void php_oci_statement_list_dtor(zend_rsrc_list_entry *entry TSRMLS_DC)
entry            1497 ext/oci8/oci8.c 	php_oci_statement *statement = (php_oci_statement *)entry->ptr;
entry            1506 ext/oci8/oci8.c static void php_oci_descriptor_list_dtor(zend_rsrc_list_entry *entry TSRMLS_DC)
entry            1508 ext/oci8/oci8.c 	php_oci_descriptor *descriptor = (php_oci_descriptor *)entry->ptr;
entry            1517 ext/oci8/oci8.c static void php_oci_collection_list_dtor(zend_rsrc_list_entry *entry TSRMLS_DC)
entry            1519 ext/oci8/oci8.c 	php_oci_collection *collection = (php_oci_collection *)entry->ptr;
entry            3415 ext/oci8/oci8.c static void php_oci_spool_list_dtor(zend_rsrc_list_entry *entry TSRMLS_DC)
entry            3417 ext/oci8/oci8.c 	php_oci_spool *session_pool = (php_oci_spool *)entry->ptr;
entry             991 ext/oci8/oci8_statement.c 		zval **entry;
entry            1001 ext/oci8/oci8_statement.c 					if ((i < bind->array.old_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
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 < bind->array.old_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
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 < bind->array.old_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
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, 1);
entry            1064 ext/oci8/oci8_statement.c 					if ((i < bind->array.old_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
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, 1);
entry            1641 ext/oci8/oci8_statement.c 	zval **entry;
entry            1647 ext/oci8/oci8_statement.c 		while (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE) {
entry            1648 ext/oci8/oci8_statement.c 			convert_to_string_ex(entry);
entry            1649 ext/oci8/oci8_statement.c 			if (Z_STRLEN_PP(entry) > maxlength) {
entry            1650 ext/oci8/oci8_statement.c 				maxlength = Z_STRLEN_PP(entry) + 1;
entry            1670 ext/oci8/oci8_statement.c 		if (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE) {
entry            1671 ext/oci8/oci8_statement.c 			convert_to_string_ex(entry);
entry            1672 ext/oci8/oci8_statement.c 			bind->array.element_lengths[i] = Z_STRLEN_PP(entry);
entry            1673 ext/oci8/oci8_statement.c 			if (Z_STRLEN_PP(entry) == 0) {
entry            1684 ext/oci8/oci8_statement.c 		if ((i < bind->array.current_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
entry            1687 ext/oci8/oci8_statement.c 			convert_to_string_ex(entry);
entry            1688 ext/oci8/oci8_statement.c 			element_length = (maxlength > Z_STRLEN_PP(entry)) ? Z_STRLEN_PP(entry) : maxlength;
entry            1690 ext/oci8/oci8_statement.c 			memcpy((text *)bind->array.elements + i*maxlength, Z_STRVAL_PP(entry), element_length);
entry            1711 ext/oci8/oci8_statement.c 	zval **entry;
entry            1729 ext/oci8/oci8_statement.c 		if ((i < bind->array.current_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
entry            1730 ext/oci8/oci8_statement.c 			convert_to_long_ex(entry);
entry            1731 ext/oci8/oci8_statement.c 			((ub4 *)bind->array.elements)[i] = (ub4) Z_LVAL_PP(entry);
entry            1750 ext/oci8/oci8_statement.c 	zval **entry;
entry            1768 ext/oci8/oci8_statement.c 		if ((i < bind->array.current_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
entry            1769 ext/oci8/oci8_statement.c 			convert_to_double_ex(entry);
entry            1770 ext/oci8/oci8_statement.c 			((double *)bind->array.elements)[i] = (double) Z_DVAL_PP(entry);
entry            1789 ext/oci8/oci8_statement.c 	zval **entry;
entry            1809 ext/oci8/oci8_statement.c 		if ((i < bind->array.current_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
entry            1811 ext/oci8/oci8_statement.c 			convert_to_string_ex(entry);
entry            1812 ext/oci8/oci8_statement.c 			PHP_OCI_CALL_RETURN(errstatus, OCIDateFromText, (connection->err, (CONST text *)Z_STRVAL_PP(entry), Z_STRLEN_PP(entry), NULL, 0, NULL, 0, &oci_date));
entry             205 ext/opcache/ZendAccelerator.c 	int ret = orig_include_path_on_modify(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
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             147 ext/opcache/zend_accelerator_hash.c 	zend_accel_hash_entry *entry;
entry             152 ext/opcache/zend_accelerator_hash.c 	entry = accel_hash->hash_table[index];
entry             153 ext/opcache/zend_accelerator_hash.c 	while (entry) {
entry             154 ext/opcache/zend_accelerator_hash.c 		if (entry->hash_value == hash_value
entry             155 ext/opcache/zend_accelerator_hash.c 			&& entry->key_length == key_length
entry             156 ext/opcache/zend_accelerator_hash.c 			&& !memcmp(entry->key, key, key_length)) {
entry             157 ext/opcache/zend_accelerator_hash.c 			if (entry->indirect) {
entry             158 ext/opcache/zend_accelerator_hash.c 				return ((zend_accel_hash_entry *) entry->data)->data;
entry             160 ext/opcache/zend_accelerator_hash.c 				return entry->data;
entry             163 ext/opcache/zend_accelerator_hash.c 		entry = entry->next;
entry             175 ext/opcache/zend_accelerator_hash.c 	zend_accel_hash_entry *entry;
entry             180 ext/opcache/zend_accelerator_hash.c 	entry = accel_hash->hash_table[index];
entry             181 ext/opcache/zend_accelerator_hash.c 	while (entry) {
entry             182 ext/opcache/zend_accelerator_hash.c 		if (entry->hash_value == hash_value
entry             183 ext/opcache/zend_accelerator_hash.c 			&& entry->key_length == key_length
entry             184 ext/opcache/zend_accelerator_hash.c 			&& !memcmp(entry->key, key, key_length)) {
entry             185 ext/opcache/zend_accelerator_hash.c 			if (entry->indirect) {
entry             186 ext/opcache/zend_accelerator_hash.c 				return (zend_accel_hash_entry *) entry->data;
entry             188 ext/opcache/zend_accelerator_hash.c 				return entry;
entry             191 ext/opcache/zend_accelerator_hash.c 		entry = entry->next;
entry             200 ext/opcache/zend_accelerator_hash.c     zend_accel_hash_entry *entry, *last_entry=NULL;
entry             205 ext/opcache/zend_accelerator_hash.c 	entry = accel_hash->hash_table[index];
entry             206 ext/opcache/zend_accelerator_hash.c 	while (entry) {
entry             207 ext/opcache/zend_accelerator_hash.c 		if (entry->hash_value == hash_value
entry             208 ext/opcache/zend_accelerator_hash.c 			&& entry->key_length == key_length
entry             209 ext/opcache/zend_accelerator_hash.c 			&& !memcmp(entry->key, key, key_length)) {
entry             210 ext/opcache/zend_accelerator_hash.c 			if (!entry->indirect) {
entry             214 ext/opcache/zend_accelerator_hash.c 				last_entry->next = entry->next;
entry             216 ext/opcache/zend_accelerator_hash.c 				accel_hash->hash_table[index] = entry->next;
entry             220 ext/opcache/zend_accelerator_hash.c 		last_entry = entry;
entry             221 ext/opcache/zend_accelerator_hash.c 		entry = entry->next;
entry             116 ext/opcache/zend_accelerator_module.c 	(void)entry; (void)new_value_length; (void)mh_arg2; (void)mh_arg3; (void)stage;
entry             154 ext/opcache/zend_accelerator_module.c 	(void)entry; (void)new_value_length; (void)mh_arg2; (void)mh_arg3; (void)stage;
entry             200 ext/opcache/zend_accelerator_module.c 	(void)entry; (void)new_value_length; (void)mh_arg2; (void)mh_arg3; (void)stage;
entry             230 ext/opcache/zend_accelerator_module.c 		return OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             119 ext/pcre/pcrelib/pcre_get.c   pcre_uchar *entry = nametable + entrysize*mid;
entry             121 ext/pcre/pcrelib/pcre_get.c     (pcre_uchar *)(entry + IMM2_SIZE));
entry             122 ext/pcre/pcrelib/pcre_get.c   if (c == 0) return GET2(entry, 0);
entry             203 ext/pcre/pcrelib/pcre_get.c   pcre_uchar *entry = nametable + entrysize*mid;
entry             205 ext/pcre/pcrelib/pcre_get.c     (pcre_uchar *)(entry + IMM2_SIZE));
entry             208 ext/pcre/pcrelib/pcre_get.c     pcre_uchar *first = entry;
entry             209 ext/pcre/pcrelib/pcre_get.c     pcre_uchar *last = entry;
entry             272 ext/pcre/pcrelib/pcre_get.c pcre_uchar *entry;
entry             295 ext/pcre/pcrelib/pcre_get.c for (entry = (pcre_uchar *)first; entry <= (pcre_uchar *)last; entry += entrysize)
entry             297 ext/pcre/pcrelib/pcre_get.c   int n = GET2(entry, 0);
entry             300 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            1844 ext/pcre/php_pcre.c 	zval		   **entry;				/* An entry in the input array */
entry            1885 ext/pcre/php_pcre.c 	while (zend_hash_get_current_data(Z_ARRVAL_P(input), (void **)&entry) == SUCCESS) {
entry            1886 ext/pcre/php_pcre.c 		zval subject = **entry;
entry            1888 ext/pcre/php_pcre.c 		if (Z_TYPE_PP(entry) != IS_STRING) {
entry            1910 ext/pcre/php_pcre.c 			Z_ADDREF_PP(entry);
entry            1917 ext/pcre/php_pcre.c 									 string_key_len, entry, sizeof(zval *), NULL);
entry            1921 ext/pcre/php_pcre.c 					zend_hash_index_update(Z_ARRVAL_P(return_value), num_key, entry,
entry            1927 ext/pcre/php_pcre.c 		if (Z_TYPE_PP(entry) != IS_STRING) {
entry             184 ext/phar/dirstream.c 	char *entry, *found, *save, *str_key;
entry             227 ext/phar/dirstream.c 				entry = (char *) safe_emalloc(found - str_key, 1, 1);
entry             228 ext/phar/dirstream.c 				memcpy(entry, str_key, found - str_key);
entry             230 ext/phar/dirstream.c 				entry[keylen] = '\0';
entry             232 ext/phar/dirstream.c 				entry = (char *) safe_emalloc(keylen, 1, 1);
entry             233 ext/phar/dirstream.c 				memcpy(entry, str_key, keylen);
entry             234 ext/phar/dirstream.c 				entry[keylen] = '\0';
entry             261 ext/phar/dirstream.c 			entry = (char *) safe_emalloc(found - save + dirlen, 1, 1);
entry             262 ext/phar/dirstream.c 			memcpy(entry, save + dirlen + 1, found - save - dirlen - 1);
entry             264 ext/phar/dirstream.c 			entry[keylen] = '\0';
entry             268 ext/phar/dirstream.c 			entry = (char *) safe_emalloc(keylen - dirlen, 1, 1);
entry             269 ext/phar/dirstream.c 			memcpy(entry, save + dirlen + 1, keylen - dirlen - 1);
entry             270 ext/phar/dirstream.c 			entry[keylen - dirlen - 1] = '\0';
entry             275 ext/phar/dirstream.c 			phar_add_empty(data, entry, keylen);
entry             278 ext/phar/dirstream.c 		efree(entry);
entry             310 ext/phar/dirstream.c 	phar_entry_info *entry = NULL;
entry             368 ext/phar/dirstream.c 	if (SUCCESS == zend_hash_find(&phar->manifest, internal_file, strlen(internal_file), (void**)&entry) && !entry->is_dir) {
entry             371 ext/phar/dirstream.c 	} else if (entry && entry->is_dir) {
entry             372 ext/phar/dirstream.c 		if (entry->is_mounted) {
entry             374 ext/phar/dirstream.c 			return php_stream_opendir(entry->tmp, options, context);
entry             413 ext/phar/dirstream.c 	phar_entry_info entry, *e;
entry             496 ext/phar/dirstream.c 	memset((void *) &entry, 0, sizeof(phar_entry_info));
entry             500 ext/phar/dirstream.c 		entry.is_zip = 1;
entry             503 ext/phar/dirstream.c 	entry.filename = estrdup(resource->path + 1);
entry             506 ext/phar/dirstream.c 		entry.is_tar = 1;
entry             507 ext/phar/dirstream.c 		entry.tar_type = TAR_DIR;
entry             510 ext/phar/dirstream.c 	entry.filename_len = strlen(resource->path + 1);
entry             512 ext/phar/dirstream.c 	entry.is_dir = 1;
entry             513 ext/phar/dirstream.c 	entry.phar = phar;
entry             514 ext/phar/dirstream.c 	entry.is_modified = 1;
entry             515 ext/phar/dirstream.c 	entry.is_crc_checked = 1;
entry             516 ext/phar/dirstream.c 	entry.flags = PHAR_ENT_PERM_DEF_DIR;
entry             517 ext/phar/dirstream.c 	entry.old_flags = PHAR_ENT_PERM_DEF_DIR;
entry             519 ext/phar/dirstream.c 	if (SUCCESS != zend_hash_add(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info), NULL)) {
entry             520 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: cannot create directory \"%s\" in phar \"%s\", adding to manifest failed", entry.filename, phar->fname);
entry             522 ext/phar/dirstream.c 		efree(entry.filename);
entry             529 ext/phar/dirstream.c 		php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: cannot create directory \"%s\" in phar \"%s\", %s", entry.filename, phar->fname, error);
entry             530 ext/phar/dirstream.c 		zend_hash_del(&phar->manifest, entry.filename, entry.filename_len);
entry             535 ext/phar/dirstream.c 	phar_add_virtual_dirs(phar, entry.filename, entry.filename_len TSRMLS_CC);
entry             545 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 TSRMLS_CC))) {
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 TSRMLS_CC, "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 TSRMLS_CC)) {
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 TSRMLS_CC);
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             121 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 TSRMLS_CC)) {
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 = phar_find_in_include_path(entry, entry_len, NULL TSRMLS_CC))) {
entry             153 ext/phar/func_interceptors.c 					name = entry;
entry             161 ext/phar/func_interceptors.c 				entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1 TSRMLS_CC);
entry             162 ext/phar/func_interceptors.c 				if (entry[0] == '/') {
entry             163 ext/phar/func_interceptors.c 					if (!zend_hash_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_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             251 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 TSRMLS_CC)) {
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 = phar_find_in_include_path(entry, entry_len, NULL TSRMLS_CC))) {
entry             281 ext/phar/func_interceptors.c 				name = entry;
entry             284 ext/phar/func_interceptors.c 			entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1 TSRMLS_CC);
entry             285 ext/phar/func_interceptors.c 			if (entry[0] == '/') {
entry             286 ext/phar/func_interceptors.c 				if (!zend_hash_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_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             347 ext/phar/func_interceptors.c 		char *arch, *entry, *fname;
entry             358 ext/phar/func_interceptors.c 		if (FAILURE == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRMLS_CC)) {
entry             362 ext/phar/func_interceptors.c 		efree(entry);
entry             363 ext/phar/func_interceptors.c 		entry = filename;
entry             372 ext/phar/func_interceptors.c 			if (!(entry = phar_find_in_include_path(entry, entry_len, NULL TSRMLS_CC))) {
entry             377 ext/phar/func_interceptors.c 				name = entry;
entry             380 ext/phar/func_interceptors.c 			entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1 TSRMLS_CC);
entry             381 ext/phar/func_interceptors.c 			if (entry[0] == '/') {
entry             382 ext/phar/func_interceptors.c 				if (!zend_hash_exists(&(phar->manifest), entry + 1, entry_len - 1)) {
entry             385 ext/phar/func_interceptors.c 					efree(entry);
entry             390 ext/phar/func_interceptors.c 				if (!zend_hash_exists(&(phar->manifest), entry, entry_len)) {
entry             396 ext/phar/func_interceptors.c 			if (entry[0] == '/') {
entry             397 ext/phar/func_interceptors.c 				spprintf(&name, 4096, "phar://%s%s", arch, entry);
entry             399 ext/phar/func_interceptors.c 				spprintf(&name, 4096, "phar://%s/%s", arch, entry);
entry             401 ext/phar/func_interceptors.c 			efree(entry);
entry             618 ext/phar/func_interceptors.c 		char *arch, *entry, *fname;
entry             636 ext/phar/func_interceptors.c 			entry = estrndup(filename, filename_length);
entry             642 ext/phar/func_interceptors.c 		if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRMLS_CC)) {
entry             644 ext/phar/func_interceptors.c 			efree(entry);
entry             645 ext/phar/func_interceptors.c 			entry = estrndup(filename, filename_length);
entry             650 ext/phar/func_interceptors.c 				efree(entry);
entry             654 ext/phar/func_interceptors.c 			entry = phar_fix_filepath(entry, &entry_len, 1 TSRMLS_CC);
entry             655 ext/phar/func_interceptors.c 			if (entry[0] == '/') {
entry             656 ext/phar/func_interceptors.c 				if (SUCCESS == zend_hash_find(&(phar->manifest), entry + 1, entry_len - 1, (void **) &data)) {
entry             657 ext/phar/func_interceptors.c 					efree(entry);
entry             662 ext/phar/func_interceptors.c 			if (SUCCESS == zend_hash_find(&(phar->manifest), entry, entry_len, (void **) &data)) {
entry             663 ext/phar/func_interceptors.c 				efree(entry);
entry             666 ext/phar/func_interceptors.c 			if (zend_hash_exists(&(phar->virtual_dirs), entry, entry_len)) {
entry             667 ext/phar/func_interceptors.c 				efree(entry);
entry             690 ext/phar/func_interceptors.c 				efree(entry);
entry             694 ext/phar/func_interceptors.c 				entry = estrndup(filename, filename_length);
entry             699 ext/phar/func_interceptors.c 				entry = phar_fix_filepath(entry, &entry_len, 1 TSRMLS_CC);
entry             700 ext/phar/func_interceptors.c 				if (SUCCESS == zend_hash_find(&(phar->manifest), entry + 1, entry_len - 1, (void **) &data)) {
entry             703 ext/phar/func_interceptors.c 					efree(entry);
entry             710 ext/phar/func_interceptors.c 				if (zend_hash_exists(&(phar->virtual_dirs), entry + 1, entry_len - 1)) {
entry             713 ext/phar/func_interceptors.c 					efree(entry);
entry             734 ext/phar/func_interceptors.c 				efree(entry);
entry             912 ext/phar/func_interceptors.c 		char *arch, *entry, *fname;
entry             923 ext/phar/func_interceptors.c 		if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRMLS_CC)) {
entry             926 ext/phar/func_interceptors.c 			efree(entry);
entry             927 ext/phar/func_interceptors.c 			entry = filename;
entry             934 ext/phar/func_interceptors.c 				entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1 TSRMLS_CC);
entry             935 ext/phar/func_interceptors.c 				if (entry[0] == '/') {
entry             936 ext/phar/func_interceptors.c 					if (SUCCESS == zend_hash_find(&(phar->manifest), entry + 1, entry_len - 1, (void **) &etemp)) {
entry             939 ext/phar/func_interceptors.c 						efree(entry);
entry             944 ext/phar/func_interceptors.c 					if (SUCCESS == zend_hash_find(&(phar->manifest), entry, entry_len, (void **) &etemp)) {
entry             949 ext/phar/func_interceptors.c 			if (entry != filename) {
entry             950 ext/phar/func_interceptors.c 				efree(entry);
entry             979 ext/phar/func_interceptors.c 		char *arch, *entry, *fname;
entry             990 ext/phar/func_interceptors.c 		if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRMLS_CC)) {
entry             993 ext/phar/func_interceptors.c 			efree(entry);
entry             994 ext/phar/func_interceptors.c 			entry = filename;
entry            1001 ext/phar/func_interceptors.c 				entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len, 1 TSRMLS_CC);
entry            1002 ext/phar/func_interceptors.c 				if (entry[0] == '/') {
entry            1003 ext/phar/func_interceptors.c 					if (SUCCESS == zend_hash_find(&(phar->manifest), entry + 1, entry_len - 1, (void **) &etemp)) {
entry            1006 ext/phar/func_interceptors.c 						efree(entry);
entry            1011 ext/phar/func_interceptors.c 					if (SUCCESS == zend_hash_find(&(phar->manifest), entry, entry_len, (void **) &etemp)) {
entry            1016 ext/phar/func_interceptors.c 			efree(entry);
entry              53 ext/phar/phar.c 	if (entry->name_length == 14) {
entry              74 ext/phar/phar.c 		if (entry->name_length == 14) {
entry              83 ext/phar/phar.c 	if (entry->name_length == 14) {
entry             338 ext/phar/phar.c 	phar_entry_info *entry = (phar_entry_info *) pDest;
entry             340 ext/phar/phar.c 	if (entry->fp_type != PHAR_TMP) {
entry             344 ext/phar/phar.c 	if (entry->fp && !entry->fp_refcount) {
entry             345 ext/phar/phar.c 		php_stream_close(entry->fp);
entry             346 ext/phar/phar.c 		entry->fp = NULL;
entry             382 ext/phar/phar.c 	phar_entry_info *entry = (phar_entry_info *)pDest;
entry             385 ext/phar/phar.c 	if (entry->cfp) {
entry             386 ext/phar/phar.c 		php_stream_close(entry->cfp);
entry             387 ext/phar/phar.c 		entry->cfp = 0;
entry             390 ext/phar/phar.c 	if (entry->fp) {
entry             391 ext/phar/phar.c 		php_stream_close(entry->fp);
entry             392 ext/phar/phar.c 		entry->fp = 0;
entry             395 ext/phar/phar.c 	if (entry->metadata) {
entry             396 ext/phar/phar.c 		if (entry->is_persistent) {
entry             397 ext/phar/phar.c 			if (entry->metadata_len) {
entry             399 ext/phar/phar.c 				free(entry->metadata);
entry             401 ext/phar/phar.c 				zval_internal_ptr_dtor(&entry->metadata);
entry             404 ext/phar/phar.c 			zval_ptr_dtor(&entry->metadata);
entry             406 ext/phar/phar.c 		entry->metadata_len = 0;
entry             407 ext/phar/phar.c 		entry->metadata = 0;
entry             410 ext/phar/phar.c 	if (entry->metadata_str.c) {
entry             411 ext/phar/phar.c 		smart_str_free(&entry->metadata_str);
entry             412 ext/phar/phar.c 		entry->metadata_str.c = 0;
entry             415 ext/phar/phar.c 	pefree(entry->filename, entry->is_persistent);
entry             417 ext/phar/phar.c 	if (entry->link) {
entry             418 ext/phar/phar.c 		pefree(entry->link, entry->is_persistent);
entry             419 ext/phar/phar.c 		entry->link = 0;
entry             422 ext/phar/phar.c 	if (entry->tmp) {
entry             423 ext/phar/phar.c 		pefree(entry->tmp, entry->is_persistent);
entry             424 ext/phar/phar.c 		entry->tmp = 0;
entry             654 ext/phar/phar.c 	phar_entry_info entry;
entry            1052 ext/phar/phar.c 	memset(&entry, 0, sizeof(phar_entry_info));
entry            1053 ext/phar/phar.c 	entry.phar = mydata;
entry            1054 ext/phar/phar.c 	entry.fp_type = PHAR_FP;
entry            1055 ext/phar/phar.c 	entry.is_persistent = mydata->is_persistent;
entry            1062 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.filename_len);
entry            1064 ext/phar/phar.c 		if (entry.filename_len == 0) {
entry            1068 ext/phar/phar.c 		if (entry.is_persistent) {
entry            1069 ext/phar/phar.c 			entry.manifest_pos = manifest_index;
entry            1072 ext/phar/phar.c 		if (entry.filename_len + 20 > endbuffer - buffer) {
entry            1076 ext/phar/phar.c 		if ((manifest_ver & PHAR_API_VER_MASK) >= PHAR_API_MIN_DIR && buffer[entry.filename_len - 1] == '/') {
entry            1077 ext/phar/phar.c 			entry.is_dir = 1;
entry            1079 ext/phar/phar.c 			entry.is_dir = 0;
entry            1082 ext/phar/phar.c 		phar_add_virtual_dirs(mydata, buffer, entry.filename_len TSRMLS_CC);
entry            1083 ext/phar/phar.c 		entry.filename = pestrndup(buffer, entry.filename_len, entry.is_persistent);
entry            1084 ext/phar/phar.c 		buffer += entry.filename_len;
entry            1085 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.uncompressed_filesize);
entry            1086 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.timestamp);
entry            1089 ext/phar/phar.c 			mydata->min_timestamp = entry.timestamp;
entry            1090 ext/phar/phar.c 			mydata->max_timestamp = entry.timestamp;
entry            1092 ext/phar/phar.c 			if (mydata->min_timestamp > entry.timestamp) {
entry            1093 ext/phar/phar.c 				mydata->min_timestamp = entry.timestamp;
entry            1094 ext/phar/phar.c 			} else if (mydata->max_timestamp < entry.timestamp) {
entry            1095 ext/phar/phar.c 				mydata->max_timestamp = entry.timestamp;
entry            1099 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.compressed_filesize);
entry            1100 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.crc32);
entry            1101 ext/phar/phar.c 		PHAR_GET_32(buffer, entry.flags);
entry            1103 ext/phar/phar.c 		if (entry.is_dir) {
entry            1104 ext/phar/phar.c 			entry.filename_len--;
entry            1105 ext/phar/phar.c 			entry.flags |= PHAR_ENT_PERM_DEF_DIR;
entry            1109 ext/phar/phar.c 		if (entry.is_persistent) {
entry            1110 ext/phar/phar.c 			entry.metadata_len = len;
entry            1112 ext/phar/phar.c 			entry.metadata_len = 0;
entry            1115 ext/phar/phar.c 			pefree(entry.filename, entry.is_persistent);
entry            1118 ext/phar/phar.c 		if (phar_parse_metadata(&buffer, &entry.metadata, len TSRMLS_CC) == FAILURE) {
entry            1119 ext/phar/phar.c 			pefree(entry.filename, entry.is_persistent);
entry            1124 ext/phar/phar.c 		entry.offset = entry.offset_abs = offset;
entry            1125 ext/phar/phar.c 		offset += entry.compressed_filesize;
entry            1127 ext/phar/phar.c 		switch (entry.flags & PHAR_ENT_COMPRESSION_MASK) {
entry            1130 ext/phar/phar.c 					if (entry.metadata) {
entry            1131 ext/phar/phar.c 						if (entry.is_persistent) {
entry            1132 ext/phar/phar.c 							free(entry.metadata);
entry            1134 ext/phar/phar.c 							zval_ptr_dtor(&entry.metadata);
entry            1137 ext/phar/phar.c 					pefree(entry.filename, entry.is_persistent);
entry            1143 ext/phar/phar.c 					if (entry.metadata) {
entry            1144 ext/phar/phar.c 						if (entry.is_persistent) {
entry            1145 ext/phar/phar.c 							free(entry.metadata);
entry            1147 ext/phar/phar.c 							zval_ptr_dtor(&entry.metadata);
entry            1150 ext/phar/phar.c 					pefree(entry.filename, entry.is_persistent);
entry            1155 ext/phar/phar.c 				if (entry.uncompressed_filesize != entry.compressed_filesize) {
entry            1156 ext/phar/phar.c 					if (entry.metadata) {
entry            1157 ext/phar/phar.c 						if (entry.is_persistent) {
entry            1158 ext/phar/phar.c 							free(entry.metadata);
entry            1160 ext/phar/phar.c 							zval_ptr_dtor(&entry.metadata);
entry            1163 ext/phar/phar.c 					pefree(entry.filename, entry.is_persistent);
entry            1169 ext/phar/phar.c 		manifest_flags |= (entry.flags & PHAR_ENT_COMPRESSION_MASK);
entry            1171 ext/phar/phar.c 		entry.is_crc_checked = (manifest_flags & PHAR_HDR_SIGNATURE ? 1 : 0);
entry            1172 ext/phar/phar.c 		phar_set_inode(&entry TSRMLS_CC);
entry            1173 ext/phar/phar.c 		zend_hash_add(&mydata->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info), NULL);
entry            2237 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 TSRMLS_DC) /* {{{ */
entry            2286 ext/phar/phar.c 		*entry = estrndup(ext_str+ext_len, *entry_len);
entry            2288 ext/phar/phar.c 		phar_unixify_path_separators(*entry, *entry_len);
entry            2290 ext/phar/phar.c 		*entry = phar_fix_filepath(*entry, entry_len, 0 TSRMLS_CC);
entry            2293 ext/phar/phar.c 		*entry = estrndup("/", 1);
entry            2392 ext/phar/phar.c 	phar_entry_info *entry = idata->internal_file;
entry            2398 ext/phar/phar.c 	if (entry->is_zip && process_zip > 0) {
entry            2404 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            2407 ext/phar/phar.c 		php_stream_seek(phar_get_entrypfp(idata->internal_file TSRMLS_CC), entry->header_offset, SEEK_SET);
entry            2411 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            2418 ext/phar/phar.c 					entry->header_offset + sizeof(local) +
entry            2421 ext/phar/phar.c 					entry->compressed_filesize, SEEK_SET);
entry            2424 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            2435 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            2436 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            2441 ext/phar/phar.c 		entry->offset = entry->offset_abs =
entry            2442 ext/phar/phar.c 			sizeof(local) + entry->header_offset + PHAR_ZIP_16(local.filename_len) + PHAR_ZIP_16(local.extra_len);
entry            2444 ext/phar/phar.c 		if (idata->zero && idata->zero != entry->offset_abs) {
entry            2445 ext/phar/phar.c 			idata->zero = entry->offset_abs;
entry            2462 ext/phar/phar.c 		entry->is_crc_checked = 1;
entry            2465 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            2485 ext/phar/phar.c 	phar_entry_info *entry = (phar_entry_info *)data;
entry            2487 ext/phar/phar.c 	if (entry->fp_refcount <= 0 && entry->is_deleted) {
entry            2553 ext/phar/phar.c 	phar_entry_info *entry, *newentry;
entry            2741 ext/phar/phar.c 		if (zend_hash_get_current_data(&phar->manifest, (void **)&entry) == FAILURE) {
entry            2744 ext/phar/phar.c 		if (entry->cfp) {
entry            2746 ext/phar/phar.c 			php_stream_close(entry->cfp);
entry            2747 ext/phar/phar.c 			entry->cfp = 0;
entry            2749 ext/phar/phar.c 		if (entry->is_deleted || entry->is_mounted) {
entry            2753 ext/phar/phar.c 		if (!entry->is_modified && entry->fp_refcount) {
entry            2755 ext/phar/phar.c 			switch (entry->fp_type) {
entry            2767 ext/phar/phar.c 		phar_add_virtual_dirs(phar, entry->filename, entry->filename_len TSRMLS_CC);
entry            2769 ext/phar/phar.c 		if (entry->is_dir) {
entry            2773 ext/phar/phar.c 		if (entry->metadata) {
entry            2774 ext/phar/phar.c 			if (entry->metadata_str.c) {
entry            2775 ext/phar/phar.c 				smart_str_free(&entry->metadata_str);
entry            2777 ext/phar/phar.c 			entry->metadata_str.c = 0;
entry            2778 ext/phar/phar.c 			entry->metadata_str.len = 0;
entry            2780 ext/phar/phar.c 			php_var_serialize(&entry->metadata_str, &entry->metadata, &metadata_hash TSRMLS_CC);
entry            2783 ext/phar/phar.c 			if (entry->metadata_str.c) {
entry            2784 ext/phar/phar.c 				smart_str_free(&entry->metadata_str);
entry            2786 ext/phar/phar.c 			entry->metadata_str.c = 0;
entry            2787 ext/phar/phar.c 			entry->metadata_str.len = 0;
entry            2791 ext/phar/phar.c 		offset += 4 + entry->filename_len + sizeof(entry_buffer) + entry->metadata_str.len + (entry->is_dir ? 1 : 0);
entry            2794 ext/phar/phar.c 		if ((oldfile && !entry->is_modified) || entry->is_dir) {
entry            2795 ext/phar/phar.c 			if (entry->fp_type == PHAR_UFP) {
entry            2797 ext/phar/phar.c 				entry->fp_type = PHAR_FP;
entry            2801 ext/phar/phar.c 		if (!phar_get_efp(entry, 0 TSRMLS_CC)) {
entry            2803 ext/phar/phar.c 			newentry = phar_open_jit(phar, entry, error TSRMLS_CC);
entry            2810 ext/phar/phar.c 			entry = newentry;
entry            2812 ext/phar/phar.c 		file = phar_get_efp(entry, 0 TSRMLS_CC);
entry            2813 ext/phar/phar.c 		if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 1 TSRMLS_CC)) {
entry            2819 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            2824 ext/phar/phar.c 		mytime = entry->uncompressed_filesize;
entry            2828 ext/phar/phar.c 		entry->crc32 = ~newcrc32;
entry            2829 ext/phar/phar.c 		entry->is_crc_checked = 1;
entry            2830 ext/phar/phar.c 		if (!(entry->flags & PHAR_ENT_COMPRESSION_MASK)) {
entry            2832 ext/phar/phar.c 			entry->compressed_filesize = entry->uncompressed_filesize;
entry            2835 ext/phar/phar.c 		filter = php_stream_filter_create(phar_compress_filter(entry, 0), NULL, 0 TSRMLS_CC);
entry            2841 ext/phar/phar.c 			if (entry->flags & PHAR_ENT_COMPRESSED_GZ) {
entry            2843 ext/phar/phar.c 					spprintf(error, 0, "unable to gzip compress file \"%s\" to new phar \"%s\"", entry->filename, phar->fname);
entry            2847 ext/phar/phar.c 					spprintf(error, 0, "unable to bzip2 compress file \"%s\" to new phar \"%s\"", entry->filename, phar->fname);
entry            2856 ext/phar/phar.c 		entry->cfp = php_stream_fopen_tmpfile();
entry            2857 ext/phar/phar.c 		if (!entry->cfp) {
entry            2868 ext/phar/phar.c 		if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0 TSRMLS_CC)) {
entry            2874 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            2878 ext/phar/phar.c 		php_stream_filter_append((&entry->cfp->writefilters), filter);
entry            2879 ext/phar/phar.c 		if (SUCCESS != php_stream_copy_to_stream_ex(file, entry->cfp, entry->uncompressed_filesize, NULL)) {
entry            2885 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            2890 ext/phar/phar.c 		php_stream_flush(entry->cfp);
entry            2892 ext/phar/phar.c 		php_stream_seek(entry->cfp, 0, SEEK_END);
entry            2893 ext/phar/phar.c 		entry->compressed_filesize = (php_uint32) php_stream_tell(entry->cfp);
entry            2895 ext/phar/phar.c 		php_stream_rewind(entry->cfp);
entry            2896 ext/phar/phar.c 		entry->old_flags = entry->flags;
entry            2897 ext/phar/phar.c 		entry->is_modified = 1;
entry            2898 ext/phar/phar.c 		global_flags |= (entry->flags & PHAR_ENT_COMPRESSION_MASK);
entry            2984 ext/phar/phar.c 		if (zend_hash_get_current_data(&phar->manifest, (void **)&entry) == FAILURE) {
entry            2988 ext/phar/phar.c 		if (entry->is_deleted || entry->is_mounted) {
entry            2993 ext/phar/phar.c 		if (entry->is_dir) {
entry            2995 ext/phar/phar.c 			phar_set_32(entry_buffer, entry->filename_len + 1);
entry            2997 ext/phar/phar.c 			phar_set_32(entry_buffer, entry->filename_len);
entry            3001 ext/phar/phar.c 		|| entry->filename_len != php_stream_write(newfile, entry->filename, entry->filename_len)
entry            3002 ext/phar/phar.c 		|| (entry->is_dir && 1 != php_stream_write(newfile, "/", 1))) {
entry            3008 ext/phar/phar.c 				if (entry->is_dir) {
entry            3009 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            3011 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            3027 ext/phar/phar.c 		phar_set_32(entry_buffer, entry->uncompressed_filesize);
entry            3029 ext/phar/phar.c 		phar_set_32(entry_buffer+8, entry->compressed_filesize);
entry            3030 ext/phar/phar.c 		phar_set_32(entry_buffer+12, entry->crc32);
entry            3031 ext/phar/phar.c 		phar_set_32(entry_buffer+16, entry->flags);
entry            3032 ext/phar/phar.c 		phar_set_32(entry_buffer+20, entry->metadata_str.len);
entry            3035 ext/phar/phar.c 		|| entry->metadata_str.len != php_stream_write(newfile, entry->metadata_str.c, entry->metadata_str.len)) {
entry            3043 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            3072 ext/phar/phar.c 		if (zend_hash_get_current_data(&phar->manifest, (void **)&entry) == FAILURE) {
entry            3076 ext/phar/phar.c 		if (entry->is_deleted || entry->is_dir || entry->is_mounted) {
entry            3080 ext/phar/phar.c 		if (entry->cfp) {
entry            3081 ext/phar/phar.c 			file = entry->cfp;
entry            3084 ext/phar/phar.c 			file = phar_get_efp(entry, 0 TSRMLS_CC);
entry            3085 ext/phar/phar.c 			if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0 TSRMLS_CC)) {
entry            3091 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            3103 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            3109 ext/phar/phar.c 		entry->offset = entry->offset_abs = offset;
entry            3110 ext/phar/phar.c 		offset += entry->compressed_filesize;
entry            3111 ext/phar/phar.c 		if (php_stream_copy_to_stream_ex(file, newfile, entry->compressed_filesize, &wrote) == FAILURE) {
entry            3119 ext/phar/phar.c 				spprintf(error, 0, "unable to write contents of file \"%s\" to new phar \"%s\"", entry->filename, phar->fname);
entry            3125 ext/phar/phar.c 		entry->is_modified = 0;
entry            3127 ext/phar/phar.c 		if (entry->cfp) {
entry            3128 ext/phar/phar.c 			php_stream_close(entry->cfp);
entry            3129 ext/phar/phar.c 			entry->cfp = NULL;
entry            3132 ext/phar/phar.c 		if (entry->fp_type == PHAR_MOD) {
entry            3134 ext/phar/phar.c 			if (entry->fp_refcount == 0 && entry->fp != phar->fp && entry->fp != phar->ufp) {
entry            3135 ext/phar/phar.c 				php_stream_close(entry->fp);
entry            3138 ext/phar/phar.c 			entry->fp = NULL;
entry            3139 ext/phar/phar.c 			entry->fp_type = PHAR_FP;
entry            3140 ext/phar/phar.c 		} else if (entry->fp_type == PHAR_UFP) {
entry            3141 ext/phar/phar.c 			entry->fp_type = PHAR_FP;
entry            3165 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             348 ext/phar/phar_internal.h static inline php_stream *phar_get_entrypfp(phar_entry_info *entry TSRMLS_DC)
entry             350 ext/phar/phar_internal.h 	if (!entry->is_persistent) {
entry             351 ext/phar/phar_internal.h 		return entry->phar->fp;
entry             353 ext/phar/phar_internal.h 	return PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].fp;
entry             356 ext/phar/phar_internal.h static inline php_stream *phar_get_entrypufp(phar_entry_info *entry TSRMLS_DC)
entry             358 ext/phar/phar_internal.h 	if (!entry->is_persistent) {
entry             359 ext/phar/phar_internal.h 		return entry->phar->ufp;
entry             361 ext/phar/phar_internal.h 	return PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].ufp;
entry             364 ext/phar/phar_internal.h static inline void phar_set_entrypfp(phar_entry_info *entry, php_stream *fp TSRMLS_DC)
entry             366 ext/phar/phar_internal.h 	if (!entry->phar->is_persistent) {
entry             367 ext/phar/phar_internal.h 		entry->phar->fp =  fp;
entry             371 ext/phar/phar_internal.h 	PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].fp = fp;
entry             374 ext/phar/phar_internal.h static inline void phar_set_entrypufp(phar_entry_info *entry, php_stream *fp TSRMLS_DC)
entry             376 ext/phar/phar_internal.h 	if (!entry->phar->is_persistent) {
entry             377 ext/phar/phar_internal.h 		entry->phar->ufp =  fp;
entry             381 ext/phar/phar_internal.h 	PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].ufp = fp;
entry             420 ext/phar/phar_internal.h static inline void phar_set_fp_type(phar_entry_info *entry, enum phar_fp_type type, off_t offset TSRMLS_DC)
entry             424 ext/phar/phar_internal.h 	if (!entry->is_persistent) {
entry             425 ext/phar/phar_internal.h 		entry->fp_type = type;
entry             426 ext/phar/phar_internal.h 		entry->offset = offset;
entry             429 ext/phar/phar_internal.h 	data = &(PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos]);
entry             434 ext/phar/phar_internal.h static inline enum phar_fp_type phar_get_fp_type(phar_entry_info *entry TSRMLS_DC)
entry             436 ext/phar/phar_internal.h 	if (!entry->is_persistent) {
entry             437 ext/phar/phar_internal.h 		return entry->fp_type;
entry             439 ext/phar/phar_internal.h 	return PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type;
entry             442 ext/phar/phar_internal.h static inline off_t phar_get_fp_offset(phar_entry_info *entry TSRMLS_DC)
entry             444 ext/phar/phar_internal.h 	if (!entry->is_persistent) {
entry             445 ext/phar/phar_internal.h 		return entry->offset;
entry             447 ext/phar/phar_internal.h 	if (PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type == PHAR_FP) {
entry             448 ext/phar/phar_internal.h 		if (!PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset) {
entry             449 ext/phar/phar_internal.h 			PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset;
entry             452 ext/phar/phar_internal.h 	return PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset;
entry             499 ext/phar/phar_internal.h 		phar_entry_info      *entry;
entry             535 ext/phar/phar_internal.h static inline void phar_set_inode(phar_entry_info *entry TSRMLS_DC) /* {{{ */
entry             541 ext/phar/phar_internal.h 	tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len);
entry             543 ext/phar/phar_internal.h 	len1 = MIN(entry->phar->fname_len, tmp_len);
entry             544 ext/phar/phar_internal.h 	memcpy(tmp, entry->phar->fname, len1);
entry             546 ext/phar/phar_internal.h 	len2 = MIN(tmp_len - len1, entry->filename_len);
entry             547 ext/phar/phar_internal.h 	memcpy(tmp + len1, entry->filename, len2);
entry             549 ext/phar/phar_internal.h 	entry->inode = (unsigned short)zend_get_hash_value(tmp, tmp_len);
entry             558 ext/phar/phar_internal.h int phar_open_entry_file(phar_archive_data *phar, phar_entry_info *entry, char **error TSRMLS_DC);
entry             572 ext/phar/phar_internal.h char *phar_decompress_filter(phar_entry_info * entry, int return_unknown);
entry             573 ext/phar/phar_internal.h char *phar_compress_filter(phar_entry_info * entry, int return_unknown);
entry             580 ext/phar/phar_internal.h phar_entry_info * phar_open_jit(phar_archive_data *phar, phar_entry_info *entry, char **error TSRMLS_DC);
entry             583 ext/phar/phar_internal.h int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_links TSRMLS_DC);
entry             584 ext/phar/phar_internal.h php_stream *phar_get_efp(phar_entry_info *entry, int follow_links TSRMLS_DC);
entry             586 ext/phar/phar_internal.h int phar_open_entry_fp(phar_entry_info *entry, char **error, int follow_links TSRMLS_DC);
entry             587 ext/phar/phar_internal.h phar_entry_info *phar_get_link_source(phar_entry_info *entry TSRMLS_DC);
entry             588 ext/phar/phar_internal.h int phar_create_writeable_entry(phar_archive_data *phar, phar_entry_info *entry, char **error TSRMLS_DC);
entry             589 ext/phar/phar_internal.h int phar_separate_entry_fp(phar_entry_info *entry, char **error TSRMLS_DC);
entry             621 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 TSRMLS_DC);
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 TSRMLS_DC) /* {{{ */
entry              80 ext/phar/phar_object.c 		if (Z_STRLEN_PP(stuff) > entry_len && !memcmp(Z_STRVAL_PP(stuff), entry, entry_len)) {
entry              93 ext/phar/phar_object.c 		Z_STRLEN_PP(stuff) = spprintf(&(Z_STRVAL_PP(stuff)), 4096, "phar://%s%s", fname, entry);
entry             141 ext/phar/phar_object.c 			ZVAL_STRINGL(*stuff, entry, entry_len, 1);
entry             154 ext/phar/phar_object.c 			Z_STRLEN_PP(stuff) = spprintf(&(Z_STRVAL_PP(stuff)), 4096, "phar://%s%s", fname, entry);
entry             165 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 TSRMLS_DC) /* {{{ */
entry             183 ext/phar/phar_object.c 			if (entry[0] == '/') {
entry             184 ext/phar/phar_object.c 				name_len = spprintf(&name, 4096, "phar://%s%s", arch, entry);
entry             186 ext/phar/phar_object.c 				name_len = spprintf(&name, 4096, "phar://%s/%s", arch, entry);
entry             242 ext/phar/phar_object.c 				phar_mung_server_vars(arch, entry, entry_len, basename, ru_len TSRMLS_CC);
entry             246 ext/phar/phar_object.c 			if (entry[0] == '/') {
entry             247 ext/phar/phar_object.c 				name_len = spprintf(&name, 4096, "phar://%s%s", arch, entry);
entry             249 ext/phar/phar_object.c 				name_len = spprintf(&name, 4096, "phar://%s/%s", arch, entry);
entry             262 ext/phar/phar_object.c 				if ((cwd = zend_memrchr(entry, '/', entry_len))) {
entry             264 ext/phar/phar_object.c 					if (entry == cwd) {
entry             268 ext/phar/phar_object.c 					} else if (entry[0] == '/') {
entry             269 ext/phar/phar_object.c 						PHAR_G(cwd_len) = cwd - (entry + 1);
entry             270 ext/phar/phar_object.c 						PHAR_G(cwd) = estrndup(entry + 1, PHAR_G(cwd_len));
entry             272 ext/phar/phar_object.c 						PHAR_G(cwd_len) = cwd - entry;
entry             273 ext/phar/phar_object.c 						PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len));
entry             333 ext/phar/phar_object.c static void phar_do_403(char *entry, int entry_len TSRMLS_DC) /* {{{ */
entry             343 ext/phar/phar_object.c 	PHPWRITE(entry, entry_len);
entry             348 ext/phar/phar_object.c static void phar_do_404(phar_archive_data *phar, char *fname, int fname_len, char *f404, int f404_len, char *entry, int entry_len TSRMLS_DC) /* {{{ */
entry             368 ext/phar/phar_object.c 	PHPWRITE(entry, entry_len);
entry             376 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 TSRMLS_DC) /* {{{ */
entry             378 ext/phar/phar_object.c 	char *e = *entry + 1, *u = NULL, *u1 = NULL, *saveu = NULL;
entry             443 ext/phar/phar_object.c 	char *fname, *arch, *entry;
entry             454 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 TSRMLS_CC)) {
entry             455 ext/phar/phar_object.c 		efree(entry);
entry             477 ext/phar/phar_object.c 	char *fname, *arch = NULL, *entry = NULL, *path, *actual;
entry             492 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 TSRMLS_CC)) {
entry             493 ext/phar/phar_object.c 		efree(entry);
entry             494 ext/phar/phar_object.c 		entry = NULL;
entry             519 ext/phar/phar_object.c 			if (path && path == entry) {
entry             520 ext/phar/phar_object.c 				efree(entry);
entry             530 ext/phar/phar_object.c 		if (entry && path && path == entry) {
entry             531 ext/phar/phar_object.c 			efree(entry);
entry             547 ext/phar/phar_object.c 	} else if (SUCCESS == phar_split_fname(path, path_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRMLS_CC)) {
entry             548 ext/phar/phar_object.c 		path = entry;
entry             569 ext/phar/phar_object.c 	char *fname, *path_info, *mime_type = NULL, *entry, *pt;
entry             625 ext/phar/phar_object.c 				entry = estrndup(Z_STRVAL_PP(z_path_info), entry_len);
entry             628 ext/phar/phar_object.c 				memcpy(path_info + Z_STRLEN_PP(z_script_name), entry, entry_len + 1);
entry             632 ext/phar/phar_object.c 				entry = estrndup("", 0);
entry             650 ext/phar/phar_object.c 				entry = path_info;
entry             651 ext/phar/phar_object.c 				entry_len = strlen(entry);
entry             657 ext/phar/phar_object.c 				entry = estrndup("", 0);
entry             674 ext/phar/phar_object.c 		entry = estrndup(pt + (fname_len - (basename - fname)), entry_len);
entry             686 ext/phar/phar_object.c 		ZVAL_STRINGL(params, entry, entry_len, 1);
entry             726 ext/phar/phar_object.c 				efree(entry);
entry             729 ext/phar/phar_object.c 					entry = estrndup(Z_STRVAL_PP(fci.retval_ptr_ptr), Z_STRLEN_PP(fci.retval_ptr_ptr));
entry             732 ext/phar/phar_object.c 					entry = Z_STRVAL_P(retval_ptr);
entry             738 ext/phar/phar_object.c 				phar_do_403(entry, entry_len TSRMLS_CC);
entry             759 ext/phar/phar_object.c 		phar_postprocess_ru_web(fname, fname_len, &entry, &entry_len, &ru, &ru_len TSRMLS_CC);
entry             762 ext/phar/phar_object.c 	if (!entry_len || (entry_len == 1 && entry[0] == '/')) {
entry             763 ext/phar/phar_object.c 		efree(entry);
entry             766 ext/phar/phar_object.c 			entry = index_php;
entry             768 ext/phar/phar_object.c 			if (entry[0] != '/') {
entry             769 ext/phar/phar_object.c 				spprintf(&entry, 0, "/%s", index_php);
entry             774 ext/phar/phar_object.c 			entry = estrndup("/index.php", sizeof("/index.php"));
entry             779 ext/phar/phar_object.c 			(info = phar_get_entry_info(phar, entry, entry_len, NULL, 0 TSRMLS_CC)) == NULL) {
entry             780 ext/phar/phar_object.c 			phar_do_404(phar, fname, fname_len, f404, f404_len, entry, entry_len TSRMLS_CC);
entry             804 ext/phar/phar_object.c 				ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry + 1);
entry             806 ext/phar/phar_object.c 				ctr.line_len = spprintf(&(ctr.line), 4096, "Location: %s%s", path_info, entry);
entry             825 ext/phar/phar_object.c 		(info = phar_get_entry_info(phar, entry, entry_len, NULL, 0 TSRMLS_CC)) == NULL) {
entry             826 ext/phar/phar_object.c 		phar_do_404(phar, fname, fname_len, f404, f404_len, entry, entry_len TSRMLS_CC);
entry             834 ext/phar/phar_object.c 		const char *ext = zend_memrchr(entry, '.', entry_len);
entry             870 ext/phar/phar_object.c 		code = phar_file_type(&PHAR_G(mime_types), entry, &mime_type TSRMLS_CC);
entry             872 ext/phar/phar_object.c 	ret = phar_file_action(phar, info, mime_type, code, entry, entry_len, fname, pt, ru, ru_len TSRMLS_CC);
entry            1144 ext/phar/phar_object.c 	char *fname, *alias = NULL, *error, *arch = NULL, *entry = NULL, *save_fname;
entry            1172 ext/phar/phar_object.c 	if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, !is_data, 2 TSRMLS_CC)) {
entry            1196 ext/phar/phar_object.c 		if (entry) {
entry            1197 ext/phar/phar_object.c 			efree(entry);
entry            1230 ext/phar/phar_object.c 		efree(entry);
entry            1243 ext/phar/phar_object.c 	if (entry) {
entry            1244 ext/phar/phar_object.c 		fname_len = spprintf(&fname, 0, "phar://%s%s", phar_data->fname, entry);
entry            1245 ext/phar/phar_object.c 		efree(entry);
entry            1325 ext/phar/phar_object.c 	char *fname, *error, *zname, *arch, *entry;
entry            1351 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 TSRMLS_CC)) {
entry            1355 ext/phar/phar_object.c 			efree(entry);
entry            1359 ext/phar/phar_object.c 		efree(entry);
entry            1497 ext/phar/phar_object.c 						fname_len = spprintf(&fname, 0, "%s%c%s", test, DEFAULT_SLASH, intern->u.dir.entry.d_name);
entry            1976 ext/phar/phar_object.c static int phar_copy_file_contents(phar_entry_info *entry, php_stream *fp TSRMLS_DC) /* {{{ */
entry            1982 ext/phar/phar_object.c 	if (FAILURE == phar_open_entry_fp(entry, &error, 1 TSRMLS_CC)) {
entry            1985 ext/phar/phar_object.c 				"Cannot convert phar archive \"%s\", unable to open entry \"%s\" contents: %s", entry->phar->fname, entry->filename, error);
entry            1989 ext/phar/phar_object.c 				"Cannot convert phar archive \"%s\", unable to open entry \"%s\" contents", entry->phar->fname, entry->filename);
entry            1995 ext/phar/phar_object.c 	phar_seek_efp(entry, 0, SEEK_SET, 0, 1 TSRMLS_CC);
entry            1997 ext/phar/phar_object.c 	link = phar_get_link_source(entry TSRMLS_CC);
entry            2000 ext/phar/phar_object.c 		link = entry;
entry            2005 ext/phar/phar_object.c 			"Cannot convert phar archive \"%s\", unable to copy entry \"%s\" contents", entry->phar->fname, entry->filename);
entry            2009 ext/phar/phar_object.c 	if (entry->fp_type == PHAR_MOD) {
entry            2011 ext/phar/phar_object.c 		entry->cfp = entry->fp;
entry            2012 ext/phar/phar_object.c 		entry->fp = NULL;
entry            2016 ext/phar/phar_object.c 	entry->fp_type = PHAR_FP;
entry            2017 ext/phar/phar_object.c 	entry->offset = offset;
entry            2224 ext/phar/phar_object.c 	phar_entry_info *entry, newentry;
entry            2280 ext/phar/phar_object.c 		if (FAILURE == zend_hash_get_current_data(&source->manifest, (void **) &entry)) {
entry            2289 ext/phar/phar_object.c 		newentry = *entry;
entry            2330 ext/phar/phar_object.c 			newentry.tar_type = (entry->is_dir ? TAR_DIR : TAR_FILE);
entry            2624 ext/phar/phar_object.c 	phar_entry_info *entry;
entry            2642 ext/phar/phar_object.c 		if (SUCCESS == zend_hash_find(&phar_obj->arc.archive->manifest, fname, (uint) fname_len, (void**)&entry)) {
entry            2643 ext/phar/phar_object.c 			if (entry->is_deleted) {
entry            2647 ext/phar/phar_object.c 				entry->is_deleted = 1;
entry            2648 ext/phar/phar_object.c 				entry->is_modified = 1;
entry            3143 ext/phar/phar_object.c 	phar_entry_info *entry = (phar_entry_info *)pDest;
entry            3146 ext/phar/phar_object.c 	if (entry->is_deleted) {
entry            3150 ext/phar/phar_object.c 	entry->old_flags = entry->flags;
entry            3151 ext/phar/phar_object.c 	entry->flags &= ~PHAR_ENT_COMPRESSION_MASK;
entry            3152 ext/phar/phar_object.c 	entry->flags |= compress;
entry            3153 ext/phar/phar_object.c 	entry->is_modified = 1;
entry            3160 ext/phar/phar_object.c 	phar_entry_info *entry = (phar_entry_info *)pDest;
entry            3162 ext/phar/phar_object.c 	if (entry->is_deleted) {
entry            3167 ext/phar/phar_object.c 		if (entry->flags & PHAR_ENT_COMPRESSED_BZ2) {
entry            3173 ext/phar/phar_object.c 		if (entry->flags & PHAR_ENT_COMPRESSED_GZ) {
entry            3547 ext/phar/phar_object.c 	phar_entry_info *entry;
entry            3556 ext/phar/phar_object.c 		if (SUCCESS == zend_hash_find(&phar_obj->arc.archive->manifest, fname, (uint) fname_len, (void**)&entry)) {
entry            3557 ext/phar/phar_object.c 			if (entry->is_deleted) {
entry            3585 ext/phar/phar_object.c 	phar_entry_info *entry;
entry            3593 ext/phar/phar_object.c 	if (!(entry = phar_get_entry_info_dir(phar_obj->arc.archive, fname, fname_len, 1, &error, 0 TSRMLS_CC))) {
entry            3611 ext/phar/phar_object.c 		if (entry->is_temp_dir) {
entry            3612 ext/phar/phar_object.c 			efree(entry->filename);
entry            3613 ext/phar/phar_object.c 			efree(entry);
entry            3767 ext/phar/phar_object.c 	phar_entry_info *entry;
entry            3780 ext/phar/phar_object.c 		if (SUCCESS == zend_hash_find(&phar_obj->arc.archive->manifest, fname, (uint) fname_len, (void**)&entry)) {
entry            3781 ext/phar/phar_object.c 			if (entry->is_deleted) {
entry            3792 ext/phar/phar_object.c 				zend_hash_find(&phar_obj->arc.archive->manifest, fname, (uint) fname_len, (void **)&entry);
entry            3794 ext/phar/phar_object.c 			entry->is_modified = 0;
entry            3795 ext/phar/phar_object.c 			entry->is_deleted = 1;
entry            4114 ext/phar/phar_object.c static int phar_extract_file(zend_bool overwrite, phar_entry_info *entry, char *dest, int dest_len, char **error TSRMLS_DC) /* {{{ */
entry            4126 ext/phar/phar_object.c 	if (entry->is_mounted) {
entry            4131 ext/phar/phar_object.c 	if (entry->filename_len >= sizeof(".phar")-1 && !memcmp(entry->filename, ".phar", sizeof(".phar")-1)) {
entry            4139 ext/phar/phar_object.c 	if (virtual_file_ex(&new_state, entry->filename, NULL, CWD_EXPAND TSRMLS_CC) != 0 ||
entry            4141 ext/phar/phar_object.c 		if (EINVAL == errno && entry->filename_len > 50) {
entry            4142 ext/phar/phar_object.c 			char *tmp = estrndup(entry->filename, 50);
entry            4146 ext/phar/phar_object.c 			spprintf(error, 4096, "Cannot extract \"%s\", internal error", entry->filename);
entry            4172 ext/phar/phar_object.c 		if (entry->filename_len > 50) {
entry            4173 ext/phar/phar_object.c 			tmp = estrndup(entry->filename, 50);
entry            4177 ext/phar/phar_object.c 			spprintf(error, 4096, "Cannot extract \"%s\" to \"%s...\", extracted filename is too long for filesystem", entry->filename, fullpath);
entry            4185 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\", internal error", entry->filename);
entry            4192 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", openbasedir/safe mode restrictions in effect", entry->filename, fullpath);
entry            4200 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", path already exists", entry->filename, fullpath);
entry            4216 ext/phar/phar_object.c 		if (entry->is_dir) {
entry            4217 ext/phar/phar_object.c 			if (!php_stream_mkdir(fullpath, entry->flags & PHAR_ENT_PERM_MASK,  PHP_STREAM_MKDIR_RECURSIVE, NULL)) {
entry            4218 ext/phar/phar_object.c 				spprintf(error, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath);
entry            4225 ext/phar/phar_object.c 				spprintf(error, 4096, "Cannot extract \"%s\", could not create directory \"%s\"", entry->filename, fullpath);
entry            4242 ext/phar/phar_object.c 	if (entry->is_dir) {
entry            4254 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\", could not open for writing \"%s\"", entry->filename, fullpath);
entry            4259 ext/phar/phar_object.c 	if (!phar_get_efp(entry, 0 TSRMLS_CC)) {
entry            4260 ext/phar/phar_object.c 		if (FAILURE == phar_open_entry_fp(entry, error, 1 TSRMLS_CC)) {
entry            4262 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            4264 ext/phar/phar_object.c 				spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", unable to open internal file pointer", entry->filename, fullpath);
entry            4272 ext/phar/phar_object.c 	if (FAILURE == phar_seek_efp(entry, 0, SEEK_SET, 0, 0 TSRMLS_CC)) {
entry            4273 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", unable to seek internal file pointer", entry->filename, fullpath);
entry            4279 ext/phar/phar_object.c 	if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_efp(entry, 0 TSRMLS_CC), fp, entry->uncompressed_filesize, NULL)) {
entry            4280 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", copying contents failed", entry->filename, fullpath);
entry            4287 ext/phar/phar_object.c 	mode = (mode_t) entry->flags & PHAR_ENT_PERM_MASK;
entry            4290 ext/phar/phar_object.c 		spprintf(error, 4096, "Cannot extract \"%s\" to \"%s\", setting file permissions failed", entry->filename, fullpath);
entry            4308 ext/phar/phar_object.c 	phar_entry_info *entry;
entry            4384 ext/phar/phar_object.c 						if (FAILURE == zend_hash_find(&phar_obj->arc.archive->manifest, Z_STRVAL_PP(zval_file), Z_STRLEN_PP(zval_file), (void **)&entry)) {
entry            4388 ext/phar/phar_object.c 						if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error TSRMLS_CC)) {
entry            4403 ext/phar/phar_object.c 		if (FAILURE == zend_hash_find(&phar_obj->arc.archive->manifest, filename, filename_len, (void **)&entry)) {
entry            4409 ext/phar/phar_object.c 		if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error TSRMLS_CC)) {
entry            4428 ext/phar/phar_object.c 			if (zend_hash_get_current_data(&phar->manifest, (void **)&entry) == FAILURE) {
entry            4432 ext/phar/phar_object.c 			if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error TSRMLS_CC)) {
entry            4450 ext/phar/phar_object.c 	char *fname, *arch, *entry, *error;
entry            4463 ext/phar/phar_object.c 	if (entry_obj->ent.entry) {
entry            4468 ext/phar/phar_object.c 	if (fname_len < 7 || memcmp(fname, "phar://", 7) || phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRMLS_CC) == FAILURE) {
entry            4476 ext/phar/phar_object.c 		efree(entry);
entry            4488 ext/phar/phar_object.c 	if ((entry_info = phar_get_entry_info_dir(phar_data, entry, entry_len, 1, &error, 1 TSRMLS_CC)) == NULL) {
entry            4490 ext/phar/phar_object.c 			"Cannot access phar file entry '%s' in archive '%s'%s%s", entry, arch, error ? ", " : "", error ? error : "");
entry            4492 ext/phar/phar_object.c 		efree(entry);
entry            4497 ext/phar/phar_object.c 	efree(entry);
entry            4499 ext/phar/phar_object.c 	entry_obj->ent.entry = entry_info;
entry            4511 ext/phar/phar_object.c 	if (!entry_obj->ent.entry) { \
entry            4524 ext/phar/phar_object.c 	if (entry_obj->ent.entry && entry_obj->ent.entry->is_temp_dir) {
entry            4525 ext/phar/phar_object.c 		if (entry_obj->ent.entry->filename) {
entry            4526 ext/phar/phar_object.c 			efree(entry_obj->ent.entry->filename);
entry            4527 ext/phar/phar_object.c 			entry_obj->ent.entry->filename = NULL;
entry            4530 ext/phar/phar_object.c 		efree(entry_obj->ent.entry);
entry            4531 ext/phar/phar_object.c 		entry_obj->ent.entry = NULL;
entry            4547 ext/phar/phar_object.c 	RETURN_LONG(entry_obj->ent.entry->compressed_filesize);
entry            4566 ext/phar/phar_object.c 			RETURN_BOOL(entry_obj->ent.entry->flags & PHAR_ENT_COMPRESSION_MASK);
entry            4568 ext/phar/phar_object.c 			RETURN_BOOL(entry_obj->ent.entry->flags & PHAR_ENT_COMPRESSED_GZ);
entry            4570 ext/phar/phar_object.c 			RETURN_BOOL(entry_obj->ent.entry->flags & PHAR_ENT_COMPRESSED_BZ2);
entry            4589 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_dir) {
entry            4595 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_crc_checked) {
entry            4596 ext/phar/phar_object.c 		RETURN_LONG(entry_obj->ent.entry->crc32);
entry            4615 ext/phar/phar_object.c 	RETURN_BOOL(entry_obj->ent.entry->is_crc_checked);
entry            4630 ext/phar/phar_object.c 	RETURN_LONG(entry_obj->ent.entry->flags & ~(PHAR_ENT_PERM_MASK|PHAR_ENT_COMPRESSION_MASK));
entry            4643 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_temp_dir) {
entry            4645 ext/phar/phar_object.c 			"Phar entry \"%s\" is a temporary directory (not an actual entry in the archive), cannot chmod", entry_obj->ent.entry->filename); \
entry            4649 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->ent.entry->phar->is_data) {
entry            4650 ext/phar/phar_object.c 		zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Cannot modify permissions for file \"%s\" in phar \"%s\", write operations are prohibited", entry_obj->ent.entry->filename, entry_obj->ent.entry->phar->fname);
entry            4658 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_persistent) {
entry            4659 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->ent.entry->phar;
entry            4666 ext/phar/phar_object.c 		zend_hash_find(&phar->manifest, entry_obj->ent.entry->filename, entry_obj->ent.entry->filename_len, (void **)&entry_obj->ent.entry);
entry            4669 ext/phar/phar_object.c 	entry_obj->ent.entry->flags &= ~PHAR_ENT_PERM_MASK;
entry            4671 ext/phar/phar_object.c 	entry_obj->ent.entry->flags |= perms;
entry            4672 ext/phar/phar_object.c 	entry_obj->ent.entry->old_flags = entry_obj->ent.entry->flags;
entry            4673 ext/phar/phar_object.c 	entry_obj->ent.entry->phar->is_modified = 1;
entry            4674 ext/phar/phar_object.c 	entry_obj->ent.entry->is_modified = 1;
entry            4688 ext/phar/phar_object.c 	phar_flush(entry_obj->ent.entry->phar, 0, 0, 0, &error TSRMLS_CC);
entry            4708 ext/phar/phar_object.c 	RETURN_BOOL(entry_obj->ent.entry->metadata != NULL);
entry            4723 ext/phar/phar_object.c 	if (entry_obj->ent.entry->metadata) {
entry            4724 ext/phar/phar_object.c 		if (entry_obj->ent.entry->is_persistent) {
entry            4726 ext/phar/phar_object.c 			char *buf = estrndup((char *) entry_obj->ent.entry->metadata, entry_obj->ent.entry->metadata_len);
entry            4728 ext/phar/phar_object.c 			phar_parse_metadata(&buf, &ret, entry_obj->ent.entry->metadata_len TSRMLS_CC);
entry            4732 ext/phar/phar_object.c 		RETURN_ZVAL(entry_obj->ent.entry->metadata, 1, 0);
entry            4747 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->ent.entry->phar->is_data) {
entry            4752 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_temp_dir) {
entry            4762 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_persistent) {
entry            4763 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->ent.entry->phar;
entry            4770 ext/phar/phar_object.c 		zend_hash_find(&phar->manifest, entry_obj->ent.entry->filename, entry_obj->ent.entry->filename_len, (void **)&entry_obj->ent.entry);
entry            4772 ext/phar/phar_object.c 	if (entry_obj->ent.entry->metadata) {
entry            4773 ext/phar/phar_object.c 		zval_ptr_dtor(&entry_obj->ent.entry->metadata);
entry            4774 ext/phar/phar_object.c 		entry_obj->ent.entry->metadata = NULL;
entry            4777 ext/phar/phar_object.c 	MAKE_STD_ZVAL(entry_obj->ent.entry->metadata);
entry            4778 ext/phar/phar_object.c 	ZVAL_ZVAL(entry_obj->ent.entry->metadata, metadata, 1, 0);
entry            4780 ext/phar/phar_object.c 	entry_obj->ent.entry->is_modified = 1;
entry            4781 ext/phar/phar_object.c 	entry_obj->ent.entry->phar->is_modified = 1;
entry            4782 ext/phar/phar_object.c 	phar_flush(entry_obj->ent.entry->phar, 0, 0, 0, &error TSRMLS_CC);
entry            4804 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->ent.entry->phar->is_data) {
entry            4809 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_temp_dir) {
entry            4815 ext/phar/phar_object.c 	if (entry_obj->ent.entry->metadata) {
entry            4816 ext/phar/phar_object.c 		if (entry_obj->ent.entry->is_persistent) {
entry            4817 ext/phar/phar_object.c 			phar_archive_data *phar = entry_obj->ent.entry->phar;
entry            4824 ext/phar/phar_object.c 			zend_hash_find(&phar->manifest, entry_obj->ent.entry->filename, entry_obj->ent.entry->filename_len, (void **)&entry_obj->ent.entry);
entry            4826 ext/phar/phar_object.c 		zval_ptr_dtor(&entry_obj->ent.entry->metadata);
entry            4827 ext/phar/phar_object.c 		entry_obj->ent.entry->metadata = NULL;
entry            4828 ext/phar/phar_object.c 		entry_obj->ent.entry->is_modified = 1;
entry            4829 ext/phar/phar_object.c 		entry_obj->ent.entry->phar->is_modified = 1;
entry            4831 ext/phar/phar_object.c 		phar_flush(entry_obj->ent.entry->phar, 0, 0, 0, &error TSRMLS_CC);
entry            4862 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_dir) {
entry            4864 ext/phar/phar_object.c 			"Phar error: Cannot retrieve contents, \"%s\" in phar \"%s\" is a directory", entry_obj->ent.entry->filename, entry_obj->ent.entry->phar->fname);
entry            4868 ext/phar/phar_object.c 	link = phar_get_link_source(entry_obj->ent.entry TSRMLS_CC);
entry            4871 ext/phar/phar_object.c 		link = entry_obj->ent.entry;
entry            4876 ext/phar/phar_object.c 			"Phar error: Cannot retrieve contents, \"%s\" in phar \"%s\": %s", entry_obj->ent.entry->filename, entry_obj->ent.entry->phar->fname, error);
entry            4883 ext/phar/phar_object.c 			"Phar error: Cannot retrieve contents of \"%s\" in phar \"%s\"", entry_obj->ent.entry->filename, entry_obj->ent.entry->phar->fname);
entry            4911 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_tar) {
entry            4917 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_dir) {
entry            4923 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->ent.entry->phar->is_data) {
entry            4929 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_deleted) {
entry            4935 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_persistent) {
entry            4936 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->ent.entry->phar;
entry            4943 ext/phar/phar_object.c 		zend_hash_find(&phar->manifest, entry_obj->ent.entry->filename, entry_obj->ent.entry->filename_len, (void **)&entry_obj->ent.entry);
entry            4947 ext/phar/phar_object.c 			if (entry_obj->ent.entry->flags & PHAR_ENT_COMPRESSED_GZ) {
entry            4951 ext/phar/phar_object.c 			if ((entry_obj->ent.entry->flags & PHAR_ENT_COMPRESSED_BZ2) != 0) {
entry            4959 ext/phar/phar_object.c 				if (SUCCESS != phar_open_entry_fp(entry_obj->ent.entry, &error, 1 TSRMLS_CC)) {
entry            4961 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->ent.entry->filename, entry_obj->ent.entry->phar->fname, error);
entry            4973 ext/phar/phar_object.c 			entry_obj->ent.entry->old_flags = entry_obj->ent.entry->flags;
entry            4974 ext/phar/phar_object.c 			entry_obj->ent.entry->flags &= ~PHAR_ENT_COMPRESSION_MASK;
entry            4975 ext/phar/phar_object.c 			entry_obj->ent.entry->flags |= PHAR_ENT_COMPRESSED_GZ;
entry            4978 ext/phar/phar_object.c 			if (entry_obj->ent.entry->flags & PHAR_ENT_COMPRESSED_BZ2) {
entry            4982 ext/phar/phar_object.c 			if ((entry_obj->ent.entry->flags & PHAR_ENT_COMPRESSED_GZ) != 0) {
entry            4990 ext/phar/phar_object.c 				if (SUCCESS != phar_open_entry_fp(entry_obj->ent.entry, &error, 1 TSRMLS_CC)) {
entry            4992 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->ent.entry->filename, entry_obj->ent.entry->phar->fname, error);
entry            5003 ext/phar/phar_object.c 			entry_obj->ent.entry->old_flags = entry_obj->ent.entry->flags;
entry            5004 ext/phar/phar_object.c 			entry_obj->ent.entry->flags &= ~PHAR_ENT_COMPRESSION_MASK;
entry            5005 ext/phar/phar_object.c 			entry_obj->ent.entry->flags |= PHAR_ENT_COMPRESSED_BZ2;
entry            5012 ext/phar/phar_object.c 	entry_obj->ent.entry->phar->is_modified = 1;
entry            5013 ext/phar/phar_object.c 	entry_obj->ent.entry->is_modified = 1;
entry            5014 ext/phar/phar_object.c 	phar_flush(entry_obj->ent.entry->phar, 0, 0, 0, &error TSRMLS_CC);
entry            5037 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_dir) {
entry            5043 ext/phar/phar_object.c 	if ((entry_obj->ent.entry->flags & PHAR_ENT_COMPRESSION_MASK) == 0) {
entry            5047 ext/phar/phar_object.c 	if (PHAR_G(readonly) && !entry_obj->ent.entry->phar->is_data) {
entry            5053 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_deleted) {
entry            5059 ext/phar/phar_object.c 	if ((entry_obj->ent.entry->flags & PHAR_ENT_COMPRESSED_GZ) != 0 && !PHAR_G(has_zlib)) {
entry            5065 ext/phar/phar_object.c 	if ((entry_obj->ent.entry->flags & PHAR_ENT_COMPRESSED_BZ2) != 0 && !PHAR_G(has_bz2)) {
entry            5071 ext/phar/phar_object.c 	if (entry_obj->ent.entry->is_persistent) {
entry            5072 ext/phar/phar_object.c 		phar_archive_data *phar = entry_obj->ent.entry->phar;
entry            5079 ext/phar/phar_object.c 		zend_hash_find(&phar->manifest, entry_obj->ent.entry->filename, entry_obj->ent.entry->filename_len, (void **)&entry_obj->ent.entry);
entry            5081 ext/phar/phar_object.c 	if (!entry_obj->ent.entry->fp) {
entry            5082 ext/phar/phar_object.c 		if (FAILURE == phar_open_archive_fp(entry_obj->ent.entry->phar TSRMLS_CC)) {
entry            5083 ext/phar/phar_object.c 			zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "Cannot decompress entry \"%s\", phar error: Cannot open phar archive \"%s\" for reading", entry_obj->ent.entry->filename, entry_obj->ent.entry->phar->fname);
entry            5086 ext/phar/phar_object.c 		entry_obj->ent.entry->fp_type = PHAR_FP;
entry            5089 ext/phar/phar_object.c 	entry_obj->ent.entry->old_flags = entry_obj->ent.entry->flags;
entry            5090 ext/phar/phar_object.c 	entry_obj->ent.entry->flags &= ~PHAR_ENT_COMPRESSION_MASK;
entry            5091 ext/phar/phar_object.c 	entry_obj->ent.entry->phar->is_modified = 1;
entry            5092 ext/phar/phar_object.c 	entry_obj->ent.entry->is_modified = 1;
entry            5093 ext/phar/phar_object.c 	phar_flush(entry_obj->ent.entry->phar, 0, 0, 0, &error TSRMLS_CC);
entry            5216 ext/phar/phar_object.c 	ZEND_ARG_INFO(0, entry)
entry            5227 ext/phar/phar_object.c 	ZEND_ARG_INFO(0, entry)
entry            5232 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) TSRMLS_CC) == 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             363 ext/phar/stream.c 	phar_entry_info *entry;
entry             366 ext/phar/stream.c 		entry = phar_get_link_source(data->internal_file TSRMLS_CC);
entry             368 ext/phar/stream.c 		entry = data->internal_file;
entry             371 ext/phar/stream.c 	if (entry->is_deleted) {
entry             379 ext/phar/stream.c 	got = php_stream_read(data->fp, buf, MIN(count, entry->uncompressed_filesize - data->position));
entry             381 ext/phar/stream.c 	stream->eof = (data->position == (off_t) entry->uncompressed_filesize);
entry             393 ext/phar/stream.c 	phar_entry_info *entry;
entry             398 ext/phar/stream.c 		entry = phar_get_link_source(data->internal_file TSRMLS_CC);
entry             400 ext/phar/stream.c 		entry = data->internal_file;
entry             405 ext/phar/stream.c 			temp = data->zero + entry->uncompressed_filesize + offset;
entry             416 ext/phar/stream.c 	if (temp > data->zero + (off_t) entry->uncompressed_filesize) {
entry             572 ext/phar/stream.c 	phar_entry_info *entry;
entry             618 ext/phar/stream.c 	if (SUCCESS == zend_hash_find(&phar->manifest, internal_file, internal_file_len, (void**)&entry)) {
entry             619 ext/phar/stream.c 		phar_dostat(phar, entry, ssb, 0 TSRMLS_CC);
entry             646 ext/phar/stream.c 				if (SUCCESS != zend_hash_find(&phar->manifest, str_key, keylen, (void **) &entry)) {
entry             649 ext/phar/stream.c 				if (!entry->tmp || !entry->is_mounted) {
entry             652 ext/phar/stream.c 				test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, internal_file + keylen);
entry             663 ext/phar/stream.c 				if (SUCCESS != zend_hash_find(&phar->manifest, internal_file, internal_file_len, (void**)&entry)) {
entry             666 ext/phar/stream.c 				phar_dostat(phar, entry, ssb, 0 TSRMLS_CC);
entry             762 ext/phar/stream.c 	phar_entry_info *entry;
entry             855 ext/phar/stream.c 	if (SUCCESS == zend_hash_find(&(phar->manifest), resource_from->path+1, strlen(resource_from->path)-1, (void **)&entry)) {
entry             859 ext/phar/stream.c 		if (entry->is_deleted) {
entry             866 ext/phar/stream.c 		memcpy((void *) &new, (void *) entry, sizeof(phar_entry_info));
entry             868 ext/phar/stream.c 		entry->is_deleted = 1;
entry             869 ext/phar/stream.c 		entry->fp = NULL;
entry             870 ext/phar/stream.c 		entry->metadata = 0;
entry             871 ext/phar/stream.c 		entry->link = entry->tmp = NULL;
entry             872 ext/phar/stream.c 		source = entry;
entry             875 ext/phar/stream.c 		zend_hash_add(&(phar->manifest), resource_to->path+1, strlen(resource_to->path)-1, (void **)&new, sizeof(phar_entry_info), (void **) &entry);
entry             877 ext/phar/stream.c 		entry->filename = estrdup(resource_to->path+1);
entry             878 ext/phar/stream.c 		if (FAILURE == phar_copy_entry_fp(source, entry, &error TSRMLS_CC)) {
entry             883 ext/phar/stream.c 			zend_hash_del(&(phar->manifest), entry->filename, strlen(entry->filename));
entry             887 ext/phar/stream.c 		entry->is_modified = 1;
entry             888 ext/phar/stream.c 		entry->filename_len = strlen(entry->filename);
entry             889 ext/phar/stream.c 		is_dir = entry->is_dir;
entry             913 ext/phar/stream.c 			SUCCESS == zend_hash_get_current_data(&phar->manifest, (void **) &entry);
entry             916 ext/phar/stream.c 			if (!entry->is_deleted &&
entry             928 ext/phar/stream.c 				entry->is_modified = 1;
entry             929 ext/phar/stream.c 				efree(entry->filename);
entry             930 ext/phar/stream.c 				entry->filename = new_str_key;
entry             931 ext/phar/stream.c 				entry->filename_len = new_key_len;
entry             958 ext/phar/stream.c 			SUCCESS == zend_hash_get_current_data(&phar->mounted_dirs, (void **) &entry);
entry             161 ext/phar/tar.c static int phar_tar_process_metadata(phar_entry_info *entry, php_stream *fp TSRMLS_DC) /* {{{ */
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 TSRMLS_CC) == 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 		entry->metadata = NULL;
entry             186 ext/phar/tar.c 	} else if (entry->filename_len >= sizeof(".phar/.metadata/") + sizeof("/.metadata.bin") - 1 && SUCCESS == zend_hash_find(&(entry->phar->manifest), entry->filename + sizeof(".phar/.metadata/") - 1, entry->filename_len - (sizeof("/.metadata.bin") - 1 + sizeof(".phar/.metadata/") - 1), (void *)&mentry)) {
entry             188 ext/phar/tar.c 		mentry->metadata = entry->metadata;
entry             189 ext/phar/tar.c 		entry->metadata = NULL;
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 TSRMLS_CC);
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             474 ext/phar/tar.c 		if (old && entry.tar_type == TAR_FILE && S_ISDIR(entry.flags)) {
entry             475 ext/phar/tar.c 			entry.tar_type = TAR_DIR;
entry             478 ext/phar/tar.c 		if (entry.tar_type == TAR_DIR) {
entry             479 ext/phar/tar.c 			entry.is_dir = 1;
entry             481 ext/phar/tar.c 			entry.is_dir = 0;
entry             484 ext/phar/tar.c 		entry.link = NULL;
entry             488 ext/phar/tar.c 		if (entry.tar_type == TAR_LINK) {
entry             493 ext/phar/tar.c 				pefree(entry.filename, entry.is_persistent);
entry             498 ext/phar/tar.c 			entry.link = estrndup(hdr->linkname, linkname_len);
entry             499 ext/phar/tar.c 		} else if (entry.tar_type == TAR_SYMLINK) {
entry             500 ext/phar/tar.c 			entry.link = estrndup(hdr->linkname, linkname_len);
entry             502 ext/phar/tar.c 		phar_set_inode(&entry TSRMLS_CC);
entry             504 ext/phar/tar.c 		zend_hash_update(&myphar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info), (void **) &newentry);
entry             507 ext/phar/tar.c 		if (entry.is_persistent) {
entry             508 ext/phar/tar.c 			++entry.manifest_pos;
entry             511 ext/phar/tar.c 		if (entry.filename_len >= sizeof(".phar/.metadata")-1 && !memcmp(entry.filename, ".phar/.metadata", sizeof(".phar/.metadata")-1)) {
entry             514 ext/phar/tar.c 					spprintf(error, 4096, "phar error: tar-based phar \"%s\" has invalid metadata in magic file \"%s\"", fname, entry.filename);
entry             522 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             704 ext/phar/tar.c 	phar_entry_info *entry = (phar_entry_info *) pDest;
entry             708 ext/phar/tar.c 	if (entry->is_mounted) {
entry             712 ext/phar/tar.c 	if (entry->is_deleted) {
entry             713 ext/phar/tar.c 		if (entry->fp_refcount <= 0) {
entry             721 ext/phar/tar.c 	phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len TSRMLS_CC);
entry             724 ext/phar/tar.c 	if (entry->filename_len > 100) {
entry             726 ext/phar/tar.c 		if (entry->filename_len > 256) {
entry             728 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             732 ext/phar/tar.c 		boundary = entry->filename + entry->filename_len - 101;
entry             736 ext/phar/tar.c 		if (!*boundary || ((boundary - entry->filename) > 155)) {
entry             738 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             742 ext/phar/tar.c 		memcpy(header.prefix, entry->filename, boundary - entry->filename);
entry             743 ext/phar/tar.c 		memcpy(header.name, boundary + 1, entry->filename_len - (boundary + 1 - entry->filename));
entry             745 ext/phar/tar.c 		memcpy(header.name, entry->filename, entry->filename_len);
entry             748 ext/phar/tar.c 	phar_tar_octal(header.mode, entry->flags & PHAR_ENT_PERM_MASK, sizeof(header.mode)-1);
entry             750 ext/phar/tar.c 	if (FAILURE == phar_tar_octal(header.size, entry->uncompressed_filesize, sizeof(header.size)-1)) {
entry             752 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             757 ext/phar/tar.c 	if (FAILURE == phar_tar_octal(header.mtime, entry->timestamp, sizeof(header.mtime)-1)) {
entry             759 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             765 ext/phar/tar.c 	header.typeflag = entry->tar_type;
entry             767 ext/phar/tar.c 	if (entry->link) {
entry             768 ext/phar/tar.c 		strncpy(header.linkname, entry->link, strlen(entry->link));
entry             774 ext/phar/tar.c 	entry->crc32 = phar_tar_checksum((char *)&header, sizeof(header));
entry             776 ext/phar/tar.c 	if (FAILURE == phar_tar_octal(header.checksum, entry->crc32, sizeof(header.checksum)-1)) {
entry             778 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             784 ext/phar/tar.c 	entry->header_offset = php_stream_tell(fp->new);
entry             788 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             796 ext/phar/tar.c 	if (entry->uncompressed_filesize) {
entry             797 ext/phar/tar.c 		if (FAILURE == phar_open_entry_fp(entry, fp->error, 0 TSRMLS_CC)) {
entry             801 ext/phar/tar.c 		if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0 TSRMLS_CC)) {
entry             803 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             808 ext/phar/tar.c 		if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_efp(entry, 0 TSRMLS_CC), fp->new, entry->uncompressed_filesize, NULL)) {
entry             810 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             816 ext/phar/tar.c 		php_stream_write(fp->new, padding, ((entry->uncompressed_filesize +511)&~511) - entry->uncompressed_filesize);
entry             819 ext/phar/tar.c 	if (!entry->is_modified && entry->fp_refcount) {
entry             821 ext/phar/tar.c 		switch (entry->fp_type) {
entry             832 ext/phar/tar.c 	entry->is_modified = 0;
entry             834 ext/phar/tar.c 	if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) {
entry             835 ext/phar/tar.c 		if (!entry->fp_refcount) {
entry             836 ext/phar/tar.c 			php_stream_close(entry->fp);
entry             838 ext/phar/tar.c 		entry->fp = NULL;
entry             841 ext/phar/tar.c 	entry->fp_type = PHAR_FP;
entry             844 ext/phar/tar.c 	entry->offset = entry->offset_abs = pos;
entry             849 ext/phar/tar.c int phar_tar_setmetadata(zval *metadata, phar_entry_info *entry, char **error TSRMLS_DC) /* {{{ */
entry             853 ext/phar/tar.c 	if (entry->metadata_str.c) {
entry             854 ext/phar/tar.c 		smart_str_free(&entry->metadata_str);
entry             857 ext/phar/tar.c 	entry->metadata_str.c = 0;
entry             858 ext/phar/tar.c 	entry->metadata_str.len = 0;
entry             860 ext/phar/tar.c 	php_var_serialize(&entry->metadata_str, &metadata, &metadata_hash TSRMLS_CC);
entry             862 ext/phar/tar.c 	entry->uncompressed_filesize = entry->compressed_filesize = entry->metadata_str.len;
entry             864 ext/phar/tar.c 	if (entry->fp && entry->fp_type == PHAR_MOD) {
entry             865 ext/phar/tar.c 		php_stream_close(entry->fp);
entry             868 ext/phar/tar.c 	entry->fp_type = PHAR_MOD;
entry             869 ext/phar/tar.c 	entry->is_modified = 1;
entry             870 ext/phar/tar.c 	entry->fp = php_stream_fopen_tmpfile();
entry             871 ext/phar/tar.c 	entry->offset = entry->offset_abs = 0;
entry             872 ext/phar/tar.c 	if (entry->fp == NULL) {
entry             876 ext/phar/tar.c 	if (entry->metadata_str.len != php_stream_write(entry->fp, entry->metadata_str.c, entry->metadata_str.len)) {
entry             877 ext/phar/tar.c 		spprintf(error, 0, "phar tar error: unable to write metadata to magic metadata file \"%s\"", entry->filename);
entry             878 ext/phar/tar.c 		zend_hash_del(&(entry->phar->manifest), entry->filename, entry->filename_len);
entry             891 ext/phar/tar.c 	phar_entry_info *entry = (phar_entry_info *)pDest, *metadata, newentry = {0};
entry             893 ext/phar/tar.c 	if (entry->filename_len >= sizeof(".phar/.metadata") && !memcmp(entry->filename, ".phar/.metadata", sizeof(".phar/.metadata")-1)) {
entry             894 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             895 ext/phar/tar.c 			if (entry->phar->metadata == NULL) {
entry             898 ext/phar/tar.c 			return phar_tar_setmetadata(entry->phar->metadata, entry, error TSRMLS_CC);
entry             901 ext/phar/tar.c 		if (entry->filename_len >= sizeof(".phar/.metadata/") + sizeof("/.metadata.bin") - 1 && !zend_hash_exists(&(entry->phar->manifest), entry->filename + sizeof(".phar/.metadata/") - 1, entry->filename_len - (sizeof("/.metadata.bin") - 1 + sizeof(".phar/.metadata/") - 1))) {
entry             909 ext/phar/tar.c 	if (!entry->is_modified) {
entry             914 ext/phar/tar.c 	lookfor_len = spprintf(&lookfor, 0, ".phar/.metadata/%s/.metadata.bin", entry->filename);
entry             916 ext/phar/tar.c 	if (!entry->metadata) {
entry             917 ext/phar/tar.c 		zend_hash_del(&(entry->phar->manifest), lookfor, lookfor_len);
entry             922 ext/phar/tar.c 	if (SUCCESS == zend_hash_find(&(entry->phar->manifest), lookfor, lookfor_len, (void **)&metadata)) {
entry             924 ext/phar/tar.c 		ret = phar_tar_setmetadata(entry->metadata, metadata, error TSRMLS_CC);
entry             931 ext/phar/tar.c 	newentry.phar = entry->phar;
entry             935 ext/phar/tar.c 	if (SUCCESS != zend_hash_add(&(entry->phar->manifest), lookfor, lookfor_len, (void *)&newentry, sizeof(phar_entry_info), (void **)&metadata)) {
entry             937 ext/phar/tar.c 		spprintf(error, 0, "phar tar error: unable to add magic metadata file to manifest for file \"%s\"", entry->filename);
entry             941 ext/phar/tar.c 	return phar_tar_setmetadata(entry->metadata, metadata, error TSRMLS_CC);
entry             947 ext/phar/tar.c 	phar_entry_info entry = {0};
entry             955 ext/phar/tar.c 	entry.flags = PHAR_ENT_PERM_DEF_FILE;
entry             956 ext/phar/tar.c 	entry.timestamp = time(NULL);
entry             957 ext/phar/tar.c 	entry.is_modified = 1;
entry             958 ext/phar/tar.c 	entry.is_crc_checked = 1;
entry             959 ext/phar/tar.c 	entry.is_tar = 1;
entry             960 ext/phar/tar.c 	entry.tar_type = '0';
entry             961 ext/phar/tar.c 	entry.phar = phar;
entry             962 ext/phar/tar.c 	entry.fp_type = PHAR_MOD;
entry             977 ext/phar/tar.c 		entry.filename = estrndup(".phar/alias.txt", sizeof(".phar/alias.txt")-1);
entry             978 ext/phar/tar.c 		entry.filename_len = sizeof(".phar/alias.txt")-1;
entry             979 ext/phar/tar.c 		entry.fp = php_stream_fopen_tmpfile();
entry             980 ext/phar/tar.c 		if (entry.fp == NULL) {
entry             984 ext/phar/tar.c 		if (phar->alias_len != (int)php_stream_write(entry.fp, phar->alias, phar->alias_len)) {
entry             991 ext/phar/tar.c 		entry.uncompressed_filesize = phar->alias_len;
entry             993 ext/phar/tar.c 		if (SUCCESS != zend_hash_update(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info), NULL)) {
entry            1047 ext/phar/tar.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1048 ext/phar/tar.c 		if (entry.fp == NULL) {
entry            1052 ext/phar/tar.c 		entry.uncompressed_filesize = len + 5;
entry            1054 ext/phar/tar.c 		if ((size_t)len != php_stream_write(entry.fp, user_stub, len)
entry            1055 ext/phar/tar.c 		||            5 != php_stream_write(entry.fp, " ?>\r\n", 5)) {
entry            1062 ext/phar/tar.c 			php_stream_close(entry.fp);
entry            1066 ext/phar/tar.c 		entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1);
entry            1067 ext/phar/tar.c 		entry.filename_len = sizeof(".phar/stub.php")-1;
entry            1068 ext/phar/tar.c 		zend_hash_update(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info), NULL);
entry            1075 ext/phar/tar.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1076 ext/phar/tar.c 		if (entry.fp == NULL) {
entry            1080 ext/phar/tar.c 		if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) {
entry            1081 ext/phar/tar.c 			php_stream_close(entry.fp);
entry            1088 ext/phar/tar.c 		entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1;
entry            1089 ext/phar/tar.c 		entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1);
entry            1090 ext/phar/tar.c 		entry.filename_len = sizeof(".phar/stub.php")-1;
entry            1094 ext/phar/tar.c 				if (SUCCESS != zend_hash_add(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info), NULL)) {
entry            1095 ext/phar/tar.c 					php_stream_close(entry.fp);
entry            1096 ext/phar/tar.c 					efree(entry.filename);
entry            1103 ext/phar/tar.c 				php_stream_close(entry.fp);
entry            1104 ext/phar/tar.c 				efree(entry.filename);
entry            1107 ext/phar/tar.c 			if (SUCCESS != zend_hash_update(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info), NULL)) {
entry            1108 ext/phar/tar.c 				php_stream_close(entry.fp);
entry            1109 ext/phar/tar.c 				efree(entry.filename);
entry            1211 ext/phar/tar.c 		entry.filename = ".phar/signature.bin";
entry            1212 ext/phar/tar.c 		entry.filename_len = sizeof(".phar/signature.bin")-1;
entry            1213 ext/phar/tar.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1214 ext/phar/tar.c 		if (entry.fp == NULL) {
entry            1230 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            1244 ext/phar/tar.c 		entry.uncompressed_filesize = entry.compressed_filesize = signature_length + 8;
entry            1246 ext/phar/tar.c 		entry.filename_len = phar_tar_writeheaders((void *)&entry, (void *)&pass TSRMLS_CC);
entry              45 ext/phar/util.c static char *phar_get_link_location(phar_entry_info *entry TSRMLS_DC) /* {{{ */
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 TSRMLS_DC) /* {{{ */
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 TSRMLS_CC);
entry              74 ext/phar/util.c 	if (SUCCESS == zend_hash_find(&(entry->phar->manifest), entry->link, strlen(entry->link), (void **)&link_entry) ||
entry              75 ext/phar/util.c 		SUCCESS == zend_hash_find(&(entry->phar->manifest), link, strlen(link), (void **)&link_entry)) {
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 TSRMLS_DC) /* {{{ */
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 TSRMLS_CC);
entry              95 ext/phar/util.c 		if (link_entry && link_entry != entry) {
entry             100 ext/phar/util.c 	if (phar_get_fp_type(entry TSRMLS_CC) == PHAR_FP) {
entry             101 ext/phar/util.c 		if (!phar_get_entrypfp(entry TSRMLS_CC)) {
entry             103 ext/phar/util.c 			phar_open_archive_fp(entry->phar TSRMLS_CC);
entry             105 ext/phar/util.c 		return phar_get_entrypfp(entry TSRMLS_CC);
entry             106 ext/phar/util.c 	} else if (phar_get_fp_type(entry TSRMLS_CC) == PHAR_UFP) {
entry             107 ext/phar/util.c 		return phar_get_entrypufp(entry TSRMLS_CC);
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, off_t offset, int whence, off_t position, int follow_links TSRMLS_DC) /* {{{ */
entry             122 ext/phar/util.c 	php_stream *fp = phar_get_efp(entry, follow_links TSRMLS_CC);
entry             131 ext/phar/util.c 		t = phar_get_link_source(entry TSRMLS_CC);
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 TSRMLS_CC);
entry             145 ext/phar/util.c 			temp = eoffset + entry->uncompressed_filesize + offset;
entry             157 ext/phar/util.c 	if (temp > eoffset + (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 TSRMLS_CC);
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 (SUCCESS != zend_hash_add(&phar->mounted_dirs, entry.filename, path_len, (void *)&(entry.filename), sizeof(char *), NULL)) {
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 (SUCCESS == zend_hash_add(&phar->manifest, entry.filename, path_len, (void*)&entry, sizeof(phar_entry_info), NULL)) {
entry             247 ext/phar/util.c 	efree(entry.tmp);
entry             248 ext/phar/util.c 	efree(entry.filename);
entry             255 ext/phar/util.c 	char *path, *fname, *arch, *entry, *ret, *test;
entry             279 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 TSRMLS_CC)) {
entry             283 ext/phar/util.c 	efree(entry);
entry             327 ext/phar/util.c 		if (SUCCESS != phar_split_fname(ret, ret_len, &arch, &arch_len, &entry, &entry_len, 1, 0 TSRMLS_CC)) {
entry             338 ext/phar/util.c 		efree(entry);
entry             356 ext/phar/util.c 	phar_entry_info *entry;
entry             391 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 TSRMLS_CC)) == NULL) {
entry             398 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 TSRMLS_CC)) == NULL) {
entry             417 ext/phar/util.c 	if (entry->is_modified && !for_write) {
entry             424 ext/phar/util.c 	if (entry->fp_refcount && for_write) {
entry             431 ext/phar/util.c 	if (entry->is_deleted) {
entry             435 ext/phar/util.c 		entry->is_deleted = 0;
entry             438 ext/phar/util.c 	if (entry->is_dir) {
entry             444 ext/phar/util.c 		(*ret)->internal_file = entry;
entry             445 ext/phar/util.c 		(*ret)->is_zip = entry->is_zip;
entry             446 ext/phar/util.c 		(*ret)->is_tar = entry->is_tar;
entry             449 ext/phar/util.c 			++(entry->phar->refcount);
entry             450 ext/phar/util.c 			++(entry->fp_refcount);
entry             456 ext/phar/util.c 	if (entry->fp_type == PHAR_MOD) {
entry             458 ext/phar/util.c 			if (FAILURE == phar_create_writeable_entry(phar, entry, error TSRMLS_CC)) {
entry             462 ext/phar/util.c 			phar_seek_efp(entry, 0, SEEK_END, 0, 0 TSRMLS_CC);
entry             466 ext/phar/util.c 			if (entry->link) {
entry             467 ext/phar/util.c 				efree(entry->link);
entry             468 ext/phar/util.c 				entry->link = NULL;
entry             469 ext/phar/util.c 				entry->tar_type = (entry->is_tar ? TAR_FILE : '\0');
entry             473 ext/phar/util.c 				if (FAILURE == phar_create_writeable_entry(phar, entry, error TSRMLS_CC)) {
entry             477 ext/phar/util.c 				if (FAILURE == phar_separate_entry_fp(entry, error TSRMLS_CC)) {
entry             482 ext/phar/util.c 			if (FAILURE == phar_open_entry_fp(entry, error, 1 TSRMLS_CC)) {
entry             492 ext/phar/util.c 	(*ret)->internal_file = entry;
entry             493 ext/phar/util.c 	(*ret)->is_zip = entry->is_zip;
entry             494 ext/phar/util.c 	(*ret)->is_tar = entry->is_tar;
entry             495 ext/phar/util.c 	(*ret)->fp = phar_get_efp(entry, 1 TSRMLS_CC);
entry             496 ext/phar/util.c 	if (entry->link) {
entry             497 ext/phar/util.c 		phar_entry_info *link = phar_get_link_source(entry TSRMLS_CC);
entry             504 ext/phar/util.c 		(*ret)->zero = phar_get_fp_offset(entry TSRMLS_CC);
entry             508 ext/phar/util.c 		++(entry->fp_refcount);
entry             509 ext/phar/util.c 		++(entry->phar->refcount);
entry             522 ext/phar/util.c 	phar_entry_info *entry, etemp;
entry             600 ext/phar/util.c 	if (FAILURE == zend_hash_add(&phar->manifest, etemp.filename, path_len, (void*)&etemp, sizeof(phar_entry_info), (void **) &entry)) {
entry             610 ext/phar/util.c 	if (!entry) {
entry             619 ext/phar/util.c 	ret->fp = entry->fp;
entry             622 ext/phar/util.c 	ret->is_zip = entry->is_zip;
entry             623 ext/phar/util.c 	ret->is_tar = entry->is_tar;
entry             624 ext/phar/util.c 	ret->internal_file = entry;
entry             696 ext/phar/util.c int phar_open_entry_fp(phar_entry_info *entry, char **error, int follow_links TSRMLS_DC) /* {{{ */
entry             699 ext/phar/util.c 	phar_archive_data *phar = entry->phar;
entry             705 ext/phar/util.c 	if (follow_links && entry->link) {
entry             706 ext/phar/util.c 		phar_entry_info *link_entry = phar_get_link_source(entry TSRMLS_CC);
entry             707 ext/phar/util.c 		if (link_entry && link_entry != entry) {
entry             712 ext/phar/util.c 	if (entry->is_modified) {
entry             716 ext/phar/util.c 	if (entry->fp_type == PHAR_TMP) {
entry             717 ext/phar/util.c 		if (!entry->fp) {
entry             718 ext/phar/util.c 			entry->fp = php_stream_open_wrapper(entry->tmp, "rb", STREAM_MUST_SEEK|0, NULL);
entry             723 ext/phar/util.c 	if (entry->fp_type != PHAR_FP) {
entry             735 ext/phar/util.c 	if ((entry->old_flags && !(entry->old_flags & PHAR_ENT_COMPRESSION_MASK)) || !(entry->flags & PHAR_ENT_COMPRESSION_MASK)) {
entry             736 ext/phar/util.c 		dummy.internal_file = entry;
entry             738 ext/phar/util.c 		dummy.zero = entry->offset;
entry             740 ext/phar/util.c 		if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 1 TSRMLS_CC)) {
entry             746 ext/phar/util.c 	if (!phar_get_entrypufp(entry TSRMLS_CC)) {
entry             747 ext/phar/util.c 		phar_set_entrypufp(entry, php_stream_fopen_tmpfile() TSRMLS_CC);
entry             748 ext/phar/util.c 		if (!phar_get_entrypufp(entry TSRMLS_CC)) {
entry             749 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             754 ext/phar/util.c 	dummy.internal_file = entry;
entry             756 ext/phar/util.c 	dummy.zero = entry->offset;
entry             758 ext/phar/util.c 	if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 1 TSRMLS_CC)) {
entry             762 ext/phar/util.c 	ufp = phar_get_entrypufp(entry TSRMLS_CC);
entry             764 ext/phar/util.c 	if ((filtername = phar_decompress_filter(entry, 0)) != NULL) {
entry             771 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             780 ext/phar/util.c 	php_stream_seek(phar_get_entrypfp(entry TSRMLS_CC), phar_get_fp_offset(entry TSRMLS_CC), SEEK_SET);
entry             782 ext/phar/util.c 	if (entry->uncompressed_filesize) {
entry             783 ext/phar/util.c 		if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_entrypfp(entry TSRMLS_CC), ufp, entry->compressed_filesize, NULL)) {
entry             784 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             794 ext/phar/util.c 	if (php_stream_tell(ufp) - loc != (off_t) entry->uncompressed_filesize) {
entry             795 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             799 ext/phar/util.c 	entry->old_flags = entry->flags;
entry             802 ext/phar/util.c 	phar_set_fp_type(entry, PHAR_UFP, loc TSRMLS_CC);
entry             803 ext/phar/util.c 	dummy.zero = entry->offset;
entry             805 ext/phar/util.c 	if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 0 TSRMLS_CC)) {
entry             812 ext/phar/util.c int phar_create_writeable_entry(phar_archive_data *phar, phar_entry_info *entry, char **error TSRMLS_DC) /* {{{ */
entry             814 ext/phar/util.c 	if (entry->fp_type == PHAR_MOD) {
entry             816 ext/phar/util.c 		php_stream_truncate_set_size(entry->fp, 0);
entry             818 ext/phar/util.c 		entry->old_flags = entry->flags;
entry             819 ext/phar/util.c 		entry->is_modified = 1;
entry             822 ext/phar/util.c 		entry->uncompressed_filesize = 0;
entry             823 ext/phar/util.c 		entry->compressed_filesize = 0;
entry             824 ext/phar/util.c 		entry->crc32 = 0;
entry             825 ext/phar/util.c 		entry->flags = PHAR_ENT_PERM_DEF_FILE;
entry             826 ext/phar/util.c 		entry->fp_type = PHAR_MOD;
entry             827 ext/phar/util.c 		entry->offset = 0;
entry             836 ext/phar/util.c 	if (entry->link) {
entry             837 ext/phar/util.c 		efree(entry->link);
entry             838 ext/phar/util.c 		entry->link = NULL;
entry             839 ext/phar/util.c 		entry->tar_type = (entry->is_tar ? TAR_FILE : '\0');
entry             842 ext/phar/util.c 	entry->fp = php_stream_fopen_tmpfile();
entry             844 ext/phar/util.c 	if (!entry->fp) {
entry             851 ext/phar/util.c 	entry->old_flags = entry->flags;
entry             852 ext/phar/util.c 	entry->is_modified = 1;
entry             855 ext/phar/util.c 	entry->uncompressed_filesize = 0;
entry             856 ext/phar/util.c 	entry->compressed_filesize = 0;
entry             857 ext/phar/util.c 	entry->crc32 = 0;
entry             858 ext/phar/util.c 	entry->flags = PHAR_ENT_PERM_DEF_FILE;
entry             859 ext/phar/util.c 	entry->fp_type = PHAR_MOD;
entry             860 ext/phar/util.c 	entry->offset = 0;
entry             865 ext/phar/util.c int phar_separate_entry_fp(phar_entry_info *entry, char **error TSRMLS_DC) /* {{{ */
entry             870 ext/phar/util.c 	if (FAILURE == phar_open_entry_fp(entry, error, 1 TSRMLS_CC)) {
entry             874 ext/phar/util.c 	if (entry->fp_type == PHAR_MOD) {
entry             883 ext/phar/util.c 	phar_seek_efp(entry, 0, SEEK_SET, 0, 1 TSRMLS_CC);
entry             884 ext/phar/util.c 	link = phar_get_link_source(entry TSRMLS_CC);
entry             887 ext/phar/util.c 		link = entry;
entry             892 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             897 ext/phar/util.c 	if (entry->link) {
entry             898 ext/phar/util.c 		efree(entry->link);
entry             899 ext/phar/util.c 		entry->link = NULL;
entry             900 ext/phar/util.c 		entry->tar_type = (entry->is_tar ? TAR_FILE : '\0');
entry             903 ext/phar/util.c 	entry->offset = 0;
entry             904 ext/phar/util.c 	entry->fp = fp;
entry             905 ext/phar/util.c 	entry->fp_type = PHAR_MOD;
entry             906 ext/phar/util.c 	entry->is_modified = 1;
entry             914 ext/phar/util.c phar_entry_info * phar_open_jit(phar_archive_data *phar, phar_entry_info *entry, char **error TSRMLS_DC) /* {{{ */
entry             920 ext/phar/util.c 	if (FAILURE == phar_open_entry_fp(entry, error, 1 TSRMLS_CC)) {
entry             923 ext/phar/util.c 	if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 1 TSRMLS_CC)) {
entry             924 ext/phar/util.c 		spprintf(error, 4096, "phar error: cannot seek to start of file \"%s\" in phar \"%s\"", entry->filename, phar->fname);
entry             927 ext/phar/util.c 	return entry;
entry            1174 ext/phar/util.c char * phar_compress_filter(phar_entry_info * entry, int return_unknown) /* {{{ */
entry            1176 ext/phar/util.c 	switch (entry->flags & PHAR_ENT_COMPRESSION_MASK) {
entry            1190 ext/phar/util.c char * phar_decompress_filter(phar_entry_info * entry, int return_unknown) /* {{{ */
entry            1194 ext/phar/util.c 	if (entry->is_modified) {
entry            1195 ext/phar/util.c 		flags = entry->old_flags;
entry            1197 ext/phar/util.c 		flags = entry->flags;
entry            1227 ext/phar/util.c 	phar_entry_info *entry;
entry            1272 ext/phar/util.c 	if (SUCCESS == zend_hash_find(&phar->manifest, path, path_len, (void**)&entry)) {
entry            1273 ext/phar/util.c 		if (entry->is_deleted) {
entry            1277 ext/phar/util.c 		if (entry->is_dir && !dir) {
entry            1283 ext/phar/util.c 		if (!entry->is_dir && dir == 2) {
entry            1290 ext/phar/util.c 		return entry;
entry            1296 ext/phar/util.c 			entry = (phar_entry_info *) ecalloc(1, sizeof(phar_entry_info));
entry            1298 ext/phar/util.c 			entry->is_temp_dir = entry->is_dir = 1;
entry            1299 ext/phar/util.c 			entry->filename = (char *) estrndup(path, path_len + 1);
entry            1300 ext/phar/util.c 			entry->filename_len = path_len;
entry            1301 ext/phar/util.c 			entry->phar = phar;
entry            1302 ext/phar/util.c 			return entry;
entry            1324 ext/phar/util.c 				if (SUCCESS != zend_hash_find(&phar->manifest, str_key, keylen, (void **) &entry)) {
entry            1331 ext/phar/util.c 				if (!entry->tmp || !entry->is_mounted) {
entry            1338 ext/phar/util.c 				test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, path + keylen);
entry            1373 ext/phar/util.c 				if (SUCCESS != zend_hash_find(&phar->manifest, path, path_len, (void**)&entry)) {
entry            1379 ext/phar/util.c 				return entry;
entry            1982 ext/phar/util.c 	phar_entry_info *entry = (phar_entry_info *)data;
entry            1985 ext/phar/util.c 	entry->phar = (phar_archive_data *)argument;
entry            1987 ext/phar/util.c 	if (entry->link) {
entry            1988 ext/phar/util.c 		entry->link = estrdup(entry->link);
entry            1991 ext/phar/util.c 	if (entry->tmp) {
entry            1992 ext/phar/util.c 		entry->tmp = estrdup(entry->tmp);
entry            1995 ext/phar/util.c 	entry->metadata_str.c = 0;
entry            1996 ext/phar/util.c 	entry->filename = estrndup(entry->filename, entry->filename_len);
entry            1997 ext/phar/util.c 	entry->is_persistent = 0;
entry            1999 ext/phar/util.c 	if (entry->metadata) {
entry            2000 ext/phar/util.c 		if (entry->metadata_len) {
entry            2001 ext/phar/util.c 			char *buf = estrndup((char *) entry->metadata, entry->metadata_len);
entry            2003 ext/phar/util.c 			phar_parse_metadata((char **) &buf, &entry->metadata, entry->metadata_len TSRMLS_CC);
entry            2008 ext/phar/util.c 			t = entry->metadata;
entry            2009 ext/phar/util.c 			ALLOC_ZVAL(entry->metadata);
entry            2010 ext/phar/util.c 			*entry->metadata = *t;
entry            2011 ext/phar/util.c 			zval_copy_ctor(entry->metadata);
entry            2012 ext/phar/util.c 			Z_SET_REFCOUNT_P(entry->metadata, 1);
entry            2013 ext/phar/util.c 			entry->metadata_str.c = NULL;
entry            2014 ext/phar/util.c 			entry->metadata_str.len = 0;
entry              42 ext/phar/zip.c static int phar_zip_process_extra(php_stream *fp, phar_entry_info *entry, php_uint16 len TSRMLS_DC) /* {{{ */
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             244 ext/phar/zip.c 					if (entry.is_persistent) {
entry             298 ext/phar/zip.c 	entry.phar = mydata;
entry             299 ext/phar/zip.c 	entry.is_zip = 1;
entry             300 ext/phar/zip.c 	entry.fp_type = PHAR_FP;
entry             301 ext/phar/zip.c 	entry.is_persistent = mydata->is_persistent;
entry             365 ext/phar/zip.c 		if (entry.is_persistent) {
entry             366 ext/phar/zip.c 			entry.manifest_pos = i;
entry             369 ext/phar/zip.c 		entry.compressed_filesize = PHAR_GET_32(zipentry.compsize);
entry             370 ext/phar/zip.c 		entry.uncompressed_filesize = PHAR_GET_32(zipentry.uncompsize);
entry             371 ext/phar/zip.c 		entry.crc32 = PHAR_GET_32(zipentry.crc32);
entry             373 ext/phar/zip.c 		entry.timestamp = phar_zip_d2u_time(zipentry.timestamp, zipentry.datestamp);
entry             374 ext/phar/zip.c 		entry.flags = PHAR_ENT_PERM_DEF_FILE;
entry             375 ext/phar/zip.c 		entry.header_offset = PHAR_GET_32(zipentry.offset);
entry             376 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             387 ext/phar/zip.c 		entry.filename_len = PHAR_GET_16(zipentry.filename_len);
entry             388 ext/phar/zip.c 		entry.filename = (char *) pemalloc(entry.filename_len + 1, entry.is_persistent);
entry             390 ext/phar/zip.c 		if (entry.filename_len != php_stream_read(fp, entry.filename, entry.filename_len)) {
entry             391 ext/phar/zip.c 			pefree(entry.filename, entry.is_persistent);
entry             395 ext/phar/zip.c 		entry.filename[entry.filename_len] = '\0';
entry             397 ext/phar/zip.c 		if (entry.filename[entry.filename_len - 1] == '/') {
entry             398 ext/phar/zip.c 			entry.is_dir = 1;
entry             399 ext/phar/zip.c 			if(entry.filename_len > 1) {
entry             400 ext/phar/zip.c 				entry.filename_len--;
entry             402 ext/phar/zip.c 			entry.flags |= PHAR_ENT_PERM_DEF_DIR;
entry             404 ext/phar/zip.c 			entry.is_dir = 0;
entry             407 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             414 ext/phar/zip.c 			pefree(entry.filename, entry.is_persistent);
entry             422 ext/phar/zip.c 			php_stream_copy_to_stream_ex(fp, sigfile, entry.header_offset, NULL);
entry             430 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             431 ext/phar/zip.c 			sig = (char *) emalloc(entry.uncompressed_filesize);
entry             432 ext/phar/zip.c 			read = php_stream_read(fp, sig, entry.uncompressed_filesize);
entry             433 ext/phar/zip.c 			if (read != entry.uncompressed_filesize) {
entry             439 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 TSRMLS_CC)) {
entry             462 ext/phar/zip.c 		phar_add_virtual_dirs(mydata, entry.filename, entry.filename_len TSRMLS_CC);
entry             466 ext/phar/zip.c 			if (FAILURE == phar_zip_process_extra(fp, &entry, PHAR_GET_16(zipentry.extra_len) TSRMLS_CC)) {
entry             467 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             478 ext/phar/zip.c 				entry.flags |= PHAR_ENT_COMPRESSED_GZ;
entry             480 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             485 ext/phar/zip.c 				entry.flags |= PHAR_ENT_COMPRESSED_BZ2;
entry             487 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             492 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             519 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             522 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             525 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             528 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             535 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             540 ext/phar/zip.c 			entry.metadata_len = PHAR_GET_16(zipentry.comment_len);
entry             542 ext/phar/zip.c 			if (phar_parse_metadata(&p, &(entry.metadata), PHAR_GET_16(zipentry.comment_len) TSRMLS_CC) == FAILURE) {
entry             543 ext/phar/zip.c 				entry.metadata_len = 0;
entry             546 ext/phar/zip.c 				if (entry.is_persistent) {
entry             547 ext/phar/zip.c 					ALLOC_PERMANENT_ZVAL(entry.metadata);
entry             549 ext/phar/zip.c 					ALLOC_ZVAL(entry.metadata);
entry             552 ext/phar/zip.c 				INIT_ZVAL(*entry.metadata);
entry             553 ext/phar/zip.c 				ZVAL_STRINGL(entry.metadata, pestrndup(buf, PHAR_GET_16(zipentry.comment_len), entry.is_persistent), PHAR_GET_16(zipentry.comment_len), 0);
entry             556 ext/phar/zip.c 			entry.metadata = NULL;
entry             559 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             570 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             575 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             576 ext/phar/zip.c 				pefree(entry.filename, entry.is_persistent);
entry             581 ext/phar/zip.c 			entry.offset = entry.offset_abs =
entry             582 ext/phar/zip.c 				sizeof(local) + entry.header_offset + PHAR_GET_16(local.filename_len) + PHAR_GET_16(local.extra_len);
entry             583 ext/phar/zip.c 			php_stream_seek(fp, entry.offset, SEEK_SET);
entry             587 ext/phar/zip.c 			php_stream_seek(fp, entry.offset, SEEK_SET);
entry             592 ext/phar/zip.c 			mydata->alias_len = entry.uncompressed_filesize;
entry             594 ext/phar/zip.c 			if (entry.flags & PHAR_ENT_COMPRESSED_GZ) {
entry             598 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             604 ext/phar/zip.c 				if (!(entry.uncompressed_filesize = php_stream_copy_to_mem(fp, &actual_alias, entry.uncompressed_filesize, 0)) || !actual_alias) {
entry             605 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             612 ext/phar/zip.c 			} else if (entry.flags & PHAR_ENT_COMPRESSED_BZ2) {
entry             616 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             622 ext/phar/zip.c 				if (!(entry.uncompressed_filesize = php_stream_copy_to_mem(fp, &actual_alias, entry.uncompressed_filesize, 0)) || !actual_alias) {
entry             623 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             630 ext/phar/zip.c 				if (!(entry.uncompressed_filesize = php_stream_copy_to_mem(fp, &actual_alias, entry.uncompressed_filesize, 0)) || !actual_alias) {
entry             631 ext/phar/zip.c 					pefree(entry.filename, entry.is_persistent);
entry             640 ext/phar/zip.c 		phar_set_inode(&entry TSRMLS_CC);
entry             641 ext/phar/zip.c 		zend_hash_add(&mydata->manifest, entry.filename, entry.filename_len, (void *)&entry,sizeof(phar_entry_info), NULL);
entry             679 ext/phar/zip.c 		mydata->alias = entry.is_persistent ? pestrndup(actual_alias, mydata->alias_len, 1) : actual_alias;
entry             681 ext/phar/zip.c 		if (entry.is_persistent) {
entry             768 ext/phar/zip.c 	phar_entry_info *entry;
entry             776 ext/phar/zip.c 	entry = (phar_entry_info *)data;
entry             779 ext/phar/zip.c 	if (entry->is_mounted) {
entry             783 ext/phar/zip.c 	if (entry->is_deleted) {
entry             784 ext/phar/zip.c 		if (entry->fp_refcount <= 0) {
entry             792 ext/phar/zip.c 	phar_add_virtual_dirs(entry->phar, entry->filename, entry->filename_len TSRMLS_CC);
entry             803 ext/phar/zip.c 	PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK);
entry             811 ext/phar/zip.c 	if (entry->flags & PHAR_ENT_COMPRESSED_GZ) {
entry             816 ext/phar/zip.c 	if (entry->flags & PHAR_ENT_COMPRESSED_BZ2) {
entry             822 ext/phar/zip.c 	phar_zip_u2d_time(entry->timestamp, local.timestamp, local.datestamp);
entry             825 ext/phar/zip.c 	PHAR_SET_16(central.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0));
entry             826 ext/phar/zip.c 	PHAR_SET_16(local.filename_len, entry->filename_len + (entry->is_dir ? 1 : 0));
entry             830 ext/phar/zip.c 	if (entry->is_modified) {
entry             835 ext/phar/zip.c 		if (entry->is_dir) {
entry             836 ext/phar/zip.c 			entry->is_modified = 0;
entry             837 ext/phar/zip.c 			if (entry->fp_type == PHAR_MOD && entry->fp != entry->phar->fp && entry->fp != entry->phar->ufp) {
entry             838 ext/phar/zip.c 				php_stream_close(entry->fp);
entry             839 ext/phar/zip.c 				entry->fp = NULL;
entry             840 ext/phar/zip.c 				entry->fp_type = PHAR_FP;
entry             845 ext/phar/zip.c 		if (FAILURE == phar_open_entry_fp(entry, p->error, 0 TSRMLS_CC)) {
entry             846 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             851 ext/phar/zip.c 		if (entry->flags & PHAR_ENT_COMPRESSION_MASK && (entry->old_flags == entry->flags || !entry->old_flags)) {
entry             856 ext/phar/zip.c 		if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0 TSRMLS_CC)) {
entry             857 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             861 ext/phar/zip.c 		efp = phar_get_efp(entry, 0 TSRMLS_CC);
entry             864 ext/phar/zip.c 		for (loc = 0;loc < entry->uncompressed_filesize; ++loc) {
entry             868 ext/phar/zip.c 		entry->crc32 = ~newcrc32;
entry             869 ext/phar/zip.c 		PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize);
entry             870 ext/phar/zip.c 		PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize);
entry             872 ext/phar/zip.c 		if (!(entry->flags & PHAR_ENT_COMPRESSION_MASK)) {
entry             874 ext/phar/zip.c 			entry->compressed_filesize = entry->uncompressed_filesize;
entry             875 ext/phar/zip.c 			PHAR_SET_32(central.compsize, entry->uncompressed_filesize);
entry             876 ext/phar/zip.c 			PHAR_SET_32(local.compsize, entry->uncompressed_filesize);
entry             880 ext/phar/zip.c 		filter = php_stream_filter_create(phar_compress_filter(entry, 0), NULL, 0 TSRMLS_CC);
entry             883 ext/phar/zip.c 			if (entry->flags & PHAR_ENT_COMPRESSED_GZ) {
entry             884 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             886 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             894 ext/phar/zip.c 		entry->cfp = php_stream_fopen_tmpfile();
entry             896 ext/phar/zip.c 		if (!entry->cfp) {
entry             897 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             903 ext/phar/zip.c 		if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0 TSRMLS_CC)) {
entry             904 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             908 ext/phar/zip.c 		php_stream_filter_append((&entry->cfp->writefilters), filter);
entry             910 ext/phar/zip.c 		if (SUCCESS != php_stream_copy_to_stream_ex(efp, entry->cfp, entry->uncompressed_filesize, NULL)) {
entry             911 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             916 ext/phar/zip.c 		php_stream_flush(entry->cfp);
entry             918 ext/phar/zip.c 		php_stream_seek(entry->cfp, 0, SEEK_END);
entry             919 ext/phar/zip.c 		entry->compressed_filesize = (php_uint32) php_stream_tell(entry->cfp);
entry             920 ext/phar/zip.c 		PHAR_SET_32(central.compsize, entry->compressed_filesize);
entry             921 ext/phar/zip.c 		PHAR_SET_32(local.compsize, entry->compressed_filesize);
entry             923 ext/phar/zip.c 		php_stream_rewind(entry->cfp);
entry             924 ext/phar/zip.c 		entry->old_flags = entry->flags;
entry             925 ext/phar/zip.c 		entry->is_modified = 1;
entry             928 ext/phar/zip.c 		PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize);
entry             929 ext/phar/zip.c 		PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize);
entry             930 ext/phar/zip.c 		PHAR_SET_32(central.compsize, entry->compressed_filesize);
entry             931 ext/phar/zip.c 		PHAR_SET_32(local.compsize, entry->compressed_filesize);
entry             933 ext/phar/zip.c 			if (-1 == php_stream_seek(p->old, entry->offset_abs, SEEK_SET)) {
entry             934 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             940 ext/phar/zip.c 	PHAR_SET_32(central.crc32, entry->crc32);
entry             941 ext/phar/zip.c 	PHAR_SET_32(local.crc32, entry->crc32);
entry             944 ext/phar/zip.c 	if (entry->metadata) {
entry             947 ext/phar/zip.c 		if (entry->metadata_str.c) {
entry             948 ext/phar/zip.c 			smart_str_free(&entry->metadata_str);
entry             950 ext/phar/zip.c 		entry->metadata_str.c = 0;
entry             951 ext/phar/zip.c 		entry->metadata_str.len = 0;
entry             953 ext/phar/zip.c 		php_var_serialize(&entry->metadata_str, &entry->metadata, &metadata_hash TSRMLS_CC);
entry             955 ext/phar/zip.c 		PHAR_SET_16(central.comment_len, entry->metadata_str.len);
entry             958 ext/phar/zip.c 	entry->header_offset = php_stream_tell(p->filefp);
entry             959 ext/phar/zip.c 	offset = entry->header_offset + sizeof(local) + entry->filename_len + (entry->is_dir ? 1 : 0) + sizeof(perms);
entry             962 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             967 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             971 ext/phar/zip.c 	if (entry->is_dir) {
entry             972 ext/phar/zip.c 		if (entry->filename_len != php_stream_write(p->filefp, entry->filename, entry->filename_len)) {
entry             973 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             978 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             982 ext/phar/zip.c 		if (entry->filename_len != php_stream_write(p->centralfp, entry->filename, entry->filename_len)) {
entry             983 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             988 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             992 ext/phar/zip.c 		if (entry->filename_len != php_stream_write(p->filefp, entry->filename, entry->filename_len)) {
entry             993 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             997 ext/phar/zip.c 		if (entry->filename_len != php_stream_write(p->centralfp, entry->filename, entry->filename_len)) {
entry             998 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            1004 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            1009 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            1013 ext/phar/zip.c 	if (!not_really_modified && entry->is_modified) {
entry            1014 ext/phar/zip.c 		if (entry->cfp) {
entry            1015 ext/phar/zip.c 			if (SUCCESS != php_stream_copy_to_stream_ex(entry->cfp, p->filefp, entry->compressed_filesize, NULL)) {
entry            1016 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            1020 ext/phar/zip.c 			php_stream_close(entry->cfp);
entry            1021 ext/phar/zip.c 			entry->cfp = NULL;
entry            1023 ext/phar/zip.c 			if (FAILURE == phar_open_entry_fp(entry, p->error, 0 TSRMLS_CC)) {
entry            1027 ext/phar/zip.c 			phar_seek_efp(entry, 0, SEEK_SET, 0, 0 TSRMLS_CC);
entry            1029 ext/phar/zip.c 			if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_efp(entry, 0 TSRMLS_CC), p->filefp, entry->uncompressed_filesize, NULL)) {
entry            1030 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            1035 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            1036 ext/phar/zip.c 			php_stream_close(entry->fp);
entry            1039 ext/phar/zip.c 		entry->is_modified = 0;
entry            1041 ext/phar/zip.c 		entry->is_modified = 0;
entry            1042 ext/phar/zip.c 		if (entry->fp_refcount) {
entry            1044 ext/phar/zip.c 			switch (entry->fp_type) {
entry            1055 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            1056 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            1061 ext/phar/zip.c 	entry->fp = NULL;
entry            1062 ext/phar/zip.c 	entry->offset = entry->offset_abs = offset;
entry            1063 ext/phar/zip.c 	entry->fp_type = PHAR_FP;
entry            1065 ext/phar/zip.c 	if (entry->metadata_str.c) {
entry            1066 ext/phar/zip.c 		if (entry->metadata_str.len != php_stream_write(p->centralfp, entry->metadata_str.c, entry->metadata_str.len)) {
entry            1067 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            1068 ext/phar/zip.c 			smart_str_free(&entry->metadata_str);
entry            1072 ext/phar/zip.c 		smart_str_free(&entry->metadata_str);
entry            1086 ext/phar/zip.c 		phar_entry_info entry = {0};
entry            1117 ext/phar/zip.c 		entry.filename = ".phar/signature.bin";
entry            1118 ext/phar/zip.c 		entry.filename_len = sizeof(".phar/signature.bin")-1;
entry            1119 ext/phar/zip.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1120 ext/phar/zip.c 		entry.fp_type = PHAR_MOD;
entry            1121 ext/phar/zip.c 		entry.is_modified = 1;
entry            1122 ext/phar/zip.c 		if (entry.fp == NULL) {
entry            1130 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            1141 ext/phar/zip.c 		entry.uncompressed_filesize = entry.compressed_filesize = signature_length + 8;
entry            1142 ext/phar/zip.c 		entry.phar = phar;
entry            1144 ext/phar/zip.c 		phar_zip_changed_apply((void *)&entry, (void *)pass TSRMLS_CC);
entry            1168 ext/phar/zip.c 	phar_entry_info entry = {0};
entry            1175 ext/phar/zip.c 	entry.flags = PHAR_ENT_PERM_DEF_FILE;
entry            1176 ext/phar/zip.c 	entry.timestamp = time(NULL);
entry            1177 ext/phar/zip.c 	entry.is_modified = 1;
entry            1178 ext/phar/zip.c 	entry.is_zip = 1;
entry            1179 ext/phar/zip.c 	entry.phar = phar;
entry            1180 ext/phar/zip.c 	entry.fp_type = PHAR_MOD;
entry            1195 ext/phar/zip.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1196 ext/phar/zip.c 		if (entry.fp == NULL) {
entry            1200 ext/phar/zip.c 		if (phar->alias_len != (int)php_stream_write(entry.fp, phar->alias, phar->alias_len)) {
entry            1207 ext/phar/zip.c 		entry.uncompressed_filesize = entry.compressed_filesize = phar->alias_len;
entry            1208 ext/phar/zip.c 		entry.filename = estrndup(".phar/alias.txt", sizeof(".phar/alias.txt")-1);
entry            1209 ext/phar/zip.c 		entry.filename_len = sizeof(".phar/alias.txt")-1;
entry            1211 ext/phar/zip.c 		if (SUCCESS != zend_hash_update(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info), NULL)) {
entry            1273 ext/phar/zip.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1274 ext/phar/zip.c 		if (entry.fp == NULL) {
entry            1278 ext/phar/zip.c 		entry.uncompressed_filesize = len + 5;
entry            1280 ext/phar/zip.c 		if ((size_t)len != php_stream_write(entry.fp, user_stub, len)
entry            1281 ext/phar/zip.c 		||            5 != php_stream_write(entry.fp, " ?>\r\n", 5)) {
entry            1288 ext/phar/zip.c 			php_stream_close(entry.fp);
entry            1292 ext/phar/zip.c 		entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1);
entry            1293 ext/phar/zip.c 		entry.filename_len = sizeof(".phar/stub.php")-1;
entry            1295 ext/phar/zip.c 		if (SUCCESS != zend_hash_update(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info), NULL)) {
entry            1310 ext/phar/zip.c 		entry.fp = php_stream_fopen_tmpfile();
entry            1311 ext/phar/zip.c 		if (entry.fp == NULL) {
entry            1315 ext/phar/zip.c 		if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) {
entry            1316 ext/phar/zip.c 			php_stream_close(entry.fp);
entry            1323 ext/phar/zip.c 		entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1;
entry            1324 ext/phar/zip.c 		entry.filename = estrndup(".phar/stub.php", sizeof(".phar/stub.php")-1);
entry            1325 ext/phar/zip.c 		entry.filename_len = sizeof(".phar/stub.php")-1;
entry            1329 ext/phar/zip.c 				if (SUCCESS != zend_hash_add(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info), NULL)) {
entry            1330 ext/phar/zip.c 					php_stream_close(entry.fp);
entry            1331 ext/phar/zip.c 					efree(entry.filename);
entry            1338 ext/phar/zip.c 				php_stream_close(entry.fp);
entry            1339 ext/phar/zip.c 				efree(entry.filename);
entry            1342 ext/phar/zip.c 			if (SUCCESS != zend_hash_update(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info), NULL)) {
entry            1343 ext/phar/zip.c 				php_stream_close(entry.fp);
entry            1344 ext/phar/zip.c 				efree(entry.filename);
entry             446 ext/readline/readline.c 	zval **entry;
entry             452 ext/readline/readline.c 	while (zend_hash_get_current_data(myht, (void **)&entry) == SUCCESS) {
entry             455 ext/readline/readline.c 		convert_to_string_ex(entry);
entry             456 ext/readline/readline.c 		if (strncmp (Z_STRVAL_PP(entry), text, strlen(text)) == 0) {
entry             457 ext/readline/readline.c 			return (strdup(Z_STRVAL_PP(entry)));
entry             190 ext/session/mod_files.c 	struct dirent *entry = (struct dirent *) &dentry;
entry             211 ext/session/mod_files.c 	while (php_readdir_r(dir, (struct dirent *) dentry, &entry) == 0 && entry) {
entry             213 ext/session/mod_files.c 		if (!strncmp(entry->d_name, FILE_PREFIX, sizeof(FILE_PREFIX) - 1)) {
entry             214 ext/session/mod_files.c 			size_t entry_len = strlen(entry->d_name);
entry             219 ext/session/mod_files.c 				memcpy(buf + dirname_len + 1, entry->d_name, entry_len);
entry             668 ext/session/session.c 	OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             692 ext/session/session.c 	OnUpdateStringUnempty(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             515 ext/soap/soap.c 	OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             860 ext/sockets/conversions.c 	ancillary_reg_entry	*entry;
entry             884 ext/sockets/conversions.c 	entry = get_ancillary_reg_entry(level, type);
entry             885 ext/sockets/conversions.c 	if (entry == NULL) {
entry             891 ext/sockets/conversions.c 	if (entry->calc_space) {
entry             899 ext/sockets/conversions.c 		data_len = entry->calc_space(*data_elem, ctx);
entry             904 ext/sockets/conversions.c 		data_len = entry->size;
entry             922 ext/sockets/conversions.c 	descriptor_data[0].from_zval = entry->from_array;
entry             979 ext/sockets/conversions.c 	ancillary_reg_entry		*entry;
entry             983 ext/sockets/conversions.c 	entry = get_ancillary_reg_entry(cmsg->cmsg_level, cmsg->cmsg_type);
entry             984 ext/sockets/conversions.c 	if (entry == NULL) {
entry             989 ext/sockets/conversions.c 	if (CMSG_LEN(entry->size) > cmsg->cmsg_len) {
entry             992 ext/sockets/conversions.c 				(long)CMSG_LEN(entry->size), (long)cmsg->cmsg_len);
entry            1003 ext/sockets/conversions.c 	entry->to_array((const char *)CMSG_DATA(cmsg), zv, ctx);
entry              91 ext/sockets/sendrecvmsg.c 	ancillary_reg_entry entry;
entry              98 ext/sockets/sendrecvmsg.c 	entry.size			= sizev; \
entry              99 ext/sockets/sendrecvmsg.c 	entry.var_el_size	= var_size; \
entry             100 ext/sockets/sendrecvmsg.c 	entry.calc_space	= calc; \
entry             101 ext/sockets/sendrecvmsg.c 	entry.from_array	= from; \
entry             102 ext/sockets/sendrecvmsg.c 	entry.to_array		= to; \
entry             106 ext/sockets/sendrecvmsg.c 			(void*)&entry, sizeof(entry), NULL)
entry             144 ext/sockets/sendrecvmsg.c 	ancillary_reg_entry	*entry;
entry             157 ext/sockets/sendrecvmsg.c 			(void**)&entry) == SUCCESS) {
entry             158 ext/sockets/sendrecvmsg.c 		return entry;
entry             278 ext/sockets/sendrecvmsg.c 	ancillary_reg_entry	*entry;
entry             295 ext/sockets/sendrecvmsg.c 	entry = get_ancillary_reg_entry(level, type);
entry             296 ext/sockets/sendrecvmsg.c 	if (entry == NULL) {
entry             302 ext/sockets/sendrecvmsg.c 	if (entry->var_el_size > 0 && n > (LONG_MAX - (long)entry->size -
entry             303 ext/sockets/sendrecvmsg.c 			(long)CMSG_SPACE(0) - 15L) / entry->var_el_size) {
entry             310 ext/sockets/sendrecvmsg.c 	RETURN_LONG((long)CMSG_SPACE(entry->size + n * entry->var_el_size));
entry             814 ext/spl/php_spl.c int spl_build_class_list_string(zval **entry, char **list TSRMLS_DC) /* {{{ */
entry             818 ext/spl/php_spl.c 	spprintf(&res, 0, "%s, %s", *list, Z_STRVAL_PP(entry));
entry            1540 ext/spl/spl_array.c 	zval **entry;
entry            1551 ext/spl/spl_array.c 	if (zend_hash_get_current_data_ex(aht, (void **) &entry, &intern->pos) == FAILURE) {
entry            1554 ext/spl/spl_array.c 	RETVAL_ZVAL(*entry, 1, 0);
entry            1626 ext/spl/spl_array.c 	zval *object = getThis(), **entry;
entry            1638 ext/spl/spl_array.c 	if (zend_hash_get_current_data_ex(aht, (void **) &entry, &intern->pos) == FAILURE) {
entry            1642 ext/spl/spl_array.c 	RETURN_BOOL(Z_TYPE_PP(entry) == IS_ARRAY || (Z_TYPE_PP(entry) == IS_OBJECT && (intern->ar_flags & SPL_ARRAY_CHILD_ARRAYS_ONLY) == 0));
entry            1650 ext/spl/spl_array.c 	zval *object = getThis(), **entry, *flags;
entry            1662 ext/spl/spl_array.c 	if (zend_hash_get_current_data_ex(aht, (void **) &entry, &intern->pos) == FAILURE) {
entry            1666 ext/spl/spl_array.c 	if (Z_TYPE_PP(entry) == IS_OBJECT) {
entry            1670 ext/spl/spl_array.c 		if (instanceof_function(Z_OBJCE_PP(entry), Z_OBJCE_P(getThis()) TSRMLS_CC)) {
entry            1671 ext/spl/spl_array.c 			RETURN_ZVAL(*entry, 1, 0);
entry            1677 ext/spl/spl_array.c 	spl_instantiate_arg_ex2(Z_OBJCE_P(getThis()), &return_value, 0, *entry, flags TSRMLS_CC);
entry             218 ext/spl/spl_directory.c 			                                 slash, intern->u.dir.entry.d_name);
entry             225 ext/spl/spl_directory.c 	if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) {
entry             226 ext/spl/spl_directory.c 		intern->u.dir.entry.d_name[0] = '\0';
entry             260 ext/spl/spl_directory.c 		intern->u.dir.entry.d_name[0] = '\0';
entry             269 ext/spl/spl_directory.c 		} while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
entry             365 ext/spl/spl_directory.c 			} while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
entry             481 ext/spl/spl_directory.c 		if (!source->u.dir.entry.d_name[0]) {
entry             578 ext/spl/spl_directory.c 		if (intern->u.dir.entry.d_name[0]) {
entry             669 ext/spl/spl_directory.c 	if (fsobj->u.dir.entry.d_name[0] == '\0' && fsobj->orig_path == NULL) {
entry             810 ext/spl/spl_directory.c 	} while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
entry             868 ext/spl/spl_directory.c 	RETURN_BOOL(intern->u.dir.entry.d_name[0] != '\0');
entry             920 ext/spl/spl_directory.c 	RETURN_STRING(intern->u.dir.entry.d_name, 1);
entry             979 ext/spl/spl_directory.c 	php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), NULL, 0, &fname, &flen TSRMLS_CC);
entry            1038 ext/spl/spl_directory.c 	php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen, &fname, &flen TSRMLS_CC);
entry            1075 ext/spl/spl_directory.c 		RETURN_STRING(intern->u.dir.entry.d_name, 1);
entry            1116 ext/spl/spl_directory.c 	RETURN_BOOL(spl_filesystem_is_dot(intern->u.dir.entry.d_name));
entry            1308 ext/spl/spl_directory.c 	if (intern->type == SPL_FS_DIR && !intern->file_name && intern->u.dir.entry.d_name[0]) {
entry            1458 ext/spl/spl_directory.c 	} while (skip_dots && spl_filesystem_is_dot(intern->u.dir.entry.d_name));
entry            1500 ext/spl/spl_directory.c 	if (spl_filesystem_is_invalid_or_dot(intern->u.dir.entry.d_name)) {
entry            1541 ext/spl/spl_directory.c 			subdir->u.dir.sub_path_len = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name);
entry            1543 ext/spl/spl_directory.c 			subdir->u.dir.sub_path_len = strlen(intern->u.dir.entry.d_name);
entry            1544 ext/spl/spl_directory.c 			subdir->u.dir.sub_path = estrndup(intern->u.dir.entry.d_name, subdir->u.dir.sub_path_len);
entry            1585 ext/spl/spl_directory.c 		len = spprintf(&sub_name, 0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name);
entry            1588 ext/spl/spl_directory.c 		RETURN_STRING(intern->u.dir.entry.d_name, 1);
entry            1697 ext/spl/spl_directory.c 	return object->u.dir.entry.d_name[0] != '\0' ? SUCCESS : FAILURE;
entry            1794 ext/spl/spl_directory.c 		ZVAL_STRING(key, object->u.dir.entry.d_name, 1);
entry            1811 ext/spl/spl_directory.c 	} while (spl_filesystem_is_dot(object->u.dir.entry.d_name));
entry            1835 ext/spl/spl_directory.c 	} while (spl_filesystem_is_dot(object->u.dir.entry.d_name));
entry            1906 ext/spl/spl_directory.c 				ZVAL_STRING(retval_ptr, intern->u.dir.entry.d_name, 1);
entry            1910 ext/spl/spl_directory.c 				ZVAL_STRING(writeobj, intern->u.dir.entry.d_name, 1);
entry              78 ext/spl/spl_directory.h 			php_stream_dirent  entry;
entry            1184 ext/spl/spl_iterators.c 	zval                       prefix, entry, postfix;
entry            1212 ext/spl/spl_iterators.c 	INIT_ZVAL(entry);
entry            1214 ext/spl/spl_iterators.c 	spl_recursive_tree_iterator_get_entry(object, &entry TSRMLS_CC);
entry            1215 ext/spl/spl_iterators.c 	if (Z_TYPE(entry) != IS_STRING) {
entry            1217 ext/spl/spl_iterators.c 		zval_dtor(&entry);
entry            1222 ext/spl/spl_iterators.c 	str_len = Z_STRLEN(prefix) + Z_STRLEN(entry) + Z_STRLEN(postfix);
entry            1228 ext/spl/spl_iterators.c 	memcpy(ptr, Z_STRVAL(entry), Z_STRLEN(entry));
entry            1229 ext/spl/spl_iterators.c 	ptr += Z_STRLEN(entry);
entry            1235 ext/spl/spl_iterators.c 	zval_dtor(&entry);
entry             820 ext/standard/array.c 	zval **entry;
entry             829 ext/standard/array.c 		if (zend_hash_get_current_data(array, (void **) &entry) == FAILURE) {
entry             833 ext/standard/array.c 		RETURN_ZVAL_FAST(*entry);
entry             843 ext/standard/array.c 	zval **entry;
entry             852 ext/standard/array.c 		if (zend_hash_get_current_data(array, (void **) &entry) == FAILURE) {
entry             856 ext/standard/array.c 		RETURN_ZVAL_FAST(*entry);
entry             866 ext/standard/array.c 	zval **entry;
entry             875 ext/standard/array.c 		if (zend_hash_get_current_data(array, (void **) &entry) == FAILURE) {
entry             879 ext/standard/array.c 		RETURN_ZVAL_FAST(*entry);
entry             889 ext/standard/array.c 	zval **entry;
entry             898 ext/standard/array.c 		if (zend_hash_get_current_data(array, (void **) &entry) == FAILURE) {
entry             902 ext/standard/array.c 		RETURN_ZVAL_FAST(*entry);
entry             912 ext/standard/array.c 	zval **entry;
entry             918 ext/standard/array.c 	if (zend_hash_get_current_data(array, (void **) &entry) == FAILURE) {
entry             922 ext/standard/array.c 	RETURN_ZVAL_FAST(*entry);
entry            1180 ext/standard/array.c 		 **entry,				/* pointer to array entry */
entry            1195 ext/standard/array.c 	while (zend_hash_get_current_data_ex(Z_ARRVAL_P(array), (void **)&entry, &pos) == SUCCESS) {
entry            1196 ext/standard/array.c 		is_equal_func(&res, value, *entry TSRMLS_CC);
entry            1287 ext/standard/array.c 	zval **entry, *data;
entry            1332 ext/standard/array.c 	while (zend_hash_get_current_data_ex(Z_ARRVAL_P(var_array), (void **)&entry, &pos) == SUCCESS) {
entry            1410 ext/standard/array.c 				SEPARATE_ZVAL_TO_MAKE_IS_REF(entry);
entry            1411 ext/standard/array.c 				zval_add_ref(entry);
entry            1415 ext/standard/array.c 					*orig_var = *entry;
entry            1417 ext/standard/array.c 					zend_hash_update(EG(active_symbol_table), Z_STRVAL(final_name), Z_STRLEN(final_name) + 1, (void **) entry, sizeof(zval *), NULL);
entry            1421 ext/standard/array.c 				*data = **entry;
entry            1441 ext/standard/array.c static void php_compact_var(HashTable *eg_active_symbol_table, zval *return_value, zval *entry TSRMLS_DC) /* {{{ */
entry            1445 ext/standard/array.c 	if (Z_TYPE_P(entry) == IS_STRING) {
entry            1446 ext/standard/array.c 		if (zend_hash_find(eg_active_symbol_table, Z_STRVAL_P(entry), Z_STRLEN_P(entry) + 1, (void **)&value_ptr) != FAILURE) {
entry            1451 ext/standard/array.c 			zend_hash_update(Z_ARRVAL_P(return_value), Z_STRVAL_P(entry), Z_STRLEN_P(entry) + 1, &data, sizeof(zval *), NULL);
entry            1454 ext/standard/array.c 	else if (Z_TYPE_P(entry) == IS_ARRAY) {
entry            1457 ext/standard/array.c 		if ((Z_ARRVAL_P(entry)->nApplyCount > 1)) {
entry            1462 ext/standard/array.c 		Z_ARRVAL_P(entry)->nApplyCount++;
entry            1464 ext/standard/array.c 		zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(entry), &pos);
entry            1465 ext/standard/array.c 		while (zend_hash_get_current_data_ex(Z_ARRVAL_P(entry), (void**)&value_ptr, &pos) == SUCCESS) {
entry            1469 ext/standard/array.c 			zend_hash_move_forward_ex(Z_ARRVAL_P(entry), &pos);
entry            1471 ext/standard/array.c 		Z_ARRVAL_P(entry)->nApplyCount--;
entry            1553 ext/standard/array.c 	zval *keys, *val, **entry;
entry            1564 ext/standard/array.c 	while (zend_hash_get_current_data_ex(Z_ARRVAL_P(keys), (void **)&entry, &pos) == SUCCESS) {
entry            1566 ext/standard/array.c 		if (Z_TYPE_PP(entry) == IS_LONG) {
entry            1568 ext/standard/array.c 			zend_hash_index_update(Z_ARRVAL_P(return_value), Z_LVAL_PP(entry), &val, sizeof(zval *), NULL);
entry            1570 ext/standard/array.c 			zval key, *key_ptr = *entry;
entry            1572 ext/standard/array.c 			if (Z_TYPE_PP(entry) != IS_STRING) {
entry            1573 ext/standard/array.c 				key = **entry;
entry            1582 ext/standard/array.c 			if (key_ptr != *entry) {
entry            2011 ext/standard/array.c 			**entry;		/* An array entry */
entry            2062 ext/standard/array.c 	while (pos < offset && zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &hpos) == SUCCESS) {
entry            2068 ext/standard/array.c 	while (pos < offset + length && zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &hpos) == SUCCESS) {
entry            2070 ext/standard/array.c 		zval_add_ref(entry);
entry            2074 ext/standard/array.c 				zend_hash_update(Z_ARRVAL_P(return_value), string_key, string_key_len, entry, sizeof(zval *), NULL);
entry            2079 ext/standard/array.c 					zend_hash_index_update(Z_ARRVAL_P(return_value), num_key, entry, sizeof(zval *), NULL);
entry            2081 ext/standard/array.c 					zend_hash_next_index_insert(Z_ARRVAL_P(return_value), entry, sizeof(zval *), NULL);
entry            2302 ext/standard/array.c 	     **entry,				/* An entry in the input array */
entry            2328 ext/standard/array.c 	while (zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &pos) == SUCCESS) {
entry            2330 ext/standard/array.c 			is_equal_func(&res, search_value, *entry TSRMLS_CC);
entry            2350 ext/standard/array.c 			**entry;		/* An entry in the input array */
entry            2362 ext/standard/array.c 	while (zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &pos) == SUCCESS) {
entry            2363 ext/standard/array.c 		zval_add_ref(entry);
entry            2364 ext/standard/array.c 		zend_hash_next_index_insert(Z_ARRVAL_P(return_value), entry, sizeof(zval *), NULL);
entry            2375 ext/standard/array.c 			**entry,		/* An entry in the input array */
entry            2390 ext/standard/array.c 	while (zend_hash_get_current_data_ex(myht, (void **)&entry, &pos) == SUCCESS) {
entry            2391 ext/standard/array.c 		if (Z_TYPE_PP(entry) == IS_LONG) {
entry            2392 ext/standard/array.c 			if (zend_hash_index_find(Z_ARRVAL_P(return_value), Z_LVAL_PP(entry), (void **)&tmp) == FAILURE) {
entry            2396 ext/standard/array.c 				zend_hash_index_update(Z_ARRVAL_P(return_value), Z_LVAL_PP(entry), &data, sizeof(data), NULL);
entry            2400 ext/standard/array.c 		} else if (Z_TYPE_PP(entry) == IS_STRING) {
entry            2401 ext/standard/array.c 			if (zend_symtable_find(Z_ARRVAL_P(return_value), Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, (void**)&tmp) == FAILURE) {
entry            2405 ext/standard/array.c 				zend_symtable_update(Z_ARRVAL_P(return_value), Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &data, sizeof(data), NULL);
entry            2517 ext/standard/array.c 			**entry;				/* An entry in the input array */
entry            2532 ext/standard/array.c 	while (zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &pos) == SUCCESS) {
entry            2533 ext/standard/array.c 		zval_add_ref(entry);
entry            2537 ext/standard/array.c 				zend_hash_update(Z_ARRVAL_P(return_value), string_key, string_key_len, entry, sizeof(zval *), NULL);
entry            2542 ext/standard/array.c 					zend_hash_index_update(Z_ARRVAL_P(return_value), num_key, entry, sizeof(zval *), NULL);
entry            2544 ext/standard/array.c 					zend_hash_next_index_insert(Z_ARRVAL_P(return_value), entry, sizeof(zval *), NULL);
entry            2618 ext/standard/array.c 	zval *array, **entry, *data;
entry            2628 ext/standard/array.c 	while (zend_hash_get_current_data_ex(Z_ARRVAL_P(array), (void **)&entry, &pos) == SUCCESS) {
entry            2632 ext/standard/array.c 		if (Z_TYPE_PP(entry) == IS_LONG) {
entry            2633 ext/standard/array.c 			zend_hash_index_update(Z_ARRVAL_P(return_value), Z_LVAL_PP(entry), &data, sizeof(data), NULL);
entry            2634 ext/standard/array.c 		} else if (Z_TYPE_PP(entry) == IS_STRING) {
entry            2635 ext/standard/array.c 			zend_symtable_update(Z_ARRVAL_P(return_value), Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &data, sizeof(data), NULL);
entry            2650 ext/standard/array.c 	zval *array, **entry;
entry            2665 ext/standard/array.c 	while (zend_hash_get_current_data_ex(Z_ARRVAL_P(array), (void **)&entry, &pos) == SUCCESS) {
entry            2666 ext/standard/array.c 		zval_add_ref(entry);
entry            2670 ext/standard/array.c 				zend_hash_index_update(Z_ARRVAL_P(return_value), num_key, entry, sizeof(entry), NULL);
entry            2679 ext/standard/array.c 				zend_hash_update(Z_ARRVAL_P(return_value), new_key, str_key_len, entry, sizeof(entry), NULL);
entry            3925 ext/standard/array.c 		 **entry,
entry            3936 ext/standard/array.c 		zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &pos) == SUCCESS;
entry            3939 ext/standard/array.c 		if (Z_TYPE_PP(entry) == IS_ARRAY || Z_TYPE_PP(entry) == IS_OBJECT) {
entry            3942 ext/standard/array.c 		entry_n = **entry;
entry            3955 ext/standard/array.c 		 **entry,
entry            3970 ext/standard/array.c 		zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &pos) == SUCCESS;
entry            3973 ext/standard/array.c 		if (Z_TYPE_PP(entry) == IS_ARRAY || Z_TYPE_PP(entry) == IS_OBJECT) {
entry            3976 ext/standard/array.c 		entry_n = **entry;
entry            4343 ext/standard/array.c 	zval **entry;
entry            4364 ext/standard/array.c 	while (zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void**)&entry, &pos) == SUCCESS) {
entry            4372 ext/standard/array.c 		zval_add_ref(entry);
entry            4378 ext/standard/array.c 					add_assoc_zval_ex(chunk, str_key, str_key_len, *entry);
entry            4381 ext/standard/array.c 					add_index_zval(chunk, num_key, *entry);
entry            4385 ext/standard/array.c 			add_next_index_zval(chunk, *entry);
entry            4244 ext/standard/basic_functions.c 		zval **entry;
entry            4256 ext/standard/basic_functions.c 		while (zend_hash_get_current_data(Z_ARRVAL_PP(args), (void **)&entry) == SUCCESS) {
entry            4257 ext/standard/basic_functions.c 			zval arg, *arg_ptr = *entry;
entry            4259 ext/standard/basic_functions.c 			if (Z_TYPE_PP(entry) != IS_STRING) {
entry            4260 ext/standard/basic_functions.c 				arg = **entry;
entry            4268 ext/standard/basic_functions.c 			if (arg_ptr != *entry) {
entry            4287 ext/standard/basic_functions.c 		zval **entry;
entry            4303 ext/standard/basic_functions.c 		while (zend_hash_get_current_data(Z_ARRVAL_P(p_longopts), (void **)&entry) == SUCCESS) {
entry            4304 ext/standard/basic_functions.c 			zval arg, *arg_ptr = *entry;
entry            4306 ext/standard/basic_functions.c 			if (Z_TYPE_PP(entry) != IS_STRING) {
entry            4307 ext/standard/basic_functions.c 				arg = **entry;
entry            4327 ext/standard/basic_functions.c 			if (arg_ptr != *entry) {
entry            4553 ext/standard/basic_functions.c static int add_config_entry_cb(zval *entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key)
entry            4558 ext/standard/basic_functions.c 	if (Z_TYPE_P(entry) == IS_STRING) {
entry            4560 ext/standard/basic_functions.c 			add_assoc_stringl_ex(retval, hash_key->arKey, hash_key->nKeyLength, Z_STRVAL_P(entry), Z_STRLEN_P(entry), 1);
entry            4562 ext/standard/basic_functions.c 			add_index_stringl(retval, hash_key->h, Z_STRVAL_P(entry), Z_STRLEN_P(entry), 1);
entry            4564 ext/standard/basic_functions.c 	} else if (Z_TYPE_P(entry) == IS_ARRAY) {
entry            4567 ext/standard/basic_functions.c 		zend_hash_apply_with_arguments(Z_ARRVAL_P(entry) TSRMLS_CC, (apply_func_args_t) add_config_entry_cb, 1, tmp);
entry             404 ext/standard/dir.c 	php_stream_dirent entry;
entry             413 ext/standard/dir.c 	if (php_stream_readdir(dirp, &entry)) {
entry             414 ext/standard/dir.c 		RETURN_STRINGL(entry.d_name, strlen(entry.d_name), 1);
entry            1207 ext/standard/filestat.c 			zval *entry;
entry            1208 ext/standard/filestat.c 			MAKE_STD_ZVAL(entry);
entry            1209 ext/standard/filestat.c 			array_init(entry);
entry            1213 ext/standard/filestat.c 				add_assoc_long(entry, "key", bucket->key);
entry            1215 ext/standard/filestat.c 				add_assoc_double(entry, "key", (double)bucket->key);
entry            1217 ext/standard/filestat.c 			add_assoc_bool(entry, "is_dir", bucket->is_dir);
entry            1218 ext/standard/filestat.c 			add_assoc_stringl(entry, "realpath", bucket->realpath, bucket->realpath_len, 1);
entry            1219 ext/standard/filestat.c 			add_assoc_long(entry, "expires", bucket->expires);
entry            1221 ext/standard/filestat.c 			add_assoc_bool(entry, "is_rvalid", bucket->is_rvalid);
entry            1222 ext/standard/filestat.c 			add_assoc_bool(entry, "is_wvalid", bucket->is_wvalid);
entry            1223 ext/standard/filestat.c 			add_assoc_bool(entry, "is_readable", bucket->is_readable);
entry            1224 ext/standard/filestat.c 			add_assoc_bool(entry, "is_writable", bucket->is_writable);
entry            1226 ext/standard/filestat.c 			zend_hash_update(Z_ARRVAL_P(return_value), bucket->path, bucket->path_len+1, &entry, sizeof(zval *), NULL);
entry            2913 ext/standard/string.c 	zval			**entry;
entry            2922 ext/standard/string.c 			zend_hash_get_current_data_ex(pats, (void **)&entry, &hpos) == SUCCESS;
entry            2948 ext/standard/string.c 			if (Z_TYPE_PP(entry) != IS_STRING) {
entry            2949 ext/standard/string.c 				tzv = *entry;
entry            2953 ext/standard/string.c 				entry = &tzv;
entry            2954 ext/standard/string.c 				zend_llist_add_element(*allocs, &Z_STRVAL_PP(entry));
entry            2959 ext/standard/string.c 			S(&patterns[i].repl) = Z_STRVAL_PP(entry);
entry            2960 ext/standard/string.c 			L(&patterns[i].repl) = Z_STRLEN_PP(entry);
entry            1140 ext/tidy/tidy.c 	status = OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry              79 ext/xsl/php_xsl.h #define REGISTER_XSL_CLASS(ce, name, parent_ce, funcs, entry) \
entry              82 ext/xsl/php_xsl.h entry = zend_register_internal_class_ex(&ce, parent_ce, NULL TSRMLS_CC);
entry             783 ext/xsl/xsltprocessor.c 	zval *array_value, **entry, *new_string;
entry             794 ext/xsl/xsltprocessor.c 		while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) {
entry             795 ext/xsl/xsltprocessor.c 			SEPARATE_ZVAL(entry);
entry             796 ext/xsl/xsltprocessor.c 			convert_to_string_ex(entry);
entry             804 ext/xsl/xsltprocessor.c 			Z_ADDREF_PP(entry);
entry             805 ext/xsl/xsltprocessor.c 			COPY_PZVAL_TO_ZVAL(*new_string, *entry);
entry             882 ext/xsl/xsltprocessor.c 	zval *array_value, **entry, *new_string;
entry             892 ext/xsl/xsltprocessor.c 		while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) {
entry             893 ext/xsl/xsltprocessor.c 			SEPARATE_ZVAL(entry);
entry             894 ext/xsl/xsltprocessor.c 			convert_to_string_ex(entry);
entry             899 ext/xsl/xsltprocessor.c 			zend_hash_update(intern->registered_phpfunctions, Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &new_string, sizeof(zval*), NULL);
entry              53 ext/zip/lib/zip_add_entry.c 	rentries = (struct zip_entry *)realloc(za->entry, sizeof(struct zip_entry) * (size_t)nalloc);
entry              58 ext/zip/lib/zip_add_entry.c 	za->entry = rentries;
entry              64 ext/zip/lib/zip_add_entry.c     _zip_entry_init(za->entry+idx);
entry             129 ext/zip/lib/zip_close.c 	if (za->entry[i].deleted)
entry             165 ext/zip/lib/zip_close.c 	struct zip_entry *entry;
entry             169 ext/zip/lib/zip_close.c 	entry = za->entry+i;
entry             171 ext/zip/lib/zip_close.c 	new_data = (ZIP_ENTRY_DATA_CHANGED(entry) || new_torrentzip || ZIP_ENTRY_CHANGED(entry, ZIP_DIRENT_COMP_METHOD));
entry             174 ext/zip/lib/zip_close.c 	if (entry->changes == NULL) {
entry             175 ext/zip/lib/zip_close.c 	    if ((entry->changes=_zip_dirent_clone(entry->orig)) == NULL) {
entry             181 ext/zip/lib/zip_close.c 	de = entry->changes;
entry             189 ext/zip/lib/zip_close.c 	    _zip_dirent_torrent_normalize(entry->changes);
entry             198 ext/zip/lib/zip_close.c 	    if (!ZIP_ENTRY_DATA_CHANGED(entry)) {
entry             206 ext/zip/lib/zip_close.c 	    if (add_data(za, zs ? zs : entry->source, de, out) < 0) {
entry             577 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             579 ext/zip/lib/zip_close.c 	if (!za->entry[i].deleted)
entry              58 ext/zip/lib/zip_delete.c     za->entry[idx].deleted = 1;
entry              61 ext/zip/lib/zip_dirent.c 	_zip_entry_finalize(cd->entry+i);
entry              62 ext/zip/lib/zip_dirent.c     free(cd->entry);
entry              72 ext/zip/lib/zip_dirent.c     struct zip_entry *entry;
entry              83 ext/zip/lib/zip_dirent.c     if ((entry=((struct zip_entry *)
entry              84 ext/zip/lib/zip_dirent.c 		realloc(cd->entry, sizeof(*(cd->entry))*(size_t)nentry))) == NULL) {
entry              90 ext/zip/lib/zip_dirent.c 	_zip_entry_init(entry+i);
entry              93 ext/zip/lib/zip_dirent.c     cd->entry = entry;
entry             112 ext/zip/lib/zip_dirent.c 	cd->entry = NULL;
entry             113 ext/zip/lib/zip_dirent.c     else if (nentry > ((size_t)-1)/sizeof(*(cd->entry)) || (cd->entry=(struct zip_entry *)malloc(sizeof(*(cd->entry))*(size_t)nentry)) == NULL) {
entry             120 ext/zip/lib/zip_dirent.c 	_zip_entry_init(cd->entry+i);
entry             150 ext/zip/lib/zip_dirent.c 	struct zip_entry *entry = za->entry+filelist[i].idx;
entry             152 ext/zip/lib/zip_dirent.c 	if ((ret=_zip_dirent_write(entry->changes ? entry->changes : entry->orig, fp, ZIP_FL_CENTRAL, &za->error)) < 0)
entry             831 ext/zip/lib/zip_dirent.c     if ((flags & ZIP_FL_UNCHANGED) || za->entry[idx].changes == NULL) {
entry             832 ext/zip/lib/zip_dirent.c 	if (za->entry[idx].orig == NULL) {
entry             836 ext/zip/lib/zip_dirent.c 	if (za->entry[idx].deleted && (flags & ZIP_FL_UNCHANGED) == 0) {
entry             840 ext/zip/lib/zip_dirent.c 	return za->entry[idx].orig;
entry             843 ext/zip/lib/zip_dirent.c 	return za->entry[idx].changes;
entry              64 ext/zip/lib/zip_discard.c     if (za->entry) {
entry              66 ext/zip/lib/zip_discard.c 	    _zip_entry_finalize(za->entry+i);
entry              67 ext/zip/lib/zip_discard.c 	free(za->entry);
entry             334 ext/zip/lib/zip_extra_field.c     e = za->entry+idx;
entry              66 ext/zip/lib/zip_extra_field_api.c     de = za->entry[idx].changes;
entry             100 ext/zip/lib/zip_extra_field_api.c     de = za->entry[idx].changes;
entry             264 ext/zip/lib/zip_extra_field_api.c     de = za->entry[idx].changes;
entry             349 ext/zip/lib/zip_extra_field_api.c     e = za->entry+idx;
entry              59 ext/zip/lib/zip_file_get_offset.c     offset = za->entry[idx].orig->offset;
entry              86 ext/zip/lib/zip_file_replace.c 	    _zip_entry_finalize(za->entry+idx);
entry              94 ext/zip/lib/zip_file_replace.c     _zip_unchange_data(za->entry+idx);
entry              96 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              97 ext/zip/lib/zip_file_replace.c         if (za->entry[idx].changes == NULL) {
entry              98 ext/zip/lib/zip_file_replace.c             if ((za->entry[idx].changes=_zip_dirent_clone(za->entry[idx].orig)) == NULL) {
entry             104 ext/zip/lib/zip_file_replace.c         za->entry[idx].changes->comp_method = ZIP_CM_REPLACED_DEFAULT;
entry             105 ext/zip/lib/zip_file_replace.c         za->entry[idx].changes->changed |= ZIP_DIRENT_COMP_METHOD;
entry             108 ext/zip/lib/zip_file_replace.c     za->entry[idx].source = source;
entry              72 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              50 ext/zip/lib/zip_get_num_entries.c 	while (n>0 && za->entry[n-1].orig == NULL)
entry              66 ext/zip/lib/zip_new.c     za->entry = NULL;
entry             159 ext/zip/lib/zip_open.c     za->entry = cdir->entry;
entry             285 ext/zip/lib/zip_open.c 	if ((cd->entry[i].orig=_zip_dirent_new()) == NULL
entry             286 ext/zip/lib/zip_open.c 	    || (_zip_dirent_read(cd->entry[i].orig, fp, bufp, &left, 0, error)) < 0) {
entry             317 ext/zip/lib/zip_open.c 	max = cd->entry[0].orig->offset;
entry             318 ext/zip/lib/zip_open.c 	min = cd->entry[0].orig->offset;
entry             324 ext/zip/lib/zip_open.c 	if (cd->entry[i].orig->offset < min)
entry             325 ext/zip/lib/zip_open.c 	    min = cd->entry[i].orig->offset;
entry             331 ext/zip/lib/zip_open.c 	j = cd->entry[i].orig->offset + cd->entry[i].orig->comp_size
entry             332 ext/zip/lib/zip_open.c 	    + _zip_string_length(cd->entry[i].orig->filename) + LENTRYSIZE;
entry             340 ext/zip/lib/zip_open.c 	if (fseeko(fp, (off_t)cd->entry[i].orig->offset, SEEK_SET) != 0) {
entry             348 ext/zip/lib/zip_open.c 	if (_zip_headercomp(cd->entry[i].orig, &temp) != 0) {
entry             354 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             355 ext/zip/lib/zip_open.c 	cd->entry[i].orig->local_extra_fields_read = 1;
entry              62 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              61 ext/zip/lib/zip_source_zip_new.c 	&& (ZIP_ENTRY_DATA_CHANGED(srcza->entry+srcidx) || srcza->entry[srcidx].deleted)) {
entry              55 ext/zip/lib/zip_stat_index.c 	&& ZIP_ENTRY_DATA_CHANGED(za->entry+index)) {
entry              56 ext/zip/lib/zip_stat_index.c 	if (zip_source_stat(za->entry[index].source, st) < 0) {
entry              60 ext/zip/lib/zip_unchange.c     if (!allow_duplicates && za->entry[idx].changes && (za->entry[idx].changes->changed & ZIP_DIRENT_FILENAME)) {
entry              68 ext/zip/lib/zip_unchange.c     _zip_dirent_free(za->entry[idx].changes);
entry              69 ext/zip/lib/zip_unchange.c     za->entry[idx].changes = NULL;
entry              71 ext/zip/lib/zip_unchange.c     _zip_unchange_data(za->entry+idx);
entry             288 ext/zip/lib/zipint.h     struct zip_entry *entry;		/* entries */
entry             340 ext/zip/lib/zipint.h     struct zip_entry *entry;	 		/* directory entries */
entry             910 ext/zlib/zlib.c 	status = OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             931 ext/zlib/zlib.c 	return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             423 main/main.c    		OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             434 main/main.c    		OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             445 main/main.c    		OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             461 main/main.c    	OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry             476 main/main.c    	OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
entry              61 main/output.c  static inline zval *php_output_handler_status(php_output_handler *handler, zval *entry);
entry            1195 main/output.c  static inline zval *php_output_handler_status(php_output_handler *handler, zval *entry)
entry            1197 main/output.c  	if (!entry) {
entry            1198 main/output.c  		MAKE_STD_ZVAL(entry);
entry            1199 main/output.c  		array_init(entry);
entry            1202 main/output.c  	add_assoc_stringl(entry, "name", handler->name, handler->name_len, 1);
entry            1203 main/output.c  	add_assoc_long(entry, "type", (long) (handler->flags & 0xf));
entry            1204 main/output.c  	add_assoc_long(entry, "flags", (long) handler->flags);
entry            1205 main/output.c  	add_assoc_long(entry, "level", (long) handler->level);
entry            1206 main/output.c  	add_assoc_long(entry, "chunk_size", (long) handler->size);
entry            1207 main/output.c  	add_assoc_long(entry, "buffer_size", (long) handler->buffer.size);
entry            1208 main/output.c  	add_assoc_long(entry, "buffer_used", (long) handler->buffer.used);
entry            1210 main/output.c  	return entry;
entry             212 main/php_ini.c 	zval *entry;
entry             240 main/php_ini.c 					zend_hash_update(active_hash, Z_STRVAL_P(arg1), Z_STRLEN_P(arg1) + 1, arg2, sizeof(zval), (void **) &entry);
entry             241 main/php_ini.c 					Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
entry             270 main/php_ini.c 					zend_symtable_update(Z_ARRVAL_P(find_arr), Z_STRVAL_P(arg3), Z_STRLEN_P(arg3) + 1, arg2, sizeof(zval), (void **) &entry);
entry             272 main/php_ini.c 					zend_hash_next_index_insert(Z_ARRVAL_P(find_arr), arg2, sizeof(zval), (void **) &entry);
entry             274 main/php_ini.c 				Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
entry             327 main/php_ini.c 					if (zend_hash_find(target_hash, key, key_len + 1, (void **) &entry) == FAILURE) {
entry             335 main/php_ini.c 						zend_hash_update(target_hash, key, key_len + 1, section_arr, sizeof(zval), (void **) &entry);
entry             338 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             407 main/rfc1867.c 	mime_header_entry entry = {0};
entry             436 main/rfc1867.c 				entry.key = key;
entry             437 main/rfc1867.c 				entry.value = buf_value.c;
entry             438 main/rfc1867.c 				zend_llist_add_element(header, &entry);
entry             457 main/rfc1867.c 		entry.key = key;
entry             458 main/rfc1867.c 		entry.value = buf_value.c;
entry             459 main/rfc1867.c 		zend_llist_add_element(header, &entry);
entry             467 main/rfc1867.c 	mime_header_entry *entry;
entry             473 main/rfc1867.c 	entry = zend_llist_get_first(&header);
entry             474 main/rfc1867.c 	while (entry) {
entry             475 main/rfc1867.c 		if (!strcasecmp(entry->key, key)) {
entry             476 main/rfc1867.c 			return entry->value;
entry             478 main/rfc1867.c 		entry = zend_llist_get_next(&header);
entry             843 main/streams/plain_wrapper.c 	char entry[sizeof(struct dirent)+MAXPATHLEN];
entry             844 main/streams/plain_wrapper.c 	struct dirent *result = (struct dirent *)&entry;
entry             851 main/streams/plain_wrapper.c 	if (php_readdir_r(dir, (struct dirent *)entry, &result) == 0 && result) {
entry             581 sapi/apache_hooks/php_apache.c 	zval **entry, **value;
entry             598 sapi/apache_hooks/php_apache.c 				while (zend_hash_get_current_data_ex(Z_ARRVAL_P(first), (void **)&entry, &pos) == SUCCESS) {
entry             190 sapi/cgi/cgi_main.c static void user_config_cache_entry_dtor(user_config_cache_entry *entry)
entry             192 sapi/cgi/cgi_main.c 	zend_hash_destroy(entry->user_config);
entry             193 sapi/cgi/cgi_main.c 	free(entry->user_config);
entry             761 sapi/cgi/cgi_main.c 	user_config_cache_entry *new_entry, *entry;
entry             765 sapi/cgi/cgi_main.c 	if (zend_hash_find(&CGIG(user_config_cache), path, path_len + 1, (void **) &entry) == FAILURE) {
entry             770 sapi/cgi/cgi_main.c 		zend_hash_update(&CGIG(user_config_cache), path, path_len + 1, new_entry, sizeof(user_config_cache_entry), (void **) &entry);
entry             775 sapi/cgi/cgi_main.c 	if (request_time > entry->expires) {
entry             782 sapi/cgi/cgi_main.c 		zend_hash_clean(entry->user_config);
entry             816 sapi/cgi/cgi_main.c 				php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config TSRMLS_CC);
entry             821 sapi/cgi/cgi_main.c 			php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config TSRMLS_CC);
entry             827 sapi/cgi/cgi_main.c 		entry->expires = request_time + PG(user_ini_cache_ttl);
entry             831 sapi/cgi/cgi_main.c 	php_ini_activate_config(entry->user_config, PHP_INI_PERDIR, PHP_INI_STAGE_HTACCESS TSRMLS_CC);
entry             722 sapi/cli/php_cli_server.c static int sapi_cli_server_register_entry_cb(char **entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */ {
entry             737 sapi/cli/php_cli_server.c 			sapi_cli_server_register_variable(track_vars_array, key, *entry TSRMLS_CC);
entry             739 sapi/cli/php_cli_server.c 		sapi_cli_server_register_variable(track_vars_array, real_key, *entry TSRMLS_CC);
entry             191 sapi/fpm/fpm/fpm_main.c static void user_config_cache_entry_dtor(user_config_cache_entry *entry)
entry             193 sapi/fpm/fpm/fpm_main.c 	zend_hash_destroy(entry->user_config);
entry             194 sapi/fpm/fpm/fpm_main.c 	free(entry->user_config);
entry             703 sapi/fpm/fpm/fpm_main.c 	user_config_cache_entry *new_entry, *entry;
entry             707 sapi/fpm/fpm/fpm_main.c 	if (zend_hash_find(&CGIG(user_config_cache), path, path_len + 1, (void **) &entry) == FAILURE) {
entry             712 sapi/fpm/fpm/fpm_main.c 		zend_hash_update(&CGIG(user_config_cache), path, path_len + 1, new_entry, sizeof(user_config_cache_entry), (void **) &entry);
entry             717 sapi/fpm/fpm/fpm_main.c 	if (request_time > entry->expires) {
entry             724 sapi/fpm/fpm/fpm_main.c 		zend_hash_clean(entry->user_config);
entry             758 sapi/fpm/fpm/fpm_main.c 				php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config TSRMLS_CC);
entry             763 sapi/fpm/fpm/fpm_main.c 			php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config TSRMLS_CC);
entry             766 sapi/fpm/fpm/fpm_main.c 		entry->expires = request_time + PG(user_ini_cache_ttl);
entry             770 sapi/fpm/fpm/fpm_main.c 	php_ini_activate_config(entry->user_config, PHP_INI_PERDIR, PHP_INI_STAGE_HTACCESS TSRMLS_CC);
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             405 sapi/nsapi/nsapi.c 	struct pb_entry *entry;
entry             415 sapi/nsapi/nsapi.c 		entry=rc->rq->headers->ht[i];
entry             416 sapi/nsapi/nsapi.c 		while (entry) {
entry             417 sapi/nsapi/nsapi.c 			add_assoc_string(return_value, entry->param->name, entry->param->value, 1);
entry             418 sapi/nsapi/nsapi.c 			entry=entry->next;
entry             429 sapi/nsapi/nsapi.c 	struct pb_entry *entry;
entry             439 sapi/nsapi/nsapi.c 		entry=rc->rq->srvhdrs->ht[i];
entry             440 sapi/nsapi/nsapi.c 		while (entry) {
entry             441 sapi/nsapi/nsapi.c 			add_assoc_string(return_value, entry->param->name, entry->param->value, 1);
entry             442 sapi/nsapi/nsapi.c 			entry=entry->next;
entry             665 sapi/nsapi/nsapi.c 	struct pb_entry *entry;
entry             675 sapi/nsapi/nsapi.c 		entry=rc->rq->headers->ht[i];
entry             676 sapi/nsapi/nsapi.c 		while (entry) {
entry             677 sapi/nsapi/nsapi.c 			if (strcasecmp(entry->param->name, "content-length")==0 || strcasecmp(entry->param->name, "content-type")==0) {
entry             678 sapi/nsapi/nsapi.c 				value=estrdup(entry->param->name);
entry             681 sapi/nsapi/nsapi.c 				spprintf(&value, 0, "HTTP_%s", entry->param->name);
entry             691 sapi/nsapi/nsapi.c 				php_register_variable(value, entry->param->value, track_vars_array TSRMLS_CC);
entry             694 sapi/nsapi/nsapi.c 			entry=entry->next;
entry             847 sapi/nsapi/nsapi.c 	struct pb_entry *entry;
entry             851 sapi/nsapi/nsapi.c 		entry=NSG(pb)->ht[i];
entry             852 sapi/nsapi/nsapi.c 		while (entry) {
entry             856 sapi/nsapi/nsapi.c 				ok&=(strcasecmp(entry->param->name, nsapi_exclude_from_ini_entries[j])!=0);
entry             861 sapi/nsapi/nsapi.c 				if (zend_alter_ini_entry(entry->param->name, strlen(entry->param->name)+1,
entry             862 sapi/nsapi/nsapi.c 				 entry->param->value, strlen(entry->param->value),
entry             864 sapi/nsapi/nsapi.c 					log_error(LOG_WARN, pblock_findval("fn", NSG(pb)), NSG(sn), NSG(rq), "Cannot change php.ini key \"%s\" to \"%s\"", entry->param->name, entry->param->value);
entry             867 sapi/nsapi/nsapi.c 			entry=entry->next;
entry              92 win32/readdir.c int readdir_r(DIR *dp, struct dirent *entry, struct dirent **result)
entry             113 win32/readdir.c 	memcpy(entry, &dp->dent, sizeof(*entry));