/frameworks/base/core/java/android/util/ |
SparseIntArray.java | 217 int high = start + len, low = start - 1, guess; local 219 while (high - low > 1) { 220 guess = (high + low) / 2; 225 high = guess; 228 if (high == start + len) 230 else if (a[high] == key) 231 return high; 233 return ~high;
|
MathUtils.java | 38 public static int constrain(int amount, int low, int high) { 39 return amount < low ? low : (amount > high ? high : amount); 42 public static float constrain(float amount, float low, float high) { 43 return amount < low ? low : (amount > high ? high : amount);
|
LongSparseArray.java | 330 int high = start + len, low = start - 1, guess; local 332 while (high - low > 1) { 333 guess = (high + low) / 2; 338 high = guess; 341 if (high == start + len) 343 else if (a[high] == key) 344 return high; 346 return ~high;
|
SparseArray.java | 306 int high = start + len, low = start - 1, guess; local 308 while (high - low > 1) { 309 guess = (high + low) / 2; 314 high = guess; 317 if (high == start + len) 319 else if (a[high] == key) 320 return high; 322 return ~high;
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
njd.h | 60 #define CALCULATE_HINDO(freq, base, high, div) \ 61 ((NJ_HINDO)((((freq) * ((high) - (base))) / (div)) + (base)))
|
/hardware/broadcom/wlan/bcm4329/src/include/proto/ |
wpa.h | 64 uint8 high; member in struct:__anon9581::__anon9582 76 uint8 high; member in struct:__anon9583::__anon9584 96 uint8 high; member in struct:__anon9586::__anon9587 105 uint8 high; member in struct:__anon9588::__anon9589
|
/external/qemu/elff/ |
dwarf_die.cc | 132 * where that routine is inlined), or a pair "low PC, and high PC" describing
138 AddrType high;
local 140 while (elf_file()->get_range(range_off, &low, &high) &&
141 (low != 0 || high != 0)) {
142 if (address >= low && address < high) {
212 Elf_Xword low, high;
local 213 while (elf_file()->get_range<Elf_Xword>(off, &low, &high) &&
214 (low != 0 || high != 0)) {
216 low, high);
220 Elf_Word low, high;
local [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
LevelListDrawable.java | 66 public void addLevel(int low, int high, Drawable drawable) { 68 mLevelListState.addLevel(low, high, drawable); 113 int high = a.getInt( local 120 if (high < 0) { 140 mLevelListState.addLevel(low, high, dr); 172 public void addLevel(int low, int high, Drawable drawable) { 175 mHighs[pos] = high;
|
/frameworks/base/opengl/libs/ETC1/ |
etc1.cpp | 201 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3]; local 204 if (high & 2) { 206 int rBase = high >> 27; 207 int gBase = high >> 19; 208 int bBase = high >> 11; 210 r2 = convertDiff(rBase, high >> 24); 212 g2 = convertDiff(gBase, high >> 16); 214 b2 = convertDiff(bBase, high >> 8); 217 r1 = convert4To8(high >> 28); 218 r2 = convert4To8(high >> 24) 234 etc1_uint32 high; member in struct:__anon9480 [all...] |
/libcore/luni/src/main/java/org/apache/xml/serializer/ |
WriterToUTF8Buffered.java | 123 * the 16 low-order bits of the given integer value; the 16 high-order bits 214 // Adjust the end of the chunk if it ends on a high char 231 * and it is the high char of a high/low pair with 234 * The char array incorrectly ends in a high char 235 * of a high/low surrogate pair, but there is 236 * no corresponding low as the high is the last char 281 * Unicode: [1101 10ww] [wwzz zzyy] (high surrogate) 287 char high, low; local 288 high = c 415 char high, low; local [all...] |
/external/e2fsprogs/lib/uuid/ |
uuid_time.c | 49 uint32_t high; local 55 high = uuid.time_mid | ((uuid.time_hi_and_version & 0xFFF) << 16); 56 clock_reg = uuid.time_low | ((unsigned long long) high << 32);
|
/external/openssl/crypto/bn/ |
bn_lcl.h | 268 # define BN_UMULT_LOHI(low,high,a,b) \ 270 : "=a"(low),"=d"(high) \ 281 # define BN_UMULT_LOHI(low,high,a,b) ((low)=_umul128((a),(b),&(high))) 328 BN_ULONG high,low,ret,tmp=(a); \ 330 BN_UMULT_LOHI(low,high,w,tmp); \ 333 (c) += high; \ 340 BN_ULONG high,low,ret,ta=(a); \ 341 BN_UMULT_LOHI(low,high,w,ta); \ 343 (c) = high; \ [all...] |
/dalvik/vm/compiler/template/armv5te/ |
TEMPLATE_CMP_LONG.S | 6 * be resolved by only looking at the high word. This could be made 18 * 2 or 3 cycles + branch if the high word doesn't match, 6 + branch 23 blt .L${opcode}_less @ signed compare on high part
|
/dalvik/vm/mterp/armv5te/ |
OP_CONST.S | 5 FETCH(r1, 2) @ r1<- BBBB (high)
|
OP_CONST_WIDE_32.S | 5 FETCH_S(r2, 2) @ r2<- ssssBBBB (high)
|
/dalvik/vm/mterp/x86-atom/ |
OP_CONST.S | 32 shl $$16, %edx # move BBBB to high bits
|
/external/e2fsprogs/lib/ext2fs/ |
badblocks.c | 164 int low, high, mid; local 173 high = bb->num-1; 176 if (blk == bb->list[high]) 177 return high; 179 while (low < high) { 180 mid = (low+high)/2; 181 if (mid == low || mid == high) 186 high = mid;
|
getsize.c | 151 ext2_loff_t high, low; 272 for (high = 1024; valid_offset (fd, high); high *= 2) 273 low = high; 274 while (low < high - 1) 276 const ext2_loff_t mid = (low + high) / 2; 281 high = mid;
|
/external/e2fsprogs/resize/ |
extent.c | 144 int low, high, mid; local 154 high = extent->num-1; 155 while (low <= high) { 157 mid = (low+high)/2; 159 if (low == high) 164 highval = extent->list[high].old_loc; 173 mid = low + ((int) (range * (high-low))); 181 high = mid-1;
|
/external/grub/netboot/ |
timer.c | 23 #define rdtsc(low,high) \ 24 __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high)) 49 /* Set the Gate high, disable speaker */ 55 * Set the Gate high, program CTC channel 2 for mode 0,
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
LongSparseArray.java | 310 int high = start + len, low = start - 1, guess; local 312 while (high - low > 1) { 313 guess = (high + low) / 2; 318 high = guess; 321 if (high == start + len) 323 else if (a[high] == key) 324 return high; 326 return ~high;
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationTest.java | 41 HIGH (191, 250), 45 private int high; field in class:ConfigurationTest.Density 47 Density(int low, int high) { 49 this.high = high; 55 if (value >= d.low && value <= d.high) { 180 * WVGA | high (191-250) | normal 181 * FWVGA | high (191-250) | normal 182 * WSVGA | high (191-250) | large 199 // WVGA | high (191-250) | norma [all...] |
/external/icu4c/extra/scrptrun/ |
scrptrun.cpp | 125 UChar high = charArray[scriptEnd]; local 126 UChar32 ch = high; 128 // if the character is a high surrogate and it's not the last one 130 if (high >= 0xD800 && high <= 0xDBFF && scriptEnd < charLimit - 1) 137 ch = (high - 0xD800) * 0x0400 + low - 0xDC00 + 0x10000; 191 // end it before the high surrogate
|
/external/icu4c/layout/ |
LEFontInstance.cpp | 60 LEUnicode16 high = chars[i]; local 61 LEUnicode32 code = high; 63 if (i < offset + count - 1 && high >= 0xD800 && high <= 0xDBFF) { 67 code = (high - 0xD800) * 0x400 + low - 0xDC00 + 0x10000;
|
/external/libvpx/vp8/encoder/ppc/ |
encodemb_altivec.asm | 46 vmrghb v3, v0, v1 ;# unpack high src to short 47 vmrghb v4, v0, v2 ;# unpack high pred to short 60 vmrghb v3, v0, v1 ;# unpack high src to short 61 vmrglb v4, v0, v2 ;# unpack high pred to short 83 vmrghb v3, v0, v1 ;# unpack high src to short 84 vmrghb v4, v0, v2 ;# unpack high pred to short 97 vmrghb v3, v0, v1 ;# unpack high src to short 98 vmrglb v4, v0, v2 ;# unpack high pred to short 133 vmrghb v3, v0, v1 ;# unpack high src to short 134 vmrghb v4, v0, v2 ;# unpack high pred to shor [all...] |