Lines Matching refs:middle
44 int middle = (bottom + top) / 2; in search_char_in_char_array() local
45 ecma_char_t current = array[middle]; in search_char_in_char_array()
54 top = middle - 1; in search_char_in_char_array()
58 bottom = middle + 1; in search_char_in_char_array()
84 int middle = (bottom + top) / 2; in search_char_in_interval_array() local
85 ecma_char_t current_sp = array_sp[middle]; in search_char_in_interval_array()
87 if (current_sp <= c && c <= current_sp + lengths[middle]) in search_char_in_interval_array()
94 bottom = middle + 1; in search_char_in_interval_array()
98 top = middle - 1; in search_char_in_interval_array()
569 int middle = (bottom + top) / 2; in search_in_bidirectional_conversion_tables() local
570 ecma_char_t current_sp = lit_character_pair_ranges[middle]; in search_in_bidirectional_conversion_tables()
572 … if (current_sp <= character && character < current_sp + lit_character_pair_range_lengths[middle]) in search_in_bidirectional_conversion_tables()
590 bottom = middle + 1; in search_in_bidirectional_conversion_tables()
594 top = middle - 1; in search_in_bidirectional_conversion_tables()
648 int middle = (bottom + top) / 2; in search_in_conversion_table() local
650 middle -= ((middle - bottom) % (size_of_case_value + 1)); in search_in_conversion_table()
652 ecma_char_t current = array[middle]; in search_in_conversion_table()
662 output_buffer_p[2] = array[middle + 3]; in search_in_conversion_table()
668 output_buffer_p[1] = array[middle + 2]; in search_in_conversion_table()
674 output_buffer_p[0] = array[middle + 1]; in search_in_conversion_table()
682 top = middle - (size_of_case_value + 1); in search_in_conversion_table()
686 bottom = middle + (size_of_case_value + 1); in search_in_conversion_table()