Home
last modified time | relevance | path

Searched full:apply (Results 1 – 25 of 5422) sorted by relevance

12345678910>>...217

/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/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/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DFunctionsTest.java40 assertNull(identity.apply(null)); in testIdentity_same()
41 assertSame("foo", identity.apply("foo")); in testIdentity_same()
46 assertNotSame(new Long(135135L), identity.apply(new Long(135135L))); in testIdentity_notSame()
50 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply()
51 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply()
53 Functions.toStringFunction().apply( in testToStringFunction_apply()
60 Functions.toStringFunction().apply(null); in testToStringFunction_apply()
74 assertEquals(1, function.apply("One").intValue()); in testForMapWithoutDefault()
75 assertEquals(3, function.apply("Three").intValue()); in testForMapWithoutDefault()
76 assertNull(function.apply("Null")); in testForMapWithoutDefault()
[all …]
DPredicatesTest.java49 public boolean apply(Integer i) {
59 public boolean apply(Integer i) { in apply() method in PredicatesTest.IsOdd
258 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied()
260 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied()
266 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied()
268 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied()
280 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied()
282 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied()
395 assertFalse(predicate.apply(1)); in testOr_arrayDefensivelyCopied()
397 assertFalse(predicate.apply(1)); in testOr_arrayDefensivelyCopied()
[all …]
/external/skia/animations/
Dimages#1.xml9 <apply >
12 </apply>
43 <apply begin="0.5" scope="polyMatrix">
48 </apply>
49 <apply begin="1" scope="backImage" >
51 </apply>
52 <apply begin="1" scope="frontImage" >
54 </apply>
55 <apply begin="1.5" scope="backImage" >
57 </apply>
[all …]
Dpaths#1.xml17 <apply >
20 </apply>
21 <apply scope="path" >
24 </apply>
25 <apply id="apply" mode="immediate" steps="colors.length-1" >
33 <set target="color" field="color" to="colors[apply.step]" />
35 </apply>
43 <apply>
48 </apply>
59 <apply scope="pathPaint" >
[all …]
Dtext#1.xml12 <apply >
15 </apply>
39 <apply mode="immediate" steps="type.length-1" >
42 </apply>
49 <apply id="applyTypeLength" scope="typeLength" >
51 </apply>
52 <apply id="applySlice" scope="partial">
54 </apply>
58 <apply>
63 </apply>
[all …]
Dlines#1.xml14 <apply mode="immediate" steps="17" >
17 </apply>
21 <apply scope="basePaint" begin="3">
23 </apply>
28 <apply restore="true" >
33 </apply>
38 <apply>
43 </apply>
51 <apply scope="basePaint" >
53 </apply>
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DFunctionsTest.java44 assertNull(identity.apply(null)); in testIdentity_same()
45 assertSame("foo", identity.apply("foo")); in testIdentity_same()
50 assertNotSame(new Long(135135L), identity.apply(new Long(135135L))); in testIdentity_notSame()
59 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply()
60 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply()
62 Functions.toStringFunction().apply( in testToStringFunction_apply()
69 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 …]
DPredicatesTest.java54 public boolean apply(Integer i) {
64 public boolean apply(Integer i) { in apply() method in PredicatesTest.IsOdd
307 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied()
309 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied()
315 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied()
317 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied()
329 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied()
331 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied()
468 assertEquals(pre.apply(0), post.apply(0)); in testOr_serializationIterable()
475 assertFalse(predicate.apply(1)); in testOr_arrayDefensivelyCopied()
[all …]
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/
Dtypes.pass.cpp14 // template <class F, class T> constexpr decltype(auto) apply(F &&, T &&)
107 ex::apply(f_void_0, t); in test_void_0()
115 ex::apply(fp, t); in test_void_0()
123 ex::apply(a, t); in test_void_0()
131 ex::apply(a, t); in test_void_0()
143 ex::apply(f_void_1, t); in test_void_1()
151 ex::apply(fp, t); in test_void_1()
159 ex::apply(fn, t); in test_void_1()
167 ex::apply(a, t); in test_void_1()
179 ex::apply(f_void_2, t); in test_void_2()
[all …]
Darg_type.pass.cpp14 // template <class F, class T> constexpr decltype(auto) apply(F &&, T &&)
43 assert(3 == ex::apply(call_with_value, t)); in test_values()
47 assert(4 == ex::apply(call_with_ref, t)); in test_values()
51 assert(5 == ex::apply(call_with_const_ref, t)); in test_values()
55 assert(6 == ex::apply(call_with_rvalue_ref, static_cast<Tuple &&>(t))); in test_values()
59 assert(8 == ex::apply(call_with_value, t)); in test_values()
63 assert(9 == ex::apply(call_with_const_ref, t)); in test_values()
75 assert(3 == ex::apply(call_with_value, t)); in test_refs()
80 assert(4 == ex::apply(call_with_ref, t)); in test_refs()
85 assert(5 == ex::apply(call_with_const_ref, t)); in test_refs()
[all …]
Dextended_types.pass.cpp14 // template <class F, class T> constexpr decltype(auto) apply(F &&, T &&)
110 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
118 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
126 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
134 assert(1 == ex::apply(mem1, t)); in test_ext_int_0()
142 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
150 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
158 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
166 assert(1 == ex::apply(mem2, t)); in test_ext_int_0()
173 assert(42 == ex::apply(obj1, t)); in test_ext_int_0()
[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/swiftshader/third_party/LLVM/include/llvm/Support/
DCommandLine.h275 void apply(Option &O) const { O.setDescription(Desc); } in apply() function
283 void apply(Option &O) const { O.setValueStr(Desc); } in apply() function
296 void apply(Opt &O) const { O.setInitialValue(Init); } in apply() function
315 void apply(Opt &O) const { O.setLocation(O, Loc); } in apply() function
471 void apply(Opt &O) const {
971 // not correctly respond to the apply method). Because the syntax to use this
972 // is a pain, we have the 'apply' method below to handle the nastiness...
976 static void opt(const Mod &M, Opt &O) { M.apply(O); }
1011 // apply method - Apply a modifier to an option in a type safe way.
1013 void apply(const Mod &M, Opt *O) {
[all …]
/external/skia/src/core/
DSkColorSpaceXformCanvas.cpp26 if (p) { fPaint = fStorage.set(xformer->apply(*p)); } in MaybePaint()
53 fTarget->drawPaint(fXformer->apply(paint)); in onDrawPaint()
57 fTarget->drawRect(rect, fXformer->apply(paint)); in onDrawRect()
60 fTarget->drawOval(oval, fXformer->apply(paint)); in onDrawOval()
63 fTarget->drawRRect(rrect, fXformer->apply(paint)); in onDrawRRect()
66 fTarget->drawDRRect(outer, inner, fXformer->apply(paint)); in onDrawDRRect()
69 fTarget->drawPath(path, fXformer->apply(paint)); in onDrawPath()
73 fTarget->drawArc(oval, start, sweep, useCenter, fXformer->apply(paint)); in onDrawArc()
76 fTarget->drawRegion(region, fXformer->apply(paint)); in onDrawRegion()
82 fXformer->apply(xformed, colors, 4); in onDrawPatch()
[all …]
DSkColorSpaceXformer.cpp52 // is problematic. The solution is to limit the cache scope to the top level apply() call
97 sk_sp<SkImage> SkColorSpaceXformer::apply(const SkImage* src) { in apply() function in SkColorSpaceXformer
105 sk_sp<SkImage> SkColorSpaceXformer::apply(const SkBitmap& src) { in apply() function in SkColorSpaceXformer
118 sk_sp<SkColorFilter> SkColorSpaceXformer::apply(const SkColorFilter* colorFilter) { in apply() function in SkColorSpaceXformer
126 sk_sp<SkImageFilter> SkColorSpaceXformer::apply(const SkImageFilter* imageFilter) { in apply() function in SkColorSpaceXformer
134 sk_sp<SkShader> SkColorSpaceXformer::apply(const SkShader* shader) { in apply() function in SkColorSpaceXformer
139 void SkColorSpaceXformer::apply(SkColor* xformed, const SkColor* srgb, int n) { in apply() function in SkColorSpaceXformer
140 SkAssertResult(fFromSRGB->apply(SkColorSpaceXform::kBGRA_8888_ColorFormat, xformed, in apply()
145 SkColor SkColorSpaceXformer::apply(SkColor srgb) { in apply() function in SkColorSpaceXformer
147 this->apply(&xformed, &srgb, 1); in apply()
[all …]
/external/valgrind/docs/lib/
Dvg-faq2txt.xsl34 <xsl:apply-templates select="."/>
41 <xsl:apply-templates/>
47 <xsl:apply-templates mode="book.titlepage.recto.auto.mode"
49 <xsl:apply-templates mode="book.titlepage.recto.auto.mode"
51 <xsl:apply-templates mode="book.titlepage.recto.auto.mode"
53 <xsl:apply-templates mode="book.titlepage.recto.auto.mode"
86 <xsl:apply-templates/>
100 <xsl:apply-templates select="$title"/>
104 <xsl:apply-templates select="qandaentry|qandadiv"/>
113 <xsl:apply-templates select="parent::qandadiv" mode="label.markup"/>
[all …]
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
Dp6.cpp4 …template<class T> void apply(T x, void (*f)(T)) { f(x); } // expected-note 2 {{candidate template … in apply() function
10 apply(0, &temp); in test0()
11 apply(0, &temp<>); in test0()
14 apply(0, &temp<int>); in test0()
17 apply(0, &temp<long>); // expected-error {{no matching function for call to 'apply'}} in test0()
25 apply(0, &over); in test1()
28 apply(0L, &over); // expected-error {{no matching function for call to 'apply'}} in test1()
35 // pick correct overload of 'over' during overload resolution for 'apply' in test2()
36 apply(0, &over); in test2()
42 apply(0, &temp2); in test3()
[all …]
/external/droiddriver/src/io/appium/droiddriver/finders/
DPredicates.java35 public boolean apply(Object o) {
59 public boolean apply(T input) { in not()
60 return !predicate.apply(input); in not()
87 public boolean apply(T input) {
88 return first.apply(input) && second.apply(input);
106 public boolean apply(T input) {
108 if (!each.apply(input)) {
141 public boolean apply(T input) {
143 if (each.apply(input)) {
175 public boolean apply(UiElement element) {
[all …]
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
Dapply_extended_types.pass.cpp14 // template <class F, class T> constexpr decltype(auto) apply(F &&, T &&)
109 assert(1 == std::apply(mem1, t)); in test_ext_int_0()
117 assert(1 == std::apply(mem1, t)); in test_ext_int_0()
125 assert(1 == std::apply(mem1, t)); in test_ext_int_0()
133 assert(1 == std::apply(mem1, t)); in test_ext_int_0()
141 assert(1 == std::apply(mem2, t)); in test_ext_int_0()
149 assert(1 == std::apply(mem2, t)); in test_ext_int_0()
157 assert(1 == std::apply(mem2, t)); in test_ext_int_0()
165 assert(1 == std::apply(mem2, t)); in test_ext_int_0()
172 assert(42 == std::apply(obj1, t)); in test_ext_int_0()
[all …]

12345678910>>...217