Searched defs:Abs (Results 1 - 25 of 39) sorted by relevance

12

/external/protobuf/src/google/protobuf/stubs/
H A Dmathutil.h108 // Note: 0.0 and -0.0 are not differentiated by Abs (Abs(0.0) is -0.0),
111 static T Abs(const T x) { function in class:google::protobuf::MathUtil
154 T relative_margin = static_cast<T>(fraction * Max(Abs(x), Abs(y)));
/external/v8/src/base/
H A Dsafe_math.h134 CheckedNumeric Abs() const { function in class:v8::base::internal::CheckedNumeric
/external/libchrome/base/numerics/
H A Dsafe_math.h46 // Abs() - Absolute value.
221 constexpr CheckedNumeric Abs() const { function in class:base::internal::CheckedNumeric
/external/libyuv/files/unit_test/
H A Dunit_test.h35 static __inline int Abs(int v) { function
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_program_pair.h67 unsigned int Abs:1; member in struct:rc_pair_instruction_arg
H A Dradeon_program.h51 unsigned int Abs:1; member in struct:rc_src_register
53 /** Post-Abs negation. */
/external/eigen/unsupported/Eigen/src/EulerAngles/
H A DEulerSystem.h23 struct Abs struct in namespace:Eigen::internal
29 struct Abs<Num, false> struct in namespace:Eigen::internal
37 enum { value = Axis != 0 && Abs<Axis>::value <= 3 };
137 AlphaAxisAbs = internal::Abs<AlphaAxis>::value, /*!< the first rotation axis unsigned */
138 BetaAxisAbs = internal::Abs<BetaAxis>::value, /*!< the second rotation axis unsigned */
139 GammaAxisAbs = internal::Abs<GammaAxis>::value, /*!< the third rotation axis unsigned */
/external/pdfium/third_party/base/numerics/
H A Dsafe_math.h47 // Abs() - Absolute value.
222 constexpr CheckedNumeric Abs() const { function in class:pdfium::base::internal::CheckedNumeric
/external/libvpx/libvpx/third_party/libyuv/source/
H A Dscale_argb.cc26 static __inline int Abs(int v) { function
705 src_width = Abs(src_width);
H A Dconvert.cc26 static __inline int Abs(int v) { function
39 const int dst_y_width = Abs(src_y_width);
40 const int dst_y_height = Abs(src_y_height);
H A Dconvert_from.cc28 static __inline int Abs(int v) { function
41 const int dst_y_width = Abs(src_y_width);
42 const int dst_y_height = Abs(src_y_height);
73 const int dst_uv_width = (Abs(width) + 1) >> 1;
74 const int dst_uv_height = Abs(height);
95 const int dst_uv_width = Abs(width);
96 const int dst_uv_height = Abs(height);
117 const int dst_uv_width = (Abs(width) + 3) >> 2;
118 const int dst_uv_height = Abs(height);
H A Dscale.cc26 static __inline int Abs(int v) { function
744 src_width = Abs(src_width);
813 src_width = Abs(src_width);
875 src_width = Abs(src_width);
971 src_width = Abs(src_width);
1064 src_width = Abs(src_width);
1195 src_width = Abs(src_width);
1325 src_width = Abs(src_width);
1357 src_width = Abs(src_width);
1412 if (dst_width <= Abs(src_widt
[all...]
H A Dscale_common.cc26 static __inline int Abs(int v) { function
1109 *dx = FixedDiv(Abs(src_width), dst_width);
1115 if (dst_width <= Abs(src_width)) {
1116 *dx = FixedDiv(Abs(src_width), dst_width);
1119 *dx = FixedDiv1(Abs(src_width), dst_width);
1131 if (dst_width <= Abs(src_width)) {
1132 *dx = FixedDiv(Abs(src_width), dst_width);
1135 *dx = FixedDiv1(Abs(src_width), dst_width);
1142 *dx = FixedDiv(Abs(src_width), dst_width);
/external/libyuv/files/source/
H A Dscale_argb.cc26 static __inline int Abs(int v) { function
833 src_width = Abs(src_width);
H A Dconvert.cc26 static __inline int Abs(int v) { function
47 const int dst_y_width = Abs(src_y_width);
48 const int dst_y_height = Abs(src_y_height);
H A Dconvert_from.cc28 static __inline int Abs(int v) { function
49 const int dst_y_width = Abs(src_y_width);
50 const int dst_y_height = Abs(src_y_height);
85 const int dst_uv_width = (Abs(width) + 1) >> 1;
86 const int dst_uv_height = Abs(height);
110 const int dst_uv_width = Abs(width);
111 const int dst_uv_height = Abs(height);
H A Dscale.cc26 static __inline int Abs(int v) { function
871 src_width = Abs(src_width);
960 src_width = Abs(src_width);
1026 src_width = Abs(src_width);
1133 src_width = Abs(src_width);
1229 src_width = Abs(src_width);
1364 src_width = Abs(src_width);
1498 src_width = Abs(src_width);
1534 src_width = Abs(src_width);
1590 if (dst_width <= Abs(src_widt
[all...]
H A Dscale_common.cc26 static __inline int Abs(int v) { function
1262 *dx = FixedDiv(Abs(src_width), dst_width);
1268 if (dst_width <= Abs(src_width)) {
1269 *dx = FixedDiv(Abs(src_width), dst_width);
1272 *dx = FixedDiv1(Abs(src_width), dst_width);
1284 if (dst_width <= Abs(src_width)) {
1285 *dx = FixedDiv(Abs(src_width), dst_width);
1288 *dx = FixedDiv1(Abs(src_width), dst_width);
1295 *dx = FixedDiv(Abs(src_width), dst_width);
/external/libyuv/files/util/
H A Dyuvconvert.cc40 static __inline uint32 Abs(int32 v) { function
152 dst_width = Abs(image_width);
153 dst_height = Abs(image_height);
224 int org_size = Abs(image_width) * Abs(image_height) * 4; // ARGB
227 const int y_size = Abs(image_width) * Abs(image_height);
229 ((Abs(image_width) + 1) / 2) * ((Abs(image_height) + 1) / 2);
290 int src_width = Abs(image_widt
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c117 struct match_info Abs; member in struct:src_tokens
154 tokens.Abs.String = src_str + matches[2].rm_so;
155 tokens.Abs.Length = match_length(matches, 2);
168 /* Abs */
169 if (tokens.Abs.Length > 0) {
170 src_reg->Abs = 1;
242 src_reg->Negate, src_reg->Abs);
/external/llvm/lib/MC/
H A DMCAssembler.cpp790 bool Abs = LF.getValue().evaluateKnownAbsolute(Value, Layout); local
791 if (!Abs)
808 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); local
809 assert(Abs && "We created a line delta with an invalid expression");
810 (void) Abs;
826 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); local
827 assert(Abs && "We created call frame with an invalid expression");
828 (void) Abs;
/external/opencv/cvaux/src/
H A Dcvscanlines.cpp1292 #define Abs(x) ( (x)<0 ? -(x):(x) ) macro
1359 d = (float) MAX( Abs( *kx ), Abs( *ky ));
/external/skia/src/core/
H A DSkNx.h207 AI SkNx abs() const { return Abs(fVal); }
255 AI static int Abs(int val) { return val < 0 ? -val : val; } function in struct:__anon20684::SkNx
257 AI static float Abs(float val) { return ::fabsf(val); } function in struct:__anon20684::SkNx
261 AI static double Abs(double val) { return ::fabs(val); } function in struct:__anon20684::SkNx
/external/skqp/src/core/
H A DSkNx.h207 AI SkNx abs() const { return Abs(fVal); }
255 AI static int Abs(int val) { return val < 0 ? -val : val; } function in struct:__anon21351::SkNx
257 AI static float Abs(float val) { return ::fabsf(val); } function in struct:__anon21351::SkNx
261 AI static double Abs(double val) { return ::fabs(val); } function in struct:__anon21351::SkNx
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DSimplifyLibCalls.cpp1462 FFSOpt FFS; AbsOpt Abs; IsDigitOpt IsDigit; IsAsciiOpt IsAscii; member in class:__anon23079::SimplifyLibCalls
1575 Optimizations["abs"] = &Abs;
1576 Optimizations["labs"] = &Abs;
1577 Optimizations["llabs"] = &Abs;

Completed in 688 milliseconds

12