| /PHP_5_5/ext/intl/dateformat/ |
| H A D | dateformat_format_object.cpp | 88 HashTable *ht = Z_ARRVAL_PP(format); local 91 if (zend_hash_num_elements(ht) != 2) { 98 zend_hash_internal_pointer_reset_ex(ht, &pos); 99 zend_hash_get_current_data_ex(ht, (void**)&z, &pos); 108 zend_hash_move_forward_ex(ht, &pos); 109 zend_hash_get_current_data_ex(ht, (void**)&z, &pos);
|
| /PHP_5_5/Zend/ |
| H A D | zend_ts_hash.c | 25 static void begin_read(TsHashTable *ht) argument 28 tsrm_mutex_lock(ht->mx_reader); 29 if ((++(ht->reader)) == 1) { 30 tsrm_mutex_lock(ht->mx_writer); 32 tsrm_mutex_unlock(ht->mx_reader); 36 static void end_read(TsHashTable *ht) argument 39 tsrm_mutex_lock(ht->mx_reader); 40 if ((--(ht->reader)) == 0) { 41 tsrm_mutex_unlock(ht->mx_writer); 43 tsrm_mutex_unlock(ht 47 begin_write(TsHashTable *ht) argument 54 end_write(TsHashTable *ht) argument 62 _zend_ts_hash_init(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC) argument 72 _zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC) argument 82 zend_ts_hash_destroy(TsHashTable *ht) argument 94 zend_ts_hash_clean(TsHashTable *ht) argument 102 _zend_ts_hash_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument 113 _zend_ts_hash_quick_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument 124 _zend_ts_hash_index_update_or_next_insert(TsHashTable *ht, ulong h, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC) argument 135 zend_ts_hash_add_empty_element(TsHashTable *ht, char *arKey, uint nKeyLength) argument 146 zend_ts_hash_graceful_destroy(TsHashTable *ht) argument 158 zend_ts_hash_apply(TsHashTable *ht, apply_func_t apply_func TSRMLS_DC) argument 165 zend_ts_hash_apply_with_argument(TsHashTable *ht, apply_func_arg_t apply_func, void *argument TSRMLS_DC) argument 183 zend_ts_hash_reverse_apply(TsHashTable *ht, apply_func_t apply_func TSRMLS_DC) argument 190 zend_ts_hash_del_key_or_index(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, int flag) argument 201 zend_ts_get_hash_value(TsHashTable *ht, char *arKey, uint nKeyLength) argument 212 zend_ts_hash_find(TsHashTable *ht, char *arKey, uint nKeyLength, void **pData) argument 223 zend_ts_hash_quick_find(TsHashTable *ht, char *arKey, uint nKeyLength, ulong h, void **pData) argument 234 zend_ts_hash_index_find(TsHashTable *ht, ulong h, void **pData) argument 245 zend_ts_hash_exists(TsHashTable *ht, char *arKey, uint nKeyLength) argument 256 zend_ts_hash_index_exists(TsHashTable *ht, ulong h) argument 301 zend_ts_hash_sort(TsHashTable *ht, sort_func_t sort_func, compare_func_t compare_func, int renumber TSRMLS_DC) argument 325 zend_ts_hash_minmax(TsHashTable *ht, compare_func_t compar, int flag, void **pData TSRMLS_DC) argument 336 zend_ts_hash_num_elements(TsHashTable *ht) argument 347 zend_ts_hash_rehash(TsHashTable *ht) argument 359 zend_ts_hash_display_pListTail(TsHashTable *ht) argument 366 zend_ts_hash_display(TsHashTable *ht) argument [all...] |
| H A D | zend_hash.h | 99 ZEND_API int _zend_hash_init(HashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC); 100 ZEND_API int _zend_hash_init_ex(HashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC); 101 ZEND_API void zend_hash_destroy(HashTable *ht); 102 ZEND_API void zend_hash_clean(HashTable *ht); 103 #define zend_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) _zend_hash_init((ht), (nSize), (pHashFunction), (pDestructor), (persistent) ZEND_FILE_LINE_CC) 104 #define zend_hash_init_ex(ht, nSize, pHashFunction, pDestructor, persistent, bApplyProtection) _zend_hash_init_ex((ht), (nSize), (pHashFunction), (pDestructor), (persistent), (bApplyProtection) ZEND_FILE_LINE_CC) 107 ZEND_API int _zend_hash_add_or_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ZEND_FILE_LINE_DC); 108 #define zend_hash_update(ht, arKe 350 zend_symtable_update(HashTable *ht, const char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest) argument 357 zend_symtable_del(HashTable *ht, const char *arKey, uint nKeyLength) argument 364 zend_symtable_find(HashTable *ht, const char *arKey, uint nKeyLength, void **pData) argument 371 zend_symtable_exists(HashTable *ht, const char *arKey, uint nKeyLength) argument 377 zend_symtable_update_current_key_ex(HashTable *ht, const char *arKey, uint nKeyLength, int mode, HashPosition *pos) argument [all...] |
| H A D | zend_exceptions.c | 354 if (zend_hash_find(ht, key, sizeof(key), (void**)&tmp) == SUCCESS) { \ 466 HashTable *ht = Z_ARRVAL_PP(frame); local 482 if (zend_hash_find(ht, "file", sizeof("file"), (void**)&file) == SUCCESS) { 487 if (zend_hash_find(ht, "line", sizeof("line"), (void**)&tmp) == SUCCESS) { 509 if (zend_hash_find(ht, "args", sizeof("args"), (void**)&tmp) == SUCCESS) {
|
| /PHP_5_5/ext/dom/ |
| H A D | node.c | 1806 HashTable *ht = Z_ARRVAL_P(xpath_array); local 1810 if (zend_hash_find(ht, "query", sizeof("query"), (void**)&tmp) == SUCCESS && 1821 if (zend_hash_find(ht, "namespaces", sizeof("namespaces"), (void**)&tmp) == SUCCESS &&
|
| H A D | php_dom.h | 84 xmlHashTable *ht; member in struct:_dom_nnodemap_object 120 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns TSRMLS_DC); 122 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index); 123 xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index);
|
| H A D | dom_iterators.c | 83 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index) /* {{{ */ argument 89 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) { 94 xmlHashScan(ht, itemHashScanner, iter); 104 xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index) /* {{{ */ argument 110 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) { 115 xmlHashScan(ht, itemHashScanner, iter); 231 curnode = php_dom_libxml_hash_iter(objmap->ht, iter->index); 233 curnode = php_dom_libxml_notation_iter(objmap->ht, iter->index); 311 curnode = php_dom_libxml_hash_iter(objmap->ht, 0); 313 curnode = php_dom_libxml_notation_iter(objmap->ht, [all...] |
| /PHP_5_5/ext/pdo/ |
| H A D | pdo_dbh.c | 469 HashTable *ht = Z_ARRVAL_P(ctor_args); local 473 fci.params = safe_emalloc(sizeof(zval*), ht->nNumOfElements, 0); 474 p = ht->pListHead;
|
| /PHP_5_5/ext/readline/ |
| H A D | readline_cli.c | 406 static char *cli_completion_generator_ht(const char *text, int textlen, int *state, HashTable *ht, void **pData TSRMLS_DC) /* {{{ */ argument 412 zend_hash_internal_pointer_reset(ht); 415 while(zend_hash_has_more_elements(ht) == SUCCESS) { 416 zend_hash_get_current_key(ht, &name, &number, 0); 419 zend_hash_get_current_data(ht, pData); 421 zend_hash_move_forward(ht); 424 if (zend_hash_move_forward(ht) == FAILURE) { 460 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) /* {{{ */ 463 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func TSRMLS_CC); 484 static char *cli_completion_generator_define(const char *text, int textlen, int *state, HashTable *ht TSRMLS_D [all...] |
| /PHP_5_5/ext/soap/ |
| H A D | php_schema.c | 2088 static void schema_attributegroup_fixup(sdlCtx *ctx, sdlAttributePtr attr, HashTable *ht) argument 2114 HashTable *ht = emalloc(sizeof(HashTable)); local 2115 zend_hash_init(ht, zend_hash_num_elements(newAttr->extraAttributes), NULL, delete_extra_attribute, 0); 2116 zend_hash_copy(ht, newAttr->extraAttributes, copy_extra_attribute, &node, sizeof(xmlNodePtr)); 2117 newAttr->extraAttributes = ht; 2121 zend_hash_add(ht, key, key_len, &newAttr, sizeof(sdlAttributePtr), NULL); 2127 schema_attributegroup_fixup(ctx,*tmp_attr, ht);
|
| /PHP_5_5/ext/standard/ |
| H A D | formatted_print.c | 372 php_formatted_print(int ht, int *len, int use_array, int format_offset TSRMLS_DC) argument 671 if ((result=php_formatted_print(ht, &len, 0, 0 TSRMLS_CC))==NULL) { 685 if ((result=php_formatted_print(ht, &len, 1, 0 TSRMLS_CC))==NULL) { 699 if ((result=php_formatted_print(ht, &len, 0, 0 TSRMLS_CC))==NULL) { 715 if ((result=php_formatted_print(ht, &len, 1, 0 TSRMLS_CC))==NULL) { 743 if ((result=php_formatted_print(ht, &len, 0, 1 TSRMLS_CC))==NULL) { 774 if ((result=php_formatted_print(ht, &len, 1, 1 TSRMLS_CC))==NULL) {
|
| H A D | http.c | 28 PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr, argument 41 if (!ht) { 45 if (ht->nApplyCount > 0) { 58 for (zend_hash_internal_pointer_reset(ht); 59 (key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTANT; 60 zend_hash_move_forward(ht) 79 if (zend_hash_get_current_data_ex(ht, (void **)&zdata, NULL) == FAILURE || !zdata || !(*zdata)) { 139 ht->nApplyCount++; 141 ht->nApplyCount--;
|
| H A D | var_unserializer.c | 267 static inline int process_nested_data(UNSERIALIZE_PARAMETER, HashTable *ht, long elements, int objprops) argument 299 if (zend_hash_index_find(ht, Z_LVAL_P(key), (void **)&old_data)==SUCCESS) { 302 zend_hash_index_update(ht, Z_LVAL_P(key), &data, sizeof(data), NULL); 305 if (zend_symtable_find(ht, Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, (void **)&old_data)==SUCCESS) { 308 zend_symtable_update(ht, Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, &data, sizeof(data), NULL); 314 zend_hash_update(ht, Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, &data,
|
| /PHP_5_5/main/ |
| H A D | php_variables.c | 130 HashTable *ht; local 134 ht = Z_ARRVAL_P(track_vars_array); 135 zend_symtable_del(ht, var, var_len + 1);
|
| /PHP_5_5/ext/mysqlnd/ |
| H A D | mysqlnd_bt.c | 45 if (zend_hash_find(ht, key, sizeof(key), (void**)&tmp) == SUCCESS) { \ 155 HashTable *ht = Z_ARRVAL_PP(frame); local 173 if (zend_hash_find(ht, "file", sizeof("file"), (void**)&file) == SUCCESS) { 174 if (zend_hash_find(ht, "line", sizeof("line"), (void**)&tmp) == SUCCESS) { 190 if (zend_hash_find(ht, "args", sizeof("args"), (void**)&tmp) == SUCCESS) {
|
| H A D | php_mysqlnd.c | 109 HashTable *ht = mysqlnd_reverse_api_get_api_list(TSRMLS_C); local 112 p = ht->pListHead;
|
| /PHP_5_5/ext/phar/ |
| H A D | dirstream.c | 152 static int phar_add_empty(HashTable *ht, char *arKey, uint nKeyLength) /* {{{ */ argument 156 return zend_hash_update(ht, arKey, nKeyLength, (void *) &dummy, sizeof(void *), NULL);
|
| /PHP_5_5/win32/ |
| H A D | registry.c | 64 HashTable *ht = NULL; local 80 if (!ht) { 81 ht = (HashTable*)malloc(sizeof(HashTable)); 82 if (!ht) { 85 zend_hash_init(ht, 0, NULL, ZVAL_INTERNAL_PTR_DTOR, 1); 95 zend_hash_update(ht, name, name_len+1, &data, sizeof(zval*), NULL); 99 if (ht) { 111 if (zend_hash_add(ht, index, index_len, tmpdata, sizeof(zval*), NULL) == SUCCESS) { 116 zend_hash_update(directories, path, path_len+1, &ht, sizeof(HashTable*), NULL); 124 if (ht 253 HashTable *ht = *pht; local [all...] |
| /PHP_5_5/ext/intl/converter/ |
| H A D | converter.c | 191 HashTable *ht = Z_ARRVAL_P(val); local 195 for(zend_hash_internal_pointer_reset_ex(ht, &pos); 196 zend_hash_get_current_data_ex(ht, (void**)&tmpzval, &pos) == SUCCESS; 197 zend_hash_move_forward_ex(ht, &pos)) { 283 HashTable *ht = Z_ARRVAL_P(val); local 286 for(zend_hash_internal_pointer_reset_ex(ht, &pos); 287 zend_hash_get_current_data_ex(ht, (void**)&tmpzval, &pos) == SUCCESS; 288 zend_hash_move_forward_ex(ht, &pos)) {
|
| /PHP_5_5/ext/sockets/ |
| H A D | multicast.c | 106 static int php_get_if_index_from_array(const HashTable *ht, const char *key, argument 111 if (zend_hash_find(ht, key, strlen(key) + 1, (void **)&val) == FAILURE) { 119 static int php_get_address_from_array(const HashTable *ht, const char *key, argument 125 if (zend_hash_find(ht, key, strlen(key) + 1, (void **)&val) == FAILURE) {
|
| H A D | sendrecvmsg.c | 82 HashTable ht; member in struct:__anon8 95 zend_hash_init(&ancillary_registry.ht, 32, NULL, NULL, 1); 105 zend_hash_update(&ancillary_registry.ht, (char*)&key, sizeof(key), \ 137 zend_hash_destroy(&ancillary_registry.ht); 156 if (zend_hash_find(&ancillary_registry.ht, (char*)&key, sizeof(key),
|
| /PHP_5_5/ext/spl/ |
| H A D | spl_fixedarray.c | 153 HashTable *ht = zend_std_get_properties(obj TSRMLS_CC); local 163 return ht; 170 HashTable *ht = zend_std_get_properties(obj TSRMLS_CC); local 174 int j = zend_hash_num_elements(ht); 178 zend_hash_index_update(ht, i, (void *)&intern->array->elements[i], sizeof(zval *), NULL); 181 zend_hash_index_update(ht, i, (void *)&EG(uninitialized_zval_ptr), sizeof(zval *), NULL); 187 zend_hash_index_del(ht, i); 192 return ht;
|
| /PHP_5_5/ext/opcache/ |
| H A D | zend_persist.c | 55 static void zend_hash_persist(HashTable *ht, void (*pPersistElement)(void *pElement TSRMLS_DC), size_t el_size TSRMLS_DC) argument 57 Bucket *p = ht->pListHead; 107 if (ht->pListHead) { 108 ht->pListHead = zend_shared_alloc_get_xlat_entry(ht->pListHead); 110 if (ht->pListTail) { 111 ht->pListTail = zend_shared_alloc_get_xlat_entry(ht->pListTail); 113 if (ht->pInternalPointer) { 114 ht [all...] |
| H A D | zend_persist_calc.c | 49 static uint zend_hash_persist_calc(HashTable *ht, int (*pPersistElement)(void *pElement TSRMLS_DC), size_t el_size TSRMLS_DC) argument 51 Bucket *p = ht->pListHead; 84 if (ht->nTableMask) { 85 ADD_DUP_SIZE(ht->arBuckets, sizeof(Bucket*) * ht->nTableSize); 88 ADD_DUP_SIZE(ht->arBuckets, sizeof(Bucket*) * ht->nTableSize); 109 ADD_DUP_SIZE(z->value.ht, sizeof(HashTable)); 110 ADD_SIZE(zend_hash_persist_calc(z->value.ht, (int (*)(void* TSRMLS_DC)) zend_persist_zval_ptr_calc, sizeof(zval**) TSRMLS_CC));
|
| H A D | zend_accelerator_util_funcs.c | 49 static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind); 114 void zend_accel_free_user_functions(HashTable *ht TSRMLS_DC) 116 dtor_func_t orig_dtor = ht->pDestructor; 118 ht->pDestructor = NULL; 119 zend_hash_apply(ht, (apply_func_t) is_not_internal_function TSRMLS_CC); 120 ht->pDestructor = orig_dtor; 210 if (ret->value.ht && ret->value.ht != &EG(symbol_table)) { 211 ALLOC_HASHTABLE(ret->value.ht); 212 zend_hash_clone_zval(ret->value.ht, sr 220 zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind) argument 340 zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC) argument 452 zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC) argument [all...] |