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

/PHP_TRUNK/ext/spl/
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...]
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.c1117 php_serialize_data_t var_hash; local
1123 PHP_VAR_SERIALIZE_INIT(var_hash);
1127 php_var_serialize(&buf, &flags, &var_hash TSRMLS_CC);
1135 php_var_serialize(&buf, &current->data, &var_hash TSRMLS_CC);
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 TSRMLS_CC)) {
1191 if (!php_var_unserialize(&elem, &p, s + buf_len, &var_hash TSRMLS_CC)) {
1203 PHP_VAR_UNSERIALIZE_DESTROY(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);
/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 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/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/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.c595 static void php_var_serialize_intern(smart_str *buf, zval *struc, php_serialize_data_t var_hash TSRMLS_DC);
676 static void php_var_serialize_class(smart_str *buf, zval *struc, zval *retval_ptr, php_serialize_data_t var_hash TSRMLS_DC) /* {{{ */
722 php_var_serialize_intern(buf, d, var_hash TSRMLS_CC);
739 php_var_serialize_intern(buf, d, var_hash TSRMLS_CC);
754 php_var_serialize_intern(buf, d, var_hash TSRMLS_CC);
759 php_var_serialize_intern(buf, nvalp, var_hash TSRMLS_CC);
764 php_var_serialize_intern(buf, nvalp, var_hash TSRMLS_CC);
773 static void php_var_serialize_intern(smart_str *buf, zval *struc, php_serialize_data_t var_hash TSRMLS_DC) /* {{{ */
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...]
/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);

Completed in 25 milliseconds