Searched defs:var_hash (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c1109 php_unserialize_data_t var_hash; local
1111 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1114 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
1117 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
/PHP_TRUNK/ext/phar/
H A Dphar.c611 php_unserialize_data_t var_hash; local
622 PHP_VAR_UNSERIALIZE_INIT(var_hash);
624 if (!php_var_unserialize(metadata, &p, p + buf_len, &var_hash)) {
625 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
631 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
/PHP_TRUNK/ext/session/
H A Dsession.c163 PHPAPI zval* php_set_session_var(zend_string *name, zval *state_val, php_unserialize_data_t *var_hash) /* {{{ */ argument
814 php_serialize_data_t var_hash; local
816 PHP_VAR_SERIALIZE_INIT(var_hash);
817 php_var_serialize(&buf, Z_REFVAL(PS(http_session_vars)), &var_hash);
818 PHP_VAR_SERIALIZE_DESTROY(var_hash);
827 php_unserialize_data_t var_hash; local
831 PHP_VAR_UNSERIALIZE_INIT(var_hash);
832 php_var_unserialize(&session_vars, (const unsigned char **)&val, endptr, &var_hash);
833 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
855 php_serialize_data_t var_hash; local
886 php_unserialize_data_t var_hash; local
936 php_serialize_data_t var_hash; local
959 PHP_VAR_SERIALIZE_DESTROY(var_hash); variable
972 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);
1744 php_var_serialize(&buf, &intern->array, &var_hash);
1757 php_var_serialize(&buf, &members, &var_hash); /* 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) || Z_TYPE(zflags) != IS_LONG) {
1832 if (!php_var_unserialize(&intern->array, &p, s + buf_len, &var_hash)) {
[all...]
H A Dspl_dllist.c1117 php_serialize_data_t var_hash; local
1123 PHP_VAR_SERIALIZE_INIT(var_hash);
1127 php_var_serialize(&buf, &flags, &var_hash);
1135 php_var_serialize(&buf, &current->data, &var_hash);
1143 PHP_VAR_SERIALIZE_DESTROY(var_hash);
1162 php_unserialize_data_t var_hash; local
1173 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1176 if (!php_var_unserialize(&flags, &p, s + buf_len, &var_hash)) {
1191 if (!php_var_unserialize(&elem, &p, s + buf_len, &var_hash)) {
1203 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);
760 PHP_VAR_SERIALIZE_DESTROY(var_hash);
763 php_var_serialize(&buf, &element->obj, &var_hash);
765 php_var_serialize(&buf, &element->inf, &var_hash);
774 php_var_serialize(&buf, &members, &var_hash); /* 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/standard/
H A Dvar.c595 static void php_var_serialize_intern(smart_str *buf, zval *struc, php_serialize_data_t var_hash);
676 static void php_var_serialize_class(smart_str *buf, zval *struc, zval *retval_ptr, php_serialize_data_t var_hash) /* {{{ */ argument
722 php_var_serialize_intern(buf, d, var_hash);
739 php_var_serialize_intern(buf, d, var_hash);
754 php_var_serialize_intern(buf, d, var_hash);
759 php_var_serialize_intern(buf, nvalp, var_hash);
764 php_var_serialize_intern(buf, nvalp, var_hash);
773 static void php_var_serialize_intern(smart_str *buf, zval *struc, php_serialize_data_t var_hash) /* {{{ */ argument
782 if (var_hash && (var_already = php_add_var_hash(var_hash, stru
969 php_serialize_data_t var_hash; local
1000 php_unserialize_data_t var_hash; local
[all...]
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; local
129 var_entries *var_hash = (*var_hashx)->first; local
147 var_entries *var_hash = (*var_hashx)->first; local
168 var_entries *var_hash = (*var_hashx)->first; local
484 php_var_unserialize(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash) argument
[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)) {
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);
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);
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) != 1) {
313 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);

Completed in 25 milliseconds