| /external/v8/test/mjsunit/ |
| instanceof.js | 34 function TestChains() { 41 function F() { } 61 function TestExceptions() { 62 function F() { } 86 // Make sure to throw an exception if the function prototype 88 function G() { }
|
| shift-for-integer-div.js | 30 function divp4(x) { 41 function divn4(x) { 54 function divn1(x) { 67 function divp4t(x) { 78 function divn4t(x) { 90 function div_by_two(x) {
|
| track-fields.js | 32 function create_smi_object() { 56 function set_large(o, v) { 80 function create_smi_object2() { 103 function poly_load(o, b) { 123 function object_literal() { return {"a":1.5}; } 130 function load_poly(o) { 148 function load_mono(o) { 162 function load_mono2(o) { 175 function load_mono3(o) { 224 function keyed_load(o, k) [all...] |
| whitespaces.js | 48 function is_whitespace(c) { 52 function test_regexp(str) { 66 function test_trim(c, infix) { 75 function test_parseInt(c, postfix) { 86 function test_eval(c, content) { 92 function test_stringtonumber(c, postfix) {
|
| /external/v8/test/mjsunit/regress/ |
| regress-1036894.js | 28 assertThrows("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }"); 30 function foo() { 31 assertThrows("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }"); 35 assertThrows("$=function anonymous() { /*noex*/do {} while(({ get x(x) { break ; }, set x() { (undefined);} })); }"); 37 xeval = function(s) { eval(s); } 38 xeval('$=function(){L: {break L;break L;}};');
|
| regress-603.js | 28 // Calling non-objects directly or via Function.prototype.call should 33 assertThrows(function() { 38 re1.call = Function.prototype.call; 39 assertThrows(function() { 44 assertThrows(function() { 45 Function.prototype.call.call(re2, null, 'abcdefghijklm') + 'z'; 49 assertThrows(function() { 50 Function.prototype.call.apply( 55 assertThrows(function() { 56 Function.prototype.apply.call [all...] |
| regress-crbug-196583.js | 32 a.__proto__.f = function() { return 1; } 35 function B() {} 36 B.prototype = {f: function() { return 2; }}; 38 function C() {} 39 C.prototype = {g: "foo", f: function() { return 3; }}; 42 function crash(obj) {
|
| regress-crbug-245480.js | 31 function isHoley(obj) { 36 function assertHoley(obj, name_opt) { 40 function assertNotHoley(obj, name_opt) { 44 function create_array(arg) { 56 function f(length) { 65 function g(a) {
|
| regress-crbug-323942.js | 32 // Function is defined on the prototype chain. 33 var holder = { f: function() { return 42; } }; 39 function h(o) { return o.f.apply(this, arguments); } 40 function g(o) { return h(o); } 46 // Sneakily remove the function from the prototype chain. 53 assertThrows(function() { g(receiver); }); 55 // Put function back.
|
| /external/v8/test/webkit/ |
| dfg-cfg-simplify-phantom-get-local-on-same-block-set-local.js | 28 function baz() { 30 return function() { } 33 function stuff(z) { } 35 function foo(x, y) { 44 g: function(x) { } 47 function thingy(o) {
|
| dfg-inline-arguments-use-from-all-the-places-broken.js | 25 "This attempts to test that inlining preserves basic function.arguments functionality when said functionality is used from inside and outside getters and from inlined code, all at once; but it fails at this and instead finds other bugs particularly in the DFG stack layout machinery." 28 function foo(o,b,c) { 32 function fuzz(a, b) { 36 function getter() { 43 function bar(o,b,c) { 47 function argsToStr(args) {
|
| dfg-int32-to-double-on-set-local-and-exit.js | 30 function checkpoint(text) { 35 function func1() { 40 function func2() { 45 function func3(s) { 47 s = func1(); // The bug is that this function will be called twice, if our Int32ToDouble hoisting does a backward speculation. 54 function test() {
|
| dfg-int32-to-double-on-set-local-and-sometimes-exit.js | 30 function checkpoint(text) { 35 function func1() { 42 function func2() { 47 function func3(s) { 49 s = func1(); // The bug is that this function will be called twice, if our Int32ToDouble hoisting does a backward speculation. 56 function test() {
|
| do-while-semicolon.js | 25 "This test checks that toString() round-trip on a function that has do..while in JavaScript does not insert extra semicolon." 28 function f1() { 32 function f2() { 36 function f3() { 40 function f4() { 47 uneval = function(x) { return '(' + x.toString()+ ')'; }
|
| duplicate-param-gc-crash.js | 28 function gc() 37 function eatRegisters(param) 44 function test1(a, b, b, b, b, b, b) { 45 return function() { 58 function test2(a, a, a, a, a, a, b) { 59 return function() {
|
| reentrant-caching.js | 27 function test1() { 30 function g(o) { 55 function test2() { 58 function g(o) { 83 function test3() { 86 function g(o) {
|
| stack-unwinding.js | 26 "This test checks that JavaScriptCore does not crash when uwinding the stack that includes a host function." 30 function twoHostFunctions() { 37 function arrayOperatorFunction(element) { 42 function hostCallsUser(array) { 46 function throwException() { 50 function hostAndException() {
|
| /art/runtime/arch/arm64/ |
| asm_support_arm64.S | 40 .type \name, #function 43 /* Cache alignment for function entry */
|
| /bionic/libc/private/ |
| bionic_asm.h | 37 #define __bionic_asm_function_type @function
|
| /external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
| Antlr.Runtime.Collections.pas | 69 function Pop: T; 75 function Peek: T; 89 function GetCurrent: TPair<TKey, TValue>; 91 function DoGetCurrent: TPair<TKey, TValue>; override; 92 function DoMoveNext: Boolean; override; 95 function MoveNext: Boolean; 104 function GetItem(const Key: TKey): TValue; 106 function GetCount: Integer; 112 function TryGetValue(const Key: TKey; out Value: TValue): Boolean; 114 function ContainsKey(const Key: TKey): Boolean [all...] |
| /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/ |
| AbstractUnivariateRealOptimizer.java | 44 /** Value of the function at the last computed result. */ 58 /** Function to optimize. */ 59 private UnivariateRealFunction function; field in class:AbstractUnivariateRealOptimizer 109 functionValue = function.value(opt); 115 * Convenience function for implementations. 132 * Convenience function for implementations. 181 * Compute the objective function value. 182 * @param f objective function 183 * @param point point at which the objective function must be evaluated 184 * @return objective function value at specified poin [all...] |
| /external/clang/include/clang/Tooling/ |
| ArgumentsAdjusters.h | 34 typedef std::function<CommandLineArguments(const CommandLineArguments &)>
|
| /external/clang/test/PCH/ |
| pragma-diag-section.cpp | 30 expected-note@41 {{in instantiation of member function}} \
|
| /external/clang/test/Sema/ |
| implicit-builtin-decl.c | 5 int *ptr = malloc(sizeof(int) * 10); // expected-warning{{implicitly declaring library function 'malloc' with type}} \ 12 int *calloc(__SIZE_TYPE__, __SIZE_TYPE__); // expected-warning{{incompatible redeclaration of library function 'calloc'}} \ 21 int malloc(int); // expected-warning{{incompatible redeclaration of library function 'malloc'}} 22 int strcpy(int); // expected-warning{{incompatible redeclaration of library function 'strcpy'}} \ 27 fprintf(0, "foo"); // expected-warning{{declaration of built-in function 'fprintf' requires inclusion of the header <stdio.h>}} \ 28 expected-warning {{implicit declaration of function 'fprintf' is invalid in C99}} 38 return __builtin_object_size(&a); // expected-error {{too few arguments to function}} 41 void * realloc(void *p, int size) { // expected-warning{{incompatible redeclaration of library function 'realloc'}} \ 47 void snprintf(); // expected-warning{{incompatible redeclaration of library function 'snprintf'}} \ 59 void longjmp(); // expected-warning{{declaration of built-in function 'longjmp' requires inclusion of the header <setjmp.h>} [all...] |
| implicit-decl.c | 13 expected-error {{implicit declaration of function '_CFCalendarDecomposeAbsoluteTimeV' is invalid in C99}} 16 printg("Hello, World!\n"); // expected-error{{implicit declaration of function 'printg' is invalid in C99}} \ 30 formatd("Hello, World!\n"); // expected-error{{implicit declaration of function 'formatd' is invalid in C99}} \
|