/external/chromium_org/v8/test/mjsunit/ |
D | apply.js | 36 assertSame(this, f0.apply(), "1-0"); 38 assertSame(this, f0.apply(this), "2a"); 39 assertSame(this, f0.apply(this, new Array(1)), "2b"); 40 assertSame(this, f0.apply(this, new Array(2)), "2c"); 41 assertSame(this, f0.apply(this, new Array(4242)), "2d"); 43 assertSame(this, f0.apply(null), "3a"); 44 assertSame(this, f0.apply(null, new Array(1)), "3b"); 45 assertSame(this, f0.apply(null, new Array(2)), "3c"); 46 assertSame(this, f0.apply(this, new Array(4242)), "3d"); 48 assertSame(this, f0.apply(void 0), "4a"); [all …]
|
D | arguments-apply.js | 38 return ReturnArguments.apply(this, arguments); 51 return object.f.apply(this, arguments); 64 return ReturnArguments.apply(this, arguments); 73 return ReturnReceiver.apply(receiver, arguments); 84 return ReturnReceiver.apply(Object, arguments); 92 f.apply = function() { return 87; } function 93 return f.apply(this, arguments); 102 var object = { apply: Function.prototype.apply }; property 103 return object.apply(this, arguments); 113 var result = ReturnArguments.apply(this, arguments); [all …]
|
D | arguments-apply-deopt.js | 33 var res = h.apply({ fffffff : r(this) }, arguments); 49 y.apply({ self_ : 3 }); 50 y.apply({ self_ : 3 }); 51 y.apply({ self_ : 3 }); 55 assertEquals(y.apply({ self_ : 3, uuu : 4 }), 3); 67 return f.apply(deopt(), arguments);
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/analysis/ |
D | DepthFirstAdapter.java | 34 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 …]
|
D | ReversedDepthFirstAdapter.java | 34 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/clang/test/SemaTemplate/ |
D | dependent-type-identity.cpp | 13 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 …]
|
D | typename-specifier-4.cpp | 14 typedef typename MetaFun::template apply<T1, T2> inner; 22 struct apply { struct 30 …typename make_pair::template apply<int, float>, // expected-warning{{'template' keyword outside of… 32 make_pair::apply<int, float> argument 38 struct apply { struct 39 typedef typename MetaFun::template apply<T2, T1> new_metafun; argument 44 int a2[is_same<swap_and_apply2<make_pair>::apply<int, float>::type, 50 struct apply { struct 51 typedef typename MetaFun::template apply<T2, T1>::type type; argument 55 int a3[is_same<swap_and_apply2b<make_pair>::apply<int, float>::type,
|
/external/chromium_org/v8/test/webkit/fast/js/ |
D | function-apply.js | 32 return t.apply(null, arguments); 41 return t.apply(null, arguments); 50 return t.apply(null, arguments); 59 return t.apply(null, arguments); 68 return t.apply(null, arguments, executedAdditionalArgument = true); 84 return t.apply(null, array); 93 return t.apply(null, array); 102 return t.apply(null, array); 111 return t.apply(null, array); 127 return t.apply(null, arguments); [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | FunctionsTest.java | 43 assertNull(identity.apply(null)); in testIdentity_same() 44 assertSame("foo", identity.apply("foo")); in testIdentity_same() 49 assertNotSame(new Long(135135L), identity.apply(new Long(135135L))); in testIdentity_notSame() 58 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply() 59 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply() 61 Functions.toStringFunction().apply( in testToStringFunction_apply() 68 Functions.toStringFunction().apply(null); in testToStringFunction_apply() 93 assertEquals(1, function.apply("One").intValue()); in testForMapWithoutDefault() 94 assertEquals(3, function.apply("Three").intValue()); in testForMapWithoutDefault() 95 assertNull(function.apply("Null")); in testForMapWithoutDefault() [all …]
|
D | PredicatesTest.java | 51 public boolean apply(Integer i) { 61 public boolean apply(Integer i) { in apply() method in PredicatesTest.IsOdd 304 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 306 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 313 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 315 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 328 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 330 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 467 assertEquals(pre.apply(0), post.apply(0)); in testOr_serializationIterable() 474 assertFalse(predicate.apply(1)); in testOr_arrayDefensivelyCopied() [all …]
|
D | EnumsTest.java | 45 assertEquals(TestEnum.CHEETO, function.apply("CHEETO")); in testValueOfFunction() 46 assertEquals(TestEnum.HONDA, function.apply("HONDA")); in testValueOfFunction() 47 assertEquals(TestEnum.POODLE, function.apply("POODLE")); in testValueOfFunction() 52 assertNull(function.apply("cHEETO")); in testValueOfFunction_caseSensitive() 53 assertNull(function.apply("Honda")); in testValueOfFunction_caseSensitive() 54 assertNull(function.apply("poodlE")); in testValueOfFunction_caseSensitive() 59 assertNull(function.apply("WOMBAT")); in testValueOfFunction_nullWhenNotMatchingConstant()
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | HtmlPolicyBuilderTest.java | 67 apply(new HtmlPolicyBuilder())); in testTextFilter() 82 apply(new HtmlPolicyBuilder() in testCannedFormattingTagFilter() 99 apply(new HtmlPolicyBuilder() in testCannedFormattingTagFilterNoItalics() 116 apply(new HtmlPolicyBuilder() in testSimpleTagFilter() 133 apply(new HtmlPolicyBuilder() in testLinksAllowed() 151 apply(new HtmlPolicyBuilder() in testExternalLinksAllowed() 170 apply(new HtmlPolicyBuilder() in testLinksWithNofollow() 190 apply(new HtmlPolicyBuilder() in testImagesAllowed() 210 apply(new HtmlPolicyBuilder() in testStyleFiltering() 229 apply(new HtmlPolicyBuilder() in testElementTransforming() [all …]
|
/external/droiddriver/src/com/google/android/droiddriver/finders/ |
D | Predicates.java | 31 public boolean apply(Object o) { 55 public boolean apply(T input) { in not() 56 return !predicate.apply(input); in not() 83 public boolean apply(T input) { 84 return first.apply(input) && second.apply(input); 104 public boolean apply(T input) { 106 if (!each.apply(input)) { 130 public boolean apply(T input) { 132 if (each.apply(input)) { 153 public boolean apply(UiElement element) { [all …]
|
/external/llvm/include/llvm/Support/ |
D | CommandLine.h | 294 void apply(Option &O) const { O.setDescription(Desc); } in apply() function 302 void apply(Option &O) const { O.setValueStr(Desc); } in apply() function 315 void apply(Opt &O) const { O.setInitialValue(Init); } in apply() function 334 void apply(Opt &O) const { O.setLocation(O, Loc); } in apply() function 347 void apply(Opt &O) const { O.setCategory(Category); } in apply() function 509 void apply(Opt &O) const { 1012 static void opt(const Mod &M, Opt &O) { M.apply(O); } 1049 void apply(const Mod &M, Opt *O) { 1211 apply(M0, this); 1218 apply(M0, this); apply(M1, this); [all …]
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
D | p6.cpp | 4 …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() 36 apply(0, &over); in test2() 42 apply(0, &temp2); in test3() 43 apply(0, &temp2<>); in test3() [all …]
|
/external/chromium_org/v8/test/webkit/ |
D | function-apply-aliased-expected.txt | 24 This tests that we can correctly call Function.prototype.apply 29 PASS myObject.apply() is [myObject, "myObject.apply"] 30 PASS forwarder(myObject) is [myObject, "myObject.apply"] 33 PASS myFunction.apply(myObject, ['arg1']) is [myObject, "myFunction", "arg1"] 34 PASS myFunction.apply(myObject, arg1Array) is [myObject, "myFunction", "arg1"] 36 PASS myFunction.apply() is [this, "myFunction", undefined] 37 PASS myFunction.apply(null) is [this, "myFunction", undefined] 38 PASS myFunction.apply(undefined) is [this, "myFunction", undefined] 43 PASS myFunctionWithApply.apply(myObject, ['arg1']) is [myFunctionWithApply, "myFunctionWithApply.ap… 45 PASS myFunctionWithApply.apply(myObject, arg1Array) is [myFunctionWithApply, "myFunctionWithApply.a… [all …]
|
D | function-apply-aliased.js | 28 var myObject = { apply: function() { return [myObject, "myObject.apply"] } }; method 38 return f.apply(thisValue, arguments); 40 return g.apply(null, args); 43 recurseArguments.apply(null, arguments); 46 myFunctionWithApply.apply = function (arg1) { return [this, "myFunctionWithApply.apply", arg1] }; function 47 Function.prototype.aliasedApply = Function.prototype.apply;
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
D | string-repeat.js | 39 assertEquals("000", String.prototype.repeat.apply(0, [3])); 40 assertEquals("-1-1-1", String.prototype.repeat.apply(-1, [3])); 41 assertEquals("2.12.12.1", String.prototype.repeat.apply(2.1, [3])); 42 assertEquals("", String.prototype.repeat.apply([], [3])); 43 assertEquals("1,2,3", String.prototype.repeat.apply([1, 2, 3], [1])); 44 assertEquals("true", String.prototype.repeat.apply(true, [1])); 45 assertEquals("false", String.prototype.repeat.apply(false, [1])); 46 assertEquals("[object Object]", String.prototype.repeat.apply({}, [1]));
|
D | string-startswith.js | 86 assertTrue(String.prototype.startsWith.apply(v, [v]), e.msg); 357 String.prototype.startsWith.apply(undefined); 360 String.prototype.startsWith.apply(undefined, ["b"]); 363 String.prototype.startsWith.apply(undefined, ["b", 4]); 366 String.prototype.startsWith.apply(null); 369 String.prototype.startsWith.apply(null, ["b"]); 372 String.prototype.startsWith.apply(null, ["b", 4]); 374 assertEquals(String.prototype.startsWith.apply(42, ["2"]), false); 375 assertEquals(String.prototype.startsWith.apply(42, ["4"]), true); 376 assertEquals(String.prototype.startsWith.apply(42, ["b", 4]), false); [all …]
|
D | string-endswith.js | 86 assertTrue(String.prototype.endsWith.apply(v, [v]), e.msg); 372 String.prototype.endsWith.apply(undefined); 375 String.prototype.endsWith.apply(undefined, ["b"]); }, 378 String.prototype.endsWith.apply(undefined, ["b", 4]); 381 String.prototype.endsWith.apply(null); 384 String.prototype.endsWith.apply(null, ["b"]); 387 String.prototype.endsWith.apply(null, ["b", 4]); 389 assertEquals(String.prototype.endsWith.apply(42, ["2"]), true); 390 assertEquals(String.prototype.endsWith.apply(42, ["4"]), false); 391 assertEquals(String.prototype.endsWith.apply(42, ["b", 4]), false); [all …]
|
/external/lldb/examples/synthetic/bitfield/ |
D | program.cpp | 29 uint32_t apply() in apply() function in MaskedData 68 MaskedData data_2(data_1.apply(),0x1AFC,eMaskingOperatorXor); in main() 69 MaskedData data_3(data_2.apply(),0xFFCF,eMaskingOperatorOr); in main() 70 MaskedData data_4(data_3.apply(),0xAABC,eMaskingOperatorAnd); in main() 71 MaskedData data_5(data_4.apply(),0xFFAC,eMaskingOperatorNor); in main() 72 MaskedData data_6(data_5.apply(),0x0000BEEF,eMaskingOperatorAnd); in main() 73 return data_6.apply(); // <-- what comes out of here? in main()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/macho/tests/nasm64/ |
D | macho-reloc64-err.errwarn | 1 -:20: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym… 2 -:21: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym… 3 -:23: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym… 4 -:24: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym… 5 -:25: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym… 6 -:26: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym… 7 -:27: error: macho: sorry, cannot apply 32 bit absolute relocations in 64 bit mode, consider "[_sym…
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Predicates.java | 210 @Override public boolean apply(@Nullable Object o) { in apply() method 215 @Override public boolean apply(@Nullable Object o) { in apply() method 220 @Override public boolean apply(@Nullable Object o) { in apply() method 225 @Override public boolean apply(@Nullable Object o) { in apply() method 244 public boolean apply(T t) { in apply() method in Predicates.NotPredicate 245 return !predicate.apply(t); in apply() 273 public boolean apply(T t) { in apply() method in Predicates.AndPredicate 275 if (!components.get(i).apply(t)) { in apply() 306 public boolean apply(T t) { in apply() method in Predicates.OrPredicate 308 if (components.get(i).apply(t)) { in apply() [all …]
|
/external/chromium_org/third_party/skia/src/animator/ |
D | SkDisplayList.cpp | 79 SkApply* apply = (SkApply*) draw; in SearchForMatch() local 80 if (apply->scope == match) in SearchForMatch() 82 …if (apply->scope->isGroup() && SearchGroupForMatch(apply->scope, match, list, parent, found, grand… in SearchForMatch() 84 if (apply->mode == SkApply::kMode_create) { in SearchForMatch() 85 for (SkDrawable** ptr = apply->fScopes.begin(); ptr < apply->fScopes.end(); ptr++) { in SearchForMatch() 121 SkApply* apply = (SkApply*) draw; in reset() local 122 apply->reset(); in reset()
|
/external/skia/src/animator/ |
D | SkDisplayList.cpp | 79 SkApply* apply = (SkApply*) draw; in SearchForMatch() local 80 if (apply->scope == match) in SearchForMatch() 82 …if (apply->scope->isGroup() && SearchGroupForMatch(apply->scope, match, list, parent, found, grand… in SearchForMatch() 84 if (apply->mode == SkApply::kMode_create) { in SearchForMatch() 85 for (SkDrawable** ptr = apply->fScopes.begin(); ptr < apply->fScopes.end(); ptr++) { in SearchForMatch() 121 SkApply* apply = (SkApply*) draw; in reset() local 122 apply->reset(); in reset()
|