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

/PHP_TRUNK/sapi/phpdbg/
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);
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);
/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; 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
501 php_var_unserialize(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash) argument
[all...]
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);
740 php_var_serialize_intern(buf, d, var_hash);
756 php_var_serialize_intern(buf, d, var_hash);
761 php_var_serialize_intern(buf, nvalp, var_hash);
767 php_var_serialize_intern(buf, nvalp, var_hash);
777 static void php_var_serialize_intern(smart_str *buf, zval *struc, php_serialize_data_t var_hash) /* {{{ */ argument
786 if (var_hash && (var_already = php_add_var_hash(var_hash, stru
973 php_serialize_data_t var_hash; local
1004 php_unserialize_data_t var_hash; local
[all...]
/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/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.c1133 php_serialize_data_t var_hash; local
1139 PHP_VAR_SERIALIZE_INIT(var_hash);
1143 php_var_serialize(&buf, &flags, &var_hash);
1151 php_var_serialize(&buf, &current->data, &var_hash);
1159 PHP_VAR_SERIALIZE_DESTROY(var_hash);
1178 php_unserialize_data_t var_hash; local
1189 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1192 if (!php_var_unserialize(&flags, &p, s + buf_len, &var_hash)) {
1207 if (!php_var_unserialize(&elem, &p, s + buf_len, &var_hash)) {
1219 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
[all...]
H A Dspl_observer.c722 php_serialize_data_t var_hash; local
729 PHP_VAR_SERIALIZE_INIT(var_hash);
734 php_var_serialize(&buf, &flags, &var_hash);
742 PHP_VAR_SERIALIZE_DESTROY(var_hash);
745 php_var_serialize(&buf, &element->obj, &var_hash);
747 php_var_serialize(&buf, &element->inf, &var_hash);
756 php_var_serialize(&buf, &members, &var_hash); /* finishes the string */
760 PHP_VAR_SERIALIZE_DESTROY(var_hash);
779 php_unserialize_data_t var_hash; local
794 PHP_VAR_UNSERIALIZE_INIT(var_hash);
[all...]
H A Dspl_array.c1650 php_serialize_data_t var_hash; local
1662 PHP_VAR_SERIALIZE_INIT(var_hash);
1669 php_var_serialize(&buf, &flags, &var_hash);
1672 php_var_serialize(&buf, &intern->array, &var_hash);
1684 php_var_serialize(&buf, &members, &var_hash); /* finishes the string */
1689 PHP_VAR_SERIALIZE_DESTROY(var_hash);
1708 php_unserialize_data_t var_hash; local
1729 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1736 if (!php_var_unserialize(&zflags, &p, s + buf_len, &var_hash) || Z_TYPE(zflags) != IS_LONG) {
1759 if (!php_var_unserialize(&intern->array, &p, s + buf_len, &var_hash)) {
[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/session/
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...]

Completed in 27 milliseconds