Home
last modified time | relevance | path

Searched refs:apply (Results 1 – 25 of 4579) sorted by relevance

12345678910>>...184

/external/python/cpython3/Lib/test/decimaltestdata/
DddEncode.decTest52 dece001 apply #A2300000000003D0 -> -7.50
53 dece002 apply -7.50 -> #A2300000000003D0
55 dece003 apply #A23c0000000003D0 -> -7.50E+3
56 dece004 apply -7.50E+3 -> #A23c0000000003D0
57 dece005 apply #A2380000000003D0 -> -750
58 dece006 apply -750 -> #A2380000000003D0
59 dece007 apply #A2340000000003D0 -> -75.0
60 dece008 apply -75.0 -> #A2340000000003D0
61 dece009 apply #A22c0000000003D0 -> -0.750
62 dece010 apply -0.750 -> #A22c0000000003D0
[all …]
DdqEncode.decTest52 decq001 apply #A20780000000000000000000000003D0 -> -7.50
53 decq002 apply -7.50 -> #A20780000000000000000000000003D0
55 decq003 apply #A20840000000000000000000000003D0 -> -7.50E+3
56 decq004 apply -7.50E+3 -> #A20840000000000000000000000003D0
57 decq005 apply #A20800000000000000000000000003D0 -> -750
58 decq006 apply -750 -> #A20800000000000000000000000003D0
59 decq007 apply #A207c0000000000000000000000003D0 -> -75.0
60 decq008 apply -75.0 -> #A207c0000000000000000000000003D0
61 decq009 apply #A20740000000000000000000000003D0 -> -0.750
62 decq010 apply -0.750 -> #A20740000000000000000000000003D0
[all …]
DdsEncode.decTest52 decs001 apply #A23003D0 -> -7.50
53 decs002 apply -7.50 -> #A23003D0
55 decs003 apply #A26003D0 -> -7.50E+3
56 decs004 apply -7.50E+3 -> #A26003D0
57 decs005 apply #A25003D0 -> -750
58 decs006 apply -750 -> #A25003D0
59 decs007 apply #A24003D0 -> -75.0
60 decs008 apply -75.0 -> #A24003D0
61 decs009 apply #A22003D0 -> -0.750
62 decs010 apply -0.750 -> #A22003D0
[all …]
Dclamp.decTest36 clam010 apply 1234567890123456 -> 1234567890123456
37 clam011 apply 1234567890123456.0 -> 1234567890123456 Rounded
38 clam012 apply 1234567890123456.1 -> 1234567890123456 Rounded Inexact
39 clam013 apply -1234567890123456 -> -1234567890123456
40 clam014 apply -1234567890123456.0 -> -1234567890123456 Rounded
41 clam015 apply -1234567890123456.1 -> -1234567890123456 Rounded Inexact
45 clam022 apply 9.999999999999999E+384 -> 9.999999999999999E+384
46 clam024 apply 1.234567890123456E+384 -> 1.234567890123456E+384
48 clam030 apply 1.23E+384 -> 1.230000000000000E+384 Clamped
49 clam032 apply 1E+384 -> 1.000000000000000E+384 Clamped
[all …]
/external/python/cpython2/Lib/test/decimaltestdata/
DddEncode.decTest52 dece001 apply #A2300000000003D0 -> -7.50
53 dece002 apply -7.50 -> #A2300000000003D0
55 dece003 apply #A23c0000000003D0 -> -7.50E+3
56 dece004 apply -7.50E+3 -> #A23c0000000003D0
57 dece005 apply #A2380000000003D0 -> -750
58 dece006 apply -750 -> #A2380000000003D0
59 dece007 apply #A2340000000003D0 -> -75.0
60 dece008 apply -75.0 -> #A2340000000003D0
61 dece009 apply #A22c0000000003D0 -> -0.750
62 dece010 apply -0.750 -> #A22c0000000003D0
[all …]
DdqEncode.decTest52 decq001 apply #A20780000000000000000000000003D0 -> -7.50
53 decq002 apply -7.50 -> #A20780000000000000000000000003D0
55 decq003 apply #A20840000000000000000000000003D0 -> -7.50E+3
56 decq004 apply -7.50E+3 -> #A20840000000000000000000000003D0
57 decq005 apply #A20800000000000000000000000003D0 -> -750
58 decq006 apply -750 -> #A20800000000000000000000000003D0
59 decq007 apply #A207c0000000000000000000000003D0 -> -75.0
60 decq008 apply -75.0 -> #A207c0000000000000000000000003D0
61 decq009 apply #A20740000000000000000000000003D0 -> -0.750
62 decq010 apply -0.750 -> #A20740000000000000000000000003D0
[all …]
DdsEncode.decTest52 decs001 apply #A23003D0 -> -7.50
53 decs002 apply -7.50 -> #A23003D0
55 decs003 apply #A26003D0 -> -7.50E+3
56 decs004 apply -7.50E+3 -> #A26003D0
57 decs005 apply #A25003D0 -> -750
58 decs006 apply -750 -> #A25003D0
59 decs007 apply #A24003D0 -> -75.0
60 decs008 apply -75.0 -> #A24003D0
61 decs009 apply #A22003D0 -> -0.750
62 decs010 apply -0.750 -> #A22003D0
[all …]
Dclamp.decTest36 clam010 apply 1234567890123456 -> 1234567890123456
37 clam011 apply 1234567890123456.0 -> 1234567890123456 Rounded
38 clam012 apply 1234567890123456.1 -> 1234567890123456 Rounded Inexact
39 clam013 apply -1234567890123456 -> -1234567890123456
40 clam014 apply -1234567890123456.0 -> -1234567890123456 Rounded
41 clam015 apply -1234567890123456.1 -> -1234567890123456 Rounded Inexact
45 clam022 apply 9.999999999999999E+384 -> 9.999999999999999E+384
46 clam024 apply 1.234567890123456E+384 -> 1.234567890123456E+384
48 clam030 apply 1.23E+384 -> 1.230000000000000E+384 Clamped
49 clam032 apply 1E+384 -> 1.000000000000000E+384 Clamped
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/tweaks/
DExtractFunctionTests.cpp28 EXPECT_EQ(apply("for(;;) [[1+2; 1+2;]]"), "unavailable"); in TEST_F()
30 EXPECT_EQ(apply("int x = 0; [[x++;]]"), "unavailable"); in TEST_F()
32 EXPECT_EQ(apply("auto lam = [](){ [[int x;]] }; "), "unavailable"); in TEST_F()
34 EXPECT_THAT(apply("int [[x = 0]];"), "unavailable"); in TEST_F()
36 EXPECT_THAT(apply(" [[int a = 5;]] a++; "), "unavailable"); in TEST_F()
40 EXPECT_THAT(apply("for(;;) { [[int x;]]break; }"), HasSubstr("extracted")); in TEST_F()
43 EXPECT_THAT(apply(" for([[int i = 0;]];);"), HasSubstr("extracted")); in TEST_F()
45 EXPECT_THAT(apply(" if(true) [[{ return; }]] "), HasSubstr("extracted")); in TEST_F()
47 EXPECT_THAT(apply(" if(true) [[if (false) return;]] "), in TEST_F()
50 apply("#define RETURN_IF_ERROR(x) if (x) return\nRETU^RN_IF_ERROR(4);"), in TEST_F()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/analysis/
DDepthFirstAdapter.java34 node.getPCommand().apply(this); in caseStart()
35 node.getEOF().apply(this); in caseStart()
57 e.apply(this); in caseAMultipleCommand()
79 node.getPosition().apply(this); in caseACommentCommand()
83 node.getComment().apply(this); in caseACommentCommand()
104 node.getData().apply(this); in caseADataCommand()
125 node.getPosition().apply(this); in caseAVarCommand()
129 node.getExpression().apply(this); in caseAVarCommand()
150 node.getPosition().apply(this); in caseALvarCommand()
154 node.getExpression().apply(this); in caseALvarCommand()
[all …]
DReversedDepthFirstAdapter.java34 node.getEOF().apply(this); in caseStart()
35 node.getPCommand().apply(this); in caseStart()
58 e.apply(this); in caseAMultipleCommand()
80 node.getComment().apply(this); in caseACommentCommand()
84 node.getPosition().apply(this); in caseACommentCommand()
105 node.getData().apply(this); in caseADataCommand()
126 node.getExpression().apply(this); in caseAVarCommand()
130 node.getPosition().apply(this); in caseAVarCommand()
151 node.getExpression().apply(this); in caseALvarCommand()
155 node.getPosition().apply(this); in caseALvarCommand()
[all …]
/external/google-fruit/include/fruit/impl/meta/
Dcomponent.h51 struct apply;
54 struct apply<Type<T>> {
59 struct apply<Type<const T>> {
64 struct apply<Type<T*>> {
69 struct apply<Type<T&>> {
74 struct apply<Type<const T*>> {
79 struct apply<Type<const T&>> {
84 struct apply<Type<std::shared_ptr<T>>> {
89 struct apply<Type<Assisted<T>>> {
94 struct apply<Type<Provider<T>>> {
[all …]
Dfold.h28 struct apply;
31 struct apply<F, InitialValue> {
36 struct apply<F, InitialValue, T0> {
37 using type = typename F::template apply<InitialValue, T0>::type;
41 struct apply<F, InitialValue, T0, T1> {
43 …typename F::template apply<typename DoEval<typename F::template apply<InitialValue, T0>::type>::ty…
47 struct apply<F, InitialValue, T0, T1, T2> {
48 using type = typename F::template apply<
49 typename DoEval<typename F::template apply<
50 … typename DoEval<typename F::template apply<InitialValue, T0>::type>::type, T1>::type>::type,
[all …]
Dwrappers.h30 struct apply;
33 struct apply<Type<ReturnType>, Type<Args>...> {
40 struct apply;
43 struct apply<Type<Signature>> {
50 struct apply;
53 struct apply<Type<T>> {
60 struct apply {
65 struct apply<Type<std::unique_ptr<T>>> {
72 struct apply {
77 struct apply<Type<T*>> {
[all …]
Dvector.h41 struct apply { struct
48 struct apply;
51 struct apply<Vector<Int<ns>...>> {
58 struct apply;
61 struct apply<Vector<Int<ns>...>> {
68 struct apply {
75 struct GenerateIntSequence::apply<Int<0>> {
80 struct GenerateIntSequence::apply<Int<1>> {
94 struct apply;
97 struct apply<T, Vector<Ts...>> {
[all …]
Dmetaprogramming.h36 struct apply;
39 struct apply<Type<C>, Type<Args>...> {
46 struct apply;
49 struct apply<Type<C>, Vector<Type<Types>...>> {
56 struct apply;
59 struct apply<Type<T>> {
66 struct apply;
69 struct apply<Type<C>> {
82 struct apply;
85 struct apply<Type<C>> {
[all …]
Dbasics.h77 struct apply : public F::template apply<Args...> {}; struct
97 struct apply { struct
102 struct apply<MetaExpr> {
107 struct apply<MetaExpr, MetaExpr2> {
112 struct apply<MetaExpr, MetaExpr2, MetaExprs...> {
120 struct apply {
125 struct apply<MetaExpr> {
130 struct apply<MetaExpr, MetaExpr2> {
135 struct apply<MetaExpr, MetaExpr2, MetaExprs...> {
151 struct apply {
[all …]
/external/llvm-project/mlir/test/Dialect/Affine/SuperVectorize/
Dnormalize_maps.mlir13 %0 = affine.apply affine_map<(d0) -> (d0)> (%i0)
14 %1 = affine.apply affine_map<(d0) -> (d0)> (%0)
15 %2 = affine.apply affine_map<(d0, d1) -> (d0 + d1)> (%0, %0)
16 %3 = affine.apply affine_map<(d0, d1) -> (d0 - d1)> (%0, %0)
19 // CHECK-NEXT: {{.*}} affine.apply #[[$ID1]](%{{.*}})
20 // CHECK-NEXT: {{.*}} affine.apply #[[$D0TIMES2]](%{{.*}})
21 // CHECK-NEXT: {{.*}} affine.apply #[[$ZERO]]()
25 %20 = affine.apply affine_map<(d0, d1) -> (d1)> (%i1, %i2)
26 %21 = affine.apply affine_map<(d0, d1) -> (d0)> (%i1, %i2)
27 %22 = affine.apply affine_map<(d0, d1) -> (d0 + d1)> (%20, %21)
[all …]
/external/clang/test/SemaTemplate/
Ddependent-type-identity.cpp13 struct apply { struct
47 void f4(typename T::template apply<U>*); // expected-note{{previous}}
48 void f4(typename U::template apply<U>*);
49 void f4(typename type::template apply<T>*);
50 void f4(typename type::template apply<U_type>*); // expected-error{{redeclar}}
52 void f5(typename T::template apply<U>::type*); // expected-note{{previous}}
53 void f5(typename U::template apply<U>::type*);
54 void f5(typename U::template apply<T>::type*);
55 void f5(typename type::template apply<T>::type*);
56 void f5(typename type::template apply<U_type>::type*); // expected-error{{redeclar}}
[all …]
/external/google-fruit/include/fruit/impl/
Dinjection_errors.h389 using apply = LambdaWithCapturesError<Lambda>; member
394 using apply = NonTriviallyCopyableLambdaError<Lambda>; member
399 using apply = FactoryReturningPointerError<Signature>; member
404 using apply = NoBindingFoundError<T>; member
409 using apply = RepeatedTypesError<Ts...>; member
414 using apply = SelfLoopError<TypesInLoop...>; member
419 using apply = NonClassTypeError<T, C>; member
424 using apply = AnnotatedTypeError<T, C>; member
429 using apply = TypeAlreadyBoundError<C>; member
434 …using apply = RequiredFactoryWithDifferentSignatureError<RequiredSignature, SignatureInInjectTyped… member
[all …]
/external/guava/android/guava-tests/test/com/google/common/base/
DFunctionsTest.java42 assertNull(identity.apply(null)); in testIdentity_same()
43 assertSame("foo", identity.apply("foo")); in testIdentity_same()
48 assertNotSame(new Long(135135L), identity.apply(new Long(135135L))); in testIdentity_notSame()
57 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply()
58 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply()
62 .apply( in testToStringFunction_apply()
70 Functions.toStringFunction().apply(null); in testToStringFunction_apply()
94 assertEquals(1, function.apply("One").intValue()); in testForMapWithoutDefault()
95 assertEquals(3, function.apply("Three").intValue()); in testForMapWithoutDefault()
96 assertNull(function.apply("Null")); in testForMapWithoutDefault()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DFunctionsTest.java42 assertNull(identity.apply(null)); in testIdentity_same()
43 assertSame("foo", identity.apply("foo")); in testIdentity_same()
48 assertNotSame(new Long(135135L), identity.apply(new Long(135135L))); in testIdentity_notSame()
57 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply()
58 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply()
62 .apply( in testToStringFunction_apply()
70 Functions.toStringFunction().apply(null); in testToStringFunction_apply()
94 assertEquals(1, function.apply("One").intValue()); in testForMapWithoutDefault()
95 assertEquals(3, function.apply("Three").intValue()); in testForMapWithoutDefault()
96 assertNull(function.apply("Null")); in testForMapWithoutDefault()
[all …]
/external/llvm-project/clang/test/SemaTemplate/
Ddependent-type-identity.cpp13 struct apply { struct
47 void f4(typename T::template apply<U>*); // expected-note{{previous}}
48 void f4(typename U::template apply<U>*);
49 void f4(typename type::template apply<T>*);
50 void f4(typename type::template apply<U_type>*); // expected-error{{redeclar}}
52 void f5(typename T::template apply<U>::type*); // expected-note{{previous}}
53 void f5(typename U::template apply<U>::type*);
54 void f5(typename U::template apply<T>::type*);
55 void f5(typename type::template apply<T>::type*);
56 void f5(typename type::template apply<U_type>::type*); // expected-error{{redeclar}}
[all …]
/external/llvm-project/mlir/test/Dialect/Affine/
Dcanonicalize.mlir52 %x0 = affine.apply affine_map<(d0) -> (d0 - 1)> (%i0)
53 %x1_0 = affine.apply affine_map<(d0, d1) -> (d0)> (%x0, %x0)
54 %x1_1 = affine.apply affine_map<(d0, d1) -> (d1)> (%x0, %x0)
56 // CHECK: [[I0A:%[0-9]+]] = affine.apply [[$MAP0]](%{{.*}})
61 %y0 = affine.apply affine_map<(d0) -> (d0 + 1)> (%i0)
62 %y1_0 = affine.apply affine_map<(d0, d1) -> (d0)> (%y0, %y0)
63 %y1_1 = affine.apply affine_map<(d0, d1) -> (d1)> (%y0, %y0)
65 // CHECK-NEXT: [[I1A:%[0-9]+]] = affine.apply [[$MAP1]](%{{.*}})
70 %xy_0 = affine.apply affine_map<(d0, d1) -> (d0)> (%x0, %y0)
71 %xy_1 = affine.apply affine_map<(d0, d1) -> (d1)> (%x0, %y0)
[all …]
/external/libtextclassifier/abseil-cpp/absl/utility/
Dutility_test.cc221 EXPECT_EQ(1, absl::apply(Function, std::make_tuple(3, 2))); in TEST()
222 EXPECT_EQ(1, absl::apply(&Function, std::make_tuple(3, 2))); in TEST()
226 EXPECT_EQ(42, absl::apply(Sink, std::make_tuple(absl::make_unique<int>(42)))); in TEST()
230 EXPECT_THAT(absl::apply(Factory, std::make_tuple(42)), in TEST()
234 TEST(ApplyTest, VoidResult) { absl::apply(NoOp, std::tuple<>()); } in TEST()
237 EXPECT_EQ(1, absl::apply(ConstFunctor(), std::make_tuple(3, 2))); in TEST()
242 EXPECT_EQ(1, absl::apply(f, std::make_tuple(3, 2))); in TEST()
243 EXPECT_EQ(1, absl::apply(MutableFunctor(), std::make_tuple(3, 2))); in TEST()
247 EXPECT_EQ(1, absl::apply(std::move(f), std::make_tuple(3, 2))); in TEST()
248 EXPECT_EQ(1, absl::apply(EphemeralFunctor(), std::make_tuple(3, 2))); in TEST()
[all …]

12345678910>>...184