/external/openfst/src/include/fst/extensions/far/ |
sttable.h | 253 size_t mid = (low + high)/2; local 254 strm->seekg(positions[mid]); 258 high = mid; 260 low = mid + 1; 262 for (size_t i = mid; i > low; --i) {
|
/external/skia/experimental/Intersection/ |
LogoPlay.cpp | 76 SkPoint c,j,k,l,m,n,o,p,q, mid; local 87 midPt(mid,m,n); 88 fPath.quadTo(mid,q); 93 midPt(mid,m,n); 94 fPath.quadTo(mid,p2);
|
/external/svox/pico/lib/ |
picoklex.c | 265 picoos_int32 low, mid, high; local 280 mid = (low + high) / 2; 281 indval = klex_getSearchIndexVal(this, mid); 283 low = mid + 1; 285 high = mid;
|
/external/chromium_org/third_party/icu/source/i18n/ |
basictz.cpp | 161 int32_t year, month, dom, dow, doy, mid; local 166 year, month, dom, dow, doy, mid); 169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 193 year, month, dom, dow, doy, mid); 196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 224 year, month, dom, dow, doy, mid); 226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 479 int32_t year, month, dom, dow, doy, mid; local 480 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid);
|
/external/icu/icu4c/source/i18n/ |
basictz.cpp | 161 int32_t year, month, dom, dow, doy, mid; local 166 year, month, dom, dow, doy, mid); 169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 193 year, month, dom, dow, doy, mid); 196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 224 year, month, dom, dow, doy, mid); 226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 479 int32_t year, month, dom, dow, doy, mid; local 480 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid);
|
/prebuilts/misc/common/swig/include/2.0.11/java/ |
java.swg | 293 jmethodID mid; 304 mid = JCALL3(GetMethodID, jenv, clazz, "toByteArray", "()[B"); 305 ba = (jbyteArray)JCALL2(CallObjectMethod, jenv, $input, mid); 317 jmethodID mid; 328 mid = JCALL3(GetMethodID, jenv, clazz, "toByteArray", "()[B"); 329 ba = (jbyteArray)JCALL2(CallObjectMethod, jenv, $input, mid); 345 jmethodID mid = JCALL3(GetMethodID, jenv, clazz, "<init>", "([B)V"); 355 bigint = JCALL3(NewObject, jenv, clazz, mid, ba); 364 jmethodID mid = JCALL3(GetMethodID, jenv, clazz, "<init>", "([B)V"); 374 bigint = JCALL3(NewObject, jenv, clazz, mid, ba) [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-cmap-table.hh | 94 int mid = (min + max) / 2; local 95 if (codepoint < startCount[mid]) 96 max = mid - 1; 97 else if (codepoint > endCount[mid]) 98 min = mid + 1; 101 i = mid;
|
/external/harfbuzz_ng/src/ |
hb-ot-cmap-table.hh | 94 int mid = (min + max) / 2; local 95 if (codepoint < startCount[mid]) 96 max = mid - 1; 97 else if (codepoint > endCount[mid]) 98 min = mid + 1; 101 i = mid;
|
/external/libvterm/src/ |
unicode.c | 134 int mid; local 139 mid = (min + max) / 2; 140 if (ucs > table[mid].last) 141 min = mid + 1; 142 else if (ucs < table[mid].first) 143 max = mid - 1;
|
/frameworks/av/media/libmedia/ |
CharacterEncodingDetector.cpp | 455 int mid = (start+end)/2; local 458 if(c == values[mid]) { 460 } else if (c > values[mid]) { 461 start = mid + 1; 463 end = mid - 1; 466 mid = (start + end) / 2;
|
/ndk/sources/host-tools/nawk-20071023/ |
lex.c | 439 int cond, low, mid, high; local 444 mid = (low + high) / 2; 445 if ((cond = strcmp(w, kp[mid].word)) < 0) 446 high = mid - 1; 448 low = mid + 1; 450 return mid;
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
regex_internal.c | 611 Idx low = 0, high = pstr->valid_len, mid; 614 mid = (high + low) / 2; 615 if (pstr->offsets[mid] > offset) 616 high = mid; 617 else if (pstr->offsets[mid] < offset) 618 low = mid + 1; 623 if (pstr->offsets[mid] < offset) 624 ++mid; 625 pstr->tip_context = re_string_context_at (pstr, mid - 1, 632 && mid == offset && pstr->offsets[mid] == offset 610 Idx low = 0, high = pstr->valid_len, mid; local 1373 __re_size_t idx, right, mid; local [all...] |
/system/core/libpixelflinger/codeflinger/tinyutils/ |
VectorImpl.cpp | 465 ssize_t mid; local 469 mid = l + (h - l)/2; 470 const void* const curr = reinterpret_cast<const char *>(a) + (mid*s); 473 err = l = mid; 476 l = mid + 1; 478 h = mid - 1;
|
/external/chromium_org/third_party/opus/src/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; 584 int mid = (lo+hi) >> 1; local 589 bitsj = C*N*m->allocVectors[mid*len+j]<<LM>>2; 604 hi = mid - 1; 606 lo = mid + 1;
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkIntersectionHelper.h | 87 double mid = (t1 + t2) / 2; local 88 SkDPoint midPtByT = segment.dPtAtT(mid); 89 SkDPoint midPtByAvg = SkDPoint::Mid(pt1, pt2);
|
SkOpSegment.h | 77 SkDPoint dPtAtT(double mid) const { 78 return (*CurveDPointAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, mid); 166 SkPoint ptAtT(double mid) const { 167 return (*CurvePointAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, mid); 225 double tAtMid(int start, int end, double mid) const { 226 return fTs[start].fT * (1 - mid) + fTs[end].fT * mid; 313 double mid, bool opp, bool current) const;
|
/external/e2fsprogs/lib/ext2fs/ |
icount.c | 355 int low, high, mid; local 377 mid = ((unsigned)low + (unsigned)high) >> 1; 378 if (ino == icount->list[mid].ino) { 379 icount->cursor = mid+1; 380 return &icount->list[mid]; 382 if (ino < icount->list[mid].ino) 383 high = mid-1; 385 low = mid+1;
|
/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; 584 int mid = (lo+hi) >> 1; local 589 bitsj = C*N*m->allocVectors[mid*len+j]<<LM>>2; 604 hi = mid - 1; 606 lo = mid + 1;
|
/external/skia/src/pathops/ |
SkIntersectionHelper.h | 87 double mid = (t1 + t2) / 2; local 88 SkDPoint midPtByT = segment.dPtAtT(mid); 89 SkDPoint midPtByAvg = SkDPoint::Mid(pt1, pt2);
|
SkOpSegment.h | 77 SkDPoint dPtAtT(double mid) const { 78 return (*CurveDPointAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, mid); 166 SkPoint ptAtT(double mid) const { 167 return (*CurvePointAtT[SkPathOpsVerbToPoints(fVerb)])(fPts, mid); 223 double tAtMid(int start, int end, double mid) const { 224 return fTs[start].fT * (1 - mid) + fTs[end].fT * mid; 311 double mid, bool opp, bool current) const;
|
/frameworks/base/core/jni/ |
android_opengl_EGLExt.cpp | 104 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { 110 return reinterpret_cast<void*>(_env->CallLongMethod(obj, mid));
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
EGL14cHeader.cpp | 103 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { 109 jlong handle = _env->CallLongMethod(obj, mid);
|
EGLExtcHeader.cpp | 104 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { 110 return reinterpret_cast<void*>(_env->CallLongMethod(obj, mid));
|
/external/clang/utils/ABITest/ |
Enumeration.py | 70 mid = (lo + hi)>>1 71 if base(mid)<=N: 72 lo = mid 74 hi = mid
|
/external/clang/utils/ |
token-delta.py | 57 mid = len(L)//2 58 if mid==0: 61 return L[:mid],L[mid:]
|