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

/PHP_5_5/ext/pdo/
H A Dpdo_stmt.c1134 php_unserialize_data_t var_hash; local
1136 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1139 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
1142 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
/PHP_5_5/ext/phar/
H A Dphar.c608 php_unserialize_data_t var_hash; local
620 PHP_VAR_UNSERIALIZE_INIT(var_hash);
622 if (!php_var_unserialize(metadata, &p, p + buf_len, &var_hash TSRMLS_CC)) {
623 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
629 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
/PHP_5_5/ext/standard/
H A Dbasic_functions.h207 unsigned serialize_lock; /* whether to use the locally supplied var_hash instead (__sleep/__wakeup) */
209 void *var_hash; member in struct:_php_basic_globals::__anon235
213 void *var_hash; member in struct:_php_basic_globals::__anon236
H A Dvar.c544 static void php_var_serialize_intern(smart_str *buf, zval *struc, HashTable *var_hash TSRMLS_DC);
546 static inline int php_add_var_hash(HashTable *var_hash, zval *var, void *var_old TSRMLS_DC) /* {{{ */ argument
562 if (var_old && zend_hash_find(var_hash, p, len, var_old) == SUCCESS) {
567 zend_hash_next_index_insert(var_hash, &var_no, sizeof(var_no), NULL);
576 var_no = zend_hash_num_elements(var_hash) + 1;
577 zend_hash_add(var_hash, p, len, &var_no, sizeof(var_no), NULL);
618 static void php_var_serialize_class(smart_str *buf, zval *struc, zval *retval_ptr, HashTable *var_hash TSRMLS_DC) /* {{{ */
669 php_var_serialize_intern(buf, *d, var_hash TSRMLS_CC);
682 php_var_serialize_intern(buf, *d, var_hash TSRMLS_CC);
690 php_var_serialize_intern(buf, *d, var_hash TSRMLS_C
918 php_serialize_data_t var_hash; local
953 php_unserialize_data_t var_hash; local
[all...]
H A Dvar_unserializer.c40 var_entries *var_hash = (*var_hashx)->last; local
42 fprintf(stderr, "var_push(%ld): %d\n", var_hash?var_hash->used_slots:-1L, Z_TYPE_PP(rval));
45 if (!var_hash || var_hash->used_slots == VAR_ENTRIES_MAX) {
46 var_hash = emalloc(sizeof(var_entries));
47 var_hash->used_slots = 0;
48 var_hash->next = 0;
51 (*var_hashx)->first = var_hash;
53 ((var_entries *) (*var_hashx)->last)->next = var_hash;
64 var_entries *var_hash = (*var_hashx)->last_dtor; local
89 var_entries *var_hash = (*var_hashx)->last_dtor; local
114 var_entries *var_hash = (*var_hashx)->first; local
132 var_entries *var_hash = (*var_hashx)->first; local
155 var_entries *var_hash = (*var_hashx)->first; local
[all...]
/PHP_5_5/ext/sysvmsg/
H A Dsysvmsg.c363 php_unserialize_data_t var_hash; local
368 PHP_VAR_UNSERIALIZE_INIT(var_hash);
369 if (!php_var_unserialize(&tmp, &p, p + result, &var_hash TSRMLS_CC)) {
376 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
410 php_serialize_data_t var_hash; local
412 PHP_VAR_SERIALIZE_INIT(var_hash);
413 php_var_serialize(&msg_var, &message, &var_hash TSRMLS_CC);
414 PHP_VAR_SERIALIZE_DESTROY(var_hash);
/PHP_5_5/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_5_5/ext/spl/
H A Dspl_observer.c749 php_serialize_data_t var_hash; local
756 PHP_VAR_SERIALIZE_INIT(var_hash);
762 php_var_serialize(&buf, &flags, &var_hash TSRMLS_CC);
770 PHP_VAR_SERIALIZE_DESTROY(var_hash);
773 php_var_serialize(&buf, &element->obj, &var_hash TSRMLS_CC);
775 php_var_serialize(&buf, &element->inf, &var_hash TSRMLS_CC);
786 php_var_serialize(&buf, &pmembers, &var_hash TSRMLS_CC); /* finishes the string */
789 PHP_VAR_SERIALIZE_DESTROY(var_hash);
808 php_unserialize_data_t var_hash; local
823 PHP_VAR_UNSERIALIZE_INIT(var_hash);
[all...]
H A Dspl_array.c1675 php_serialize_data_t var_hash; local
1688 PHP_VAR_SERIALIZE_INIT(var_hash);
1695 php_var_serialize(&buf, &flags, &var_hash TSRMLS_CC);
1699 php_var_serialize(&buf, &intern->array, &var_hash TSRMLS_CC);
1712 php_var_serialize(&buf, &pmembers, &var_hash TSRMLS_CC); /* finishes the string */
1715 PHP_VAR_SERIALIZE_DESTROY(var_hash);
1734 php_unserialize_data_t var_hash; local
1756 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1764 if (!php_var_unserialize(&pflags, &p, s + buf_len, &var_hash TSRMLS_CC) || Z_TYPE_P(pflags) != IS_LONG) {
1790 if (!php_var_unserialize(&intern->array, &p, s + buf_len, &var_hash TSRMLS_C
[all...]
H A Dspl_dllist.c1145 php_serialize_data_t var_hash; local
1151 PHP_VAR_SERIALIZE_INIT(var_hash);
1156 php_var_serialize(&buf, &flags, &var_hash TSRMLS_CC);
1164 php_var_serialize(&buf, (zval **)&current->data, &var_hash TSRMLS_CC);
1172 PHP_VAR_SERIALIZE_DESTROY(var_hash);
1191 php_unserialize_data_t var_hash; local
1203 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1207 if (!php_var_unserialize(&flags, &p, s + buf_len, &var_hash TSRMLS_CC) || Z_TYPE_P(flags) != IS_LONG) {
1218 if (!php_var_unserialize(&elem, &p, s + buf_len, &var_hash TSRMLS_CC)) {
1230 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
[all...]
/PHP_5_5/ext/session/
H A Dsession.c162 PHPAPI void php_set_session_var(char *name, size_t namelen, zval *state_val, php_unserialize_data_t *var_hash TSRMLS_DC) /* {{{ */
841 php_serialize_data_t var_hash; local
843 PHP_VAR_SERIALIZE_INIT(var_hash);
844 php_var_serialize(&buf, &PS(http_session_vars), &var_hash TSRMLS_CC);
845 PHP_VAR_SERIALIZE_DESTROY(var_hash);
859 php_unserialize_data_t var_hash; local
861 PHP_VAR_UNSERIALIZE_INIT(var_hash);
863 php_var_unserialize(&session_vars, &val, endptr, &var_hash TSRMLS_CC);
864 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
884 php_serialize_data_t var_hash; local
919 php_unserialize_data_t var_hash; local
967 php_serialize_data_t var_hash; local
994 PHP_VAR_SERIALIZE_DESTROY(var_hash); variable
1007 php_unserialize_data_t var_hash; local
[all...]

Completed in 54 milliseconds