/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...] |
/external/llvm/include/llvm/ |
Pass.h | 21 // or delete functions, they operate on the internals of the function. 38 class Function; 120 /// null. This automatically forwards to a virtual function that does not 128 /// pass operates on (Module, Function or MachineFunction). 146 /// getAnalysisUsage - This function should be overriden by passes that need 148 /// particular analysis result to this function, it can then use the 149 /// getAnalysis<AnalysisType>() function, below. 161 /// Optionally implement this function to release pass memory when it is no 193 /// getAnalysisIfAvailable<AnalysisType>() - Subclasses use this function to 204 /// mustPreserveAnalysisID - This method serves the same function a [all...] |
/external/llvm/lib/Transforms/Utils/ |
CloneModule.cpp | 60 Function *NF = 61 Function::Create(cast<FunctionType>(I->getType()->getElementType()), 87 // Similarly, copy over function bodies now... 90 Function *F = cast<Function>(VMap[I]); 92 Function::arg_iterator DestI = F->arg_begin(); 93 for (Function::const_arg_iterator J = I->arg_begin(); J != I->arg_end();
|
LowerExpectIntrinsic.cpp | 19 #include "llvm/IR/Function.h" 55 bool runOnFunction(Function &F); 65 Function *Fn = CI->getCalledFunction(); 109 Function *Fn = CI->getCalledFunction(); 135 bool LowerExpectIntrinsic::runOnFunction(Function &F) { 136 for (Function::iterator I = F.begin(), E = F.end(); I != E;) { 155 Function *Fn = CI->getCalledFunction();
|
ModuleUtils.cpp | 17 #include "llvm/IR/Function.h" 24 Module &M, Function *F, int Priority) { 59 void llvm::appendToGlobalCtors(Module &M, Function *F, int Priority) { 63 void llvm::appendToGlobalDtors(Module &M, Function *F, int Priority) {
|
/art/compiler/llvm/ |
runtime_support_builder.h | 29 class Function; 73 ::llvm::Function* GetRuntimeSupportFunction(runtime_support::RuntimeId id) { 77 LOG(ERROR) << "Unknown runtime function id: " << id; 90 ::llvm::Function* runtime_support_func_decls_[runtime_support::MAX_ID];
|
runtime_support_builder_x86.cc | 25 #include <llvm/IR/Function.h> 33 using ::llvm::Function; 45 Function* ori_func = GetRuntimeSupportFunction(runtime_support::GetCurrentThread);
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
HasPositionalPredChecker.java | 28 import org.apache.xpath.functions.Function; 58 * Visit a function. 61 * @param func The function reference object. 64 public boolean visitFunction(ExpressionOwner owner, Function func) 110 (pred instanceof Function))
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8MutationCallback.cpp | 39 V8MutationCallback::V8MutationCallback(v8::Handle<v8::Function> callback, ScriptExecutionContext* context, v8::Handle<v8::Object> owner, v8::Isolate* isolate) 62 v8::Handle<v8::Function> callback = m_callback.newLocal(m_isolate); 84 void V8MutationCallback::makeWeakCallback(v8::Isolate*, v8::Persistent<v8::Function>*, V8MutationCallback* callback)
|
V8NodeFilterCondition.cpp | 68 v8::Handle<v8::Function> callback; 70 callback = v8::Handle<v8::Function>::Cast(filter); 74 throwTypeError("NodeFilter object does not have an acceptNode function", state->isolate()); 77 callback = v8::Handle<v8::Function>::Cast(value);
|
V8EventListener.h | 44 // V8EventListener is a wrapper of a JS object implements EventListener interface (has handleEvent(event) method), or a JS function 56 v8::Local<v8::Function> getListenerFunction(ScriptExecutionContext*);
|
V8PerContextData.h | 89 v8::Local<v8::Function> constructorForType(WrapperTypeInfo* type) 91 UnsafePersistent<v8::Function> function = m_constructorMap.get(type); local 92 if (!function.isEmpty()) 93 return function.newLocal(v8::Isolate::GetCurrent()); 128 v8::Local<v8::Function> constructorForTypeSlowCase(WrapperTypeInfo*); 135 typedef WTF::HashMap<WrapperTypeInfo*, UnsafePersistent<v8::Function> > ConstructorMap;
|
V8ScriptRunner.h | 48 static v8::Local<v8::Value> callInternalFunction(v8::Handle<v8::Function>, v8::Handle<v8::Object>, int argc, v8::Handle<v8::Value> args[], v8::Isolate*); 49 static v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, ScriptExecutionContext*, v8::Handle<v8::Object> receiver, int argc, v8::Handle<v8::Value> args[]); 53 static v8::Local<v8::Object> instantiateObject(v8::Handle<v8::Function>, int argc = 0, v8::Handle<v8::Value> argv[] = 0); 54 static v8::Local<v8::Object> instantiateObjectInDocument(v8::Handle<v8::Function>, ScriptExecutionContext*, int argc = 0, v8::Handle<v8::Value> argv[] = 0);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
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...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
TablesTransformValuesTest.java | 23 import com.google.common.base.Function; 33 private static final Function<String, Character> FIRST_CHARACTER 34 = new Function<String, Character>() { 51 // Null support depends on the underlying table and function.
|
/external/llvm/lib/Transforms/Instrumentation/ |
EdgeProfiling.cpp | 55 Function *Main = M.getFunction("main"); 58 << " with no main function!\n"; 68 for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB) { 89 for (Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB)
|
/external/llvm/tools/opt/ |
PrintSCC.cpp | 40 bool runOnFunction(Function& func); 68 Y("print-cfg-sccs", "Print SCCs of each function CFG"); 74 bool CFGSCC::runOnFunction(Function &F) { 76 errs() << "SCCs for Function " << F.getName() << " in PostOrder:"; 77 for (scc_iterator<Function*> SCCI = scc_begin(&F),
|
/external/v8/test/mjsunit/regress/ |
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...] |
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriterPass.cpp | 15 #include "llvm/IR/Function.h" 25 bool expandCaseRange(Function &F); 49 bool WriteBitcodePass::expandCaseRange(Function &F) { 52 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriterPass.cpp | 15 #include "llvm/IR/Function.h" 25 bool expandCaseRange(Function &F); 49 bool WriteBitcodePass::expandCaseRange(Function &F) { 52 for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/ |
GlDrawCallDetailProvider.java | 19 import com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.Function; 42 return (call.getFunction() == Function.glDrawArrays 43 || call.getFunction() == Function.glDrawElements) && call.hasFb();
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
R600KernelParameters.cpp | 1 //===-- R600KernelParameters.cpp - Lower kernel function arguments --------===// 10 // This pass lowers kernel function arguments to loads from the vertex buffer. 22 #include "llvm/Function.h" 65 bool IsOpenCLKernel(const Function *Fun); 71 void RunAna(Function *Fun); 72 void Replace(Function *Fun); 74 void Propagate(Function* Fun); 76 Value* ConstantRead(Function *Fun, Param &P); 77 Value* handleSpecial(Function *Fun, Param &P); 84 bool runOnFunction (Function &F) [all...] |
/external/guava/guava/src/com/google/common/cache/ |
CacheLoader.java | 24 import com.google.common.base.Function; 103 * Returns a {@code CacheLoader} which creates values by applying a {@code Function} to the key. 105 public static <K, V> CacheLoader<K, V> from(Function<K, V> function) { 106 return new FunctionToCacheLoader<K, V>(function); 111 private final Function<K, V> computingFunction; 113 public FunctionToCacheLoader(Function<K, V> computingFunction) {
|
/external/llvm/examples/BrainF/ |
BrainFDriver.cpp | 56 //Add main function so can be fully compiled 59 Function *main_func = cast<Function>(mod-> 65 Function::arg_iterator args = main_func->arg_begin(); 145 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...] |