/external/compiler-rt/test/asan/TestCases/ |
H A D | contiguous_container.cc | 14 char *mid = beg + capacity; local 20 old_mid = mid; 21 mid = beg + size; 22 __sanitizer_annotate_contiguous_container(beg, end, old_mid, mid); 28 assert(__sanitizer_verify_contiguous_container(beg, mid, end)); 30 __sanitizer_contiguous_container_find_bad_address(beg, mid, end)); 31 if (mid != beg) { 32 assert(!__sanitizer_verify_contiguous_container(beg, mid - 1, end)); 33 assert(mid - 1 == __sanitizer_contiguous_container_find_bad_address( 34 beg, mid [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
H A D | BezierLineAndPointRenderer.java | 36 PointF mid = new PointF();
37 mid.set((lastPoint.x + thisPoint.x) / 2, (lastPoint.y + thisPoint.y) / 2);
38 path.quadTo((lastPoint.x + mid.x) / 2, lastPoint.y, mid.x, mid.y);
39 //path.quadTo((mid.x + thisPoint.x) / 2, thisPoint.y, thisPoint.x, thisPoint.y);
40 path.quadTo((mid.x + thisPoint.x) / 2, lastPoint.y, thisPoint.x, thisPoint.y);
|
/external/lzma/CPP/7zip/Archive/Common/ |
H A D | MultiStream.cpp | 17 unsigned left = 0, mid = _streamIndex, right = Streams.Size();
local 20 CSubStreamInfo &m = Streams[mid];
22 right = mid;
24 left = mid + 1;
27 _streamIndex = mid;
30 mid = (left + right) / 2;
32 _streamIndex = mid;
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
H A D | math_utils.py | 22 mid = len(values) / 2 24 return float(sorted_values[mid]) 25 return (sorted_values[mid - 1] + sorted_values[mid]) / 2.0
|
/external/lzma/CPP/7zip/Common/ |
H A D | UniqBlocks.cpp | 12 unsigned mid = (left + right) / 2;
local 13 int index = Sorted[mid];
17 right = mid;
19 left = mid + 1;
26 right = mid;
28 left = mid + 1;
|
H A D | FilePathAutoRename.cpp | 48 unsigned mid = (left + right) / 2;
local 49 if (MakeAutoName(name, extension, mid, path))
50 left = mid + 1;
52 right = mid;
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/ |
H A D | SorterTemplate.java | 93 int mid = lo + diff / 2; 94 mergeSort(lo, mid); 95 mergeSort(mid, hi); 96 merge(lo, mid, hi, mid - lo, hi - mid); 128 private void rotate(int lo, int mid, int hi) { argument 130 int hit = mid - 1; 134 lot = mid; hit = hi - 1; 148 int mid [all...] |
/external/e2fsprogs/e2fsck/ |
H A D | dx_dirinfo.c | 83 int low, high, mid; local 95 mid = (low+high)/2; 96 if (mid == low || mid == high) 98 if (ino == ctx->dx_dir_info[mid].ino) 99 return &ctx->dx_dir_info[mid]; 100 if (ino < ctx->dx_dir_info[mid].ino) 101 high = mid; 103 low = mid;
|
/external/skia/tests/ |
H A D | PathOpsDLineTest.cpp | 30 SkDPoint mid = line.ptAtT(.5); local 31 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); 32 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY));
|
H A D | GeometryTest.cpp | 118 SkVector mid = SkEvalQuadTangentAt(&pts[index * 3], .5f); local 121 REPORTER_ASSERT(reporter, mid.fX && mid.fY); 123 REPORTER_ASSERT(reporter, SkScalarNearlyZero(start.cross(mid))); 124 REPORTER_ASSERT(reporter, SkScalarNearlyZero(mid.cross(end))); 138 SkVector mid = conic.evalTangentAt(.5f); local 141 REPORTER_ASSERT(reporter, mid.fX && mid.fY); 143 REPORTER_ASSERT(reporter, SkScalarNearlyZero(start.cross(mid))); 144 REPORTER_ASSERT(reporter, SkScalarNearlyZero(mid 157 SkVector start, mid, end; local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_interface_internal.h | 54 int __sanitizer_verify_contiguous_container(const void *beg, const void *mid, 58 const void *beg, const void *mid, const void *end);
|
/external/skia/src/animator/ |
H A D | SkGetCondensedInfo.cpp | 26 int mid = (hi + lo) >> 1; local 27 if (strcmp(&strings[lengths[mid << 2]], target) < 0) 28 lo = mid + 1; 30 hi = mid; 42 int mid = (hi + lo) >> 1; local 43 if (gTypeIDs[mid] < match) 44 lo = mid + 1; 46 hi = mid;
|
/external/freetype/src/psnames/ |
H A D | pstables.h | 4096 int mid = ( min + max ) >> 1; local 4097 const unsigned char* q = p + mid * 2; 4110 min = mid + 1; 4112 max = mid;
|
H A D | 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 [all...] |
/external/libopus/celt/ |
H A D | rate.h | 67 int mid = (lo+hi+1)>>1; local 69 if ((int)cache[mid] >= bits) 70 hi = mid; 72 lo = mid;
|
/external/pdfium/third_party/freetype/src/psnames/ |
H A D | pstables.h | 4096 int mid = ( min + max ) >> 1; local 4097 const unsigned char* q = p + mid * 2; 4110 min = mid + 1; 4112 max = mid;
|
/external/lzma/CPP/7zip/UI/FileManager/ |
H A D | SysIconUtils.cpp | 122 unsigned mid = (left + right) / 2;
local 123 DWORD midAttrib = vect[mid].Attrib;
125 return mid;
127 right = mid;
129 left = mid + 1;
140 unsigned mid = (left + right) / 2;
local 141 int compare = MyStringCompareNoCase(ext, vect[mid].Ext);
143 return mid;
145 right = mid;
147 left = mid [all...] |
/external/skia/src/core/ |
H A D | 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/compiler-rt/include/sanitizer/ |
H A D | common_interface_defs.h | 69 // [beg, end); the memory [beg, mid) is used to store the current elements 70 // and the memory [mid, end) is reserved for future elements; 71 // beg <= mid <= end. For example, in "std::vector<> v" 74 // mid = beg + v.size() * sizeof(v[0]); 77 // container so that the tool can report errors when memory from [mid, end) 79 // Supply the old and the new values of mid (old_mid/new_mid). 80 // In the initial state mid == end and so should be the final 101 // - [beg, mid) is addressable, 102 // - [mid, end) is unaddressable. 104 // such complexity by touching only parts of the container around beg/mid/en [all...] |
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/sanitizer/ |
H A D | common_interface_defs.h | 69 // [beg, end); the memory [beg, mid) is used to store the current elements 70 // and the memory [mid, end) is reserved for future elements; 71 // beg <= mid <= end. For example, in "std::vector<> v" 74 // mid = beg + v.size() * sizeof(v[0]); 77 // container so that the tool can report errors when memory from [mid, end) 79 // Supply the old and the new values of mid (old_mid/new_mid). 80 // In the initial state mid == end and so should be the final 101 // - [beg, mid) is addressable, 102 // - [mid, end) is unaddressable. 104 // such complexity by touching only parts of the container around beg/mid/en [all...] |
/external/libopus/silk/ |
H A D | stereo_LR_to_MS.c | 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 */ 80 sum = silk_RSHIFT_ROUND( silk_ADD_LSHIFT( mid[ [all...] |
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ |
H A D | RTCICECandidate+JSON.m | 24 NSString *mid = dictionary[kRTCICECandidateMidKey]; 28 return [[RTCICECandidate alloc] initWithMid:mid index:mLineIndex sdp:sdp];
|
/external/e2fsprogs/resize/ |
H A D | 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] [all...] |
/external/lzma/CPP/Common/ |
H A D | MyVector.h | 240 unsigned mid = (left + right) / 2;
local 241 const T midVal = (*this)[mid];
243 return mid;
245 right = mid;
247 left = mid + 1;
256 unsigned mid = (left + right) / 2;
local 257 const T& midVal = (*this)[mid];
260 return mid;
262 right = mid;
264 left = mid 284 unsigned mid = (left + right) / 2; local 302 unsigned mid = (left + right) / 2; local 548 unsigned mid = (left + right) / 2; local 566 unsigned mid = (left + right) / 2; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
H A D | scanresults.cpp | 88 bssid = (*it).mid(pos); 90 freq = (*it).mid(pos); 92 signal = (*it).mid(pos); 94 flags = (*it).mid(pos); 96 ssid = (*it).mid(pos);
|