/art/runtime/ |
reflection.h | 50 JValue InvokeWithVarArgs(const ScopedObjectAccessAlreadyRunnable& soa, jobject obj, jmethodID mid, 55 jmethodID mid, jvalue* args) 59 mirror::Object* receiver, jmethodID mid, jvalue* args) 63 jobject obj, jmethodID mid, va_list args)
|
check_jni.cc | 281 void CheckSig(jmethodID mid, const char* expectedType, bool isStatic) 283 mirror::ArtMethod* m = CheckMethodID(mid); 321 * Verify that "mid" is appropriate for "java_class". 329 void CheckStaticMethod(jclass java_class, jmethodID mid) 331 mirror::ArtMethod* m = CheckMethodID(mid); 343 * Verify that "mid" is appropriate for "jobj". 346 * (Note the mid might point to a declaration in an interface; this 349 void CheckVirtualMethod(jobject java_object, jmethodID mid) 351 mirror::ArtMethod* m = CheckMethodID(mid); 490 jmethodID mid = va_arg(ap, jmethodID) local [all...] |
dex_file.cc | 485 int32_t mid = (hi + lo) / 2; local 486 const DexFile::FieldId& field = GetFieldId(mid); 488 lo = mid + 1; 490 hi = mid - 1; 493 lo = mid + 1; 495 hi = mid - 1; 498 lo = mid + 1; 500 hi = mid - 1; 520 int32_t mid = (hi + lo) / 2; local 521 const DexFile::MethodId& method = GetMethodId(mid); 549 int32_t mid = (hi + lo) \/ 2; local 568 int32_t mid = (hi + lo) \/ 2; local 587 int32_t mid = (hi + lo) \/ 2; local 606 int32_t mid = (hi + lo) \/ 2; local 727 int32_t mid = min + ((max - min) \/ 2); local [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
chunk_range.cc | 103 int mid = ((unsigned int)low + (unsigned int)high) >> 1; local 104 const ChunkRange& chunk = ranges[mid]; 108 // Adjust our mid point. 110 low = mid + 1; 112 high = mid - 1;
|
/external/chromium_org/third_party/skia/include/core/ |
SkTSearch.h | 52 int mid = (hi + lo) >> 1; local 53 const T* elem = (const T*)((const char*)base + mid * elemSize); 56 lo = mid + 1; 58 hi = mid;
|
/external/e2fsprogs/lib/ext2fs/ |
badblocks.c | 164 int low, high, mid; local 180 mid = ((unsigned)low + (unsigned)high)/2; 181 if (mid == low || mid == high) 183 if (blk == bb->list[mid]) 184 return mid; 185 if (blk < bb->list[mid]) 186 high = mid; 188 low = mid;
|
/external/eigen/unsupported/Eigen/src/BVH/ |
KdBVH.h | 192 int mid = from + 2; local 193 std::nth_element(objCenters.begin() + from, objCenters.begin() + mid, 195 build(objCenters, from, mid, objBoxes, (dim + 1) % Dim); 197 boxes.push_back(boxes[idx1].merged(objBoxes[objCenters[mid].second])); 199 children.push_back(mid + (int)objects.size() - 1); 202 int mid = from + (to - from) / 2; local 203 nth_element(objCenters.begin() + from, objCenters.begin() + mid, 205 build(objCenters, from, mid, objBoxes, (dim + 1) % Dim); 207 build(objCenters, mid, to, objBoxes, (dim + 1) % Dim);
|
/external/skia/include/core/ |
SkTSearch.h | 52 int mid = (hi + lo) >> 1; local 53 const T* elem = (const T*)((const char*)base + mid * elemSize); 56 lo = mid + 1; 58 hi = mid;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/ |
asan_testing.h | 17 ( const void *beg, const void *mid, const void *end );
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
SortingCursorWrapper.java | 181 int mid = (left + right) >>> 1; local 184 final String rhs = value[mid]; 188 right = mid; 190 left = mid + 1; 227 int mid = (left + right) >>> 1; local 230 final long rhs = value[mid]; 233 right = mid; 235 left = mid + 1;
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
FieldArray.java | 242 int mid = (lo + hi) >>> 1; local 243 int midVal = mFieldNumbers[mid]; 246 lo = mid + 1; 248 hi = mid - 1; 250 return mid; // value found
|
/frameworks/base/core/java/android/animation/ |
PathKeyframes.java | 81 int mid = (low + high) / 2; local 82 float midFraction = mKeyframeData[(mid * NUM_COMPONENTS) + FRACTION_OFFSET]; 85 high = mid - 1; 87 low = mid + 1; 89 return pointForIndex(mid);
|
/external/chromium_org/third_party/skia/src/core/ |
SkStrokerPriv.cpp | 168 SkVector mid; local 196 mid.set(SkScalarMul(before.fX + after.fX, radius), 216 // choose the most accurate way to form the initial mid-vector 219 mid.set(after.fY - before.fY, before.fX - after.fX); 221 mid.negate(); 224 mid.set(before.fX + after.fX, before.fY + after.fY); 226 mid.setLength(SkScalarDiv(radius, sinHalfAngle)); 229 outer->setLastPt(pivot.fX + mid.fX, pivot.fY + mid.fY); 231 outer->lineTo(pivot.fX + mid.fX, pivot.fY + mid.fY) [all...] |
/external/skia/src/core/ |
SkStrokerPriv.cpp | 168 SkVector mid; local 196 mid.set(SkScalarMul(before.fX + after.fX, radius), 216 // choose the most accurate way to form the initial mid-vector 219 mid.set(after.fY - before.fY, before.fX - after.fX); 221 mid.negate(); 224 mid.set(before.fX + after.fX, before.fY + after.fY); 226 mid.setLength(SkScalarDiv(radius, sinHalfAngle)); 229 outer->setLastPt(pivot.fX + mid.fX, pivot.fY + mid.fY); 231 outer->lineTo(pivot.fX + mid.fX, pivot.fY + mid.fY) [all...] |
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
IncompleteLUT.h | 33 Index mid; 43 mid = first; 44 RealScalar abskey = abs(row(mid)); 47 ++mid; 48 swap(row(mid), row(j)); 49 swap(ind(mid), ind(j)); 53 swap(row(mid), row(first)); 54 swap(ind(mid), ind(first)); 56 if (mid > ncut) last = mid - 1 [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartGridView.java | 102 final long mid = (start + end) / 2; local 104 mLabelMid = makeLabel(formatDateRange(context, mid, mid)); 152 final Layout mid = mLabelMid; local 153 if (mid != null) { 155 canvas.translate((width - mid.getWidth()) / 2, height + padding); 156 mid.draw(canvas);
|
/external/chromium_org/webkit/data/test_shell/sort/ |
sort-heap.js | 5 var mid = Math.floor(sort.size/2 - 1); 6 sort.add_work(function() { build_heap(sort, mid); }, "build_heap");
|
/external/compiler-rt/include/sanitizer/ |
common_interface_defs.h | 78 // [beg, end); the memory [beg, mid) is used to store the current elements 79 // and the memory [mid, end) is reserved for future elements; 80 // beg <= mid <= end. For example, in "std::vector<> v" 83 // mid = beg + v.size() * sizeof(v[0]); 86 // container so that the tool can report errors when memory from [mid, end) 88 // Supply the old and the new values of mid (old_mid/new_mid). 89 // In the initial state mid == end and so should be the final 110 // - [beg, mid) is addressable, 111 // - [mid, end) is unaddressable. 113 // such complexity by touching only parts of the container around beg/mid/end [all...] |
/external/e2fsprogs/lib/blkid/ |
getsize.c | 182 const blkid_loff_t mid = (low + high) / 2; local 184 if (valid_offset(fd, mid)) 185 low = mid; 187 high = mid;
|
/external/qemu/distrib/sdl-1.2.15/src/main/qtopia/ |
SDL_qtopia_main.cc | 22 if(slash != -1) { appname = appname.mid(slash+1); }
|
/packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/tool/ |
Util.java | 87 Node mid; local 90 mid = a[(low + high) / 2]; 95 && (compareStringMultiNodeFirst(a[lo].getName(), mid 100 && (compareStringMultiNodeFirst(a[hi].getName(), mid
|
/external/e2fsprogs/e2fsck/ |
dirinfo.c | 186 int low, high, mid; local 245 mid = (low+high)/2; 246 if (mid == low || mid == high) 248 if (ino == ctx->dir_info->array[mid].ino) { 251 ctx->dir_info->array[mid].dotdot, 252 ctx->dir_info->array[mid].parent); 254 return &ctx->dir_info->array[mid]; 256 if (ino < ctx->dir_info->array[mid].ino) 257 high = mid; [all...] |
ea_refcount.c | 157 int low, high, mid; local 183 mid = (low+high)/2; 184 if (blk == refcount->list[mid].ea_blk) { 185 refcount->cursor = mid+1; 186 return &refcount->list[mid]; 188 if (blk < refcount->list[mid].ea_blk) 189 high = mid-1; 191 low = mid+1;
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/ |
t1afm.c | 323 AFM_KernPair min, mid, max; local 336 mid = min + ( max - min ) / 2; 337 midi = KERN_INDEX( mid->index1, mid->index2 ); 341 kerning->x = mid->x; 342 kerning->y = mid->y; 348 min = mid + 1; 350 max = mid - 1;
|
/external/chromium_org/third_party/cld/encodings/compact_lang_det/ |
ext_lang_enc.cc | 521 int mid = (lo + hi) >> 1; local 522 if (strcmp(temp, kNameScriptPair[mid].name) < 0) { 523 hi = mid; 524 } else if (strcmp(temp, kNameScriptPair[mid].name) > 0) { 525 lo = mid + 1; 527 return kNameScriptPair[mid].lscript;
|