Searched defs:mid (Results 126 - 150 of 256) sorted by relevance

1234567891011

/external/skia/experimental/Intersection/
H A DCubicUtilities.cpp391 _Point mid; local
393 xy_at_t(cubic, t, mid.x, mid.y);
394 if (topPt.y > mid.y || (topPt.y == mid.y && topPt.x > mid.x)) {
395 topPt = mid;
/external/skia/src/core/
H A DSkGlyphCache.cpp296 int mid = (hi + lo) >> 1; local
297 if (gptr[mid]->fID < id) {
298 lo = mid + 1;
300 hi = mid;
/external/webp/src/enc/
H A Danalysis.c78 int mid) {
90 assert(mid <= max && mid >= min);
92 const int alpha = 255 * (centers[n] - mid) / (max - min);
76 SetSegmentAlphas(VP8Encoder* const enc, const int centers[NUM_MB_SEGMENTS], int mid) argument
/external/bzip2/
H A Dbzlib.c689 Int32 nb, na, mid; local
693 mid = (nb + na) >> 1;
694 if (indx >= cftab[mid]) nb = mid; else na = mid;
/external/chromium_org/chrome/browser/history/
H A Dtop_sites_impl.cc632 MostVisitedURLList::iterator mid = new_list.begin() + num_forced; local
633 new_list.insert(mid, new_url);
634 mid = new_list.begin() + num_forced; // Mid was invalidated.
635 std::inplace_merge(new_list.begin(), mid, mid + 1, ForcedURLComparator);
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Dsandbox_bpf.cc875 // Pick the range object that is located at the mid point of our list.
879 Ranges::const_iterator mid = start + (stop - start) / 2; local
882 Instruction* jf = AssembleJumpTable(gen, start, mid);
883 Instruction* jt = AssembleJumpTable(gen, mid, stop);
884 return gen->MakeInstruction(BPF_JMP + BPF_JGE + BPF_K, mid->from, jt, jf);
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dttcmap.c1098 FT_UInt max, min, mid, num_segs; local
1113 mid = num_segs;
1125 mid = ( min + max ) >> 1;
1126 p = cmap->data + 14 + mid * 2;
1132 max = mid;
1134 min = mid + 1;
1144 if ( mid >= num_segs - 1 &&
1165 max = mid;
1168 mid = max + 1;
1196 mid
2153 FT_UInt32 max, min, mid; local
2477 FT_UInt32 max, min, mid; local
2911 FT_UInt32 mid = ( min + max ) >> 1; local
2945 FT_UInt32 mid = ( min + max ) >> 1; local
2978 FT_UInt32 mid = ( min + max ) >> 1; local
[all...]
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-open-type-private.hh943 int mid = (min + max) / 2; local
944 int c = this->array[mid].cmp (x);
946 max = mid - 1;
948 min = mid + 1;
950 return mid;
/external/chromium_org/third_party/icu/source/common/
H A Ducnv_bld.cpp375 uint32_t mid, start, limit; local
386 mid = limit;
390 mid = (uint32_t)((start + limit) / 2);
391 if (lastMid == mid) { /* Have we moved? */
394 lastMid = mid;
395 result = uprv_strcmp(strippedName, cnvNameType[mid].name);
398 limit = mid;
400 start = mid;
402 return converterData[cnvNameType[mid].type];
H A Ducnv_io.cpp550 uint32_t mid, start, limit; local
570 mid = limit;
574 mid = (uint32_t)((start + limit) / 2);
575 if (lastMid == mid) { /* Have we moved? */
578 lastMid = mid;
580 result = ucnv_compareNames(alias, GET_STRING(gMainTable.aliasList[mid]));
583 result = uprv_strcmp(alias, GET_NORMALIZED_STRING(gMainTable.aliasList[mid]));
587 limit = mid;
589 start = mid;
595 if (gMainTable.untaggedConvArray[mid]
[all...]
H A Duresdata.c78 int32_t mid, start, limit; local
85 mid = (start + limit) / 2;
86 tableKey = RES_GET_KEY16(pResData, keyOffsets[mid]);
93 limit = mid;
95 start = mid + 1;
99 return mid;
109 int32_t mid, start, limit; local
116 mid = (start + limit) / 2;
117 tableKey = RES_GET_KEY32(pResData, keyOffsets[mid]);
124 limit = mid;
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dolsontz.cpp570 int32_t year, month, dom, dow, doy, mid; local
571 Grego::timeToFields(current, year, month, dom, dow, doy, mid);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcdattst.c1179 UDate mid = (UDate) exp((log(small) + log(large)) / 2); local
1184 _aux1ExtremeDates(fmt, mid, buf, buflen, cbuf, ec) &&
1185 _aux2ExtremeDates(fmt, small, mid, buf, buflen, cbuf, count+1, ec) &&
1186 _aux2ExtremeDates(fmt, mid, large, buf, buflen, cbuf, count+1, ec);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtzregts.cpp97 UDate mid = (min + max) / 2; local
98 if (tz.inDaylightTime(mid, status) == startsInDST) {
99 min = mid;
101 max = mid;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
H A Dr600_asm.h183 struct r600_bytecode_cf **mid; /* used to store the else point */ member in struct:r600_cf_stack_entry
/external/chromium_org/third_party/skia/src/pathops/
H A DSkDQuadIntersection.cpp122 SkDPoint mid = q2.ptAtT(tMid); local
124 line[0] = line[1] = mid;
141 if (!pt2.approximatelyEqual(mid)) {
237 SkDVector mid = q[1] - q[0]; local
240 return fabs(mid.cross(dxy) / length);
H A DSkPathOpsCommon.cpp41 const double mid = *midPtr; local
43 double tAtMid = current->tAtMid(index, endIndex, mid);
80 double midT = current->tAtMid(index, endIndex, mid);
84 SkDebugf("%s [%d] mid=%1.9g->%1.9g s=%1.9g (%1.9g,%1.9g) m=%1.9g (%1.9g,%1.9g)"
86 current->debugID(), mid, newMid,
88 baseT + mid * (endT - baseT), midXY.fX, midXY.fY,
120 *bestHit = baseT + mid * (endT - baseT);
H A DSkPathOpsCubic.cpp382 SkDPoint mid = ptAtT(t); local
383 if (topPt.fY > mid.fY || (topPt.fY == mid.fY && topPt.fX > mid.fX)) {
384 topPt = mid;
/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-run-machops.cc3411 MLabel blocka, blockb, mid, blockd, blocke, end; local
3418 m.Goto(&mid);
3420 m.Goto(&mid);
3421 m.Bind(&mid);
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_report.cc186 u64 mid = this->AddMutex(d.id); local
187 ReportMopMutex mtx = {mid, d.write};
281 u64 mid = id; local
288 mid = s->uid;
295 return mid;
/external/deqp/modules/gles2/performance/
H A Des2pShaderOperatorTests.cpp398 const Vec2 mid = mean(data); local
405 const Vec2 diff = data[i] - mid;
412 const float offset = mid.y() - slope*mid.x();
/external/deqp/modules/gles3/performance/
H A Des3pShaderOperatorTests.cpp398 const Vec2 mid = mean(data); local
405 const Vec2 diff = data[i] - mid;
412 const float offset = mid.y() - slope*mid.x();
/external/freetype/src/sfnt/
H A Dttcmap.c1120 FT_UInt max, min, mid, num_segs; local
1135 mid = num_segs;
1147 mid = ( min + max ) >> 1;
1148 p = cmap->data + 14 + mid * 2;
1154 max = mid;
1156 min = mid + 1;
1166 if ( mid >= num_segs - 1 &&
1187 max = mid;
1190 mid = max + 1;
1218 mid
2173 FT_UInt32 max, min, mid; local
2495 FT_UInt32 max, min, mid; local
2936 FT_UInt32 mid = ( min + max ) >> 1; local
2970 FT_UInt32 mid = ( min + max ) >> 1; local
3003 FT_UInt32 mid = ( min + max ) >> 1; local
[all...]
/external/harfbuzz_ng/src/
H A Dhb-open-type-private.hh943 int mid = (min + max) / 2; local
944 int c = this->array[mid].cmp (x);
946 max = mid - 1;
948 min = mid + 1;
950 return mid;
/external/icu/icu4c/source/common/
H A Ducnv_bld.cpp366 uint32_t mid, start, limit; local
377 mid = limit;
381 mid = (uint32_t)((start + limit) / 2);
382 if (lastMid == mid) { /* Have we moved? */
385 lastMid = mid;
386 result = uprv_strcmp(strippedName, cnvNameType[mid].name);
389 limit = mid;
391 start = mid;
393 return converterData[cnvNameType[mid].type];

Completed in 1175 milliseconds

1234567891011