Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 4 of 4) sorted by relevance

/system/bt/embdrv/sbc/decoder/srce/
Dreadsamplesjoint.inc100 * Check if we need to do mid/side
103 int32_t mid = *(s - NROF_SUBBANDS);
105 *(s - NROF_SUBBANDS) = mid + side;
106 dequant = mid - side;
/system/core/libutils/
DVectorImpl.cpp601 ssize_t mid; in _indexOrderOf() local
605 mid = l + (h - l)/2; in _indexOrderOf()
606 const void* const curr = reinterpret_cast<const char *>(a) + (mid*s); in _indexOrderOf()
609 err = l = mid; in _indexOrderOf()
612 l = mid + 1; in _indexOrderOf()
614 h = mid - 1; in _indexOrderOf()
/system/libufdt/
Dufdt_convert.c226 int mid = s + ((e - s) >> 1); in ufdt_get_node_by_phandle() local
227 uint32_t mid_phandle = tree->phandle_table.data[mid].phandle; in ufdt_get_node_by_phandle()
229 e = mid; in ufdt_get_node_by_phandle()
231 s = mid; in ufdt_get_node_by_phandle()
/system/media/audio/include/system/
Daudio.h661 const size_t mid = left + (right - left) / 2; in audio_binary_search_uint_array() local
662 if (audio_array[mid] == target) { in audio_binary_search_uint_array()
664 } else if (audio_array[mid] < target) { in audio_binary_search_uint_array()
665 left = mid + 1; in audio_binary_search_uint_array()
667 right = mid; in audio_binary_search_uint_array()