Home
last modified time | relevance | path

Searched refs:ht (Results 51 – 75 of 85) sorted by path

1234

/PHP-5.5/ext/pdo/
H A Dpdo_stmt.c175 HashTable *ht; in dispatch_param_event() local
181 ht = stmt->bound_params; in dispatch_param_event()
184 if (ht) { in dispatch_param_event()
185 zend_hash_internal_pointer_reset(ht); in dispatch_param_event()
186 while (SUCCESS == zend_hash_get_current_data(ht, (void**)&param)) { in dispatch_param_event()
192 zend_hash_move_forward(ht); in dispatch_param_event()
196 ht = stmt->bound_columns; in dispatch_param_event()
761 HashTable *ht = Z_ARRVAL_P(stmt->fetch.cls.ctor_args); in do_fetch_class_prepare() local
765 fci->params = safe_emalloc(sizeof(zval**), ht->nNumOfElements, 0); in do_fetch_class_prepare()
766 p = ht->pListHead; in do_fetch_class_prepare()
[all …]
/PHP-5.5/ext/pgsql/
H A Dpgsql.c1439 ht = 0;
2689 HashTable *ht = Z_ARRVAL_P(ctor_params); local
2693 fci.params = safe_emalloc(sizeof(zval***), ht->nNumOfElements, 0);
2694 p = ht->pListHead;
6314 static inline int build_assignment_string(smart_str *querystr, HashTable *ht, int where_cond, const… argument
6324 for (zend_hash_internal_pointer_reset_ex(ht, &pos);
6325 zend_hash_get_current_data_ex(ht, (void **)&val, &pos) == SUCCESS;
6326 zend_hash_move_forward_ex(ht, &pos)) {
6327 key_type = zend_hash_get_current_key_ex(ht, &fld, &fld_len, &num_idx, 0, &pos);
/PHP-5.5/ext/phar/
H A Ddirstream.c152 static int phar_add_empty(HashTable *ht, char *arKey, uint nKeyLength) /* {{{ */ in phar_add_empty() argument
156 return zend_hash_update(ht, arKey, nKeyLength, (void *) &dummy, sizeof(void *), NULL); in phar_add_empty()
H A Dgdbhelp11 set $ht = $arg0
12 set $p = $ht.pListHead
55 set $ht = $pharglobals.phar_fname_map
56 set $p = $ht.pListHead
88 set $ht = $pharglobals.phar_fname_map
89 set $p = $ht.pListHead
/PHP-5.5/ext/readline/
H A Dreadline_cli.c409 static char *cli_completion_generator_ht(const char *text, int textlen, int *state, HashTable *ht, … in cli_completion_generator_ht() argument
415 zend_hash_internal_pointer_reset(ht); in cli_completion_generator_ht()
418 while(zend_hash_has_more_elements(ht) == SUCCESS) { in cli_completion_generator_ht()
419 zend_hash_get_current_key(ht, &name, &number, 0); in cli_completion_generator_ht()
422 zend_hash_get_current_data(ht, pData); in cli_completion_generator_ht()
424 zend_hash_move_forward(ht); in cli_completion_generator_ht()
427 if (zend_hash_move_forward(ht) == FAILURE) { in cli_completion_generator_ht()
463 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht in cli_completion_generator_func()
466 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func TSRMLS_CC); in cli_completion_generator_func()
487 …tion_generator_define(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) /* {{{ */ in cli_completion_generator_define()
[all …]
/PHP-5.5/ext/soap/
H A Dphp_encoding.c405 HashTable *ht = Z_OBJPROP_P(data); in master_to_xml_int() local
1742 zend_hash_move_forward(ht); in model_to_xml_object()
1805 zend_hash_move_forward(ht); in model_to_xml_object()
2283 if (ht->pListTail && ht->pListTail->nKeyLength == 0) { in array_num_elements()
2284 return ht->pListTail->h-1; in array_num_elements()
3116 HashTable *ht = Z_ARRVAL_P(data); in to_xml_list() local
3131 zend_hash_move_forward(ht); in to_xml_list()
3627 HashTable *ht; in get_array_type() local
3639 ht = HASH_OF(array); in get_array_type()
3640 count = zend_hash_num_elements(ht); in get_array_type()
[all …]
H A Dphp_schema.c2063 static void* schema_find_by_ref(HashTable *ht, char *ref) in schema_find_by_ref() argument
2067 if (zend_hash_find(ht, ref, strlen(ref)+1, (void**)&tmp) == SUCCESS) { in schema_find_by_ref()
2072 if (zend_hash_find(ht, ref, strlen(ref)+1, (void**)&tmp) == SUCCESS) { in schema_find_by_ref()
2130 static void schema_attributegroup_fixup(sdlCtx *ctx, sdlAttributePtr attr, HashTable *ht) in schema_attributegroup_fixup() argument
2157 HashTable *ht = emalloc(sizeof(HashTable)); in schema_attributegroup_fixup() local
2158 …zend_hash_init(ht, zend_hash_num_elements(newAttr->extraAttributes), NULL, delete_extra_attribute,… in schema_attributegroup_fixup()
2159 … zend_hash_copy(ht, newAttr->extraAttributes, copy_extra_attribute, &node, sizeof(xmlNodePtr)); in schema_attributegroup_fixup()
2160 newAttr->extraAttributes = ht; in schema_attributegroup_fixup()
2164 zend_hash_add(ht, key, key_len, &newAttr, sizeof(sdlAttributePtr), NULL); in schema_attributegroup_fixup()
2170 schema_attributegroup_fixup(ctx,*tmp_attr, ht); in schema_attributegroup_fixup()
H A Dphp_sdl.c585 HashTable ht; in wsdl_soap_binding_body() local
621 *params = ht; in wsdl_soap_binding_body()
1513 HashTable *ht; in sdl_deserialize_parameters() local
1517 ht = emalloc(sizeof(HashTable)); in sdl_deserialize_parameters()
1521 sdl_deserialize_key(ht, param, in); in sdl_deserialize_parameters()
1530 return ht; in sdl_deserialize_parameters()
2034 if (ht) { in sdl_serialize_parameters()
2035 i = zend_hash_num_elements(ht); in sdl_serialize_parameters()
2043 zend_hash_internal_pointer_reset(ht); in sdl_serialize_parameters()
2045 sdl_serialize_key(ht, out); in sdl_serialize_parameters()
[all …]
H A Dsoap.c2848 zend_hash_move_forward(ht);
4128 HashTable *ht = NULL; local
4136 ht = Z_OBJPROP(h->retval);
4172 if (ht) {
4184 if (ht) {
4356 HashTable *ht; local
4363 ht = Z_OBJPROP_PP(header);
4491 HashTable *ht; local
4503 if (ht == NULL) {
4933 zend_hash_destroy(ht);
[all …]
/PHP-5.5/ext/sockets/
H A Dmulticast.c114 static int php_get_if_index_from_array(const HashTable *ht, const char *key, in php_get_if_index_from_array() argument
119 if (zend_hash_find(ht, key, strlen(key) + 1, (void **)&val) == FAILURE) { in php_get_if_index_from_array()
127 static int php_get_address_from_array(const HashTable *ht, const char *key, in php_get_address_from_array() argument
133 if (zend_hash_find(ht, key, strlen(key) + 1, (void **)&val) == FAILURE) { in php_get_address_from_array()
H A Dsendrecvmsg.c82 HashTable ht; member
95 zend_hash_init(&ancillary_registry.ht, 32, NULL, NULL, 1); in init_ancillary_registry()
105 zend_hash_update(&ancillary_registry.ht, (char*)&key, sizeof(key), \ in init_ancillary_registry()
137 zend_hash_destroy(&ancillary_registry.ht); in destroy_ancillary_registry()
156 if (zend_hash_find(&ancillary_registry.ht, (char*)&key, sizeof(key), in get_ancillary_reg_entry()
/PHP-5.5/ext/spl/
H A Dphp_spl.c456 #define HT_MOVE_TAIL_TO_HEAD(ht) \ argument
457 (ht)->pListTail->pListNext = (ht)->pListHead; \
458 (ht)->pListHead = (ht)->pListTail; \
459 (ht)->pListTail = (ht)->pListHead->pListLast; \
460 (ht)->pListHead->pListNext->pListLast = (ht)->pListHead;\
461 (ht)->pListTail->pListNext = NULL; \
462 (ht)->pListHead->pListLast = NULL;
H A Dspl_array.c125 p = ht->arBuckets[intern->pos_h & ht->nTableMask]; in spl_hash_verify_pos_ex()
435 HashTable *ht; in spl_array_write_dimension_ex() local
450 if (ht->nApplyCount > 0) { in spl_array_write_dimension_ex()
461 if (ht->nApplyCount > 0) { in spl_array_write_dimension_ex()
473 if (ht->nApplyCount > 0) { in spl_array_write_dimension_ex()
487 if (ht->nApplyCount > 0) { in spl_array_write_dimension_ex()
509 HashTable *ht; in spl_array_unset_dimension_ex() local
521 if (ht->nApplyCount > 0) { in spl_array_unset_dimension_ex()
525 if (ht == &EG(symbol_table)) { in spl_array_unset_dimension_ex()
572 if (ht->nApplyCount > 0) { in spl_array_unset_dimension_ex()
[all …]
H A Dspl_directory.c467 static spl_filesystem_object * spl_filesystem_object_create_type(int ht, spl_filesystem_object *sou… in spl_filesystem_object_create_type() argument
537 if (ht && zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sbr", in spl_filesystem_object_create_type()
1340 spl_filesystem_object_create_type(ht, intern, SPL_FS_FILE, NULL, return_value TSRMLS_CC); in SPL_METHOD()
1391 spl_filesystem_object_create_type(ht, intern, SPL_FS_INFO, ce, return_value TSRMLS_CC); in SPL_METHOD()
H A Dspl_fixedarray.c153 HashTable *ht = zend_std_get_properties(obj TSRMLS_CC); in spl_fixedarray_object_get_gc() local
163 return ht; in spl_fixedarray_object_get_gc()
170 HashTable *ht = zend_std_get_properties(obj TSRMLS_CC); in spl_fixedarray_object_get_properties() local
174 int j = zend_hash_num_elements(ht); in spl_fixedarray_object_get_properties()
178 zend_hash_index_update(ht, i, (void *)&intern->array->elements[i], sizeof(zval *), NULL); in spl_fixedarray_object_get_properties()
181 zend_hash_index_update(ht, i, (void *)&EG(uninitialized_zval_ptr), sizeof(zval *), NULL); in spl_fixedarray_object_get_properties()
187 zend_hash_index_del(ht, i); in spl_fixedarray_object_get_properties()
192 return ht; in spl_fixedarray_object_get_properties()
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3.c8606 } *ht; member
24831 pNew->ht = 0;
24845 pH->ht = 0;
24930 pH->ht = new_ht;
24954 if( pH->ht ){
24993 if( pH->ht ){
25068 insertElement(pH, pH->ht ? &pH->ht[h] : 0, new_elem);
132643 } *ht;
140791 pNew->ht = 0;
140805 pH->ht = 0;
[all …]
/PHP-5.5/ext/standard/
H A Darray.c2586 HashTable *ht; in PHP_FUNCTION() local
2592 ht = Z_ARRVAL_PP(data); in PHP_FUNCTION()
3183 HashTable *ht; in php_array_intersect() local
3186 ALLOC_HASHTABLE(ht); in php_array_intersect()
3187 zend_hash_init(ht, zend_hash_num_elements(return_value->value.ht), NULL, ZVAL_PTR_DTOR, 0); in php_array_intersect()
3188 …zend_hash_copy(ht, return_value->value.ht, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(… in php_array_intersect()
3189 return_value->value.ht = ht; in php_array_intersect()
3600 HashTable *ht; in php_array_diff() local
3603 ALLOC_HASHTABLE(ht); in php_array_diff()
3604 zend_hash_init(ht, zend_hash_num_elements(return_value->value.ht), NULL, ZVAL_PTR_DTOR, 0); in php_array_diff()
[all …]
H A Dbasic_functions.c5137 …if (zend_get_parameters_array(ht, shutdown_function_entry.arg_count, shutdown_function_entry.argum…
5738 if (zend_get_parameters_array(ht, tick_fe.arg_count, tick_fe.arguments) == FAILURE) {
H A Dfilters.c1228 if (zend_hash_find((HashTable *)ht, field_name, field_name_len, (void **)&tmpval) == SUCCESS) { in php_conv_get_string_prop_ex()
1261 if (zend_hash_find((HashTable *)ht, field_name, field_name_len, (void **)&tmpval) == SUCCESS) { in php_conv_get_long_prop_ex()
1284 if (zend_hash_find((HashTable *)ht, field_name, field_name_len, (void **)&tmpval) == SUCCESS) { in php_conv_get_ulong_prop_ex()
1355 #define GET_STR_PROP(ht, var, var_len, fldname, persistent) \ argument
1356 php_conv_get_string_prop_ex(ht, &var, &var_len, fldname, sizeof(fldname), persistent)
1358 #define GET_INT_PROP(ht, var, fldname) \ argument
1359 php_conv_get_int_prop_ex(ht, &var, fldname, sizeof(fldname))
1361 #define GET_UINT_PROP(ht, var, fldname) \ argument
1362 php_conv_get_uint_prop_ex(ht, &var, fldname, sizeof(fldname))
1364 #define GET_BOOL_PROP(ht, var, fldname) \ argument
[all …]
H A Dformatted_print.c389 php_formatted_print(int ht, int *len, int use_array, int format_offset TSRMLS_DC) in php_formatted_print() argument
690 if ((result=php_formatted_print(ht, &len, 0, 0 TSRMLS_CC))==NULL) { in PHP_FUNCTION()
704 if ((result=php_formatted_print(ht, &len, 1, 0 TSRMLS_CC))==NULL) { in PHP_FUNCTION()
718 if ((result=php_formatted_print(ht, &len, 0, 0 TSRMLS_CC))==NULL) { in PHP_FUNCTION()
734 if ((result=php_formatted_print(ht, &len, 1, 0 TSRMLS_CC))==NULL) { in PHP_FUNCTION()
762 if ((result=php_formatted_print(ht, &len, 0, 1 TSRMLS_CC))==NULL) { in PHP_FUNCTION()
793 if ((result=php_formatted_print(ht, &len, 1, 1 TSRMLS_CC))==NULL) { in PHP_FUNCTION()
H A Dhtml.c844 static inline int resolve_named_entity_html(const char *start, size_t length, const entity_ht *ht, … in resolve_named_entity_html() argument
849 s = ht->buckets[hash % ht->num_elems]; in resolve_named_entity_html()
H A Dhttp.c28 PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr, in php_url_encode_hash_ex() argument
41 if (!ht) { in php_url_encode_hash_ex()
45 if (ht->nApplyCount > 0) { in php_url_encode_hash_ex()
58 for (zend_hash_internal_pointer_reset(ht); in php_url_encode_hash_ex()
59 …(key_type = zend_hash_get_current_key_ex(ht, &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXIST… in php_url_encode_hash_ex()
60 zend_hash_move_forward(ht) in php_url_encode_hash_ex()
79 if (zend_hash_get_current_data_ex(ht, (void **)&zdata, NULL) == FAILURE || !zdata || !(*zdata)) { in php_url_encode_hash_ex()
139 ht->nApplyCount++; in php_url_encode_hash_ex()
141 ht->nApplyCount--; in php_url_encode_hash_ex()
H A Dinfo.c102 static void php_info_print_stream_hash(const char *name, HashTable *ht TSRMLS_DC) /* {{{ */ in php_info_print_stream_hash()
107 if (ht) { in php_info_print_stream_hash()
108 if (zend_hash_num_elements(ht)) { in php_info_print_stream_hash()
117 zend_hash_internal_pointer_reset_ex(ht, &pos); in php_info_print_stream_hash()
118 while (zend_hash_get_current_key_ex(ht, &key, &len, NULL, 0, &pos) == HASH_KEY_IS_STRING) in php_info_print_stream_hash()
125 zend_hash_move_forward_ex(ht, &pos); in php_info_print_stream_hash()
126 if (zend_hash_get_current_key_ex(ht, &key, &len, NULL, 0, &pos) == HASH_KEY_IS_STRING) { in php_info_print_stream_hash()
H A Dphp_http.h27 PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr,
32 #define php_url_encode_hash(ht, formstr) php_url_encode_hash_ex((ht), (formstr), NULL, 0, NULL, 0, … argument
/PHP-5.5/ext/standard/tests/misc/
H A Dbrowscap.ini1484 Browser="ht://Dig"

Completed in 774 milliseconds

1234