/external/v8/test/mjsunit/strong/ |
class-object-frozen.js | 9 function getClass() { 17 function getClassExpr() { 21 function getClassStrong() { 30 function getClassExprStrong() { 35 function addProperty(o) { 39 function convertPropertyToData(o) { 44 function testWeakClass(classFunc) { 45 assertDoesNotThrow(function(){addProperty(classFunc())}); 46 assertDoesNotThrow(function(){addProperty(classFunc().prototype)}); 47 assertDoesNotThrow(function(){convertPropertyToData(classFunc())}) [all...] |
load-builtins.js | 7 function getGlobal() { 11 function polluteGlobal() { 15 (function() { 21 Function, 26 assertThrows(function(){"use strong"; builtin.foo}, TypeError); 27 assertThrows(function(){"use strong"; builtin[0]}, TypeError); 28 assertThrows(function(){"use strong"; builtin[10000]}, TypeError); 30 assertDoesNotThrow(function(){"use strong"; builtin.foo}); 31 assertThrows(function(){"use strong"; builtin.bar}); 32 assertThrows(function(){"use strong"; builtin[0]}, TypeError) [all...] |
object-set-prototype.js | 10 function getSloppyObjects() { 11 return [(function(){}), ({})]; 14 function getStrictObjects() { 16 return [(function(){}), ({})]; 19 function getStrongObjects() { 21 return [(function(){}), ({})]; 24 function declareObjectLiteralWithProtoSloppy() { 28 function declareObjectLiteralWithProtoStrong() { 33 function testStrongObjectSetProto() { 41 let setProtoBuiltin = function(o){Object.setPrototypeOf(o, {})} [all...] |
destructuring.js | 8 (function() { 9 var f = (function() { 11 return function f({ x = function() { return []; } }) { return x(); }; 18 assertThrows(function() { f({}); }, TypeError); 20 function weakf({ x = function() { return []; } }) { return x(); } 24 function outerf() { return []; } 25 var f2 = (function() { 27 return function f2({ x = outerf }) { return x(); } [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke_int_0.pass.cpp | 12 // class function<R(ArgTypes...)> 36 // function 38 std::function<int ()> r1(f_int_0); 41 // function pointer 44 std::function<int ()> r1(fp); 50 std::function<int ()> r1(a0);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ |
ifunc.s | 2 .type foo, @function 9 .type bar, @function 12 .type normal, @function
|
/external/v8/test/mjsunit/ |
global-undefined.js | 7 function test(expected, f) { 15 function testThrows(f) { 23 function f1() { return undefined; } 26 function f2() { return void 0; } 29 function f3() { return void 0 == void 0; } 32 function f4() { return void 0 == undefined; } 35 function f5() { return undefined == void 0; } 38 function f6() { return "" + undefined; } 41 function f7() { return void 0 === void 0; } 44 function f8() { return void 0 === undefined; [all...] |
primitive-keyed-access.js | 6 { set: function(v) { set = v; }}); 8 { set: function(v) { set = v; }}); 10 { set: function(v) { set = v; }}); 23 assertThrows(function(){"use strict"; var o = "123"; o[1] = 10; }); 24 assertThrows(function(){"use strict"; var o = ""; o[1] = 10; }); 25 assertThrows(function(){"use strict"; var o = 1; o[1] = 10; }); 27 assertThrows(function() { 33 assertThrows(function() { 39 assertThrows(function() { 45 assertThrows(function() { [all...] |
/external/v8/test/mjsunit/es6/ |
block-scope-class.js | 7 // Flags: --harmony-sloppy --harmony-sloppy-function 9 function AssertEqualsStrictAndSloppy(value, code) { 10 assertEquals(value, eval("(function() {" + code + "})()")); 11 assertEquals(value, eval("(function() { 'use strict'; " + code + "})()")); 12 assertEquals(value, eval("(function() { var x = 0; {" + code + "} })()")); 13 assertEquals(value, eval("(function() { 'use strict'; var x = 0; {" 17 function AssertThrowsStrictAndSloppy(code, error) { 18 assertThrows("(function() {" + code + "})()", error); 19 assertThrows("(function() { 'use strict'; " + code + "})()", error); 20 assertThrows("(function() { var x = 0; { " + code + "} })()", error) [all...] |
spread-array.js | 7 (function TestBasics() { 19 function* gen(n) { 29 function id(v) { 35 (function TestGenerator() { 42 (function TestOrderOfExecution() { 54 (function TestNotIterable() { 56 assertThrows(function() { 65 (function TestInvalidIterator() { 70 assertThrows(function() { 77 (function TestIteratorNotAnObject() [all...] |
string-raw.js | 5 (function testStringRawArity() { 10 (function testStringRawCallSiteToObject() { 15 (function testStringRawCallSiteRawToObject() { 20 (function testStringRawUndefinedLength() { 30 (function testStringRawZeroLength() { 42 (function testStringRawNegativeLength() { 54 (function testStringRawNaNLength() { 66 (function testStringRawBasic() { 73 (function testStringRawNoSubst() { 80 (function testStringRawSubst() [all...] |
/external/v8/test/mjsunit/wasm/ |
asm-wasm.js | 7 function EmptyTest() { 9 function caller() { 13 function empty() { 20 function IntTest() { 22 function sum(a, b) { 31 function caller() { 40 function Float64Test() { 42 function sum(a, b) { 48 function caller() { 64 function BadModule() [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
RewriteRuleTokenStream.as | 34 public function RewriteRuleTokenStream(adaptor:TreeAdaptor, elementDescription:String, element:Object=null) { 39 public function nextNode():Object { 44 public function nextToken():Token { 51 protected override function toTree(el:Object):Object { 55 protected override function dup(el:Object):Object {
|
/external/compiler-rt/lib/builtins/ |
int_util.c | 30 void compilerrt_abort_impl(const char *file, int line, const char *function) { 31 panic("%s:%d: abort in %s", file, line, function); 44 void compilerrt_abort_impl(const char *file, int line, const char *function) { 45 __assert_rtn(function, file, line, "libcompiler_rt abort"); 57 void compilerrt_abort_impl(const char *file, int line, const char *function) {
|
/external/v8/test/mjsunit/asm/ |
infinite-loops-taken.js | 6 function counter(x) { 7 return (function() { if (x-- == 0) throw error;}); 10 function Module() { 13 function w0(f) { 18 function w1(f) { 23 function w2(f) { 29 function w3(f) { 38 assertThrowsEquals(function() { m.w0(counter(5)) }, error); 39 assertThrowsEquals(function() { m.w1(counter(5)) }, error); 40 assertThrowsEquals(function() { m.w2(counter(5)) }, error) [all...] |
/external/zlib/src/contrib/pascal/ |
zlibpas.pas | 17 alloc_func = function(opaque: Pointer; items, size: Integer): Pointer; 22 in_func = function(opaque: Pointer; var buf: PByte): Integer; 24 out_func = function(opaque: Pointer; buf: PByte; size: Integer): Integer; 105 function zlibVersion: PChar; 106 function deflateInit(var strm: z_stream; level: Integer): Integer; 107 function deflate(var strm: z_stream; flush: Integer): Integer; 108 function deflateEnd(var strm: z_stream): Integer; 109 function inflateInit(var strm: z_stream): Integer; 110 function inflate(var strm: z_stream; flush: Integer): Integer; 111 function inflateEnd(var strm: z_stream): Integer [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
mq303a.js | 46 function statusMessage(amt) 48 setTimeout(function() 57 function runAlcoholSensor() 64 setInterval(function() 74 process.on('SIGINT', function()
|
/external/guava/guava/src/com/google/common/base/ |
FunctionalEquivalence.java | 41 private final Function<F, ? extends T> function; field in class:FunctionalEquivalence 45 Function<F, ? extends T> function, Equivalence<T> resultEquivalence) { 46 this.function = checkNotNull(function); 51 return resultEquivalence.equivalent(function.apply(a), function.apply(b)); 55 return resultEquivalence.hash(function.apply(a)); 64 return function.equals(that.function [all...] |
/hardware/bsp/intel/peripheral/libupm/doxy/node/generators/jsdoc/ |
generator.js | 30 function generateDocs(specjs) { 32 docs = _.reduce(specjs.METHODS, function(memo, methodSpec, methodName) { 35 docs = _.reduce(specjs.ENUMS, function(memo, enumSpec, enumName) { 38 docs = _.reduce(specjs.CLASSES, function(memo, classSpec, parentClass) { 39 return _.reduce(classSpec.methods, function(memo, methodSpec, methodName) { 48 function GENERATE_DOC(text) { 54 function GENERATE_MODULE(module) { 60 function GENERATE_METHOD(name, spec, parent) { 66 + _.reduce(spec.params, function(memo, paramSpec, paramName) { 74 function GENERATE_ENUM(name, spec) [all...] |
/external/clang/test/Modules/Inputs/ |
redecl-add-after-load-decls.h | 3 extern constexpr int function(); 4 constexpr int test(bool b) { return b ? variable : function(); } 9 extern constexpr int function(); 12 constexpr int N_test(bool b) { return b ? N::variable : N::function(); } 16 constexpr int C_test(bool b) { return b ? C::variable : C::function(); } 21 static constexpr int function(); 24 constexpr int D_test(bool b) { return b ? D::variable : D::function(); }
|
/external/v8/test/mjsunit/harmony/ |
destructuring.js | 8 (function TestObjectLiteralPattern() { 47 (function TestObjectLiteralPatternInitializers() { 82 (function TestObjectLiteralPatternLexicalInitializers() { 120 (function TestObjectLiteralPatternLexical() { 157 (function TestObjectLiteralPatternLexicalConst() { 163 assertThrows(function() { x++; }, TypeError); 164 assertThrows(function() { y++; }, TypeError); 175 (function TestFailingMatchesSloppy() { 186 (function TestFailingMatchesStrict() { 208 (function TestTDZInIntializers() [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/ |
runner.js | 6 function loadWebAnimationsBuildTarget(target) { 8 config.src.concat(config.test).forEach(function(file) { 13 (function() { 17 addEventListener('error', function(event) { 21 addEventListener('load', function() { 25 suite('page-script-errors', function() { 26 test('no script errors on page', function() {
|
/external/v8/test/mjsunit/compiler/ |
regress-shift-left.js | 7 (function ShiftLeftWithDeoptUsage() { 8 function g() {} 10 function f() { 22 (function ShiftLeftWithCallUsage() { 23 var f = (function() { 28 function g(x) { return x; } 30 function f() {
|
regress-shift-right-logical.js | 7 (function ShiftRightLogicalWithDeoptUsage() { 8 function g() {} 10 function f() { 22 (function ShiftRightLogicalWithCallUsage() { 23 var f = (function() { 28 function g(x) { return x; } 30 function f() {
|
regress-shift-right.js | 7 (function ShiftRightWithDeoptUsage() { 8 function g() {} 10 function f() { 22 (function ShiftRightWithCallUsage() { 23 var f = (function() { 28 function g(x) { return x; } 30 function f() {
|