Searched defs:shift (Results 26 - 50 of 522) sorted by relevance

1234567891011>>

/external/icu4c/layout/
H A DDeviceTables.cpp33 le_uint16 shift = 16 - (bits * (fieldIndex + 1)); local
34 le_uint16 field = (word >> shift) & fieldMasks[format];
/external/kernel-headers/original/linux/
H A Dbitops.h38 * @shift: bits to roll
40 static inline __u32 rol32(__u32 word, unsigned int shift) argument
42 return (word << shift) | (word >> (32 - shift));
49 * @shift: bits to roll
51 static inline __u32 ror32(__u32 word, unsigned int shift) argument
53 return (word >> shift) | (word << (32 - shift));
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_dboolhuff.c44 int shift = BD_VALUE_SIZE - 8 - (count + 8); local
47 const int x = shift + CHAR_BIT - bits_left;
55 while (shift >= loop_end) {
57 value |= (VP9_BD_VALUE)*buffer++ << shift;
58 shift -= CHAR_BIT;
/external/qemu/distrib/libpng-1.2.19/
H A Dpngwtran.c61 &(png_ptr->shift));
132 int shift, v; local
138 shift = 6;
145 v |= (value << shift);
146 if (shift == 0)
148 shift = 6;
154 shift -= 2;
157 if (shift != 6)
164 int shift, v; local
170 shift
[all...]
/external/skia/include/effects/
H A DSkKernel33MaskFilter.h40 SkKernel33MaskFilter(const int coeff[3][3], int shift, int percent256 = 256) argument
43 fShift = shift;
/external/skia/src/core/
H A DSkBitmap_scroll.cpp26 int shift; local
31 shift = 0;
35 shift = 1;
38 shift = 2;
101 src -= dx << shift;
104 dst += dx << shift;
114 width <<= shift; // now width is the number of bytes to move per line local
H A DSkFloatBits.cpp84 // apply the sign before we right-shift
114 // apply the sign before we right-shift
144 // apply the sign before we right-shift
160 int shift = EXP_BIAS; local
171 shift += bias;
176 shift -= zeros;
181 SkASSERT(shift >= 0 && shift <= 255);
184 data.fSignBitInt = (sign << 31) | (shift << 23) | (value & ~MATISSA_MAGIC_BIG);
193 int shift local
[all...]
/external/speex/libspeex/
H A Dlpc.c138 int shift, ac_shift; local
143 shift = 8;
144 while (shift && ac0<0x40000000)
146 shift--;
162 d = ADD32(d,SHR32(MULT16_16(x[j],x[j-i]), shift));
H A Dlpc_bfin.h49 int shift, ac_shift; local
58 shift = 8;
59 while (shift && ac0<0x40000000)
61 shift--;
72 nshift = -shift;
115 d = ADD32(d,SHR32(MULT16_16(x[j],x[j]), shift));
124 d = ADD32(d,SHR32(MULT16_16(x[j],x[j-i]), shift));
/external/srec/srec/cfront/
H A Dsh_down.h35 static PINLINE int fixed_point_convert(float xx, int shift);
36 static PINLINE int shift_up_inline(int value, unsigned int shift);
37 static PINLINE int shift_down_inline(int value, unsigned int shift);
42 static PINLINE int shift_up_inline(int value, unsigned int shift) argument
47 ASSERT(shift > 0);
53 retval = temp << shift;
64 static PINLINE int shift_down_inline(int value, unsigned int shift) argument
67 if (shift-- == 0)
70 return (((value >> shift) + 1) >> 1);
72 return (-((((-value) >> shift)
75 fixed_point_convert(float xx, int shift) argument
[all...]
H A Dlog_tabl.c61 logtab->shift = (int)(val + 0.5);
84 int log_lookup(log_table_info *logtab, int operand, int shift) argument
94 shift++;
98 shift++;
102 log_report("tab: %d %d -> %d\n", operand, shift,
103 (int)((shift) *(logtab->shift) + logtab->table[operand]));
105 return ((int)((shift) *(logtab->shift) + logtab->table[operand]));
122 int ii, aa, bb, cc, value, shift; local
[all...]
/external/stlport/test/unit/
H A Dtransform_test.cpp34 static char shift( char c ) { function in class:TransformTest
77 transform( s.begin(), s.end(), s.begin(), shift );
/external/chromium_org/third_party/libpng/
H A Dpngwtran.c66 &(png_ptr->shift));
138 int shift, v; local
144 shift = 6;
151 v |= (value << shift);
152 if (shift == 0)
154 shift = 6;
160 shift -= 2;
163 if (shift != 6)
170 int shift, v; local
176 shift
[all...]
/external/chromium_org/third_party/opus/src/celt/
H A Dkiss_fft.h85 int shift; member in struct:kiss_fft_state
/external/chromium_org/third_party/skia/src/core/
H A DSkFloatBits.cpp84 // apply the sign before we right-shift
114 // apply the sign before we right-shift
144 // apply the sign before we right-shift
160 int shift = EXP_BIAS; local
171 shift += bias;
176 shift -= zeros;
181 SkASSERT(shift >= 0 && shift <= 255);
184 data.fSignBitInt = (sign << 31) | (shift << 23) | (value & ~MATISSA_MAGIC_BIG);
193 int shift local
[all...]
/external/compiler-rt/lib/
H A Dadddf3.c104 // If partial cancellation occured, we need to left-shift the result
107 const int shift = rep_clz(aSignificand) - rep_clz(implicitBit << 3); local
108 aSignificand <<= shift; local
109 aExponent -= shift;
116 // If the addition carried up, we need to right-shift the result and
130 // need to shift the significand.
131 const int shift = 1 - aExponent; local
132 const bool sticky = aSignificand << (typeWidth - shift);
133 aSignificand = aSignificand >> shift | sticky;
H A Daddsf3.c103 // If partial cancellation occured, we need to left-shift the result
106 const int shift = rep_clz(aSignificand) - rep_clz(implicitBit << 3); local
107 aSignificand <<= shift; local
108 aExponent -= shift;
115 // If the addition carried up, we need to right-shift the result and
129 // need to shift the significand.
130 const int shift = 1 - aExponent; local
131 const bool sticky = aSignificand << (typeWidth - shift);
132 aSignificand = aSignificand >> shift | sticky;
/external/iproute2/include/linux/tc_act/
H A Dtc_pedit.h23 __u32 shift; member in struct:tc_pedit_key
/external/iproute2/tc/
H A Df_tcindex.c21 " [ shift SHIFT ]\n");
67 else if (!strcmp(*argv,"shift")) {
68 int shift; local
71 shift = strtoul(*argv,&end,0);
76 addattr_l(n,4096,TCA_TCINDEX_SHIFT,&shift,
77 sizeof(shift));
149 int shift; local
151 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift))
153 shift = *(int *) RTA_DATA(tb[TCA_TCINDEX_SHIFT]);
154 fprintf(f,"shift
[all...]
/external/libpng/
H A Dpngwtran.c66 &(png_ptr->shift));
138 int shift, v; local
144 shift = 6;
151 v |= (value << shift);
152 if (shift == 0)
154 shift = 6;
160 shift -= 2;
163 if (shift != 6)
170 int shift, v; local
176 shift
[all...]
/external/libvpx/libvpx/vp8/decoder/
H A Ddboolhuff.c42 int shift = VP8_BD_VALUE_SIZE - 8 - (count + 8); local
45 int x = (int)(shift + CHAR_BIT - bits_left);
63 while(shift >= loop_end)
66 value |= (VP8_BD_VALUE)*bufptr << shift;
69 shift -= CHAR_BIT;
/external/srec/srec/clib/
H A Dmatx_ops.c76 int ii, jj, shift; local
98 shift = 0;
101 shift++;
105 scale_coef = (1 << shift);
121 return (shift);
/external/chromium/chrome/browser/extensions/
H A Dextension_icon_manager.cc116 color_utils::HSL shift = {-1, 0, 0.6}; local
117 result = SkBitmapOperations::CreateHSLShiftedBitmap(result, shift);
/external/chromium_org/chrome/browser/extensions/
H A Dapp_icon_loader_impl.cc111 const color_utils::HSL shift = {-1, 0, 0.6}; local
112 image = gfx::ImageSkiaOperations::CreateHSLShiftedImage(image, shift);
H A Dextension_icon_manager.cc128 color_utils::HSL shift = {-1, 0, 0.6}; local
129 result = SkBitmapOperations::CreateHSLShiftedBitmap(result, shift);

Completed in 527 milliseconds

1234567891011>>