Home
last modified time | relevance | path

Searched refs:Abs (Results 1 - 25 of 95) sorted by relevance

1234

/third_party/protobuf/src/google/protobuf/stubs/
H A Dmathutil.h109 // Note: 0.0 and -0.0 are not differentiated by Abs (Abs(0.0) is -0.0),
112 static T Abs(const T x) { in Abs() function in google::protobuf::MathUtil
154 T relative_margin = static_cast<T>(fraction * Max(Abs(x), Abs(y))); in WithinFractionOrMargin()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp118 uint32_t Abs = LayoutItemBase::tailPadding(); in tailPadding() local
122 if (Abs < ChildPadding) in tailPadding()
123 Abs = 0; in tailPadding()
125 Abs -= ChildPadding; in tailPadding()
127 return Abs; in tailPadding()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c118 struct match_info Abs; member
155 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src()
156 tokens.Abs.Length = match_length(matches, 2); in init_rc_normal_src()
169 /* Abs */ in init_rc_normal_src()
170 if (tokens.Abs.Length > 0) { in init_rc_normal_src()
171 src_reg->Abs = 1; in init_rc_normal_src()
243 src_reg->Negate, src_reg->Abs); in init_rc_normal_src()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_pair_translate.c246 pair->RGB.Arg[i].Abs = inst->SrcReg[i].Abs; in set_pair_instruction()
272 pair->Alpha.Arg[i].Abs = inst->SrcReg[i].Abs; in set_pair_instruction()
H A Dradeon_optimize.c56 if (outer.Abs) { in chain_srcregs()
57 combine.Abs = 1; in chain_srcregs()
60 combine.Abs = inner.Abs; in chain_srcregs()
169 inst->U.I.SrcReg[0].Abs || in copy_propagate()
389 if (imm < 0.0 && !newsrc.Abs) in constant_folding()
596 if (inst_add->U.I.SrcReg[0].Abs || inst_add->U.I.SrcReg[1].Abs) in peephole_add_presub_add()
672 || inst_add->U.I.SrcReg[1].Abs in peephole_add_presub_inv()
950 cur->U.I.SrcReg[0].Abs in merge_movs()
[all...]
H A Dradeon_program_print.c239 if (src.Abs) in rc_print_src_register()
247 if (src.Abs && !trivial_negate) in rc_print_src_register()
255 if (src.Abs && trivial_negate) in rc_print_src_register()
405 const char* abs = inst->RGB.Arg[arg].Abs ? "|" : ""; in rc_print_pair_instruction()
440 const char* abs = inst->Alpha.Arg[arg].Abs ? "|" : ""; in rc_print_pair_instruction()
H A Dradeon_program_pair.h67 unsigned int Abs:1; member
H A Dradeon_program.h51 unsigned int Abs:1; member
53 /** Post-Abs negation. */
H A Dr3xx_vertprog.c155 (src->RelAddr << 4) | (src->Abs << 3); in t_src()
173 (src->RelAddr << 4) | (src->Abs << 3); in t_src_scalar()
705 if (inst->U.I.SrcReg[i].Abs) { in transform_nonnative_modifiers()
709 inst->U.I.SrcReg[i].Abs = 0; in transform_nonnative_modifiers()
753 inst_mov->U.I.SrcReg[0].Abs = 0; in transform_source_conflicts()
771 inst_mov->U.I.SrcReg[0].Abs = 0; in transform_source_conflicts()
H A Dradeon_inline_literals.c143 if (ret == -1 && src_reg->Abs) { in rc_inline_literals()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DOptimalIntrinsics.cpp108 Float4 absx = Abs(x); in Asin_4_terms()
126 Float4 absx = Abs(x); in Asin_8_terms()
145 Float4 absx = Abs(x); in Atan()
166 Float4 y0 = Abs(y); in Atan2()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
H A DMCAssembler.cpp943 bool Abs = LF.getValue().evaluateKnownAbsolute(Value, Layout); in relaxLEB() local
944 if (!Abs) in relaxLEB()
1031 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfLineAddr() local
1032 assert(Abs && "We created a line delta with an invalid expression"); in relaxDwarfLineAddr()
1033 (void)Abs; in relaxDwarfLineAddr()
1072 bool Abs = DF.getAddrDelta().evaluateKnownAbsolute(AddrDelta, Layout); in relaxDwarfCallFrameFragment() local
1073 assert(Abs && "We created call frame with an invalid expression"); in relaxDwarfCallFrameFragment()
1074 (void) Abs; in relaxDwarfCallFrameFragment()
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlist/
H A Dtestlist.go131 root, err := filepath.Abs(root)
136 jsonPath, err = filepath.Abs(jsonPath)
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DPixelProgram.cpp1002 mod.x = Abs(x); in fetchRegister()
1003 mod.y = Abs(y); in fetchRegister()
1004 mod.z = Abs(z); in fetchRegister()
1005 mod.w = Abs(w); in fetchRegister()
1008 mod.x = -Abs(x); in fetchRegister()
1009 mod.y = -Abs(y); in fetchRegister()
1010 mod.z = -Abs(z); in fetchRegister()
1011 mod.w = -Abs(w); in fetchRegister()
1383 dst.x = Abs(src.x.yyww - src.x.xxzz) + Abs(sr in FWIDTH()
[all...]
/third_party/skia/tests/
H A DSkSLDSLErrorLineNumbers.cpp108 Abs(true).release(); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/run_testlist/
H A Dmain.go195 path, err := filepath.Abs(filepath.Join(dir, root.ICD.Path))
244 root, err := filepath.Abs(filepath.Join(thisDir, "../../../.."))
/third_party/skia/third_party/externals/tint/tools/src/cmd/check-spec-examples/
H A Dmain.go91 if compiler, err = filepath.Abs(compiler); err != nil {
128 specURL.Path, err = filepath.Abs(specURL.Path)
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DShaderCore.cpp236 abs = Abs(abs); in reciprocalSquareRoot()
255 Float4 sin = x * (Abs(x) * A + B); in sine_pi()
260 sin = sin * (Abs(sin) * D + C); in sine_pi()
304 Float4 sin = y * (Abs(y) * A + B); in sine()
309 sin = sin * (Abs(sin) * D + C); in sine()
348 Float4 absx = Abs(x); in arcsin()
379 Float4 absx = Abs(x); in arctan()
400 Float4 y0 = Abs(y); in arctan()
651 auto abs = Abs(val); in Modf()
H A DSpirvShaderArithmetic.cpp248 dst.move(i, SIMD::Float(Abs(Extract(src.Float(i), 1) - Extract(src.Float(i), 0)) + Abs(Extract(src.Float(i), 2) - Extract(src.Float(i), 0)))); in EmitUnaryOp()
282 dst.move(i, Abs(dpdx) + Abs(dpdy)); in EmitUnaryOp()
288 auto abs = Abs(src.Float(i)); in EmitUnaryOp()
/third_party/node/deps/v8/src/asmjs/
H A Dasm-names.h44 V(abs, Abs, x, abs) \
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DDurationPartial.cs210 AppendNanoseconds(builder, Math.Abs(nanoseconds)); in ToJson()
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/
H A Duri.go124 if abs, err := filepath.Abs(path); err == nil {
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
H A Duri.go124 if abs, err := filepath.Abs(path); err == nil {
/third_party/spirv-tools/utils/vscode/src/lsp/span/
H A Duri.go124 if abs, err := filepath.Abs(path); err == nil {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DSIPeepholeSDWA.cpp143 bool Abs; member in __anon24496::SDWASrcOperand
152 SrcSel(SrcSel_), Abs(Abs_), Neg(Neg_), Sext(Sext_) {} in SDWASrcOperand()
158 bool getAbs() const { return Abs; } in getAbs()
343 if (Abs || Neg) { in getSrcMods()
346 Mods |= Abs ? SISrcMods::ABS : 0u; in getSrcMods()

Completed in 20 milliseconds

1234