/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
parser.ml | 64 let rhs = parse_primary stream in 67 let rhs = var 70 (* If BinOp binds less tightly with rhs than the operator after 71 * rhs, let the pending operator take rhs as its lhs. *) 74 then parse_bin_rhs (token_prec + 1) rhs stream 75 else rhs 76 | _ -> rhs 79 (* Merge lhs/rhs. *) 80 let lhs = Ast.Binary (c, lhs, rhs) i [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
parser.ml | 100 let rhs = parse_primary stream in 103 let rhs = var 106 (* If BinOp binds less tightly with rhs than the operator after 107 * rhs, let the pending operator take rhs as its lhs. *) 110 then parse_bin_rhs (token_prec + 1) rhs stream 111 else rhs 112 | _ -> rhs 115 (* Merge lhs/rhs. *) 116 let lhs = Ast.Binary (c, lhs, rhs) i [all...] |
/external/mesa3d/src/compiler/glsl/ |
lower_discard_flow.cpp | 92 ir_rvalue *rhs; local 95 rhs = ir->condition; 98 rhs = new(mem_ctx) ir_constant(true); 100 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs); 121 ir_rvalue *rhs = new(mem_ctx) ir_constant(false); local 122 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs);
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter2/ |
parser.ml | 64 let rhs = parse_primary stream in 67 let rhs = var 70 (* If BinOp binds less tightly with rhs than the operator after 71 * rhs, let the pending operator take rhs as its lhs. *) 74 then parse_bin_rhs (token_prec + 1) rhs stream 75 else rhs 76 | _ -> rhs 79 (* Merge lhs/rhs. *) 80 let lhs = Ast.Binary (c, lhs, rhs) i [all...] |
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter3/ |
parser.ml | 64 let rhs = parse_primary stream in 67 let rhs = var 70 (* If BinOp binds less tightly with rhs than the operator after 71 * rhs, let the pending operator take rhs as its lhs. *) 74 then parse_bin_rhs (token_prec + 1) rhs stream 75 else rhs 76 | _ -> rhs 79 (* Merge lhs/rhs. *) 80 let lhs = Ast.Binary (c, lhs, rhs) i [all...] |
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter4/ |
parser.ml | 64 let rhs = parse_primary stream in 67 let rhs = var 70 (* If BinOp binds less tightly with rhs than the operator after 71 * rhs, let the pending operator take rhs as its lhs. *) 74 then parse_bin_rhs (token_prec + 1) rhs stream 75 else rhs 76 | _ -> rhs 79 (* Merge lhs/rhs. *) 80 let lhs = Ast.Binary (c, lhs, rhs) i [all...] |
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter5/ |
parser.ml | 100 let rhs = parse_primary stream in 103 let rhs = var 106 (* If BinOp binds less tightly with rhs than the operator after 107 * rhs, let the pending operator take rhs as its lhs. *) 110 then parse_bin_rhs (token_prec + 1) rhs stream 111 else rhs 112 | _ -> rhs 115 (* Merge lhs/rhs. *) 116 let lhs = Ast.Binary (c, lhs, rhs) i [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/lib/ |
batch_dot.cc | 75 // Check for zero lhs/rhs dim size. 103 auto rhs = transpose_y ? builder->Transpose(y, {1, 0}) : y; local 104 return builder->Dot(lhs, rhs);
|
/external/tensorflow/tensorflow/core/kernels/ |
assign_op.h | 42 const Tensor& rhs = context->input(1); variable 61 const bool same_shape = old_lhs.shape().IsSameSize(rhs.shape()); 68 " rhs shape= ", rhs.shape().DebugString())); 73 // 1. If we can reuse the rhs buffer we avoid both a memory allocation 76 // rhs we can avoid a memory allocation. 78 // 1. Try to reuse the rhs. 90 old_lhs.shape().num_elements() == rhs.shape().num_elements()) { 97 CHECK(reshaped_old_lhs.CopyFrom(old_lhs, rhs.shape())); 101 Copy(context, &reshaped_old_lhs, rhs); [all...] |
matrix_solve_ls_op_impl.h | 76 const ConstMatrixMap& rhs = inputs[1]; variable 102 // min || A * X - RHS ||_F^2 + l2_regularizer ||X||_F^2 104 // (A^T * A + l2_regularizer * I) X = A^T RHS 119 outputs->at(0).noalias() = matrix.adjoint() * rhs; 123 // min ||X||_F^2 s.t. A*X = RHS 125 // (A * A^T + l2_regularizer * I) Z = RHS, X = A^T * Z 140 outputs->at(0).noalias() = matrix.adjoint() * llt.solve(rhs); 153 outputs->at(0) = matrix.completeOrthogonalDecomposition().solve(rhs);
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
top_n_test.cc | 233 bool operator()(int lhs, int rhs) const { 234 LOG(FATAL) << "ForbiddenCmp called " << lhs << " " << rhs; local
|
/frameworks/native/libs/ui/include/ui/ |
Fence.h | 62 Fence(const Fence& rhs) = delete; member in class:android::Fence 63 Fence& operator=(const Fence& rhs) = delete; member in class:android::Fence 64 Fence(Fence&& rhs) = delete; member in class:android::Fence 65 Fence& operator=(Fence&& rhs) = delete; member in class:android::Fence
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.equivalent/ |
equivalent.pass.cpp | 14 // bool equivalent(path const& lhs, path const& rhs); 15 // bool equivalent(path const& lhs, path const& rhs, std::error_code& ec) noexcept; 41 path rhs; member in struct:TestCase 54 TEST_CHECK(equivalent(TC.lhs, TC.rhs, ec) == TC.expect);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/optional/optional.object/optional.object.ctor/ |
copy.pass.cpp | 13 // optional(const optional<T>& rhs); 25 test(const optional<T>& rhs, bool is_going_to_throw = false) 27 bool rhs_engaged = static_cast<bool>(rhs); 35 optional<T> lhs = rhs; 39 assert(*lhs == *rhs); 91 optional<T> rhs; local 92 test(rhs); 96 optional<T> rhs(3); 97 test(rhs); 101 optional<T> rhs(3) 106 optional<T> rhs; local 121 optional<T> rhs; local 131 optional<T> rhs; local [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/comparisons/ |
pointer_comparison_test_helper.hpp | 30 T* rhs = pointers[j].get(); local 32 std::uintptr_t rhs_uint = reinterpret_cast<std::uintptr_t>(rhs); 33 assert(comp(lhs, rhs) == ucomp(lhs_uint, rhs_uint)); 34 assert(vcomp(lhs, rhs) == ucomp(lhs_uint, rhs_uint));
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.object/optional.object.ctor/ |
const_optional_U.pass.cpp | 14 // optional(const optional<U>& rhs); 26 test(const optional<U>& rhs, bool is_going_to_throw = false) 28 bool rhs_engaged = static_cast<bool>(rhs); 32 optional<T> lhs = rhs; 36 assert(*lhs == *rhs); 44 optional<T> lhs = rhs; 47 assert(*lhs == *rhs); 87 optional<U> rhs; local 88 test<T>(rhs); 93 optional<U> rhs(U{3}) 99 optional<U> rhs; local 111 optional<U> rhs; local 123 optional<U> rhs; local [all...] |
copy.pass.cpp | 13 // constexpr optional(const optional<T>& rhs); 27 const optional<T> rhs(std::forward<InitArgs>(args)...); 28 bool rhs_engaged = static_cast<bool>(rhs); 29 optional<T> lhs = rhs; 32 assert(*lhs == *rhs); 39 const optional<T> rhs(std::forward<InitArgs>(args)...); 40 optional<T> lhs = rhs; 41 return (lhs.has_value() == rhs.has_value()) && 42 (lhs.has_value() ? *lhs == *rhs : true); 54 const optional<Z> rhs(z) 132 const optional<T> rhs; local [all...] |
explicit_const_optional_U.pass.cpp | 14 // explicit optional(const optional<U>& rhs); 26 test(const optional<U>& rhs, bool is_going_to_throw = false) 29 bool rhs_engaged = static_cast<bool>(rhs); 33 optional<T> lhs(rhs); 37 assert(*lhs == T(*rhs)); 45 optional<T> lhs(rhs); 48 assert(*lhs == T(*rhs)); 88 optional<U> rhs; local 89 test<T>(rhs); 94 optional<U> rhs(3) 100 optional<U> rhs; local 112 optional<U> rhs; local [all...] |
explicit_optional_U.pass.cpp | 14 // explicit optional(optional<U>&& rhs); 26 test(optional<U>&& rhs, bool is_going_to_throw = false) 29 bool rhs_engaged = static_cast<bool>(rhs); 33 optional<T> lhs(std::move(rhs)); 43 optional<T> lhs(std::move(rhs)); 69 optional<int> rhs; local 70 test<X>(std::move(rhs)); 73 optional<int> rhs(3); 74 test<X>(std::move(rhs)); 77 optional<int> rhs; local [all...] |
optional_U.pass.cpp | 14 // optional(optional<U>&& rhs); 27 test(optional<U>&& rhs, bool is_going_to_throw = false) 29 bool rhs_engaged = static_cast<bool>(rhs); 33 optional<T> lhs = std::move(rhs); 43 optional<T> lhs = std::move(rhs); 68 optional<short> rhs; local 69 test<int>(std::move(rhs)); 72 optional<short> rhs(short{3}); 73 test<int>(std::move(rhs)); 76 optional<int> rhs; local 84 optional<int> rhs; local [all...] |
/system/chre/apps/wifi_offload/test/ |
offloadtypes_test.cc | 34 TestType rhs; local 35 init(rhs, random_gen_); 37 EXPECT_EQ(lhs, rhs); 41 TestType lhs, rhs; local 43 init(rhs, random_gen_); 45 ASSERT_FALSE(lhs == rhs);
|
/art/runtime/verifier/ |
reg_type-inl.h | 71 const RegType& rhs, 74 if (lhs.Equals(rhs)) { 79 return rhs.IsBooleanTypes(); 81 return rhs.IsByteTypes(); 83 return rhs.IsShortTypes(); 85 return rhs.IsCharTypes(); 87 return rhs.IsIntegralTypes(); 89 return rhs.IsFloatTypes(); 91 return rhs.IsLongTypes(); 93 return rhs.IsDoubleTypes() 132 << lhs << "' := '" << rhs << "'"; local [all...] |
/build/kati/ |
rule.h | 57 StringPiece rhs; member in struct:RuleVarAssignment
|
/external/drm_hwcomposer/ |
autogl.h | 61 AutoEGLDisplayImage(const AutoEGLDisplayImage& rhs) = delete; member in struct:android::AutoEGLDisplayImage 62 AutoEGLDisplayImage(AutoEGLDisplayImage&& rhs) { 63 display_ = rhs.display_; 64 image_ = rhs.image_; 65 rhs.display_ = EGL_NO_DISPLAY; 66 rhs.image_ = EGL_NO_IMAGE_KHR; 73 AutoEGLDisplayImage& operator=(const AutoEGLDisplayImage& rhs) = delete; member in struct:android::AutoEGLDisplayImage 74 AutoEGLDisplayImage& operator=(AutoEGLDisplayImage&& rhs) { 76 std::swap(display_, rhs.display_); 77 std::swap(image_, rhs.image_) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
TypeResolver.java | 81 PExpression rhs = node.getRight(); local 82 if (isNumeric(lhs) || isNumeric(rhs)) { 83 node.replaceBy(new ANumericAddExpression(lhs, rhs)); 91 PExpression rhs = node.getRight(); local 92 if (isNumeric(lhs) || isNumeric(rhs)) { 93 node.replaceBy(new ANumericEqExpression(lhs, rhs)); 101 PExpression rhs = node.getRight(); local 102 if (isNumeric(lhs) || isNumeric(rhs)) { 103 node.replaceBy(new ANumericNeExpression(lhs, rhs));
|