Home
last modified time | relevance | path

Searched refs:list_length (Results 1 – 25 of 29) sorted by relevance

12

/external/icu/icu4c/source/common/
Dcaniter.cpp169 int32_t list_length = 0; in setSource() local
223 source.extract(start, i-start, list[list_length++]); // add up to i in setSource()
227 source.extract(start, i-start, list[list_length++]); // add last one in setSource()
231 pieces = (UnicodeString **)uprv_malloc(list_length * sizeof(UnicodeString *)); in setSource()
232 pieces_length = list_length; in setSource()
233 pieces_lengths = (int32_t*)uprv_malloc(list_length * sizeof(int32_t)); in setSource()
234 current = (int32_t*)uprv_malloc(list_length * sizeof(int32_t)); in setSource()
235 current_length = list_length; in setSource()
/external/OpenCL-CTS/test_conformance/SVM/
Dmain.cpp116 void create_linked_lists(Node* pNodes, size_t num_lists, int list_length) in create_linked_lists() argument
126 for(int j=1; j < list_length; j++) in create_linked_lists()
137 cl_int verify_linked_lists(Node* pNodes, size_t num_lists, int list_length) in verify_linked_lists() argument
146 for(int j=0; j < list_length; j++) in verify_linked_lists()
158 if(numCorrect != list_length * (cl_uint)num_lists) in verify_linked_lists()
Dcommon.h76 extern void create_linked_lists(Node* pNodes, size_t num_lists, int list_length);
77 extern cl_int verify_linked_lists(Node* pNodes, size_t num_lists, int list_length);
/external/mesa3d/src/gallium/drivers/lima/ir/pp/
Dregalloc.c479 float spill_costs[list_length(&comp->reg_list)]; in ppir_regalloc_choose_spill_node()
535 for (int i = 0; i < list_length(&comp->reg_list); i++) in ppir_regalloc_choose_spill_node()
570 struct ppir_liveness, list_length(&comp->reg_list)); in ppir_regalloc_reset_liveness_info()
581 struct ppir_liveness, list_length(&comp->reg_list)); in ppir_regalloc_reset_liveness_info()
594 struct ppir_liveness, list_length(&comp->reg_list)); in ppir_regalloc_reset_liveness_info()
605 struct ppir_liveness, list_length(&comp->reg_list)); in ppir_regalloc_reset_liveness_info()
616 struct ppir_liveness, list_length(&comp->reg_list)); in ppir_regalloc_reset_liveness_info()
648 comp->ra, list_length(&comp->reg_list)); in ppir_regalloc_prog_try()
686 chosen->regalloc_index, list_length(&comp->reg_list), in ppir_regalloc_prog_try()
Dliveness.c53 memset(dest, 0, list_length(&comp->reg_list) * sizeof(struct ppir_liveness)); in ppir_liveness_set_clone()
55 list_length(&comp->reg_list) * sizeof(struct ppir_liveness)); in ppir_liveness_set_clone()
263 struct ppir_liveness temp_live_in[list_length(&comp->reg_list)]; in ppir_liveness_compute_live_sets()
Dscheduler.c45 float reg_weight = 1.0 - 1.0 / list_length(&pred->succ_list); in ppir_schedule_calc_sched_info()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.h128 bool can_bypass_src = !list_length(&dest->ssa.if_uses); in real_dest()
162 assert(list_length(&dest->ssa.if_uses) == 0); in real_dest()
176 if (list_length(&dest->ssa.if_uses) || list_length(&dest->ssa.uses) > 1) in real_dest()
/external/mesa3d/src/compiler/nir/
Dnir_opt_loop_unroll.c469 assert(list_length(&loop->info->loop_terminator_list) == 1); in complex_unroll_single_terminator()
533 if (list_length(&loop->info->loop_terminator_list) > 3) in wrapper_unroll()
685 assert(list_length(&loop->info->loop_terminator_list) == 1); in partial_unroll()
894 unsigned num_lt = list_length(&loop->info->loop_terminator_list); in process_loops()
914 unsigned num_lt = list_length(&loop->info->loop_terminator_list); in process_loops()
/external/v8/src/diagnostics/
Dbasic-block-profiler.cc172 int list_length = list.Length(); in GetCoverageBitmap() local
173 for (int i = 0; i < list_length; ++i) { in GetCoverageBitmap()
/external/tensorflow/tensorflow/core/graph/
Dmkl_layout_pass.cc1751 int* input_idx, int list_length,
1772 int* input_idx, int list_length,
1955 int list_length, std::vector<NodeBuilder::NodeOut>* output_nodes) { in GetNodesProducingTFTensorList() argument
1957 CHECK_GT(list_length, 0); in GetNodesProducingTFTensorList()
1959 output_nodes->reserve(list_length); in GetNodesProducingTFTensorList()
1961 while (list_length != 0) { in GetNodesProducingTFTensorList()
1962 CHECK_GT(list_length, 0); in GetNodesProducingTFTensorList()
1970 list_length--; in GetNodesProducingTFTensorList()
2020 int list_length, std::vector<NodeBuilder::NodeOut>* output_nodes) { in GetNodesProducingMklTensorList() argument
2022 CHECK_GT(list_length, 0); in GetNodesProducingMklTensorList()
[all …]
/external/wayland/tests/
Dlist-test.c60 TEST(list_length) in TEST() argument
/external/iptables/libiptc/
Dlibiptc.c482 unsigned int list_length = CHAIN_INDEX_BUCKET_LEN; in iptcc_chain_index_alloc() local
487 array_elems = (h->num_chains / list_length) + in iptcc_chain_index_alloc()
488 (h->num_chains % list_length ? 1 : 0); in iptcc_chain_index_alloc()
530 unsigned int list_length = CHAIN_INDEX_BUCKET_LEN; in iptcc_chain_index_build() local
539 h->num_chains, list_length, h->chain_index_sz); in iptcc_chain_index_build()
549 cindex=chains / list_length; in iptcc_chain_index_build()
557 if ((chains % list_length)== 0) { in iptcc_chain_index_build()
/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dreduce_scheduler.c50 float reg_weight = 1.0f - 1.0f / list_length(&pred->succ_list); in schedule_calc_sched_info()
Dcodegen.c584 num_instr += list_length(&block->instr_list); in gpir_codegen_prog()
/external/ImageMagick/MagickCore/
Dresource.c85 list_length, member
275 resource_info.list_length=request; in AcquireMagickResource()
716 resource=(MagickSizeType) resource_info.list_length; in GetMagickResource()
/external/adhd/cras/src/server/
Dcras_alsa_jack.c833 unsigned int list_length, in is_jack_control_in_list() argument
838 for (i = 0; i < list_length; i++) in is_jack_control_in_list()
/external/mesa3d/src/util/
Dlist.h122 static inline unsigned list_length(const struct list_head *list) in list_length() function
/external/mesa3d/src/gallium/drivers/lima/
Dlima_bo.c197 list_length(bucket), in lima_bo_cache_print_stats()
/external/vixl/src/aarch64/
Dmacro-assembler-aarch64.cc2820 size_t list_length = (count + 1) * sizeof(ElementType); in ConfigureSimulatorCPUFeaturesHelper() local
2821 size_t padding_length = AlignUp(list_length, kInstructionSize) - list_length; in ConfigureSimulatorCPUFeaturesHelper()
2823 size_t total_length = preamble_length + list_length + padding_length; in ConfigureSimulatorCPUFeaturesHelper()
2833 ExactAssemblyScope guard_list(this, list_length); in ConfigureSimulatorCPUFeaturesHelper()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_queue.c574 assert(list_length(&job->rcl.bo_list) == 1); in handle_cl_job()
575 assert(list_length(&job->bcl.bo_list) >= 1); in handle_cl_job()
/external/mesa3d/src/freedreno/ir3/
Dir3_legalize.c444 } else if (list_length(&block->instr_list) == 1) { in resolve_dest_block()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc3796 int list_length = attr_list_sizes[op_def->output_arg(i).number_attr()]; local
3797 PyObject* inner_list = PyList_New(list_length);
3798 for (int j = 0; j < list_length; j++) {
3805 int list_length = attr_list_sizes[op_def->output_arg(i).type_list_attr()]; local
3806 PyObject* inner_list = PyList_New(list_length);
3807 for (int j = 0; j < list_length; j++) {
/external/python/cpython2/Objects/
Dlistobject.c429 list_length(PyListObject *a) in list_length() function
2527 (lenfunc)list_length, /* sq_length */
2763 (lenfunc)list_length,
/external/python/cpython3/Objects/
Dlistobject.c440 list_length(PyListObject *a) in list_length() function
2769 (lenfunc)list_length, /* sq_length */
2998 (lenfunc)list_length,
/external/mesa3d/src/panfrost/midgard/
Dmidgard_schedule.c243 *len = list_length(&block->base.instructions); in flatten_mir()

12