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

/PHP_5_3/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_3/ext/session/
H A Dsession.c171 PHPAPI void php_set_session_var(char *name, size_t namelen, zval *state_val, php_unserialize_data_t *var_hash TSRMLS_DC) /* {{{ */
196 if (var_hash) {
197 PHP_VAR_UNSERIALIZE_ZVAL_CHANGED(var_hash,state_val,*old_symbol);
831 php_serialize_data_t var_hash; local
834 PHP_VAR_SERIALIZE_INIT(var_hash);
840 php_var_serialize(&buf, struc, &var_hash TSRMLS_CC);
852 PHP_VAR_SERIALIZE_DESTROY(var_hash);
866 php_unserialize_data_t var_hash; local
868 PHP_VAR_UNSERIALIZE_INIT(var_hash);
893 if (php_var_unserialize(&current, (const unsigned char **) &p, (const unsigned char *) endptr, &var_hash TSRMLS_C
914 php_serialize_data_t var_hash; local
941 PHP_VAR_SERIALIZE_DESTROY(var_hash); variable
954 php_unserialize_data_t var_hash; local
[all...]
/PHP_5_3/ext/standard/
H A Dvar.c537 static void php_var_serialize_intern(smart_str *buf, zval *struc, HashTable *var_hash TSRMLS_DC);
539 static inline int php_add_var_hash(HashTable *var_hash, zval *var, void *var_old TSRMLS_DC) /* {{{ */ argument
557 if (var_old && zend_hash_find(var_hash, p, len, var_old) == SUCCESS) {
562 zend_hash_next_index_insert(var_hash, &var_no, sizeof(var_no), NULL);
568 var_no = zend_hash_num_elements(var_hash) + 1;
569 zend_hash_add(var_hash, p, len, &var_no, sizeof(var_no), NULL);
607 static void php_var_serialize_class(smart_str *buf, zval *struc, zval *retval_ptr, HashTable *var_hash TSRMLS_DC) /* {{{ */
658 php_var_serialize_intern(buf, *d, var_hash TSRMLS_CC);
671 php_var_serialize_intern(buf, *d, var_hash TSRMLS_CC);
679 php_var_serialize_intern(buf, *d, var_hash TSRMLS_C
894 php_serialize_data_t var_hash; local
924 php_unserialize_data_t var_hash; local
[all...]
H A Dvar_unserializer.c38 var_entries *var_hash = var_hashx->first, *prev = NULL; local
40 while (var_hash && var_hash->used_slots == VAR_ENTRIES_MAX) {
41 prev = var_hash;
42 var_hash = var_hash->next;
45 if (!var_hash) {
46 var_hash = emalloc(sizeof(var_entries));
47 var_hash->used_slots = 0;
48 var_hash
61 var_entries *var_hash = var_hashx->first_dtor, *prev = NULL; local
86 var_entries *var_hash = var_hashx->first; local
101 var_entries *var_hash = var_hashx->first; local
121 var_entries *var_hash = var_hashx->first; local
[all...]
/PHP_5_3/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_3/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_3/ext/phar/
H A Dphar.c610 php_unserialize_data_t var_hash; local
622 PHP_VAR_UNSERIALIZE_INIT(var_hash);
624 if (!php_var_unserialize(metadata, &p, p + buf_len, &var_hash TSRMLS_CC)) {
625 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
631 PHP_VAR_UNSERIALIZE_DESTROY(var_hash);
/PHP_5_3/ext/spl/
H A Dspl_observer.c661 php_serialize_data_t var_hash; local
668 PHP_VAR_SERIALIZE_INIT(var_hash);
680 PHP_VAR_SERIALIZE_DESTROY(var_hash);
683 php_var_serialize(&buf, &element->obj, &var_hash TSRMLS_CC);
685 php_var_serialize(&buf, &element->inf, &var_hash TSRMLS_CC);
696 php_var_serialize(&buf, &pmembers, &var_hash TSRMLS_CC); /* finishes the string */
699 PHP_VAR_SERIALIZE_DESTROY(var_hash);
718 php_unserialize_data_t var_hash; local
733 PHP_VAR_UNSERIALIZE_INIT(var_hash);
761 if (!php_var_unserialize(&pentry, &p, s + buf_len, &var_hash TSRMLS_C
[all...]

Completed in 23 milliseconds