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

/PHP_TRUNK/ext/session/
H A Dphp_session.h262 PHPAPI zval *php_set_session_var(zend_string *name, zval *state_val, php_unserialize_data_t *var_hash);
H A Dsession.c178 PHPAPI zval* php_set_session_var(zend_string *name, zval *state_val, php_unserialize_data_t *var_hash) /* {{{ */ argument
849 php_serialize_data_t var_hash; local
852 PHP_VAR_SERIALIZE_INIT(var_hash);
853 php_var_serialize(&buf, Z_REFVAL(PS(http_session_vars)), &var_hash);
854 PHP_VAR_SERIALIZE_DESTROY(var_hash);
864 php_unserialize_data_t var_hash; local
868 PHP_VAR_UNSERIALIZE_INIT(var_hash);
869 php_var_unserialize(&session_vars, (const unsigned char **)&val, (const unsigned char *)endptr, &var_hash);
870 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
892 php_serialize_data_t var_hash; local
923 php_unserialize_data_t var_hash; local
973 php_serialize_data_t var_hash; local
996 PHP_VAR_SERIALIZE_DESTROY(var_hash); variable
1009 php_unserialize_data_t var_hash; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c1111 php_unserialize_data_t var_hash; local
1113 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1116 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
1119 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
/PHP_TRUNK/ext/sysvmsg/
H A Dsysvmsg.c370 php_unserialize_data_t var_hash; local
374 PHP_VAR_UNSERIALIZE_INIT(var_hash);
375 if (!php_var_unserialize(&tmp, &p, p + result, &var_hash)) {
381 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
417 php_serialize_data_t var_hash; local
419 PHP_VAR_SERIALIZE_INIT(var_hash);
420 php_var_serialize(&msg_var, message, &var_hash);
421 PHP_VAR_SERIALIZE_DESTROY(var_hash);
/PHP_TRUNK/ext/sysvshm/
H A Dsysvshm.c253 php_serialize_data_t var_hash; local
260 PHP_VAR_SERIALIZE_INIT(var_hash);
261 php_var_serialize(&shm_var, arg_var, &var_hash);
262 PHP_VAR_SERIALIZE_DESTROY(var_hash);
294 php_unserialize_data_t var_hash; local
312 PHP_VAR_UNSERIALIZE_INIT(var_hash);
313 if (php_var_unserialize(return_value, (const unsigned char **) &shm_data, (unsigned char *) shm_data + shm_var->length, &var_hash) != 1) {
317 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_wait.c131 php_unserialize_data_t var_hash; local
133 PHP_VAR_UNSERIALIZE_INIT(var_hash);
134 if (!php_var_unserialize(&zv, (const unsigned char **) &msg, (unsigned char *) msg + len, &var_hash)) {
135 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
139 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
H A Dphpdbg_webdata_transfer.c164 php_serialize_data_t var_hash; local
167 PHP_VAR_SERIALIZE_INIT(var_hash);
168 php_var_serialize(&buf, &array, &var_hash);
169 PHP_VAR_SERIALIZE_DESTROY(var_hash);
/PHP_TRUNK/ext/phar/
H A Dphar.c609 php_unserialize_data_t var_hash; local
616 PHP_VAR_UNSERIALIZE_INIT(var_hash);
618 if (!php_var_unserialize(metadata, &p, p + zip_metadata_len, &var_hash)) {
620 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
626 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
/PHP_TRUNK/ext/spl/
H A Dspl_dllist.c1140 php_serialize_data_t var_hash; local
1146 PHP_VAR_SERIALIZE_INIT(var_hash);
1150 php_var_serialize(&buf, &flags, &var_hash);
1158 php_var_serialize(&buf, &current->data, &var_hash);
1166 PHP_VAR_SERIALIZE_DESTROY(var_hash);
1185 php_unserialize_data_t var_hash; local
1196 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1199 flags = var_tmp_var(&var_hash);
1200 if (!php_var_unserialize(flags, &p, s + buf_len, &var_hash) || Z_TYPE_P(flags) != IS_LONG) {
1209 elem = var_tmp_var(&var_hash);
[all...]
H A Dspl_observer.c725 php_serialize_data_t var_hash; local
732 PHP_VAR_SERIALIZE_INIT(var_hash);
737 php_var_serialize(&buf, &flags, &var_hash);
745 PHP_VAR_SERIALIZE_DESTROY(var_hash);
748 php_var_serialize(&buf, &element->obj, &var_hash);
750 php_var_serialize(&buf, &element->inf, &var_hash);
759 php_var_serialize(&buf, &members, &var_hash); /* finishes the string */
763 PHP_VAR_SERIALIZE_DESTROY(var_hash);
782 php_unserialize_data_t var_hash; local
798 PHP_VAR_UNSERIALIZE_INIT(var_hash);
[all...]
H A Dspl_array.c1655 php_serialize_data_t var_hash; local
1667 PHP_VAR_SERIALIZE_INIT(var_hash);
1674 php_var_serialize(&buf, &flags, &var_hash);
1677 php_var_serialize(&buf, &intern->array, &var_hash);
1689 php_var_serialize(&buf, &members, &var_hash); /* finishes the string */
1694 PHP_VAR_SERIALIZE_DESTROY(var_hash);
1713 php_unserialize_data_t var_hash; local
1734 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1741 zflags = var_tmp_var(&var_hash);
1742 if (!php_var_unserialize(zflags, &p, s + buf_len, &var_hash) || Z_TYPE_
[all...]
/PHP_TRUNK/ext/standard/
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);
58 PHPAPI int php_var_unserialize_ref(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash);
59 PHPAPI int php_var_unserialize_intern(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash);
60 PHPAPI int php_var_unserialize_ex(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash, HashTable *classes);
118 PHPAPI void var_replace(php_unserialize_data_t *var_hash, zval *ozval, zval *nzval);
119 PHPAPI void var_push_dtor(php_unserialize_data_t *var_hash, zval *val);
121 PHPAPI void var_destroy(php_unserialize_data_t *var_hash);
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;
78 var_dtor_entries *var_hash; local
133 var_entries *var_hash = (*var_hashx)->first; local
151 var_entries *var_hash = (*var_hashx)->first; local
172 var_entries *var_hash = (*var_hashx)->first; local
507 php_var_unserialize(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash) argument
[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 Dvar.c599 static void php_var_serialize_intern(smart_str *buf, zval *struc, php_serialize_data_t var_hash);
680 static void php_var_serialize_class(smart_str *buf, zval *struc, zval *retval_ptr, php_serialize_data_t var_hash) /* {{{ */ argument
735 php_var_serialize_intern(buf, d, var_hash);
753 php_var_serialize_intern(buf, d, var_hash);
769 php_var_serialize_intern(buf, d, var_hash);
774 php_var_serialize_intern(buf, nvalp, var_hash);
780 php_var_serialize_intern(buf, nvalp, var_hash);
790 static void php_var_serialize_intern(smart_str *buf, zval *struc, php_serialize_data_t var_hash) /* {{{ */ argument
799 if (var_hash && (var_already = php_add_var_hash(var_hash, stru
987 php_serialize_data_t var_hash; local
1018 php_unserialize_data_t var_hash; local
[all...]

Completed in 30 milliseconds