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

/PHP_5_6/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_6/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::__anon236
213 void *var_hash; member in struct:_php_basic_globals::__anon237
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.c39 var_entries *var_hash = (*var_hashx)->last; local
41 fprintf(stderr, "var_push(%ld): %d\n", var_hash?var_hash->used_slots:-1L, Z_TYPE_PP(rval));
44 if (!var_hash || var_hash->used_slots == VAR_ENTRIES_MAX) {
45 var_hash = emalloc(sizeof(var_entries));
46 var_hash->used_slots = 0;
47 var_hash->next = 0;
50 (*var_hashx)->first = var_hash;
52 ((var_entries *) (*var_hashx)->last)->next = var_hash;
63 var_entries *var_hash = (*var_hashx)->last_dtor; local
88 var_entries *var_hash = (*var_hashx)->last_dtor; local
113 var_entries *var_hash = (*var_hashx)->first; local
131 var_entries *var_hash = (*var_hashx)->first; local
154 var_entries *var_hash = (*var_hashx)->first; local
[all...]
/PHP_5_6/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_6/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_6/ext/pdo/
H A Dpdo_stmt.c1122 php_unserialize_data_t var_hash; local
1124 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1127 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
1130 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
/PHP_5_6/ext/spl/
H A Dspl_observer.c766 php_serialize_data_t var_hash; local
773 PHP_VAR_SERIALIZE_INIT(var_hash);
779 php_var_serialize(&buf, &flags, &var_hash TSRMLS_CC);
787 PHP_VAR_SERIALIZE_DESTROY(var_hash);
790 php_var_serialize(&buf, &element->obj, &var_hash TSRMLS_CC);
792 php_var_serialize(&buf, &element->inf, &var_hash TSRMLS_CC);
803 php_var_serialize(&buf, &pmembers, &var_hash TSRMLS_CC); /* finishes the string */
806 PHP_VAR_SERIALIZE_DESTROY(var_hash);
825 php_unserialize_data_t var_hash; local
839 PHP_VAR_UNSERIALIZE_INIT(var_hash);
[all...]
H A Dspl_array.c1684 php_serialize_data_t var_hash; local
1697 PHP_VAR_SERIALIZE_INIT(var_hash);
1704 php_var_serialize(&buf, &flags, &var_hash TSRMLS_CC);
1708 php_var_serialize(&buf, &intern->array, &var_hash TSRMLS_CC);
1721 php_var_serialize(&buf, &pmembers, &var_hash TSRMLS_CC); /* finishes the string */
1724 PHP_VAR_SERIALIZE_DESTROY(var_hash);
1743 php_unserialize_data_t var_hash; local
1764 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1772 if (!php_var_unserialize(&pflags, &p, s + buf_len, &var_hash TSRMLS_CC) || Z_TYPE_P(pflags) != IS_LONG) {
1798 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
1202 PHP_VAR_UNSERIALIZE_INIT(var_hash);
1206 if (!php_var_unserialize(&flags, &p, s + buf_len, &var_hash TSRMLS_CC) || Z_TYPE_P(flags) != IS_LONG) {
1217 if (!php_var_unserialize(&elem, &p, s + buf_len, &var_hash TSRMLS_CC)) {
1229 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
[all...]
/PHP_5_6/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) /* {{{ */
862 php_serialize_data_t var_hash; local
864 PHP_VAR_SERIALIZE_INIT(var_hash);
865 php_var_serialize(&buf, &PS(http_session_vars), &var_hash TSRMLS_CC);
866 PHP_VAR_SERIALIZE_DESTROY(var_hash);
880 php_unserialize_data_t var_hash; local
882 PHP_VAR_UNSERIALIZE_INIT(var_hash);
884 php_var_unserialize(&session_vars, &val, endptr, &var_hash TSRMLS_CC);
885 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
905 php_serialize_data_t var_hash; local
940 php_unserialize_data_t var_hash; local
988 php_serialize_data_t var_hash; local
1015 PHP_VAR_SERIALIZE_DESTROY(var_hash); variable
1028 php_unserialize_data_t var_hash; local
[all...]

Completed in 43 milliseconds