HomeSort by relevance Sort by last modified time
    Searched refs:Function (Results 151 - 175 of 897) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
15.3.2.1-1.js 24 ECMA Section: 15.3.2.1 The Function Constructor
25 new Function(p1, p2, ..., pn, body )
28 of a function; any preceeding arguments sepcify formal
42 var TITLE = "The Function Constructor";
46 var MyObject = new Function( "value", "this.value = value; this.valueOf = new Function( 'return this.value' ); this.toString = new Function( 'return String(this.value);' )" );
51 function getTestCases() {
55 var myfunc = new Function();
58 // array[item++] = new TestCase( SECTION, "myfunc.toString()", "function anonymous() { }", myfunc.toString() )
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/
tostring-1.js 24 Section: Function.toString
27 Since the behavior of Function.toString() is implementation-dependent,
28 toString tests for function are not in the ECMA suite.
40 var TITLE = "Function.toString()";
59 var f = new Function( "return \"hello!\"");
87 function noop( value ) {
89 function Add( a, b, c, d, e ) {
93 function stub( value ) {
96 function ToString( object ) {
100 function ToBoolean( value )
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/
V8NodeFilterCondition.cpp 70 v8::Handle<v8::Function> callback;
72 callback = v8::Handle<v8::Function>::Cast(m_filter);
76 V8Proxy::throwError(V8Proxy::TypeError, "NodeFilter object does not have an acceptNode function");
79 callback = v8::Handle<v8::Function>::Cast(value);
V8EventListener.h 43 // V8EventListener is a wrapper of a JS object implements EventListener interface (has handleEvent(event) method), or a JS function
55 v8::Local<v8::Function> getListenerFunction(ScriptExecutionContext*);
V8Utilities.h 109 static inline v8::Local<v8::Object> newInstance(v8::Handle<v8::Function>);
111 static inline v8::Local<v8::Object> newInstance(v8::Handle<v8::Function>, int argc, v8::Handle<v8::Value> argv[]);
114 v8::Local<v8::Object> SafeAllocation::newInstance(v8::Handle<v8::Function> function)
116 if (function.IsEmpty())
119 return function->NewInstance();
130 v8::Local<v8::Object> SafeAllocation::newInstance(v8::Handle<v8::Function> function, int argc, v8::Handle<v8::Value> argv[])
132 if (function.IsEmpty())
135 return function->NewInstance(argc, argv)
    [all...]
  /external/clang/lib/CodeGen/
CGDeclCXX.cpp 79 llvm::Constant *function; local
82 // Special-case non-array C++ destructors, where there's a function
90 function = CGM.GetAddrOfCXXDestructor(dtor, Dtor_Complete);
93 // Otherwise, the standard logic requires a helper function.
95 function = CodeGenFunction(CGM).generateDestroyHelper(addr, type,
101 CGF.EmitCXXGlobalDtorRegistration(function, argument);
130 // Get the destructor function type
138 // Get the __cxa_atexit function type
145 if (llvm::Function *Fn = dyn_cast<llvm::Function>(AtExitFn)
    [all...]
  /external/llvm/examples/BrainF/
BrainFDriver.cpp 57 //Add main function so can be fully compiled
60 Function *main_func = cast<Function>(mod->
66 Function::arg_iterator args = main_func->arg_begin();
146 Function *brainf_func = mod->getFunction("brainf");
  /external/llvm/examples/Fibonacci/
fibonacci.cpp 11 // with function Fibonacci and execute it with the JIT.
14 // consisting of one function as follow:
22 // function and return result to a driver, i.e. to a "host program".
39 static Function *CreateFibFunction(Module *M, LLVMContext &Context) {
40 // Create the fib function and insert it into module M. This function is said
42 Function *FibF =
43 cast<Function>(M->getOrInsertFunction("fib", Type::getInt32Ty(Context),
47 // Add a basic block to the function.
54 // Get pointer to the integer argument of the add1 function..
    [all...]
  /external/llvm/include/llvm/Analysis/
CodeMetrics.h 1 //===- CodeMetrics.h - Measures the weight of a function---------*- C++ -*-===//
31 // True if this function contains a call to setjmp or _setjmp
34 // True if this function calls itself
37 // True if this function contains one or more indirect branches
40 /// usesDynamicAlloca - True if this function calls alloca (in the C sense).
43 /// NumInsts, NumBlocks - Keep track of how large each function is, which
76 /// analyzeFunction - Add information about the specified function
78 void analyzeFunction(Function *F, const TargetData *TD = 0);
91 /// smaller the function will be if it is inlined into a context where an
LibCallSemantics.h 24 /// simple callback function.
68 /// TODO: Constant folding function: Constant* vector -> Constant*.
71 /// any specific context knowledge. For example, if the function is known
89 /// *only* mod/ref behavior of this function is captured by the
145 /// the specified function if we have it. If not, return null.
146 const LibCallFunctionInfo *getFunctionInfo(const Function *F) const;
  /external/llvm/include/llvm/CodeGen/
MachineFunctionAnalysis.h 42 return "Machine Function Analysis";
47 virtual bool runOnFunction(Function &F);
  /external/llvm/include/llvm/
PassManager.h 87 /// track of whether any of the passes modifies the function, and if
90 bool run(Function &F);
92 /// doInitialization - Run all of the initializers for the function passes.
96 /// doFinalization - Run all of the finalizers for the function passes.
  /external/llvm/lib/Transforms/Scalar/
Reg2Mem.cpp 23 #include "llvm/Function.h"
59 virtual bool runOnFunction(Function &F);
70 bool RegToMem::runOnFunction(Function &F) {
77 "Entry block to function must not have predecessors!");
93 for (Function::iterator ibb = F.begin(), ibe = F.end();
112 for (Function::iterator ibb = F.begin(), ibe = F.end();
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/
date-001.js 6 This function returns a string value. The contents of the string are
10 The toString function is not generic; it generates a runtime error if its
52 function MyObject( value ) {
54 this.valueOf = new Function( "return this.value" );
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8ScriptProfileCustom.cpp 46 v8::Local<v8::Function> function = V8ScriptProfile::GetTemplate()->GetFunction();
47 if (function.IsEmpty()) {
51 v8::Local<v8::Object> instance = SafeAllocation::newInstance(function);
  /external/webkit/Source/WebCore/bridge/
testM.js 5 myInterface.jsobject = new Function ("arg1","arg2","return arg1 + arg2;");
10 myInterface.setJSObject_(new Function ("arg1","arg2",functionBody));
  /external/llvm/examples/ParallelJIT/
ParallelJIT.cpp 33 static Function* createAdd1(Module *M) {
34 // Create the add1 function entry and insert this entry into module M. The
35 // function will have a return type of "int" and take an argument of "int".
37 Function *Add1F =
38 cast<Function>(M->getOrInsertFunction("add1",
43 // Add a basic block to the function. As before, it automatically inserts
50 // Get pointers to the integer argument of the add1 function...
61 // Now, function add1 is ready.
65 static Function *CreateFibFunction(Module *M) {
66 // Create the fib function and insert it into module M. This function is sai
    [all...]
  /external/llvm/lib/Analysis/
DbgInfoPrinter.cpp 20 #include "llvm/Function.h"
48 virtual bool runOnFunction(Function &F);
78 /// Find the debug info descriptor corresponding to this function.
79 static Value *findDbgSubprogramDeclare(Function *V) {
103 const Function *F = NULL;
109 for (Function::const_iterator FI = F->begin(), FE = F->end(); FI != FE; ++FI)
136 } else if (Function *F = dyn_cast<Function>(const_cast<Value*>(V))){
181 if (isa<Function>(V))
182 Out << " is function " << DisplayNam
    [all...]
InlineCost.cpp 26 bool llvm::callIsSmall(const Function *F) {
71 if (const Function *F = CS.getCalledFunction()) {
72 // If a function is both internal and has a single use, then it is
78 // If this call is to function itself, then the function is recursive.
135 // for example) would be referring to the original function, and this indirect
136 // jump would jump from the inlined copy of the function into the original
137 // function which is extremely undefined behavior.
198 // the function will be if it is inlined into a context where an argument
226 /// from the specified function
    [all...]
  /external/llvm/lib/ExecutionEngine/Interpreter/
Interpreter.h 17 #include "llvm/Function.h"
36 // alloca. When the function returns, this object is popped off the execution
71 Function *CurFunction;// The currently executing function
84 GenericValue ExitValue; // The return value of the called function
89 // function record.
93 // registered with the atexit() library function.
94 std::vector<Function*> AtExitHandlers;
113 /// run - Start execution with the specified function and arguments.
115 virtual GenericValue runFunction(Function *F
    [all...]
  /external/llvm/lib/Transforms/IPO/
PruneEH.cpp 21 #include "llvm/Function.h"
46 bool SimplifyFunction(Function *F);
74 if (Function *F = (*I)->getFunction())
87 Function *F = (*I)->getFunction();
101 // Check to see if this function performs an unwind or calls an
102 // unwinding function.
103 for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB) {
119 } else if (Function *Callee = CI->getCalledFunction()) {
148 Function *F = (*I)->getFunction();
161 if (Function *F = (*I)->getFunction()
    [all...]
  /external/llvm/lib/Transforms/Utils/
CloneFunction.cpp 1 //===- CloneFunction.cpp - Clone a function into another function ---------===//
11 // low-level function cloner. This is used by the CloneFunction and function
12 // inliner to do the dirty work of copying the body of a function around.
22 #include "llvm/Function.h"
36 const Twine &NameSuffix, Function *F,
74 void llvm::CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
82 for (Function::const_arg_iterator I = OldFunc->arg_begin(),
    [all...]
  /external/llvm/lib/ExecutionEngine/JIT/
JITEmitter.cpp 64 // This function returns true if F is fully read and is still a declaration.
65 static bool isNonGhostDeclaration(const Function *F) {
85 struct CallSiteValueMapConfig : public NoRAUWValueMapConfig<Function*> {
87 static void onDelete(JITResolverState *JRS, Function *F);
92 typedef ValueMap<Function*, void*, NoRAUWValueMapConfig<Function*> >
94 typedef std::map<void*, AssertingVH<Function> > CallSiteToFunctionMapTy;
95 typedef ValueMap<Function *, SmallPtrSet<void*, 1>,
100 /// particular function so that we can reuse them if necessary.
103 /// CallSiteToFunctionMap - Keep track of the function that each lazy cal
    [all...]
  /external/chromium/testing/gmock/include/gmock/internal/
gmock-generated-internal-utils.h 138 // Template struct Function<F>, where F must be a function type, contains
141 // Result: the function's return type.
146 // MakeResultVoid: the function type obtained by substituting void
149 // the function type obtained by substituting Something
152 struct Function;
155 struct Function<R()> {
164 struct Function<R(A1)>
165 : Function<R()> {
174 struct Function<R(A1, A2)
    [all...]
  /external/llvm/lib/CodeGen/
GCStrategy.cpp 47 bool PerformDefaultLowering(Function &F, GCStrategy &Coll);
48 static bool InsertRootInitializers(Function &F,
59 bool runOnFunction(Function &F);
64 /// function representation to identify safe points for the garbage collector
66 /// GCMetadata record for each function.
113 bool GCStrategy::performCustomLowering(Function &F) {
119 GCFunctionInfo *GCStrategy::insertFunctionInfo(const Function &F) {
174 bool LowerIntrinsics::InsertRootInitializers(Function &F, AllocaInst **Roots,
238 if (Function *F = CI->getCalledFunction())
248 bool LowerIntrinsics::runOnFunction(Function &F)
    [all...]

Completed in 882 milliseconds

1 2 3 4 5 67 8 91011>>