Searched defs:max_index (Results 1 - 11 of 11) 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/aac/libAACdec/src/
H A Dblock.cpp259 int max_index = BandOffsets[band+1]; local
260 for (int index = BandOffsets[band]; index < max_index; index++)
/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/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/tab_contents/
H A Drender_view_context_menu.cc292 int max_index = local
294 if (!extension || *index >= max_index)
/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/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/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/mdnsresponder/mDNSShared/
H A Ddnssd_clientstub.c136 uint32_t max_index; // Largest assigned record index - 0 if no additional records registered member in struct:_DNSServiceRef_t
395 x->max_index = 0;
462 sdr->max_index = 0;
1668 rref->record_index = sdRef->max_index++;
1733 rref->record_index = sdRef->max_index++;
1800 if (!sdRef->max_index) { syslog(LOG_WARNING, "dnssd_clientstub DNSServiceRemoveRecord called with bad DNSServiceRef"); return kDNSServiceErr_BadReference; }
/external/v8/src/
H A Dobjects.cc4233 int max_index = -1; local
4238 if (current_index > max_index) max_index = current_index;
4241 return max_index + 1;
10262 uint32_t max_index = min_index; local
10267 } else if (NumberToUint32(numbers->get(i)) > max_index) {
10268 max_index = NumberToUint32(numbers->get(i));
10271 if (max_index - min_index + 1 == len) {

Completed in 2259 milliseconds