Searched defs:var_hash (Results 1 - 11 of 11) 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/standard/
H A Dbasic_functions.h205 unsigned serialize_lock; /* whether to use the locally supplied var_hash instead (__sleep/__wakeup) */
207 void *var_hash; member in struct:_php_basic_globals::__anon172
211 void *var_hash; member in struct:_php_basic_globals::__anon173
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.c602 static void php_var_serialize_intern(smart_str *buf, zval *struc, HashTable *var_hash TSRMLS_DC);
604 static inline int php_add_var_hash(HashTable *var_hash, zval *var_ptr, zval *var_old TSRMLS_DC) /* {{{ */ argument
629 if ((zv = zend_hash_str_find(var_hash, p, len)) != NULL) {
635 zend_hash_next_index_insert(var_hash, &var_no);
644 ZVAL_LONG(&var_no, zend_hash_num_elements(var_hash) + 1);
645 zend_hash_str_add(var_hash, p, len, &var_no);
686 static void php_var_serialize_class(smart_str *buf, zval *struc, zval *retval_ptr, HashTable *var_hash TSRMLS_DC) /* {{{ */
732 php_var_serialize_intern(buf, d, var_hash TSRMLS_CC);
750 php_var_serialize_intern(buf, d, var_hash TSRMLS_CC);
765 php_var_serialize_intern(buf, d, var_hash TSRMLS_C
987 php_serialize_data_t var_hash; local
1018 php_unserialize_data_t var_hash; local
[all...]
/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/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/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/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/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...]

Completed in 37 milliseconds