Searched refs:var_hash (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/ext/phar/
H A Dphar.c614 php_unserialize_data_t var_hash; local
625 PHP_VAR_UNSERIALIZE_INIT(var_hash);
627 if (!php_var_unserialize(metadata, &p, p + buf_len, &var_hash TSRMLS_CC)) {
628 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
634 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c1110 php_unserialize_data_t var_hash; local
1112 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1115 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
1118 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
/PHP_TRUNK/ext/session/
H A Dphp_session.h224 PHPAPI zval *php_set_session_var(zend_string *name, zval *state_val, php_unserialize_data_t *var_hash TSRMLS_DC);
H A Dsession.c163 PHPAPI zval* php_set_session_var(zend_string *name, zval *state_val, php_unserialize_data_t *var_hash TSRMLS_DC) /* {{{ */
835 php_serialize_data_t var_hash; local
837 PHP_VAR_SERIALIZE_INIT(var_hash);
838 php_var_serialize(&buf, Z_REFVAL(PS(http_session_vars)), &var_hash TSRMLS_CC);
839 PHP_VAR_SERIALIZE_DESTROY(var_hash);
848 php_unserialize_data_t var_hash; local
852 PHP_VAR_UNSERIALIZE_INIT(var_hash);
853 php_var_unserialize(&session_vars, (const unsigned char **)&val, endptr, &var_hash TSRMLS_CC);
854 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
876 php_serialize_data_t var_hash; local
907 php_unserialize_data_t var_hash; local
957 php_serialize_data_t var_hash; local
980 PHP_VAR_SERIALIZE_DESTROY(var_hash); variable
993 php_unserialize_data_t var_hash; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dvar_unserializer.c45 var_entries *var_hash = (*var_hashx)->last; local
47 fprintf(stderr, "var_push(%ld): %d\n", var_hash?var_hash->used_slots:-1L, Z_TYPE_PP(rval));
50 if (!var_hash || var_hash->used_slots == VAR_ENTRIES_MAX) {
51 var_hash = emalloc(sizeof(var_entries));
52 var_hash->used_slots = 0;
53 var_hash->next = 0;
56 (*var_hashx)->first = var_hash;
58 ((var_entries *) (*var_hashx)->last)->next = var_hash;
69 var_dtor_entries *var_hash = (*var_hashx)->last_dtor; local
123 var_entries *var_hash = (*var_hashx)->first; local
141 var_entries *var_hash = (*var_hashx)->first; local
162 var_entries *var_hash = (*var_hashx)->first; local
[all...]
H A Dvar_unserializer.re43 var_entries *var_hash = (*var_hashx)->last;
45 fprintf(stderr, "var_push(%ld): %d\n", var_hash?var_hash->used_slots:-1L, Z_TYPE_PP(rval));
48 if (!var_hash || var_hash->used_slots == VAR_ENTRIES_MAX) {
49 var_hash = emalloc(sizeof(var_entries));
50 var_hash->used_slots = 0;
51 var_hash->next = 0;
54 (*var_hashx)->first = var_hash;
56 ((var_entries *) (*var_hashx)->last)->next = var_hash;
[all...]
H A Dphp_var.h57 PHPAPI int php_var_unserialize(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash TSRMLS_DC);
58 PHPAPI int php_var_unserialize_ref(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash TSRMLS_DC);
59 PHPAPI int php_var_unserialize_intern(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash TSRMLS_DC);
117 PHPAPI void var_replace(php_unserialize_data_t *var_hash, zval *ozval, zval *nzval);
118 PHPAPI void var_push_dtor(php_unserialize_data_t *var_hash, zval *val);
120 PHPAPI void var_destroy(php_unserialize_data_t *var_hash);
H A Dvar.c601 static void php_var_serialize_intern(smart_str *buf, zval *struc, php_serialize_data_t var_hash TSRMLS_DC);
682 static void php_var_serialize_class(smart_str *buf, zval *struc, zval *retval_ptr, php_serialize_data_t var_hash TSRMLS_DC) /* {{{ */
728 php_var_serialize_intern(buf, d, var_hash TSRMLS_CC);
746 php_var_serialize_intern(buf, d, var_hash TSRMLS_CC);
761 php_var_serialize_intern(buf, d, var_hash TSRMLS_CC);
766 php_var_serialize_intern(buf, nvalp, var_hash TSRMLS_CC);
771 php_var_serialize_intern(buf, nvalp, var_hash TSRMLS_CC);
780 static void php_var_serialize_intern(smart_str *buf, zval *struc, php_serialize_data_t var_hash TSRMLS_DC) /* {{{ */
789 if (var_hash && (var_already = php_add_var_hash(var_hash, stru
980 php_serialize_data_t var_hash; local
1011 php_unserialize_data_t var_hash; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_array.c1722 php_serialize_data_t var_hash; local
1734 PHP_VAR_SERIALIZE_INIT(var_hash);
1741 php_var_serialize(&buf, &flags, &var_hash TSRMLS_CC);
1744 php_var_serialize(&buf, &intern->array, &var_hash TSRMLS_CC);
1757 php_var_serialize(&buf, &members, &var_hash TSRMLS_CC); /* finishes the string */
1762 PHP_VAR_SERIALIZE_DESTROY(var_hash);
1781 php_unserialize_data_t var_hash; local
1802 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1809 if (!php_var_unserialize(&zflags, &p, s + buf_len, &var_hash TSRMLS_CC) || Z_TYPE(zflags) != IS_LONG) {
1832 if (!php_var_unserialize(&intern->array, &p, s + buf_len, &var_hash TSRMLS_C
[all...]
H A Dspl_dllist.c1121 php_serialize_data_t var_hash; local
1127 PHP_VAR_SERIALIZE_INIT(var_hash);
1131 php_var_serialize(&buf, &flags, &var_hash TSRMLS_CC);
1139 php_var_serialize(&buf, &current->data, &var_hash TSRMLS_CC);
1147 PHP_VAR_SERIALIZE_DESTROY(var_hash);
1166 php_unserialize_data_t var_hash; local
1177 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1180 if (!php_var_unserialize(&flags, &p, s + buf_len, &var_hash TSRMLS_CC)) {
1195 if (!php_var_unserialize(&elem, &p, s + buf_len, &var_hash TSRMLS_CC)) {
1207 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
[all...]
H A Dspl_observer.c740 php_serialize_data_t var_hash; local
747 PHP_VAR_SERIALIZE_INIT(var_hash);
752 php_var_serialize(&buf, &flags, &var_hash TSRMLS_CC);
760 PHP_VAR_SERIALIZE_DESTROY(var_hash);
763 php_var_serialize(&buf, &element->obj, &var_hash TSRMLS_CC);
765 php_var_serialize(&buf, &element->inf, &var_hash TSRMLS_CC);
774 php_var_serialize(&buf, &members, &var_hash TSRMLS_CC); /* finishes the string */
778 PHP_VAR_SERIALIZE_DESTROY(var_hash);
797 php_unserialize_data_t var_hash; local
812 PHP_VAR_UNSERIALIZE_INIT(var_hash);
[all...]
/PHP_TRUNK/ext/sysvmsg/
H A Dsysvmsg.c362 php_unserialize_data_t var_hash; local
366 PHP_VAR_UNSERIALIZE_INIT(var_hash);
367 if (!php_var_unserialize(&tmp, &p, p + result, &var_hash TSRMLS_CC)) {
373 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
407 php_serialize_data_t var_hash; local
409 PHP_VAR_SERIALIZE_INIT(var_hash);
410 php_var_serialize(&msg_var, message, &var_hash TSRMLS_CC);
411 PHP_VAR_SERIALIZE_DESTROY(var_hash);
/PHP_TRUNK/ext/sysvshm/
H A Dsysvshm.c249 php_serialize_data_t var_hash; local
256 PHP_VAR_SERIALIZE_INIT(var_hash);
257 php_var_serialize(&shm_var, arg_var, &var_hash TSRMLS_CC);
258 PHP_VAR_SERIALIZE_DESTROY(var_hash);
290 php_unserialize_data_t var_hash; local
308 PHP_VAR_UNSERIALIZE_INIT(var_hash);
309 if (php_var_unserialize(return_value, (const unsigned char **) &shm_data, (unsigned char *) shm_data + shm_var->length, &var_hash TSRMLS_CC) != 1) {
313 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);

Completed in 27 milliseconds