/external/mesa3d/src/mesa/swrast/ |
H A D | s_drawpix.c | 344 /* Special case: shift 32-bit values down to Visual.depthBits */ 345 const GLint shift = 32 - ctx->DrawBuffer->Visual.depthBits; local 351 if (shift == 0) { 357 span.array->z[col] = zSrc[col] >> shift; 543 * stencil offset/shift, GL_DEPTH_WRITEMASK and GL_STENCIL_WRITEMASK, 626 /* get stencil values, with shift/offset/mapping */
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
H A D | ftcalc.c | 103 FT_Int shift = 0; local 105 /* determine msb bit index in `shift' */ 109 shift += 16; 114 shift += 8; 119 shift += 4; 124 shift += 2; 129 shift += 1; 132 return shift; 461 * However, on a platform where right-shift of a signed quantity fills 480 * It makes the assumption that right-shift o [all...] |
H A D | fxft_ftbitmap.c | 155 FT_Int shift = bit_last & 7; local 156 FT_UInt mask = 0xFF00U >> shift; 165 if ( shift > 0 )
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_bmp.c | 287 int shift = (8-ExpandBMP); local 297 *(bits+i) = (pixel>>shift);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
H A D | SDL_gsyuv.c | 67 int shift; local 69 for ( shift = 0; (1<<shift) < value; ++shift ) { 72 return(shift);
|
/external/qemu/include/exec/ |
H A D | softmmu_template.h | 191 unsigned shift; local 202 shift = (addr & (DATA_SIZE - 1)) * 8; 205 res = (res1 >> shift) | (res2 << ((DATA_SIZE * 8) - shift)); 273 unsigned shift; local 284 shift = (addr & (DATA_SIZE - 1)) * 8; 287 res = (res1 << shift) | (res2 >> ((DATA_SIZE * 8) - shift));
|
/external/qemu/include/qemu/ |
H A D | bitops.h | 189 * @shift: bits to roll 191 static inline uint8_t rol8(uint8_t word, unsigned int shift) argument 193 return (word << shift) | (word >> (8 - shift)); 199 * @shift: bits to roll 201 static inline uint8_t ror8(uint8_t word, unsigned int shift) argument 203 return (word >> shift) | (word << (8 - shift)); 209 * @shift: bits to roll 211 static inline uint16_t rol16(uint16_t word, unsigned int shift) argument 221 ror16(uint16_t word, unsigned int shift) argument 231 rol32(uint32_t word, unsigned int shift) argument 241 ror32(uint32_t word, unsigned int shift) argument 251 rol64(uint64_t word, unsigned int shift) argument 261 ror64(uint64_t word, unsigned int shift) argument [all...] |
/external/skia/bench/ |
H A D | RectBench.cpp | 29 RectBench(int shift, int stroke = 0) argument 30 : fShift(shift) 117 OvalBench(int shift, int stroke = 0) : RectBench(shift, stroke) {} argument 127 RRectBench(int shift, int stroke = 0) : RectBench(shift, stroke) {} argument
|
/external/skia/src/core/ |
H A D | SkEdge.cpp | 16 the points into FDot6. This is modulated by the shift parameter, which 20 or pt * 256 for antialiasing. This is implemented as 1 << (shift + 6). 23 or pt >> 8 for antialiasing. This is implemented as pt >> (10 - shift). 28 // away data in value, so just perform a modify up-shift 35 int shift) { 39 float scale = float(1 << (shift + 6)); 135 /* We store 1<<shift in a (signed) byte, so its maximum value is 1<<6 == 64. 159 // shift down dist (it is currently in dot6) 165 // each subdivision (shift value) cuts this dist (error) by 1/4 169 int SkQuadraticEdge::setQuadratic(const SkPoint pts[3], int shift) argument 34 setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip, int shift) argument 266 int shift = fCurveShift; local 319 setCubic(const SkPoint pts[4], const SkIRect* clip, int shift) argument [all...] |
H A D | SkFloat.cpp | 32 int SkFloat::GetShift(int32_t packed, int shift) argument 37 int exp = get_unsigned_exp(packed) - EXP_BIAS - shift; 60 int32_t SkFloat::SetShift(int value, int shift) argument 74 shift += bias; 81 shift -= zeros; 86 shift += EXP_BIAS; 87 if (shift < 0) // underflow 91 if (shift > 255) // overflow 93 shift = 255; 97 packed |= shift << 2 [all...] |
/external/skia/src/opts/ |
H A D | SkColor_opts_SSE2.h | 85 const __m128i& b, int shift) { 87 prod = _mm_add_epi16(prod, _mm_set1_epi16(1 << (shift - 1))); 88 prod = _mm_add_epi16(prod, _mm_srli_epi16(prod, shift)); 89 prod = _mm_srli_epi16(prod, shift); 84 SkMul16ShiftRound_SSE2(const __m128i& a, const __m128i& b, int shift) argument
|
/external/skia/tests/ |
H A D | RegionTest.cpp | 198 int shift = 32 - bits; local 199 rect->set(rand.nextU() >> shift, rand.nextU() >> shift, 200 rand.nextU() >> shift, rand.nextU() >> shift);
|
/external/tremolo/Tremolo/ |
H A D | floor0.c | 201 ogg_int32_t qexp=0,shift; local 237 if(!(shift=MLOOP_1[(pi|qi)>>25])) 238 if(!(shift=MLOOP_2[(pi|qi)>>19])) 239 shift=MLOOP_3[(pi|qi)>>16]; 241 qi=(qi>>shift)*labs(ilsp[j-1]-wi); 242 pi=(pi>>shift)*labs(ilsp[j]-wi); 243 qexp+=shift; 245 if(!(shift=MLOOP_1[(pi|qi)>>25])) 246 if(!(shift=MLOOP_2[(pi|qi)>>19])) 247 shift 262 pi>>=shift; local 263 qi>>=shift; local 279 pi>>=shift; local 280 qi>>=shift; local [all...] |
/external/valgrind/main/VEX/useful/ |
H A D | fp_80_64.c | 106 Int bexp, i, j, shift; local 143 shift = 0; 147 shift++; 152 for (i = 51 - shift; i >= 0; i--) { 159 bexp -= shift;
|
/external/valgrind/main/coregrind/m_debuginfo/ |
H A D | d3basics.c | 348 Int shift = 0; local 358 result |= ((ULong)(byte & 0x7f)) << shift; 360 shift += 7; 368 if (sign && (shift < 64) && (byte & 0x40)) 369 result |= -(1ULL << shift);
|
/external/webp/src/utils/ |
H A D | bit_writer.c | 116 if (bw->range_ < 127) { // emit 'shift' bits out and renormalize 117 const int shift = kNorm[bw->range_]; local 119 bw->value_ <<= shift; 120 bw->nb_bits_ += shift; 264 const int shift = VP8L_WRITER_MAX_BITS - used; local 267 n_bits -= shift; 268 bits >>= shift; local
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
H A D | DOMExtension.js | 166 var shift = {x: 0, y: 0}; 168 shift = relativeTo.boxInWindow(this.ownerDocument.defaultView); 171 this.style.setProperty("left", (shift.x + x) + "px"); 176 this.style.setProperty("top", (shift.y + y) + "px");
|
/external/aac/libAACenc/src/ |
H A D | aacenc.cpp | 129 INT transportBits, prevBitRate, averageBitsPerFrame, shift = 0, iter=0; local 131 while ( (frameLength & ~((1<<(shift+1))-1)) == frameLength 132 && (coreSamplingRate & ~((1<<(shift+1))-1)) == coreSamplingRate ) 134 shift ++; 139 averageBitsPerFrame = (bitRate*(frameLength>>shift)) / (coreSamplingRate>>shift) / nSubFrames; 155 bitRate = FDKmin(bitRate, ((nChannelsEff * MIN_BUFSIZE_PER_EFF_CHAN)*(coreSamplingRate>>shift)) / (frameLength>>shift)) ;
|
/external/aac/libFDK/src/arm/ |
H A D | qmf_arm.cpp | 97 int shift = (anaQmf->no_channels>>6) + 1; local 109 *rSubbandPtr0++ = (*timeIn2-- >> 1) - (*timeIn0++ >> shift); 110 *rSubbandPtr1-- = (*timeIn1++ >> 1) + (*timeIn3-- >> shift);
|
/external/aac/libSBRdec/src/ |
H A D | env_dec.cpp | 609 int refLen, newLen, shift; local 628 shift = (FRACT_BITS - 1 - ENV_EXP_FRACT - 1 + h_sbr_data->ampResolutionCurrentFrame - 3); 629 deltaExp = deltaExp >> shift; 717 /* In case of the high amplitude resolution, 1 bit of the exponent gets lost by the shift.
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | IntArray.java | 268 public void addOneShifted(int shift) argument 270 if (shift >= m_ints.length) 272 m_ints = resizedInts(shift + 1); 275 m_ints[shift] ^= 1; 281 int shift = bits & 0x1F; 283 if (shift == 0) 301 int shiftInv = 32 - shift, prev = 0; 305 m_ints[i + words] ^= (next << shift) | prev; 311 private static int addShiftedByBits(int[] x, int[] y, int count, int shift) argument 313 int shiftInv = 32 - shift, pre 323 addShiftedByBits(int[] x, int xOff, int[] y, int yOff, int count, int shift) argument [all...] |
/external/chromium_org/ash/wm/ |
H A D | app_list_controller.cc | 39 // The maximum shift in pixels when over-scroll happens. 509 const int shift = kMaxOverScrollShift * progress * dir; local 515 shifted.set_y(shifted.y() + shift); 517 shifted.set_x(shifted.x() + shift);
|
/external/chromium_org/base/i18n/ |
H A D | build_utf8_validator_tables.cc | 362 // the table: each state in the table starts with a shift value which indicates 378 // We want to set |shift| to the (0-based) index of the least-significant 382 uint8 shift = 7; local 386 while (shift > 0 && range_it->from % (1 << shift) != 0) { 387 --shift; 390 shifts.push_back(shift); 391 pos += 1 + (1 << (7 - shift)); 401 const uint8 shift = shifts[state_index]; local 408 table_printer.PrintValue(shift); [all...] |
/external/chromium_org/chrome/browser/ui/ |
H A D | metro_pin_tab_helper_win.cc | 92 color_utils::HSL shift = {-1, -1, kBoxFade}; local 93 paint.setColor(color_utils::HSLShift(dominant_color, shift));
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | keyboard_access_browsertest.cc | 145 bool shift, 181 bool shift, 212 browser(), ui::VKEY_F, false, shift, true, false)); local 217 browser(), menu_key, false, shift, false, false)); 220 if (shift) { 222 // focus when typing a menu key with modifier keys, such as shift keys or 180 TestMenuKeyboardAccess(bool alternate_key_sequence, bool shift, bool focus_omnibox) argument
|