Searched refs:max_index (Results 1 - 10 of 10) sorted by relevance

/external/chromium/base/
H A Dobserver_list.h98 size_t max_index = std::min(max_index_, observers.size()); local
99 while (index_ < max_index && !observers[index_])
101 return index_ < max_index ? observers[index_++] : NULL;
/external/bluetooth/bluez/plugins/
H A Dmgmtops.c54 static int max_index = -1; variable
104 if (index > max_index) {
106 max_index = index;
151 if (index > max_index)
213 if (index > max_index) {
290 if (index > max_index) {
328 if (index > max_index) {
365 if (index > max_index) {
395 if (index > max_index) {
431 if (index > max_index) {
[all...]
/external/libvpx/vp8/common/x86/
H A Dboolcoder.cxx40 max_index = ( ( half_index = 1 << b ) << 1) - 1;
43 max_index = 255;
58 assert( max_index <= 255); /* size of Ctbl */
66 } while( ++i <= max_index);
136 return max_index;
139 return max_index - ( *this)( 1. - p);
184 return 1. - ( *this)( (Index) (max_index - i));
/external/chromium/chrome/browser/sessions/
H A Dtab_restore_service.cc596 int max_index = static_cast<int>(navigations.size()); local
631 i < max_index && wrote_count < 2 * max_persist_navigation_count; ++i) {
690 int max_index = static_cast<int>(navigations.size()); local
704 while (selected_index < max_index &&
709 return (selected_index == max_index) ? -1 : selected_index;
H A Dsession_service.cc1070 const int max_index = std::min(current_index + max_persist_navigation_count, local
1075 std::pair<int, int>(min_index, max_index);
1091 for (int i = min_index; i < max_index; ++i) {
/external/chromium/chrome/browser/sync/glue/
H A Dsession_model_associator.cc267 const int max_index = std::min(current_index + max_sync_navigation_count, local
280 for (int i = min_index; i < max_index; ++i) {
285 if (i == max_index - 1) {
/external/chromium/third_party/libjingle/source/talk/base/
H A Dhttpcommon.cc61 const char* const haystack[], size_t max_index) {
62 for (index=0; index<max_index; ++index) {
60 find_string(size_t& index, const std::string& needle, const char* const haystack[], size_t max_index) argument
/external/chromium/chrome/browser/tab_contents/
H A Drender_view_context_menu.cc292 int max_index = local
294 if (!extension || *index >= max_index)
/external/chromium/chrome/browser/ui/views/tabs/
H A Ddragged_tab_controller.cc1034 int max_index = GetModel(attached_tabstrip_)->count() - local
1036 return std::max(0, std::min(max_index, index));
/external/v8/src/
H A Dobjects.cc3124 int max_index = -1; local
3129 if (current_index > max_index) max_index = current_index;
3132 return max_index + 1;
8303 uint32_t max_index = min_index; local
8308 } else if (NumberToUint32(numbers->get(i)) > max_index) {
8309 max_index = NumberToUint32(numbers->get(i));
8312 if (max_index - min_index + 1 == len) {

Completed in 301 milliseconds