Home
last modified time | relevance | path

Searched refs:unary (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/external/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/
Dfunction-types-builtins.cpp46 void unary(Arg) { } in unary() function
63 auto aa = &unary<bool>;
65 auto ab = &unary<char>;
67 auto ac = &unary<signed char>;
69 auto ad = &unary<unsigned char>;
71 auto ae = &unary<char16_t>;
73 auto af = &unary<char32_t>;
75 auto ag = &unary<wchar_t>;
77 auto ah = &unary<short>;
79 auto ai = &unary<unsigned short>;
[all …]
/external/tensorflow/tensorflow/tools/ci_build/
Dpylint_allowlist3 ^tensorflow/compiler/tests/unary_ops_test.py.*\[E1130.*invalid-unary-operand-type
41 ^tensorflow/python/framework/ops_test.py.*\[E1130.*invalid-unary-operand-type
44 ^tensorflow/python/grappler/tf_optimizer_test.py.*\[E1130.*invalid-unary-operand-type
64 ^tensorflow/python/keras/mixed_precision/autocast_variable.py.*\[E1130.*invalid-unary-operand-type
65 ^tensorflow/python/keras/optimizer_v2/nadam.py.*\[E1130.*invalid-unary-operand-type
74 ^tensorflow/python/kernel_tests/clip_ops_test.py.*\[E1130.*invalid-unary-operand-type
79 ^tensorflow/python/kernel_tests/distributions/student_t_test.py.*\[E1130.*invalid-unary-operand-type
91 ^tensorflow/python/ops/distributions/bernoulli.py.*\[E1130.*invalid-unary-operand-type
92 ^tensorflow/python/ops/distributions/beta.py.*\[E1130.*invalid-unary-operand-type
93 ^tensorflow/python/ops/distributions/categorical.py.*\[E1130.*invalid-unary-operand-type
[all …]
/external/llvm/docs/tutorial/
DLangImpl06.rst49 The two specific features we'll add are programmable unary operators
50 (right now, Kaleidoscope has no unary operators at all) as well as
55 # Logical unary not.
56 def unary!(v)
84 implementing support for user-defined binary operators and adding unary
91 our current framework. We'll first add support for the unary/binary
111 if (IdentifierStr == "unary")
115 This just adds lexer support for the unary and binary keywords, like we
162 operators (as you'll see below, it just doesn't apply for unary
174 unsigned Kind = 0; // 0 = identifier, 1 = unary, 2 = binary.
[all …]
DOCamlLangImpl6.rst49 The two specific features we'll add are programmable unary operators
50 (right now, Kaleidoscope has no unary operators at all) as well as
55 # Logical unary not.
56 def unary!(v)
84 implementing support for user-defined binary operators and adding unary
91 our current framework. We'll first add support for the unary/binary
108 | "unary" -> [< 'Token.Unary; stream >]
110 This just adds lexer support for the unary and binary keywords, like we
137 operators (as you'll see below, it just doesn't apply for unary
146 * ::= unary LETTER number? (id) *)
[all …]
/external/llvm-project/llvm/docs/tutorial/MyFirstLanguageFrontend/
DLangImpl06.rst49 The two specific features we'll add are programmable unary operators
50 (right now, Kaleidoscope has no unary operators at all) as well as
55 # Logical unary not.
56 def unary!(v)
84 implementing support for user-defined binary operators and adding unary
91 our current framework. We'll first add support for the unary/binary
111 if (IdentifierStr == "unary")
115 This just adds lexer support for the unary and binary keywords, like we
163 operators (as you'll see below, it just doesn't apply for unary
175 unsigned Kind = 0; // 0 = identifier, 1 = unary, 2 = binary.
[all …]
/external/llvm-project/lldb/test/API/lang/cpp/function_refs/
Dmain.cpp5 void unary(Arg) { } in unary() function
12 auto &ref = unary<bool>;
13 auto &ref2 = unary<volatile int*>;
/external/llvm-project/lldb/source/Symbol/
DPostfixExpression.cpp134 bool Visit(UnaryOpNode &unary, Node *&) override { in Visit() argument
135 return Dispatch(unary.Operand()); in Visit()
164 void Visit(UnaryOpNode &unary, Node *&) override;
229 void DWARFCodegen::Visit(UnaryOpNode &unary, Node *&) { in Visit() argument
230 Dispatch(unary.Operand()); in Visit()
232 switch (unary.GetOpType()) { in Visit()
/external/llvm-project/llvm/docs/tutorial/
DOCamlLangImpl6.rst49 The two specific features we'll add are programmable unary operators
50 (right now, Kaleidoscope has no unary operators at all) as well as
55 # Logical unary not.
56 def unary!(v)
84 implementing support for user-defined binary operators and adding unary
91 our current framework. We'll first add support for the unary/binary
108 | "unary" -> [< 'Token.Unary; stream >]
110 This just adds lexer support for the unary and binary keywords, like we
137 operators (as you'll see below, it just doesn't apply for unary
146 * ::= unary LETTER number? (id) *)
[all …]
/external/llvm/test/Examples/Kaleidoscope/
DChapter6.test3 # Test unary operator definition.
4 def unary-(x) 0 - x;
/external/llvm-project/llvm/test/Examples/Kaleidoscope/
DChapter6.test4 # Test unary operator definition.
5 def unary-(x) 0 - x;
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dparser.ml85 (* unary
87 * ::= '!' unary *)
89 (* If this is a unary operator, read it. *)
110 (* Parse the unary expression after the binary operator. *)
140 * ::= unary LETTER number? (id) *)
147 | [< 'Token.Unary >] -> "unary", 1
/external/llvm-project/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dparser.ml85 (* unary
87 * ::= '!' unary *)
89 (* If this is a unary operator, read it. *)
110 (* Parse the unary expression after the binary operator. *)
140 * ::= unary LETTER number? (id) *)
147 | [< 'Token.Unary >] -> "unary", 1
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc89 absl::discrete_distribution<int> unary(0, 1.0, 9.0, fn); in TYPED_TEST() local
90 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(1.0)); in TYPED_TEST()
94 absl::discrete_distribution<int> unary(2, 1.0, 9.0, fn); in TYPED_TEST() local
97 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(0.3, 0.7)); in TYPED_TEST()
/external/angle/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc89 absl::discrete_distribution<int> unary(0, 1.0, 9.0, fn); in TYPED_TEST() local
90 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(1.0)); in TYPED_TEST()
94 absl::discrete_distribution<int> unary(2, 1.0, 9.0, fn); in TYPED_TEST() local
97 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(0.3, 0.7)); in TYPED_TEST()
/external/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc88 absl::discrete_distribution<int> unary(0, 1.0, 9.0, fn); in TYPED_TEST() local
89 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(1.0)); in TYPED_TEST()
93 absl::discrete_distribution<int> unary(2, 1.0, 9.0, fn); in TYPED_TEST() local
96 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(0.3, 0.7)); in TYPED_TEST()
/external/openscreen/third_party/abseil/src/absl/random/
Ddiscrete_distribution_test.cc89 absl::discrete_distribution<int> unary(0, 1.0, 9.0, fn); in TYPED_TEST() local
90 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(1.0)); in TYPED_TEST()
94 absl::discrete_distribution<int> unary(2, 1.0, 9.0, fn); in TYPED_TEST() local
97 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(0.3, 0.7)); in TYPED_TEST()
/external/webrtc/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc88 absl::discrete_distribution<int> unary(0, 1.0, 9.0, fn); in TYPED_TEST() local
89 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(1.0)); in TYPED_TEST()
93 absl::discrete_distribution<int> unary(2, 1.0, 9.0, fn); in TYPED_TEST() local
96 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(0.3, 0.7)); in TYPED_TEST()
/external/libtextclassifier/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc89 absl::discrete_distribution<int> unary(0, 1.0, 9.0, fn); in TYPED_TEST() local
90 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(1.0)); in TYPED_TEST()
94 absl::discrete_distribution<int> unary(2, 1.0, 9.0, fn); in TYPED_TEST() local
97 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(0.3, 0.7)); in TYPED_TEST()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dmodernize-unary-static-assert.rst1 .. title:: clang-tidy - modernize-unary-static-assert
3 modernize-unary-static-assert
/external/one-true-awk/
Db.c767 return (unary(np)); in primary()
770 return (unary(op2(ALL, NIL, NIL))); in primary()
773 return (unary(op2(EMPTYRE, NIL, NIL))); in primary()
777 return (unary(op2(DOT, NIL, NIL))); in primary()
782 return (unary(np)); in primary()
787 return (unary(np)); in primary()
790 return (unary(op2(CHAR, NIL, itonp(HAT)))); in primary()
793 return (unary(op2(CHAR, NIL, NIL))); in primary()
800 return unary(op2(CCL, NIL, (Node *) tostring(""))); in primary()
806 return (unary(np)); in primary()
[all …]
/external/llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Ddeduct_F.pass.cpp84 std::function<R(A1)> unary; \ in main()
85 std::function g8 = unary; \ in main()
88 std::function g9 = std::move(unary); \ in main()
/external/libxkbcommon/src/xkbcomp/
Dexpr.c176 ok = ExprResolveBoolean(ctx, expr->unary.child, set_rtrn); in ExprResolveBoolean()
255 if (!ExprResolveKeyCode(ctx, expr->unary.child, &leftRtrn)) in ExprResolveKeyCode()
262 return ExprResolveKeyCode(ctx, expr->unary.child, kc); in ExprResolveKeyCode()
368 left = expr->unary.child; in ExprResolveIntegerLookup()
376 left = expr->unary.child; in ExprResolveIntegerLookup()
602 left = expr->unary.child; in ExprResolveMaskLookup()
612 left = expr->unary.child; in ExprResolveMaskLookup()
/external/clang/test/SemaOpenCL/
Dinvalid-image.cl10 &i; // expected-error{{invalid argument type '__read_only image1d_t' to unary expression}}
11 *i; // expected-error{{invalid argument type '__read_only image1d_t' to unary expression}}
/external/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp231 Value unary(const Value& v, Fn&& fn) { in unary() function in SkSL::SkVMGenerator
1027 return unary(args[0], [](skvm::F32 deg) { return deg * (SK_FloatPI / 180); }); in writeIntrinsicCall()
1029 return unary(args[0], [](skvm::F32 rad) { return rad * (180 / SK_FloatPI); }); in writeIntrinsicCall()
1031 case k_sin_IntrinsicKind: return unary(args[0], skvm::approx_sin); in writeIntrinsicCall()
1032 case k_cos_IntrinsicKind: return unary(args[0], skvm::approx_cos); in writeIntrinsicCall()
1033 case k_tan_IntrinsicKind: return unary(args[0], skvm::approx_tan); in writeIntrinsicCall()
1035 case k_asin_IntrinsicKind: return unary(args[0], skvm::approx_asin); in writeIntrinsicCall()
1036 case k_acos_IntrinsicKind: return unary(args[0], skvm::approx_acos); in writeIntrinsicCall()
1038 case k_atan_IntrinsicKind: return nargs == 1 ? unary(args[0], skvm::approx_atan) in writeIntrinsicCall()
1043 case k_exp_IntrinsicKind: return unary(args[0], skvm::approx_exp); in writeIntrinsicCall()
[all …]
/external/turbine/java/com/google/turbine/tree/
DPretty.java166 public Void visitUnary(Tree.Unary unary, Void input) { in visitUnary() argument
167 switch (unary.op()) { in visitUnary()
170 unary.expr().accept(this, null); in visitUnary()
171 append(unary.op().toString()); in visitUnary()
179 append(unary.op().toString()); in visitUnary()
180 unary.expr().accept(this, null); in visitUnary()
183 throw new AssertionError(unary.op().name()); in visitUnary()

12345678910>>...15