HomeSort by relevance Sort by last modified time
    Searched refs:Function (Results 126 - 150 of 1083) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
15.3.4.js 24 ECMA Section: 15.3.4 Properties of the Function Prototype Object
26 Description: The Function prototype object is itself a Function
27 object ( its [[Class]] is "Function") that, when
33 It is a function with an "empty body"; if it is
36 The Function prototype object does not have a valueOf
47 var TITLE = "Properties of the Function Prototype Object";
54 function getTestCases() {
58 "var myfunc = Function.prototype; myfunc.toString = Object.prototype.toString; myfunc.toString()",
59 "[object Function]",
    [all...]
  /external/chromium/base/
task.h 58 // // If this function might be called directly, you might want to revoke
291 // Runnable methods are a type of task that call a function on an object when
299 // Method/Function - the signature of a pointer to the method or function you
311 // PostTask(FROM_HERE, NewRunnableFunction(&function[, a[, b]])
444 template <class Function, class Params>
447 RunnableFunction(Function function, const Params& params)
448 : function_(function), params_(params) {
466 Function function_
    [all...]
  /external/llvm/include/llvm/IR/
Module.h 19 #include "llvm/IR/Function.h"
34 template<> struct ilist_traits<Function>
35 : public SymbolTableListTraits<Function, Module> {
39 Function *createSentinel() const {
40 return static_cast<Function*>(&Sentinel);
42 static void destroySentinel(Function*) {}
44 Function *provideInitialHead() const { return createSentinel(); }
45 Function *ensureHead(Function*) const { return createSentinel(); }
46 static void noteHead(Function*, Function*) {
    [all...]
BasicBlock.h 78 Function *Parent;
80 void setParent(Function *parent);
81 friend class SymbolTableListTraits<BasicBlock, Function>;
88 /// If the function parameter is specified, the basic block is automatically
89 /// inserted at either the end of the function (if InsertBefore is null), or
92 Function *Parent = 0, BasicBlock *InsertBefore = 0);
106 /// inserted at either the end of the function (if InsertBefore is 0), or
109 Function *Parent = 0,BasicBlock *InsertBefore = 0) {
115 const Function *getParent() const { return Parent; }
116 Function *getParent() { return Parent;
    [all...]
  /external/chromium/testing/gmock/test/
gmock-generated-internal-utils_test.cc 46 using ::testing::internal::Function;
72 // Tests the Function template struct.
75 typedef Function<int()> F; // NOLINT
84 typedef Function<int(bool)> F; // NOLINT
95 typedef Function<int(bool, const long&)> F; // NOLINT
108 typedef Function<char(bool, int, char*, int&, const long&)> F; // NOLINT
  /external/clang/lib/CodeGen/
CGDeclCXX.cpp 86 llvm::Constant *function; local
89 // Special-case non-array C++ destructors, where there's a function
97 function = CGM.GetAddrOfCXXDestructor(dtor, Dtor_Complete);
100 // Otherwise, the standard logic requires a helper function.
102 function = CodeGenFunction(CGM).generateDestroyHelper(addr, type,
108 CGM.getCXXABI().registerGlobalDtor(CGF, function, argument);
155 static llvm::Function *
160 /// Create a stub function, suitable for being passed to atexit,
161 /// which passes the given address to the given destructor function.
165 // Get the destructor function type, void(*)(void)
    [all...]
  /external/llvm/include/llvm/Analysis/
CFGPrinter.h 20 #include "llvm/IR/Function.h"
27 struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
31 static std::string getGraphName(const Function *F) {
32 return "CFG for '" + F->getName().str() + "' function";
36 const Function *) {
48 const Function *) {
76 const Function *Graph) {
  /external/llvm/include/llvm/CodeGen/
GCMetadata.h 25 // GCModuleInfo simply collects GCFunctionInfo instances for each Function as
81 /// GCFunctionInfo - Garbage collection metadata for a single function.
90 const Function &F;
107 GCFunctionInfo(const Function &F, GCStrategy &S);
110 /// getFunction - Return the function to which this metadata applies.
112 const Function &getFunction() const { return F; }
114 /// getStrategy - Return the GC strategy for the function.
137 /// getFrameSize/setFrameSize - Records the function's frame size.
148 /// roots_begin/roots_end - Iterators for all roots in the function.
167 typedef DenseMap<const Function*,GCFunctionInfo*> finfo_map_type
    [all...]
  /external/llvm/lib/Analysis/
Analysis.cpp 95 return verifyFunction(*unwrap<Function>(Fn),
100 Function *F = unwrap<Function>(Fn);
105 Function *F = unwrap<Function>(Fn);
  /external/llvm/unittests/ExecutionEngine/MCJIT/
MCJITTest.cpp 10 // This test suite verifies basic MCJIT functionality such as making function
33 // does require retrieval of a pointer to a function/global.
61 Function *F = insertAddFunction(M.get());
67 << "Unable to get pointer to function from JIT";
79 Function *Main = insertMainFunction(M.get(), 6);
98 Function *ReturnGlobal = startFunction<int32_t(void)>(M.get(),
111 << "Invalid value for global returned from JITted function";
127 Function *IncrementGlobal = startFunction<int32_t(void)>(M.get(), "IncrementGlobal");
159 Function *Inner = startFunction<int32_t(void)>(M.get(), "Inner");
162 Function *Outer
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.6.1-1.js 72 function test() {
86 function getTestCases() {
188 function MyProtoValuelessObject() {
189 this.valueOf = new Function ( "" );
193 function MyProtolessObject( value ) {
194 this.valueOf = new Function( "return this.value" );
199 function MyValuelessObject(value) {
202 function MyPrototypeObject(value) {
203 this.valueOf = new Function( "return this.value;" );
204 this.toString = new Function( "return (this.value + '');" )
    [all...]
11.6.1-2.js 72 function test() {
85 function getTestCases() {
183 function MyProtoValuelessObject() {
184 this.valueOf = new Function ( "" );
187 function MyProtolessObject( value ) {
188 this.valueOf = new Function( "return this.value" );
192 function MyValuelessObject(value) {
195 function MyPrototypeObject(value) {
196 this.valueOf = new Function( "return this.value;" );
197 this.toString = new Function( "return (this.value + '');" )
    [all...]
11.6.1-3.js 71 function test() {
84 function getTestCases() {
161 function MyProtoValuelessObject() {
162 this.valueOf = new Function ( "" );
165 function MyProtolessObject( value ) {
166 this.valueOf = new Function( "return this.value" );
170 function MyValuelessObject(value) {
173 function MyPrototypeObject(value) {
174 this.valueOf = new Function( "return this.value;" );
175 this.toString = new Function( "return (this.value + '');" )
    [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.
23 #include "llvm/IR/Function.h"
39 const Twine &NameSuffix, Function *F,
76 void llvm::CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
85 for (Function::const_arg_iterator I = OldFunc->arg_begin(),
    [all...]
  /external/llvm/lib/Transforms/IPO/
Inliner.cpp 41 // to inline a function A into B, we analyze the callers of B in order to see
75 /// \brief If the inlined function had a higher stack protection level than the
76 /// calling function, then bump up the caller's stack protection level.
77 static void AdjustCallerSSPLevel(Function *Caller, Function *Callee) {
112 /// This function also does some basic book-keeping to update the IR. The
120 Function *Callee = CS.getCalledFunction();
121 Function *Caller = CS.getCaller();
123 // Try to inline the function. Get the list of static allocas that were
131 // have already inlined other allocas through other calls into this function,
    [all...]
LoopExtractor.cpp 1 //===- LoopExtractor.cpp - Extract each loop into a new function ----------===//
11 // top-level loop into its own new function. If the loop is the ONLY loop in a
12 // given function, it is not touched. This is a pass most useful for debugging
74 "Extract at most one loop into a new function", false, false)
77 // program into a function if it can.
93 // If there is more than one top-level loop in this function, extract all of
95 // this function is more than a minimal wrapper around the loop, extract
121 // function. An infinite cycle occurs when it tries to extract that loop as
138 // After extraction, the loop is replaced by a function call, so
149 // program into a function if it can. This is used by bugpoint
    [all...]
MergeFunctions.cpp 12 // A hash is computed from the function, based on its type and number of
16 // on each function pair. This takes n^2/2 comparisons per bucket, so it's
17 // important that the hash function be high quality. The equality comparison
21 // overridable, we move the functionality into a new internal function and
30 // Many functions have their address taken by the virtual function table for
75 /// Creates a hash-code for the function which is the same for any two
77 /// inside the function.
78 static unsigned profileFunction(const Function *F) {
102 ComparableFunction(Function *Func, DataLayout *TD)
105 Function *getFunc() const { return Func;
    [all...]
  /external/llvm/tools/bugpoint/
ExtractFunction.cpp 1 //===- ExtractFunction.cpp - Extract a function from Program --------------===//
51 Function* globalInitUsesExternalBA(GlobalVariable* GV) {
69 Function *F = BA->getFunction();
95 const Function *PF = PBB->getParent();
101 Function::iterator RBI = RFI->begin(); // Get iterator to corresponding BB
102 std::advance(RBI, std::distance(PF->begin(), Function::const_iterator(PBB)));
162 /// function. This returns null if there are no extractable loops in the
194 // DeleteFunctionBody - "Remove" the function by deleting all of its basic
197 void llvm::DeleteFunctionBody(Function *F) {
198 // delete the body of the function..
    [all...]
  /external/llvm/tools/llvm-diff/
DiffConsumer.cpp 21 static void ComputeNumbering(Function *F, DenseMap<Value*,unsigned> &Numbering){
25 for (Function::arg_iterator
31 for (Function::iterator FI = F->begin(), FE = F->end(); FI != FE; ++FI) {
80 ComputeNumbering(cast<Function>(ctxt.L), ctxt.LNumbering);
85 ComputeNumbering(cast<Function>(ctxt.R), ctxt.RNumbering);
99 if (isa<Function>(I->L)) {
103 Function *L = cast<Function>(I->L);
104 Function *R = cast<Function>(I->R)
    [all...]
  /external/llvm/unittests/ExecutionEngine/JIT/
JITEventListenerTest.cpp 33 const Function *F;
51 virtual void NotifyFunctionEmitted(const Function &F,
77 Function *buildFunction(Module *M) {
78 Function *Result = Function::Create(
91 Function *F1 = buildFunction(M);
92 Function *F2 = buildFunction(M);
107 << "We don't know how big the function will be, but it had better"
114 << "We don't know how big the function will be, but it had better"
132 Function *F1 = buildFunction(M)
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter3/
toy.cpp 116 /// CallExprAST - Expression class for function calls.
126 /// PrototypeAST - This class represents the "prototype" for a function,
128 /// of arguments the function takes).
136 Function *Codegen();
139 /// FunctionAST - This class represents a function definition itself.
147 Function *Codegen();
297 return ErrorP("Expected function name in prototype");
359 // Look this variable up in the function.
384 Function *CalleeF = TheModule->getFunction(Callee);
386 return ErrorV("Unknown function referenced")
    [all...]
  /external/llvm/include/llvm/ExecutionEngine/
ExecutionEngine.h 37 class Function;
148 /// LazyFunctionCreator - If an unknown function is needed, this function
154 /// register dwarf tables with this function.
159 DenseMap<const Function*, void*> AllExceptionTables;
196 /// function.
225 Function *FindFunctionNamed(const char *FnName);
227 /// runFunction - Execute the specified function with the specified arguments,
229 virtual GenericValue runFunction(Function *F,
233 /// specified function by using the dlsym function call. As such it is onl
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/
ScriptDebugServer.cpp 75 v8::Handle<v8::Function> setBreakpointFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("setBreakpoint")));
93 v8::Handle<v8::Function> removeBreakpointFunction = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("removeBreakpoint")));
104 v8::Handle<v8::Function> clearBreakpoints = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("clearBreakpoints")));
117 v8::Handle<v8::Function> setBreakpointsActivated = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("setBreakpointsActivated")));
129 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("pauseOnExceptionsStat (…) local
190 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("stepIntoStatement"))); local
199 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("stepOverStatement"))); local
208 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("stepOutOfFunction"))); local
223 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(m_debuggerScript.get()->Get(v8::String::New("editScriptSource"))); local
    [all...]
  /external/chromium/testing/gmock/include/gmock/
gmock-actions.h 53 // 2. a factory function that creates an Action object from a
69 // function will abort the process.
73 // This function returns true iff type T has a built-in default value.
77 "Default action undefined for the function return type.");
80 // order for this function to compile.
147 // When an unexpected function call is encountered, Google Mock will
155 // destructible (i.e. anything that can be used as a function return
248 // Implement this interface to define an action for function type F.
252 typedef typename internal::Function<F>::Result Result;
253 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple
    [all...]
  /external/guava/guava/src/com/google/common/base/
Suppliers.java 43 * Returns a new supplier which is the composition of the provided function
46 * {@code function} to that value. Note that the resulting supplier will not
47 * call {@code supplier} or invoke {@code function} until it is called.
50 Function<? super F, T> function, Supplier<F> supplier) {
51 Preconditions.checkNotNull(function);
53 return new SupplierComposition<F, T>(function, supplier);
58 final Function<? super F, T> function; field in class:Suppliers.SupplierComposition
61 SupplierComposition(Function<? super F, T> function, Supplier<F> supplier)
    [all...]

Completed in 2155 milliseconds

1 2 3 4 56 7 8 91011>>