OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SetShift
(Results
1 - 3
of
3
) sorted by null
/external/skia/src/core/
SkFloat.h
27
// void
setShift
(int value, int shift) { fPacked =
SetShift
(value, shift); }
28
void setInt(int value) { fPacked =
SetShift
(value, 0); }
29
void setFixed(SkFixed value) { fPacked =
SetShift
(value, -16); }
30
void setFract(SkFract value) { fPacked =
SetShift
(value, -30); }
101
static int32_t
SetShift
(int value, int shift);
SkFloat.cpp
67
int32_t SkFloat::
SetShift
(int value, int shift)
163
return SkFloat::
SetShift
(value_a + value_b, exp - EXP_BIAS);
188
return SkFloat::
SetShift
(mul24(value_a, value_b), exp_a + exp_b - 2*EXP_BIAS + 24);
193
return Mul(packed,
SetShift
(n, 0));
209
return SkFloat::
SetShift
(SkDivBits(value_n, value_d, 24), exp_n - exp_d - 24);
214
return Div(packed,
SetShift
(n, 0));
219
return Div(packed,
SetShift
(1, 0));
236
return SkFloat::
SetShift
(root, nexp - 11);
SkFP.h
57
#define SkScalarToFP(n) SkFloat::
SetShift
(n, -16)
59
#define SkIntToFP(n) SkFloat::
SetShift
(n, 0)
Completed in 171 milliseconds