HomeSort by relevance Sort by last modified time
    Searched defs:mid (Results 76 - 100 of 490) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/valgrind/coregrind/
m_rangemap.c 176 Word mid = (lo + hi) / 2; local
177 Range* mid_rng = (Range*)VG_(indexXA)(ranges, mid);
180 if (key < key_mid_min) { hi = mid-1; continue; }
181 if (key > key_mid_max) { lo = mid+1; continue; }
182 return mid;
  /frameworks/base/cmds/incident/
main.cpp 104 size_t mid = (low + high) >> 1; local
105 IncidentSection const* section = INCIDENT_SECTIONS + mid;
109 low = mid + 1;
111 high = mid - 1;
  /packages/apps/Messaging/src/com/android/messaging/ui/contact/
ContactSectionIndexer.java 79 final int mid = (left + right) / 2; local
80 final int startingPos = mSectionStartingPositions.get(mid);
81 final int nextStartingPos = mSectionStartingPositions.get(mid + 1);
83 return mid;
85 right = mid - 1;
87 left = mid + 1;
  /cts/tests/tests/view/src/android/view/cts/
View_FocusHandlingTest.java 357 LinearLayout mid = new LinearLayout(activity); local
363 mid.addView(but, ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
365 group.addView(mid, ViewGroup.LayoutParams.WRAP_CONTENT,
  /art/runtime/interpreter/
interpreter_common.h 456 int mid = (lo + hi) / 2; local
457 int32_t foundVal = keys[mid];
459 hi = mid - 1;
461 lo = mid + 1;
463 return entries[mid];
  /art/runtime/interpreter/mterp/
mterp.cc 99 int mid = (lo + hi) >> 1; local
101 int32_t foundVal = keys[mid];
103 hi = mid - 1;
105 lo = mid + 1;
107 return entries[mid];
    [all...]
  /art/tools/ahat/src/heapdump/
AhatSnapshot.java 193 int mid = start + ((end - start) / 2); local
194 AhatInstance midInst = mInstances.get(mid);
199 end = mid;
201 start = mid + 1;
  /external/compiler-rt/lib/asan/
asan_poisoning.cc 384 uptr mid = reinterpret_cast<uptr>(mid_p); local
385 CHECK_LE(beg, mid);
386 CHECK_LE(mid, end);
387 // Check some bytes starting from beg, some bytes around mid, and some bytes
391 uptr r1_end = Min(end + kMaxRangeToCheck, mid);
392 uptr r2_beg = Max(beg, mid - kMaxRangeToCheck);
393 uptr r2_end = Min(end, mid + kMaxRangeToCheck);
394 uptr r3_beg = Max(end - kMaxRangeToCheck, mid);
399 for (uptr i = r2_beg; i < mid; i++)
402 for (uptr i = mid; i < r2_end; i++
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_rtl_mutex.cc 50 uptr addr, u64 mid) {
57 rep.AddMutex(mid);
107 u64 mid = s->GetId(); local
115 rep.AddMutex(mid);
131 thr->mset.Remove(mid);
178 u64 mid = s->GetId(); local
182 ReportMutexMisuse(thr, pc, ReportTypeMutexDoubleLock, addr, mid);
220 u64 mid = s->GetId(); local
224 ReportMutexMisuse(thr, pc, ReportTypeMutexBadUnlock, addr, mid);
256 u64 mid = s->GetId() local
287 u64 mid = s->GetId(); local
335 u64 mid = s->GetId(); local
357 u64 mid = s->GetId(); local
    [all...]
  /external/deqp/modules/glshared/
glsCalibration.cpp 50 const typename vector<T>::iterator mid = data.begin()+data.size()/2; local
52 std::nth_element(data.begin(), mid, data.end());
55 return (*mid + *std::max_element(data.begin(), mid))*0.5f; // Data is partially sorted around mid, mid is half an item after center
57 return *mid;
  /external/e2fsprogs/e2fsck/
dirinfo.c 207 int low, high, mid; local
268 mid = (low+high)/2;
269 if (mid == low || mid == high)
271 if (ino == ctx->dir_info->array[mid].ino) {
274 ctx->dir_info->array[mid].dotdot,
275 ctx->dir_info->array[mid].parent);
277 return &ctx->dir_info->array[mid];
279 if (ino < ctx->dir_info->array[mid].ino)
280 high = mid;
    [all...]
ea_refcount.c 158 int low, high, mid; local
184 mid = (low+high)/2;
185 if (blk == refcount->list[mid].ea_blk) {
186 refcount->cursor = mid+1;
187 return &refcount->list[mid];
189 if (blk < refcount->list[mid].ea_blk)
190 high = mid-1;
192 low = mid+1;
  /external/eigen/test/
array_for_matrix.cpp 120 Scalar mid = (m1.cwiseAbs().minCoeff() + m1.cwiseAbs().maxCoeff())/Scalar(2); local
123 m3(i,j) = abs(m1(i,j))<mid ? 0 : m1(i,j);
124 VERIFY_IS_APPROX( (m1.array().abs()<MatrixType::Constant(rows,cols,mid).array())
127 VERIFY_IS_APPROX( (m1.array().abs()<MatrixType::Constant(rows,cols,mid).array())
129 VERIFY_IS_APPROX( (m1.array().abs()>=MatrixType::Constant(rows,cols,mid).array())
132 VERIFY_IS_APPROX( (m1.array().abs()<mid).select(0,m1), m3);
  /external/freetype/src/psnames/
psmodule.c 404 PS_UniMap *min, *max, *mid, *result = NULL; local
417 mid = min + ( ( max - min ) >> 1 );
419 if ( mid->unicode == unicode )
421 result = mid;
425 base_glyph = BASE_GLYPH( mid->unicode );
428 result = mid; /* remember match but continue search for base glyph */
434 min = mid + 1;
436 max = mid - 1;
457 FT_UInt mid; local
464 mid = min + ( ( max - min ) >> 1 )
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
PropsVectors.java 107 int mid = 0; local
110 mid = (start + limit) / 2;
111 index = columns * mid;
113 limit = mid;
115 prevRow = mid;
118 start = mid;
  /external/icu/icu4c/source/common/
locmap.c 1115 uint32_t mid; local
    [all...]
  /external/icu/icu4c/source/i18n/
basictz.cpp 163 int32_t year, month, dom, dow, doy, mid; local
168 year, month, dom, dow, doy, mid);
171 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
195 year, month, dom, dow, doy, mid);
198 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
226 year, month, dom, dow, doy, mid);
228 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
481 int32_t year, month, dom, dow, doy, mid; local
482 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid);
csrmbcs.cpp 98 int32_t mid = (start+end)/2; local
101 if(array[mid] == value) {
102 return mid;
105 if(array[mid] < value){
106 start = mid+1;
108 end = mid-1;
111 mid = (start+end)/2;
  /external/icu/icu4c/source/test/intltest/
tzbdtest.cpp 85 UDate mid = (min + max) / 2; local
86 UnicodeString* s = &dateToString(mid, str);
88 min = mid;
91 max = mid;
135 UDate mid = (min + max) / 2; local
136 UBool isIn = tz->inDaylightTime(mid, status);
139 min = mid;
142 max = mid;
396 UDate mid = (min + max) / 2; local
397 if (tz->inDaylightTime(mid, status) == startsInDST)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
PropsVectors.java 105 int mid = 0; local
108 mid = (start + limit) / 2;
109 index = columns * mid;
111 limit = mid;
113 prevRow = mid;
116 start = mid;
  /external/jemalloc/test/src/
SFMT.c 644 int mid; local
663 mid = (size - lag) / 2;
671 r = func1(psfmt32[idxof(0)] ^ psfmt32[idxof(mid)]
673 psfmt32[idxof(mid)] += r;
675 psfmt32[idxof(mid + lag)] += r;
680 r = func1(psfmt32[idxof(i)] ^ psfmt32[idxof((i + mid) % N32)]
682 psfmt32[idxof((i + mid) % N32)] += r;
684 psfmt32[idxof((i + mid + lag) % N32)] += r;
689 r = func1(psfmt32[idxof(i)] ^ psfmt32[idxof((i + mid) % N32)]
691 psfmt32[idxof((i + mid) % N32)] += r
    [all...]
  /external/libopus/celt/
rate.c 273 int mid = (lo+hi)>>1; local
278 int tmp = bits1[j] + (mid*(opus_int32)bits2[j]>>ALLOC_STEPS);
290 hi = mid;
292 lo = mid;
585 int mid = (lo+hi) >> 1; local
590 bitsj = C*N*m->allocVectors[mid*len+j]<<LM>>2;
605 hi = mid - 1;
607 lo = mid + 1;
vq.c 380 opus_val16 mid, side; local
398 mid = celt_sqrt(Emid);
402 itheta = MULT16_16_Q15(QCONST16(0.63662f,15),celt_atan2p(side, mid));
404 itheta = (int)floor(.5f+16384*0.63662f*atan2(side,mid));
  /external/libunwind/src/ia64/
Gtables.c 91 unsigned long lo, hi, mid; local
97 mid = (lo + hi) / 2;
98 e_addr = table + mid * sizeof (struct ia64_table_entry);
103 hi = mid;
110 lo = mid + 1;
231 unsigned long lo, hi, mid; local
236 mid = (lo + hi) / 2;
237 e = table + mid;
239 hi = mid;
241 lo = mid + 1
    [all...]
  /external/lzma/CPP/7zip/UI/Common/
Extract.cpp 223 unsigned mid = (left + right) / 2; local
224 const UString &midValue = fileName[mid];
227 return mid;
229 right = mid;
231 left = mid + 1;

Completed in 740 milliseconds

1 2 34 5 6 7 8 91011>>