Home
last modified time | relevance | path

Searched refs:item_count (Results 1 – 25 of 46) sorted by relevance

12

/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-collection.c40 collection_p->item_count = 0; in ecma_new_collection()
70 for (uint32_t i = 0; i < collection_p->item_count; i++) in ecma_collection_free_objects()
91 for (uint32_t i = 0; i < collection_p->item_count; i++) in ecma_collection_free_if_not_object()
109 for (uint32_t i = 0; i < collection_p->item_count; i++) in ecma_collection_free()
130 if (JERRY_LIKELY (collection_p->item_count < collection_p->capacity)) in ecma_collection_push_back()
132 buffer_p[collection_p->item_count++] = value; in ecma_collection_push_back()
141 buffer_p[collection_p->item_count++] = value; in ecma_collection_push_back()
177 JERRY_ASSERT (collection_p->capacity >= collection_p->item_count); in ecma_collection_append()
179 uint32_t free_count = collection_p->capacity - collection_p->item_count; in ecma_collection_append()
186 …memcpy (collection_p->buffer_p + collection_p->item_count, buffer_p, count * sizeof (ecma_value_t)… in ecma_collection_append()
[all …]
Decma-literal-storage.c344 for (uint32_t i = 0; i < lit_pool_p->item_count; i++) in ecma_save_literals_append_value()
457 if (lit_pool_p->item_count == 0) in ecma_save_literals_for_snapshot()
474 for (uint32_t i = 0; i < lit_pool_p->item_count; i++) in ecma_save_literals_for_snapshot()
497 ecma_length_t total_count = lit_pool_p->item_count; in ecma_save_literals_for_snapshot()
514 for (uint32_t i = 0; i < lit_pool_p->item_count; i++) in ecma_save_literals_for_snapshot()
Decma-globals.h1056 (collection_p->item_count - 1)
1379 uint32_t item_count; /**< number of items in the collection */ member
/third_party/libsnd/tests/
Dpcm_test.def5 item_count = 127 ;
13 item_count = 1024 ;
21 item_count = 1024 ;
29 item_count = 1024 ;
Dbenchmark.tpl228 int k, item_count, retval, op_count ;
237 item_count = BUFFER_SIZE ;
238 for (k = 0 ; k < item_count ; k++)
265 …= sf_write_[+ (get "type_name") +] (file, [+ (get "type_name") +]_data, item_count)) != item_count)
266 { printf ("Error : sf_write_short returned %d (should have been %d)\n", retval, item_count) ;
297 … = sf_read_[+ (get "type_name") +] (file, [+ (get "type_name") +]_data, item_count)) != item_count)
298 { printf ("Error : write returned %d (should have been %d)\n", retval, item_count) ;
309 performance = (1.0 * item_count) * BLOCK_COUNT * op_count ;
/third_party/toybox/kconfig/lxdialog/
Dmenubox.c201 max_choice = MIN(menu_height, item_count()); in dialog_menu()
252 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu()
259 if (choice >= item_count() - max_choice / 2) in dialog_menu()
260 scroll = first_item = item_count() - max_choice; in dialog_menu()
273 print_arrows(dialog, item_count(), scroll, in dialog_menu()
324 (scroll + max_choice < item_count())) { in dialog_menu()
347 if (scroll + max_choice < item_count()) { in dialog_menu()
361 print_arrows(dialog, item_count(), scroll, in dialog_menu()
Dchecklist.c134 max_choice = MIN(list_height, item_count()); in dialog_checklist()
192 print_arrows(dialog, choice, item_count(), scroll, in dialog_checklist()
228 print_arrows(dialog, choice, item_count(), in dialog_checklist()
239 if (scroll + choice >= item_count() - 1) in dialog_checklist()
256 print_arrows(dialog, choice, item_count(), in dialog_checklist()
Ddialog.h176 int item_count(void);
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-mem.c197 uint32_t item_count) /**< number of items on each page */ in parser_list_init() argument
201 parser_data_init (&list_p->data, item_size * item_count); in parser_list_init()
202 list_p->page_size = item_size * item_count; in parser_list_init()
204 list_p->item_count = item_count; in parser_list_init()
272 size_t item_count = list_p->item_count; in parser_list_get() local
275 while (index >= item_count) in parser_list_get()
279 index -= item_count; in parser_list_get()
Djs-parser-internal.h332 uint32_t item_count; /**< number of items on each page */ member
604 void parser_list_init (parser_list_t *list_p, uint32_t item_size, uint32_t item_count);
/third_party/ntfs-3g/libntfs-3g/
Dcache.c475 int item_count, int max_hash) in ntfs_create_cache() argument
486 size = sizeof(struct CACHE_HEADER) + item_count*full_item_size; in ntfs_create_cache()
488 size += item_count*sizeof(struct HASH_ENTRY) in ntfs_create_cache()
511 for (i=0; i<(item_count - 1); i++) { in ntfs_create_cache()
528 for (i=0; i<(item_count - 1); i++) { in ntfs_create_cache()
534 if (item_count) { in ntfs_create_cache()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-object.c375 for (uint32_t i = 0; i < props_p->item_count; i++) in ecma_builtin_object_set_integrity_level()
417 for (uint32_t i = 0; i < props_p->item_count; i++) in ecma_builtin_object_set_integrity_level()
632 for (uint32_t i = 0; i < props_p->item_count; i++) in ecma_builtin_object_test_integrity_level()
787 …JMEM_DEFINE_LOCAL_ARRAY (property_descriptors, prop_names_p->item_count, ecma_property_descriptor_… in ecma_builtin_object_object_define_properties()
790 for (uint32_t i = 0; i < prop_names_p->item_count; i++) in ecma_builtin_object_object_define_properties()
821 for (uint32_t i = 0; i < prop_names_p->item_count; i++) in ecma_builtin_object_object_define_properties()
994 for (uint32_t j = 0; (j < props_p->item_count) && ecma_is_value_empty (ret_value); j++) in ecma_builtin_object_object_assign()
Decma-builtin-array-prototype.c1139 for (uint32_t i = 0; i < array_index_props_p->item_count; i++) in ecma_builtin_array_prototype_object_sort()
1159 for (uint32_t i = 0; i < array_index_props_p->item_count; i++) in ecma_builtin_array_prototype_object_sort()
1233 for (uint32_t i = 0; i < array_index_props_p->item_count; i++) in ecma_builtin_array_prototype_object_sort()
1389 ecma_length_t item_count; in ecma_builtin_array_prototype_object_splice() local
1393 item_count = (ecma_length_t) (args_number - 2); in ecma_builtin_array_prototype_object_splice()
1397 item_count = 0; in ecma_builtin_array_prototype_object_splice()
1400 const uint32_t new_len = len - delete_count + item_count; in ecma_builtin_array_prototype_object_splice()
1402 if (item_count != delete_count) in ecma_builtin_array_prototype_object_splice()
1407 if (item_count < delete_count) in ecma_builtin_array_prototype_object_splice()
1413 to = k + item_count; in ecma_builtin_array_prototype_object_splice()
[all …]
Decma-builtin-helpers.c293 if (props_p->item_count == 0) in ecma_builtin_helper_object_get_properties()
299 …ecma_value_t new_array = ecma_op_create_array_object (props_p->buffer_p, props_p->item_count, fals… in ecma_builtin_helper_object_get_properties()
891 JERRY_ASSERT (ctx_p->u.collection_p->item_count > 0); in ecma_builtin_replace_substitute()
916 JERRY_ASSERT (ctx_p->u.collection_p->item_count > 0); in ecma_builtin_replace_substitute()
947 capture_count = ctx_p->u.collection_p->item_count; in ecma_builtin_replace_substitute()
Decma-builtin-helpers-json.c71 for (uint32_t i = 0; i < collection_p->item_count; i++) in ecma_has_string_value_in_collection()
Decma-builtin-json.c638 for (uint32_t i = 0; i < props_p->item_count; i++) in ecma_builtin_json_internalize_property()
894 if (context_p->property_list_p->item_count > 0) in ecma_builtin_json_serialize_object()
919 for (uint32_t i = 0; i < property_keys_p->item_count; i++) in ecma_builtin_json_serialize_object()
985 if (context_p->property_list_p->item_count == 0) in ecma_builtin_json_serialize_object()
Decma-builtin-reflect.c212 coll_p->item_count); in ecma_builtin_reflect_dispatch_routine()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-proxy-object.c1434 for (uint32_t i = 0; i < target_collection->item_count; i++) in ecma_proxy_object_own_property_keys_helper()
1440 for (uint32_t j = 0; j < unchecked_result_keys->item_count; j++) in ecma_proxy_object_own_property_keys_helper()
1485 ecma_collection_append (unchecked_result_keys, trap_result->buffer_p, trap_result->item_count); in ecma_proxy_check_invariants_for_own_prop_keys()
1487 for (uint32_t i = 0; i < unchecked_result_keys->item_count; i++) in ecma_proxy_check_invariants_for_own_prop_keys()
1516 else if (unchecked_result_keys->item_count != unchecked_prop_name_counter) in ecma_proxy_check_invariants_for_own_prop_keys()
1623 for (uint32_t i = 0; i < target_keys->item_count; i++) in ecma_proxy_object_own_property_keys()
1658 if (ecma_is_value_true (extensible_target) && target_non_configurable_keys->item_count == 0) in ecma_proxy_object_own_property_keys()
Decma-objects.c2073 for (uint32_t i = 0; i < proxy_keys->item_count; i++) in ecma_op_object_get_property_names()
2235 uint32_t lazy_prop_name_count = prop_names_p->item_count; in ecma_op_object_get_property_names()
2241 for (uint32_t i = 0; i < prop_names_p->item_count; i++) in ecma_op_object_get_property_names()
2305 for (uint32_t j = 0; j < prop_names_p->item_count; j++) in ecma_op_object_get_property_names()
2390 for (uint32_t j = 0; j < prop_names_p->item_count; j++) in ecma_op_object_get_property_names()
2475 for (uint32_t i = 0; i < prop_names_p->item_count; i++) in ecma_op_object_get_property_names()
2571 for (uint32_t j = 0; j < ret_p->item_count; j++) in ecma_op_object_get_property_names()
2587 for (uint32_t j = 0; j < skipped_non_enumerable_p->item_count; j++) in ecma_op_object_get_property_names()
Decma-typedarray-object.c838 ecma_value_t new_typedarray = ecma_typedarray_create_object_with_length (values_p->item_count, in ecma_op_typedarray_from()
858 for (uint32_t index = 0; index < values_p->item_count; index++) in ecma_op_typedarray_from()
869 for (uint32_t j = index + 1; j < values_p->item_count; j++) in ecma_op_typedarray_from()
/third_party/icu/icu4c/source/common/
Ducnvsel.cpp82 int32_t item_count; in generateSelectorData() local
101 item_count = uset_getItemCount(unicode_point_set); in generateSelectorData()
103 for (j = 0; j < item_count; ++j) { in generateSelectorData()
126 int32_t item_count = uset_getItemCount(excludedCodePoints); in generateSelectorData() local
127 for (int32_t j = 0; j < item_count; ++j) { in generateSelectorData()
/third_party/node/deps/icu-small/source/common/
Ducnvsel.cpp82 int32_t item_count; in generateSelectorData() local
101 item_count = uset_getItemCount(unicode_point_set); in generateSelectorData()
103 for (j = 0; j < item_count; ++j) { in generateSelectorData()
126 int32_t item_count = uset_getItemCount(excludedCodePoints); in generateSelectorData() local
127 for (int32_t j = 0; j < item_count; ++j) { in generateSelectorData()
/third_party/skia/third_party/externals/icu/source/common/
Ducnvsel.cpp82 int32_t item_count; in generateSelectorData() local
101 item_count = uset_getItemCount(unicode_point_set); in generateSelectorData()
103 for (j = 0; j < item_count; ++j) { in generateSelectorData()
126 int32_t item_count = uset_getItemCount(excludedCodePoints); in generateSelectorData() local
127 for (int32_t j = 0; j < item_count; ++j) { in generateSelectorData()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-uniscribe.cc684 int item_count; in _hb_uniscribe_shape() local
700 &item_count); in _hb_uniscribe_shape()
734 for (int i = 0; i < item_count; i++) in _hb_uniscribe_shape()
/third_party/pulseaudio/src/modules/
Dmodule-rygel-media-server.c806 unsigned item_count; in sinks_and_sources_handler() local
813 item_count = get_sinks_or_sources_count(path, u); in sinks_and_sources_handler()
815 append_property_dict_entry_unsigned(r, &sub, "ChildCount", item_count); in sinks_and_sources_handler()
816 append_property_dict_entry_unsigned(r, &sub, "ItemCount", item_count); in sinks_and_sources_handler()

12