| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
| 15.5.4.5-3.js | 64 function MyObject (v) { 66 this.toString = new Function ( "return this.value +\"\"" ); 70 function getTestCases() { 120 function test() {
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
| 9.2.js | 92 testcases[tc++] = new TestCase( SECTION, "Boolean(new Function())", true, Boolean(new Function()) ); 99 function test() {
|
| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Array/ |
| regress-130451.js | 43 * NOTE: The sort function is intentionally generic; it does not require that 45 * other kinds of objects for use as a method. Whether the sort function can 63 var cmp = new Function(); 71 cmp = function(x,y) {return x-y;}; 78 cmp = function(x,y) {return y-x;}; 85 cmp = function(x,y) {return x-y;}; 96 cmp = function(x,y) {return x-y;}; 134 cmp = function(x,y) {return x-y;}; 152 cmp = function(x,y) {return x-y;}; 193 function addThis( [all...] |
| /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Exceptions/ |
| errstack-001.js | 41 * B) no-name function calls: function() { myFunc();} () 49 * Note: our function getStackFrames(err) orders the array of stack frames 52 * to the function that is called first, and so on... 71 function A(x,y) 76 function B(x,z) 81 function C(x,y) 86 function D(x,z) 158 * Make the first frame occur in a function with an empty name - 160 myErr = function() { return A(44,13); } () [all...] |
| /external/webkit/Source/WebCore/bindings/v8/custom/ |
| V8WorkerContextCustom.cpp | 58 v8::Handle<v8::Value> function = args[0]; 67 if (function->IsString()) { 68 WTF::String stringFunction = toWebCoreString(function); 70 } else if (function->IsFunction()) { 79 ScheduledAction* action = new ScheduledAction(v8Context, v8::Handle<v8::Function>::Cast(function), paramCount, params);
|
| /external/clang/lib/CodeGen/ |
| CGBlocks.cpp | 45 /// Build the helper function to copy a block. 51 /// Build the helper function to dipose of a block. 131 /// 29. BLOCK_USE_STRET - indicates that the block function 147 /// Function pointer generated from block literal. 212 /// rematerialize it at the start of the block function. This is 484 /// Emit a block literal expression in the current function. 492 // Using that metadata, generate the actual block function. 652 // unfortunately) to be a pointer to function type. 728 // Get the function pointer from the literal. 743 // Load the function [all...] |
| CGObjCRuntime.cpp | 288 llvm::Function *syncEnterFn, 289 llvm::Function *syncExitFn) {
|
| /external/chromium/chrome/common/extensions/docs/examples/extensions/proxy_configuration/ |
| proxy_error_handler.js | 20 function ProxyErrorHandler() { 53 * @param {!function} sendResponse Function to call to send a response. 56 handleOnRequest_: function(request, sender, sendResponse) { 72 handleError_: function(details) { 94 getErrorDetails: function() { 102 clearErrorDetails: function() {
|
| /external/chromium/testing/gmock/scripts/ |
| gmock_doctor.py | 169 gcc_regex = (r'In member function \'testing::internal::ReturnAction<R>.*\n' 175 r'note: in instantiation of function template specialization ' 179 You are using a Return() action in a function that returns a reference to 192 r'|(error: control reaches end of non-void function)') 225 r'of function template specialization ' 232 r'of function template specialization ' 263 r'note: in instantiation of member function ' 267 In order to mock this function, Google Mock needs to see the definition 281 gcc_regex = (_GCC_FILE_LINE_RE + r'error: no matching function for ' 282 r'call to \'Truly\(<unresolved overloaded function type>\)' [all...] |
| /external/clang/lib/Frontend/ |
| ASTConsumers.cpp | 175 case Decl::Function: { 178 Out << "[function] "; 180 Out << "<function> "; 314 case Decl::Function: 372 Out << "<function template> " << *FTD << '\n';
|
| /external/jsilver/src/com/google/clearsilver/jsilver/ |
| JSilver.java | 27 import com.google.clearsilver.jsilver.functions.Function; 392 * Registers a global Function that can be used from any template. 394 public void registerGlobalFunction(String name, Function function) { 395 globalFunctions.registerFunction(name, function); 399 * Registers a global TextFilter as function that can be used from any template. 406 * Registers a global escaper. This also makes it available as a Function named with "_escape"
|
| /external/llvm/lib/Analysis/ |
| AliasAnalysis.cpp | 30 #include "llvm/Function.h" 201 if (const Function *F = CS.getCalledFunction()) 213 AliasAnalysis::getModRefBehavior(const Function *F) { 417 /// function.
|
| /external/llvm/lib/CodeGen/ |
| Analysis.cpp | 16 #include "llvm/Function.h" 207 /// This function only tests target-independent requirements. 220 // not profitable. Also, if the callee is a special function (e.g. 252 const Function *F = ExitBB->getParent(); 289 const Function *F = DAG.getMachineFunction().getFunction(); 301 // Check if the only use is a function return node.
|
| /external/mesa3d/src/pixelflinger2/ |
| llvm_helper.h | 155 Function * function = m_builder.GetInsertBlock()->getParent(); local 156 BasicBlock * ifthen = BasicBlock::Create(m_builder.getContext(), name(trueBlock), function, NULL); 157 BasicBlock * ifend = BasicBlock::Create(m_builder.getContext(), name(falseBlock), function, NULL); 193 Function * function = m_builder.GetInsertBlock()->getParent(); local 194 BasicBlock *begin = BasicBlock::Create(m_builder.getContext(), name("loop"), function,0); 195 BasicBlock *end = BasicBlock::Create(m_builder.getContext(), name("endloop"), function,0);
|
| /external/v8/samples/ |
| lineprocessor.cc | 60 * --main-cycle-in-cpp option. Script must declare a function named 61 * "ProcessLine". The main cycle in C++ reads lines and calls this function 64 function ProcessLine(input_line) { 207 // Bind the global 'print' function to the C++ Print callback. 211 // Bind the global 'read_line' function to the C++ Print callback. 283 // If there is no Process function, or if it is not a function, 286 printf("Error: Script does not declare 'ProcessLine' global function.\n"); 290 // It is a function; cast it to a Function [all...] |
| /external/v8/src/arm/ |
| lithium-codegen-arm.h | 190 void CallRuntime(const Runtime::Function* function, 197 const Runtime::Function* function = Runtime::FunctionForId(id); local 198 CallRuntime(function, num_arguments, instr); 205 // Generate a direct call to a known function. Expects the function 207 void CallKnownFunction(Handle<JSFunction> function,
|
| /external/v8/src/ia32/ |
| lithium-codegen-ia32.h | 189 void CallRuntime(const Runtime::Function* fun, 198 const Runtime::Function* function = Runtime::FunctionForId(id); local 199 CallRuntime(function, argc, instr, context_mode); 206 // Generate a direct call to a known function. Expects the function 208 void CallKnownFunction(Handle<JSFunction> function,
|
| /external/v8/src/x64/ |
| lithium-codegen-x64.h | 176 void CallRuntime(const Runtime::Function* function, 183 const Runtime::Function* function = Runtime::FunctionForId(id); local 184 CallRuntime(function, num_arguments, instr); 192 // Generate a direct call to a known function. Expects the function 194 void CallKnownFunction(Handle<JSFunction> function,
|
| /external/v8/test/cctest/ |
| test-log-stack-tracer.cc | 44 using v8::Function; 114 "native function trace();" 115 "native function js_trace();" 116 "native function js_entry_sp();" 117 "native function js_entry_sp_level2();"; 204 static bool IsAddressWithinFuncCode(JSFunction* function, Address addr) { 205 i::Code* code = function->code(); 217 // This C++ function is called as a constructor, to grab the frame pointer 218 // from the calling function. When this function runs, the stack contain [all...] |
| /external/v8/test/mjsunit/compiler/ |
| regress-serialized-slots.js | 28 // The test verifies that parameters of the outer function are correctly 31 function runner(f, expected) { 37 Function.prototype.bind = function(thisObject) 41 function bound() 43 // Note outer function parameter access (|thisObject|). 51 function sum(x, y) { 55 function test(n) {
|
| /external/v8/test/mjsunit/ |
| mul-exhaustive.js | 31 function stringify(n) { 36 function f(expected, y) { 37 function testEval(string, x, y) { 38 var mulFunction = Function("x, y", "return " + string); 41 function mulTest(expected, x, y) { [all...] |
| store-dictionary.js | 30 // Function that stores property 'x' on an object. 31 function store(obj) { obj.x = 42; } 37 // Make the store ic in the 'store' function go into dictionary store 48 // Attempt to store using the store ic in the 'store' function.
|
| /external/v8/test/mjsunit/regress/ |
| regress-1079.js | 30 // Getting the arguments property of an optimized function should not crash, 31 // even if called through our optimized version of Function.prototype.apply. 33 function optimized() { 38 function unoptimized() {
|
| regress-1170.js | 30 __proto__.__defineSetter__("a", function(v) { setter_value = v; }); 39 // Function declarations are treated specially to match Safari. We do 41 eval("function a() {}"); 44 __proto__.__defineSetter__("b", function(v) { assertUnreachable(); }); 58 __proto__.__defineSetter__("c", function(v) { throw 42; });
|
| /external/webkit/Source/WebCore/bindings/js/ |
| JSLocationCustom.cpp | 67 if (entry && (entry->attributes() & Function)) { 68 if (entry->function() == jsLocationPrototypeFunctionReplace) { 71 } else if (entry->function() == jsLocationPrototypeFunctionReload) { 74 } else if (entry->function() == jsLocationPrototypeFunctionAssign) { 104 if (entry && (entry->attributes() & Function)) { 105 if (entry->function() == jsLocationPrototypeFunctionReplace) { 109 } else if (entry->function() == jsLocationPrototypeFunctionReload) { 113 } else if (entry->function() == jsLocationPrototypeFunctionAssign) {
|