/external/chromium_org/net/quic/crypto/ |
common_cert_set.cc | 116 size_t mid = min + ((max - min) / 2); variable 117 int n = Compare(cert, kSets[j].certs[mid], kSets[j].lens[mid]); 119 if (mid == 0) { 122 max = mid - 1; 124 min = mid + 1; 127 *out_index = mid;
|
/external/chromium_org/third_party/skia/src/core/ |
SkTSearch.cpp | 32 int mid = (hi + lo) >> 1; local 33 const char* elem = index_into_base(base, mid, elemSize); 37 lo = mid + 1; 39 hi = mid; 41 return mid;
|
/external/skia/src/core/ |
SkTSearch.cpp | 32 int mid = (hi + lo) >> 1; local 33 const char* elem = index_into_base(base, mid, elemSize); 37 lo = mid + 1; 39 hi = mid; 41 return mid;
|
/libcore/luni/src/main/native/ |
java_io_ObjectStreamClass.cpp | 24 jmethodID mid = env->GetMethodID(c, "getSignature", "()Ljava/lang/String;"); local 25 if (!mid) { 29 return env->CallNonvirtualObjectMethod(object, objectClass, mid); 45 jmethodID mid = env->GetStaticMethodID(targetClass, "<clinit>", "()V"); local 47 return (mid != 0);
|
/art/runtime/ |
jni_internal.cc | 288 jmethodID mid = env->GetMethodID(exception_class, "<init>", signature); local 289 if (mid == nullptr) { 297 env, reinterpret_cast<jthrowable>(env->NewObjectA(exception_class, mid, args))); 620 static jobject ToReflectedMethod(JNIEnv* env, jclass, jmethodID mid, jboolean) { 621 CHECK_NON_NULL_ARGUMENT(mid); 623 mirror::ArtMethod* m = soa.DecodeMethod(mid); 745 jmethodID mid = env->GetMethodID(exception_class.get(), "printStackTrace", "()V"); local 746 if (mid == nullptr) { 750 env->CallVoidMethod(exception.get(), mid); 887 static jobject NewObject(JNIEnv* env, jclass java_class, jmethodID mid, ...) [all...] |
method_helper.cc | 72 const DexFile::MethodId& mid = dexfile->GetMethodId(method->GetDexMethodIndex()); local 73 const char* mid_declaring_class_descriptor = dexfile->StringByTypeIdx(mid.class_idx_); 80 const char* mid_name = dexfile->GetMethodName(mid); 86 dexfile->GetMethodSignature(mid).ToString(), &other_return_type_idx, 111 const DexFile::MethodId& mid = dexfile->GetMethodId(dex_method_idx); local 113 DCHECK_STREQ(dexfile->GetMethodName(mid), other_dexfile.GetMethodName(name_and_sig_mid)); 114 DCHECK_EQ(dexfile->GetMethodSignature(mid), other_dexfile.GetMethodSignature(name_and_sig_mid)); 118 const char* mid_declaring_class_descriptor = dexfile->StringByTypeIdx(mid.class_idx_);
|
method_helper-inl.h | 31 const DexFile::MethodId& mid = dex_file->GetMethodId(GetMethod()->GetDexMethodIndex()); local 35 return mid.name_idx_ == other_mid.name_idx_ && mid.proto_idx_ == other_mid.proto_idx_; 40 if (!DexFileStringEquals(dex_file, mid.name_idx_, other_dex_file, other_mid.name_idx_)) { 43 return dex_file->GetMethodSignature(mid) == other_dex_file->GetMethodSignature(other_mid);
|
/external/chromium_org/base/metrics/ |
sample_vector.cc | 97 size_t mid; local 100 mid = under + (over - under)/2; 101 if (mid == under) 103 if (bucket_ranges_->range(mid) <= value) 104 under = mid; 106 over = mid; 109 DCHECK_LE(bucket_ranges_->range(mid), value); 110 CHECK_GT(bucket_ranges_->range(mid + 1), value); 111 return mid;
|
/frameworks/base/libs/hwui/utils/ |
SortedListImpl.cpp | 55 ssize_t mid; local 59 mid = l + (h - l) / 2; 60 const void* const curr = reinterpret_cast<const char *> (a) + (mid * s); 63 err = l = mid; 66 l = mid + 1; 68 h = mid - 1;
|
/external/chromium_org/third_party/opus/src/silk/ |
stereo_LR_to_MS.c | 35 /* Convert Left/Right stereo signal to adaptive Mid/Side representation */ 38 opus_int16 x1[], /* I/O Left input signal, becomes mid signal */ 41 opus_int8 *mid_only_flag, /* O Flag: only mid signal coded */ 42 opus_int32 mid_side_rates_bps[], /* O Bitrates for mid and side signals */ 58 opus_int16 *mid = &x1[ -2 ]; local 62 /* Convert to basic mid/side signals */ 66 mid[ n ] = (opus_int16)silk_RSHIFT_ROUND( sum, 1 ); 71 silk_memcpy( mid, state->sMid, 2 * sizeof( opus_int16 ) ); 73 silk_memcpy( state->sMid, &mid[ frame_length ], 2 * sizeof( opus_int16 ) ); 76 /* LP and HP filter mid signal * [all...] |
/external/libopus/silk/ |
stereo_LR_to_MS.c | 35 /* Convert Left/Right stereo signal to adaptive Mid/Side representation */ 38 opus_int16 x1[], /* I/O Left input signal, becomes mid signal */ 41 opus_int8 *mid_only_flag, /* O Flag: only mid signal coded */ 42 opus_int32 mid_side_rates_bps[], /* O Bitrates for mid and side signals */ 58 opus_int16 *mid = &x1[ -2 ]; local 62 /* Convert to basic mid/side signals */ 66 mid[ n ] = (opus_int16)silk_RSHIFT_ROUND( sum, 1 ); 71 silk_memcpy( mid, state->sMid, 2 * sizeof( opus_int16 ) ); 73 silk_memcpy( state->sMid, &mid[ frame_length ], 2 * sizeof( opus_int16 ) ); 76 /* LP and HP filter mid signal * [all...] |
/external/srec/srec/cfront/ |
himul32.h | 127 asr_uint32_t hi, lo, mid; 153 mid = xhi * ylo + yhi * xlo; 157 // Now add the low part of mid to the high part of lo, and the 158 // high part of mid to the low part of hi: 160 // xxxxxxxx xxxxxxxx mid 165 // Note that folding mid into lo can cause a carry. An old trick 172 lo += mid << 16; 175 hi += carry + (mid >> 16);
|
/external/chromium_org/third_party/skia/tests/ |
PathOpsDLineTest.cpp | 50 SkDPoint mid = line.ptAtT(.5); local 51 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); 52 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY));
|
/external/chromium_org/tools/deep_memory_profiler/visualizer/static/ |
utility.js | 18 var mid = Math.floor((left + right) / 2); 19 if (this[mid] < target) 20 left = mid + 1; 21 else if (this[mid] > target) 22 right = mid - 1; 24 return mid;
|
/external/e2fsprogs/resize/ |
extent.c | 144 __s64 low, high, mid; local 157 mid = (low+high)/2; 160 mid = low; 178 mid = low + ((__u64) (range * (high-low))); 181 if ((old_loc >= extent->list[mid].old_loc) && 182 (old_loc < extent->list[mid].old_loc + extent->list[mid].size)) 183 return (extent->list[mid].new_loc + 184 (old_loc - extent->list[mid].old_loc)); 185 if (old_loc < extent->list[mid].old_loc [all...] |
/external/skia/tests/ |
PathOpsDLineTest.cpp | 50 SkDPoint mid = line.ptAtT(.5); local 51 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); 52 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY));
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
SDL_qsort.c | 199 if ((size_t)(last-first)>PIVOT_THRESHOLD*sz) mid=pivot_big(first,mid,last,sz,compare);\ 201 if (compare(first,mid)<0) { \ 202 if (compare(mid,last)>0) { \ 203 swapper(mid,last); \ 204 if (compare(first,mid)>0) swapper(first,mid);\ 208 if (compare(mid,last)>0) swapper(first,last)\ 210 swapper(first,mid); \ 211 if (compare(mid,last)>0) swapper(mid,last); 336 { char * mid=first+size*((last-first)\/size >> 1); local 367 { char * mid=first+size*((last-first)\/size >> 1); local 402 { char * mid=first+WORD_BYTES*((last-first) \/ (2*WORD_BYTES)); local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
scanresults.cpp | 87 bssid = (*it).mid(pos); 89 freq = (*it).mid(pos); 91 signal = (*it).mid(pos); 93 flags = (*it).mid(pos); 95 ssid = (*it).mid(pos);
|
/development/ndk/sources/android/ndk_helper/ |
JNIHelper.cpp | 118 jmethodID mid; local 192 jmethodID mid; local 217 jmethodID mid; local 231 mid = env->GetMethodID( jni_helper_java_class_, "loadTexture", "(Ljava/lang/String;)Z" ); 232 jboolean ret = env->CallBooleanMethod( jni_helper_java_ref_, mid, name ); 301 jmethodID mid; local 306 mid = env->GetMethodID( jni_helper_java_class_, "getNativeAudioBufferSize", "()I" ); 307 int32_t i = env->CallIntMethod( jni_helper_java_ref_, mid ); 323 jmethodID mid; local 328 mid = env->GetMethodID( jni_helper_java_class_, "getNativeAudioSampleRate", "()I" ) 366 jmethodID mid = env->GetMethodID( cls_Env, "getExternalFilesDir", local [all...] |
/external/chromium_org/third_party/freetype/src/psnames/ |
psmodule.c | 401 PS_UniMap *min, *max, *mid, *result = NULL; local 414 mid = min + ( ( max - min ) >> 1 ); 416 if ( mid->unicode == unicode ) 418 result = mid; 422 base_glyph = BASE_GLYPH( mid->unicode ); 425 result = mid; /* remember match but continue search for base glyph */ 431 min = mid + 1; 433 max = mid - 1; 454 FT_UInt mid; local 461 mid = min + ( ( max - min ) >> 1 ) [all...] |
/external/freetype/src/psnames/ |
psmodule.c | 401 PS_UniMap *min, *max, *mid, *result = NULL; local 414 mid = min + ( ( max - min ) >> 1 ); 416 if ( mid->unicode == unicode ) 418 result = mid; 422 base_glyph = BASE_GLYPH( mid->unicode ); 425 result = mid; /* remember match but continue search for base glyph */ 431 min = mid + 1; 433 max = mid - 1; 454 FT_UInt mid; local 461 mid = min + ( ( max - min ) >> 1 ) [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psnames/ |
fxft_psmodule.c | 460 PS_UniMap *min, *max, *mid, *result = NULL; local 473 mid = min + ( ( max - min ) >> 1 ); 475 if ( mid->unicode == unicode ) 477 result = mid; 481 base_glyph = BASE_GLYPH( mid->unicode ); 484 result = mid; /* remember match but continue search for base glyph */ 490 min = mid + 1; 492 max = mid - 1; 513 FT_UInt mid; local 520 mid = min + ( ( max - min ) >> 1 ) [all...] |
/libcore/luni/src/main/java/java/util/ |
Arrays.java | 194 int mid = (lo + hi) >>> 1; local 195 byte midVal = array[mid]; 198 lo = mid + 1; 200 hi = mid - 1; 202 return mid; // value found 244 int mid = (lo + hi) >>> 1; local 245 char midVal = array[mid]; 248 lo = mid + 1; 250 hi = mid - 1; 252 return mid; // value foun 294 int mid = (lo + hi) >>> 1; local 355 int mid = (lo + hi) >>> 1; local 416 int mid = (lo + hi) >>> 1; local 466 int mid = (lo + hi) >>> 1; local 522 int mid = (lo + hi) >>> 1; local 588 int mid = (lo + hi) >>> 1; local 638 int mid = (lo + hi) >>> 1; local [all...] |
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/ |
readsamplesjoint.inc | 99 * Check if we need to do mid/side 102 OI_INT32 mid = *(s - NROF_SUBBANDS); 104 *(s - NROF_SUBBANDS) = mid + side; 105 dequant = mid - side;
|
/frameworks/native/opengl/libagl/ |
Tokenizer.cpp | 108 ssize_t mid; local 111 mid = l + (h - l)/2; 112 const run_t* const curr = a + mid; 117 err = l = mid; 120 l = mid + 1; 122 h = mid - 1;
|