/external/mesa3d/src/compiler/glsl/ |
ir_builder.cpp | 288 abs(operand a) function in namespace:ir_builder
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_disasm.c | 98 bool abs; member in struct:src_operand 391 if (src->abs) 402 if (src->abs) 548 .abs = instr->src0_abs, 558 .abs = instr->src1_abs, 568 .abs = instr->src2_abs,
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_emit_nvc0.cpp | 230 if (i->src(1).mod.abs()) code[0] |= 1 << 6; 231 if (i->src(0).mod.abs()) code[0] |= 1 << 7; 656 code[0] |= i->src(0).mod.abs() << 7; 659 if (i->src(1).mod.abs()) 677 !i->src(0).mod.abs() && 678 !i->src(1).mod.neg() && !i->src(1).mod.abs()); 705 assert(!i->src(0).mod.abs() && !i->src(1).mod.abs()); 969 if (i->src(0).mod.abs()) code[0] |= 1 << 6; 992 if (i->src(0).mod.abs()) code[0] |= 1 << 7 1071 const bool abs = (i->op == OP_ABS) || i->src(0).mod.abs(); local [all...] |
nv50_ir_emit_gk110.cpp | 162 if (i->src(s).mod.abs()) code[(0x##b) / 32] |= 1 << ((0x##b) % 32) 470 if (i->src(s).mod.abs()) code[1] &= ~(1 << 27); 615 assert(!i->src(0).mod.abs() && !i->src(1).mod.abs()); 697 assert(!i->src(0).mod.abs() && !i->src(1).mod.abs()); 1016 bool abs = i->src(0).mod.abs(); local 1027 case OP_ABS: abs = true; neg = false; break; 1051 if (abs) code[1] |= 1 << 20 [all...] |
/external/mesa3d/src/gallium/state_trackers/omx/ |
vid_dec_h265.c | 302 unsigned sign, abs; local 318 abs = vl_rbsp_ue(rbsp); 319 delta_rps = (1 - 2 * sign) * (abs + 1);
|
/external/python/cpython3/Lib/ |
operator.py | 13 __all__ = ['abs', 'add', 'and_', 'attrgetter', 'concat', 'contains', 'countOf', 22 from builtins import abs as _abs 71 def abs(a): function 72 "Same as abs(a)." 427 __abs__ = abs
|
/external/skia/src/core/ |
SkNx.h | 104 AI SkNx abs() const { return { fLo. abs(), fHi. abs() }; } function in struct:__anon34016::SkNx 207 AI SkNx abs() const { return Abs(fVal); } function in struct:__anon34016::SkNx 255 AI static int Abs(int val) { return val < 0 ? -val : val; } 257 AI static float Abs(float val) { return ::fabsf(val); } 261 AI static double Abs(double val) { return ::fabs(val); }
|
/external/skia/src/opts/ |
SkNx_sse.h | 63 AI SkNx abs() const { return _mm_andnot_ps(_mm_set1_ps(-0.0f), fVec); } function in class:__anon34169::SkNx 148 AI SkNx abs() const { return _mm_andnot_ps(_mm_set1_ps(-0.0f), fVec); } function in class:__anon34169::SkNx 242 AI SkNx abs() const { function in class:__anon34169::SkNx
|
/external/skqp/src/core/ |
SkNx.h | 104 AI SkNx abs() const { return { fLo. abs(), fHi. abs() }; } function in struct:__anon34683::SkNx 207 AI SkNx abs() const { return Abs(fVal); } function in struct:__anon34683::SkNx 255 AI static int Abs(int val) { return val < 0 ? -val : val; } 257 AI static float Abs(float val) { return ::fabsf(val); } 261 AI static double Abs(double val) { return ::fabs(val); }
|
/external/skqp/src/opts/ |
SkNx_sse.h | 56 AI SkNx abs() const { return _mm_andnot_ps(_mm_set1_ps(-0.0f), fVec); } function in class:__anon34837::SkNx 141 AI SkNx abs() const { return _mm_andnot_ps(_mm_set1_ps(-0.0f), fVec); } function in class:__anon34837::SkNx 235 AI SkNx abs() const { function in class:__anon34837::SkNx
|
/external/swiftshader/third_party/subzero/runtime/ |
wasm-runtime.cpp | 257 int env$$abs(int a) { 259 return trace(abs(a));
|
/external/tensorflow/tensorflow/contrib/labeled_tensor/ |
__init__.py | 52 abs = _core.abs_function # pylint: disable=redefined-builtin variable
|
/external/tensorflow/tensorflow/python/ops/ |
math_ops.py | 35 @@abs 242 @tf_export("abs") 243 def abs(x, name=None): # pylint: disable=redefined-builtin function 252 tf.abs(x) # [5.25594902, 6.60492229] 266 with ops.name_scope(name, "Abs", [x]) as name: 905 ops.Tensor._override_operator("__abs__", abs) [all...] |
/external/v8/src/compiler/ |
operation-typer.cc | 681 double labs = std::max(std::abs(lmin), std::abs(lmax)); 682 double rabs = std::max(std::abs(rmin), std::abs(rmax)) - 1; 683 double abs = std::min(labs, rabs); local 688 max = abs; 691 min = 0.0 - abs; 695 min = 0.0 - abs; 696 max = abs; [all...] |
/frameworks/base/core/java/android/util/ |
Half.java | 526 public static @HalfFloat short abs(@HalfFloat short h) { method in class:Half [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
X86Relocator.cpp | 862 Relocator::Result abs(Relocation& pReloc, X86_32Relocator& pParent) { function in namespace:mcld 1531 Relocator::Result abs(Relocation& pReloc, X86_64Relocator& pParent) { function in namespace:mcld [all...] |
/frameworks/native/libs/math/include/math/ |
TMatHelpers.h | 90 T t = std::abs(tmp[i][i]); 92 const T t2 = std::abs(tmp[j][i]); 475 friend inline CONSTEXPR BASE<T> PURE abs(BASE<T> m) { function in class:android::details::TMatHelpers 477 m[col] = abs(m[col]);
|
/libcore/ojluni/src/main/java/java/time/ |
Duration.java | 457 * To guarantee to obtain a positive duration call {@link #abs()} on the result. 1032 public Duration abs() { method in class:Duration [all...] |
/prebuilts/go/darwin-x86/src/time/ |
time_test.go | 206 // abs returns the absolute time stored in t, as seconds and nanoseconds. 207 func abs(t Time) (sec, nsec int64) { func 213 // absString returns abs as a decimal string. 215 sec, nsec := abs(t) 263 sec, nsec := abs(t0) [all...] |
/prebuilts/go/linux-x86/src/time/ |
time_test.go | 206 // abs returns the absolute time stored in t, as seconds and nanoseconds. 207 func abs(t Time) (sec, nsec int64) { func 213 // absString returns abs as a decimal string. 215 sec, nsec := abs(t) 263 sec, nsec := abs(t0) [all...] |
/external/deqp/modules/glshared/ |
glsVertexArrayTests.cpp | 380 inline T abs (T val); 383 inline GLValue::Fixed abs (GLValue::Fixed val) function in namespace:deqp::gls 389 inline GLValue::Ubyte abs (GLValue::Ubyte val) function in namespace:deqp::gls 395 inline GLValue::Byte abs (GLValue::Byte val) function in namespace:deqp::gls 401 inline GLValue::Ushort abs (GLValue::Ushort val) function in namespace:deqp::gls 407 inline GLValue::Short abs (GLValue::Short val) function in namespace:deqp::gls 413 inline GLValue::Float abs (GLValue::Float val) function in namespace:deqp::gls 419 inline GLValue::Uint abs (GLValue::Uint val) function in namespace:deqp::gls 425 inline GLValue::Int abs (GLValue::Int val) function in namespace:deqp::gls 431 inline GLValue::Half abs (GLValue::Half val function in namespace:deqp::gls 437 inline GLValue::Double abs (GLValue::Double val) function in namespace:deqp::gls [all...] |
/external/libcxx/test/std/depr/depr.c.headers/ |
math_h.pass.cpp | 32 Ambiguous abs(Ambiguous){ return Ambiguous(); } function 102 static_assert((std::is_same<decltype(abs((float)0)), float>::value), ""); 103 static_assert((std::is_same<decltype(abs((double)0)), double>::value), ""); 104 static_assert((std::is_same<decltype(abs((long double)0)), long double>::value), ""); 105 static_assert((std::is_same<decltype(abs(Ambiguous())), Ambiguous>::value), ""); 106 assert(abs(-1.) == 1); [all...] |
/external/libcxx/test/std/numerics/c.math/ |
cmath.pass.cpp | 34 Ambiguous abs(Ambiguous){ return Ambiguous(); } function 105 static_assert((std::is_same<decltype(std::abs((float)0)), float>::value), ""); 106 static_assert((std::is_same<decltype(std::abs((double)0)), double>::value), ""); 107 static_assert((std::is_same<decltype(std::abs((long double)0)), long double>::value), ""); 108 static_assert((std::is_same<decltype(abs(Ambiguous())), Ambiguous>::value), ""); 109 assert(std::abs(-1.) == 1); [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_asm.h | 33 unsigned abs; member in struct:r600_bytecode_alu_src 283 unsigned *sel, unsigned *neg, unsigned abs);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
APFloat.h | 1099 inline APFloat abs(APFloat X) { function in namespace:llvm [all...] |