/third_party/ffmpeg/libavcodec/ |
H A D | ttaenc.c | 112 uint32_t k, unary, outval; in tta_encode_frame() local 155 unary = 1 + (outval >> k); in tta_encode_frame() 156 if (unary + 100LL > put_bits_left(&pb)) { in tta_encode_frame() 165 if (unary > 31) { in tta_encode_frame() 167 unary -= 31; in tta_encode_frame() 169 put_bits(&pb, unary, (1U << unary) - 1); in tta_encode_frame() 170 unary = 0; in tta_encode_frame() 172 } while (unary); in tta_encode_frame()
|
H A D | tta.c | 44 #include "unary.h" 274 uint32_t unary, depth, k; in tta_decode_frame() local 277 unary = get_unary(&gb, 0, get_bits_left(&gb)); in tta_decode_frame() 279 if (unary == 0) { in tta_decode_frame() 285 unary--; in tta_decode_frame() 294 if (k > MIN_CACHE_BITS || unary > INT32_MAX >> k) { in tta_decode_frame() 298 value = (unary << k) + get_bits(&gb, k); in tta_decode_frame() 300 value = unary; in tta_decode_frame()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | simplify_pointers.cc | 97 if (auto* unary = op.expr->As<ast::UnaryOpExpression>()) { in Reduce() 98 switch (unary->op) { in Reduce() 101 op.expr = unary->expr; in Reduce() 105 op.expr = unary->expr; in Reduce()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
H A D | discrete_distribution_test.cc | 89 absl::discrete_distribution<int> unary(0, 1.0, 9.0, fn); in TYPED_TEST() 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() 97 EXPECT_THAT(unary.probabilities(), testing::ElementsAre(0.3, 0.7)); in TYPED_TEST()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | expression.c | 695 struct expression *unary; in unary_expression() local 700 sparse_error(token->pos, "Syntax error in unary expression"); in unary_expression() 704 unary = alloc_expression(token->pos, EXPR_PREOP); in unary_expression() 705 unary->op = token->special; in unary_expression() 706 unary->unop = unop; in unary_expression() 707 *tree = unary; in unary_expression() 713 struct expression *unary; in unary_expression() local 718 sparse_error(token->pos, "Syntax error in unary expression"); in unary_expression() 722 unary = alloc_expression(token->pos, EXPR_PREOP); in unary_expression() 723 unary in unary_expression() [all...] |
/third_party/skia/src/sksl/codegen/ |
H A D | SkSLVMCodeGenerator.cpp | 187 Value unary(const Value& v, Fn&& fn) { 1150 return unary(args[0], [](skvm::F32 deg) { return deg * (SK_FloatPI / 180); }); 1152 return unary(args[0], [](skvm::F32 rad) { return rad * (180 / SK_FloatPI); }); 1154 case k_sin_IntrinsicKind: return unary(args[0], skvm::approx_sin); 1155 case k_cos_IntrinsicKind: return unary(args[0], skvm::approx_cos); 1156 case k_tan_IntrinsicKind: return unary(args[0], skvm::approx_tan); 1158 case k_asin_IntrinsicKind: return unary(args[0], skvm::approx_asin); 1159 case k_acos_IntrinsicKind: return unary(args[0], skvm::approx_acos); 1161 case k_atan_IntrinsicKind: return nargs == 1 ? unary(args[0], skvm::approx_atan) 1166 case k_exp_IntrinsicKind: return unary(arg [all...] |
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | traverse_expressions.h | 120 } else if (auto* unary = expr->As<UnaryOpExpression>()) { in TraverseExpressions() 121 to_visit.push_back(unary->expr); in TraverseExpressions()
|
/third_party/rust/crates/rust-cexpr/src/ |
H A D | expr.rs | 275 (b'-', _) => unreachable!("non-numeric unary op"), in unary_op() 278 (b'~', _) => unreachable!("non-numeric unary op"), in unary_op() 279 _ => unreachable!("invalid unary op"), in unary_op() 293 fn unary(self, input: &'_ [Token]) -> CResult<'_, EvalResult> { in unary() functions 299 pair(one_of_punctuation(&["+", "-", "~"][..]), |i| self.unary(i)), in unary() 306 let (input, acc) = self.unary(input)?; in mul_div_rem() 309 self.unary(i) in mul_div_rem()
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
H A D | resolver.cc | 1130 } else if (auto* unary = expr->As<ast::UnaryOpExpression>()) { 1131 sem_expr = UnaryOp(unary); 1896 sem::Expression* Resolver::UnaryOp(const ast::UnaryOpExpression* unary) { 1897 auto* expr = Sem(unary->expr); 1905 switch (unary->op) { 1912 unary->expr->source); 1923 unary->expr->source); 1934 unary->expr->source); 1944 unary->expr->source); 1948 auto* array = unary [all...] |
H A D | resolver_validation.cc | 1625 } else if (auto* unary = arg_expr->As<ast::UnaryOpExpression>()) { in ValidateFunctionCall() 1626 if (unary->op == ast::UnaryOp::kAddressOf) { in ValidateFunctionCall() 1628 unary->expr->As<ast::IdentifierExpression>()) { in ValidateFunctionCall()
|
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | discriminant.rs | 117 Expr::Unary(unary) => { in expr_to_discriminant() 118 if let UnOp::Neg(_) = unary.op { in expr_to_discriminant() 119 let (mut discriminant, repr) = expr_to_discriminant(&unary.expr)?; in expr_to_discriminant()
|
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | discriminant.rs | 117 Expr::Unary(unary) => { in expr_to_discriminant() 118 if let UnOp::Neg(_) = unary.op { in expr_to_discriminant() 119 let (mut discriminant, repr) = expr_to_discriminant(&unary.expr)?; in expr_to_discriminant()
|
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | discriminant.rs | 117 Expr::Unary(unary) => { in expr_to_discriminant() 118 if let UnOp::Neg(_) = unary.op { in expr_to_discriminant() 119 let (mut discriminant, repr) = expr_to_discriminant(&unary.expr)?; in expr_to_discriminant()
|
/third_party/rust/crates/cxx/syntax/ |
H A D | discriminant.rs | 117 Expr::Unary(unary) => { in expr_to_discriminant() 118 if let UnOp::Neg(_) = unary.op { in expr_to_discriminant() 119 let (mut discriminant, repr) = expr_to_discriminant(&unary.expr)?; in expr_to_discriminant()
|
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | discriminant.rs | 117 Expr::Unary(unary) => { in expr_to_discriminant() 118 if let UnOp::Neg(_) = unary.op { in expr_to_discriminant() 119 let (mut discriminant, repr) = expr_to_discriminant(&unary.expr)?; in expr_to_discriminant()
|
/third_party/skia/third_party/externals/tint/src/inspector/ |
H A D | inspector.cc | 911 if (auto* unary = tint::As<ast::UnaryOpExpression>(expr)) { in GetOriginatingResources() 912 switch (unary->op) { in GetOriginatingResources() 915 // `*` and `&` are the only valid unary ops for a resource type, in GetOriginatingResources() 918 expr = unary->expr; in GetOriginatingResources() 922 << "unexpected unary op on resource: " << unary->op; in GetOriginatingResources()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cGPUShaderFP64Tests.cpp | 13072 /** Base of unary function classes 13104 class unary : public unaryBase class 13109 unary(FunctionEnum function_enum, const glw::GLchar* function_name, functionPointer function_pointer) in unary() function in gl4cts::FunctionObject::unary 13949 return new FunctionObject::unary<glw::GLdouble /* ResT */, DMat2 /* ArgT */>(function, "determinant", in getFunctionObject() 13952 return new FunctionObject::unary<glw::GLdouble /* ResT */, DMat3 /* ArgT */>(function, "determinant", in getFunctionObject() 13955 return new FunctionObject::unary<glw::GLdouble /* ResT */, DMat4 /* ArgT */>(function, "determinant", in getFunctionObject() 14106 return new FunctionObject::unary<DMat2 /* ResT */, DMat2 /* ArgT */>(function, "inverse", Math::inverse); in getFunctionObject() 14108 return new FunctionObject::unary<DMat3 /* ResT */, DMat3 /* ArgT */>(function, "inverse", Math::inverse); in getFunctionObject() 14110 return new FunctionObject::unary<DMat4 /* ResT */, DMat4 /* ArgT */>(function, "inverse", Math::inverse); in getFunctionObject() 14172 return new FunctionObject::unary<gl in getFunctionObject() [all...] |
/third_party/ltp/scripts/ |
H A D | checkbashisms.pl | 658 qr'(?:^|\s+)(\[|test)\s+-a' => q<test with unary -a (should be -e)>,
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_peephole.cpp | 380 void unary(Instruction *, const ImmediateValue&); 781 unary(i, *i->getSrc(0)->asImm()); in expr() 875 ConstantFolding::unary(Instruction *i, const ImmediateValue &imm) in unary() function in nv50_ir::ConstantFolding 1557 unary(i, imm0); in opnd() 1712 unary(newi, tmp); in opnd()
|
/third_party/glslang/glslang/MachineIndependent/ |
H A D | localintermediate.h | 521 TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, const TType& returnType);
|
H A D | Intermediate.cpp | 254 // Low level: add unary node (no promotions or other argument modifications) 463 TIntermTyped* TIntermediate::addBuiltInFunctionCall(const TSourceLoc& loc, TOperator op, bool unary, in addBuiltInFunctionCall() argument 466 if (unary) { in addBuiltInFunctionCall() 468 // Treat it like a unary operator. in addBuiltInFunctionCall() 871 // See addConversion(op, type, node) for assignments and unary operation 1041 // Explicit conversions (unary operations) in addConversion() 2941 // * unary negative ( - ) 2952 // This function just handles binary and unary nodes. Construction 2953 // rules are handled in construction paths that are not covered by the unary 2955 // as unary converter [all...] |
/third_party/vk-gl-cts/modules/gles2/scripts/ |
H A D | genutil.py | 160 def unary(func): return lambda val: val.applyUnary(func) member in GenMath
|
/third_party/node/deps/cares/ |
H A D | configure | 5099 const auto unary = [](int x){ return x; }; 5101 using unary_t = decltype(unary); 5103 const auto higher2nd = [unary](nullary_t f1){ 5104 return [unary, f1](unary_t f2){ return f2(unary(f1())); }; 5106 return higher1st(nullary) + higher2nd(nullary)(unary); 24357 const auto unary = [](int x){ return x; }; 24359 using unary_t = decltype(unary); 24361 const auto higher2nd = [unary](nullary_t f1){ 24362 return [unary, f [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | OutputASM.cpp | 3044 TIntermUnary *unary = expression->getAsUnaryNode(); in cost() local 3046 switch(unary->getOp()) in cost() 3050 return cost(unary->getOperand(), budget - 1); in cost()
|
/third_party/vk-gl-cts/modules/gles3/scripts/ |
H A D | genutil.py | 170 def unary(func): return lambda val: val.applyUnary(func) member in GenMath
|