| /external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
| codegen.ml | 15 let rec codegen_expr = function 39 | None -> raise (Error "unknown function referenced") 49 let codegen_proto = function 51 (* Make the function type: double(double,double) etc. *) 63 raise (Error "redefinition of function"); 67 raise (Error "redefinition of function with different # args"); 79 let codegen_func = function 80 | Ast.Function (proto, body) -> 91 (* Finish off the function. *)
|
| /external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
| codegen.ml | 15 let rec codegen_expr = function 39 | None -> raise (Error "unknown function referenced") 49 let codegen_proto = function 51 (* Make the function type: double(double,double) etc. *) 63 raise (Error "redefinition of function"); 67 raise (Error "redefinition of function with different # args"); 79 let codegen_func the_fpm = function 80 | Ast.Function (proto, body) -> 91 (* Finish off the function. *) 97 (* Optimize the function. * [all...] |
| /external/llvm/lib/Analysis/ |
| AliasAnalysis.cpp | 33 #include "llvm/IR/Function.h" 205 if (const Function *F = CS.getCalledFunction()) 217 AliasAnalysis::getModRefBehavior(const Function *F) { 532 /// function.
|
| BranchProbabilityInfo.cpp | 18 #include "llvm/IR/Function.h" 396 bool BranchProbabilityInfo::runOnFunction(Function &F) { 397 LastF = &F; // Store the last function we ran on for printing. 428 // We print the probabilities from the last function the analysis ran over, 429 // or the function it is currently running over. 430 assert(LastF && "Cannot print prior to running over a function"); 431 for (Function::const_iterator BI = LastF->begin(), BE = LastF->end();
|
| /external/llvm/lib/Transforms/InstCombine/ |
| InstCombine.h | 96 virtual bool runOnFunction(Function &F); 98 bool DoOneIteration(Function &F, unsigned ItNum); 282 // this function.
|
| /external/llvm/lib/Transforms/Scalar/ |
| Reassociate.cpp | 16 // function arguments are rank = 1, and other values are assigned ranks 17 // corresponding to the reverse post order traversal of current function 33 #include "llvm/IR/Function.h" 127 bool runOnFunction(Function &F); 133 void BuildRankMap(Function &F); 185 void Reassociate::BuildRankMap(Function &F) { 188 // Assign distinct ranks to function arguments 189 for (Function::arg_iterator I = F.arg_begin(), E = F.arg_end(); I != E; ++I) 192 ReversePostOrderTraversal<Function*> RPOT(&F); 193 for (ReversePostOrderTraversal<Function*>::rpo_iterator I = RPOT.begin() [all...] |
| /external/v8/src/arm/ |
| lithium-codegen-arm.h | 203 void CallRuntime(const Runtime::Function* function, 210 const Runtime::Function* function = Runtime::FunctionForId(id); local 211 CallRuntime(function, num_arguments, instr); 218 // Generate a direct call to a known function. Expects the function 220 void CallKnownFunction(Handle<JSFunction> function,
|
| /external/v8/src/mips/ |
| lithium-codegen-mips.h | 200 void CallRuntime(const Runtime::Function* function, 207 const Runtime::Function* function = Runtime::FunctionForId(id); local 208 CallRuntime(function, num_arguments, instr); 215 // Generate a direct call to a known function. Expects the function 217 void CallKnownFunction(Handle<JSFunction> function,
|
| /external/v8/test/mjsunit/ |
| arguments-apply.js | 28 function ReturnArguments() { 32 function ReturnReceiver() { 37 function Global() { 49 function Local() { 62 function ShadowArguments() { 72 function NonObjectReceiver(receiver) { 83 function FunctionReceiver() { 90 function ShadowApply() { 91 function f() { return 42; } 92 f.apply = function() { return 87; [all...] |
| function-prototype.js | 28 // Test that we can set function prototypes to non-object values. The 31 function TestNonObjectPrototype(value) { 32 function F() {}; 45 function F() {}; 62 function GetPrototypeOf(f) { 66 // Seed the GetPrototypeOf function to enable the fast case 73 function NoPrototypeYet() { } 77 function NonObjectPrototype() { } 81 function NoInitialMap() { } 88 // Check that getting the prototype of a non-function works. This mus [all...] |
| /external/v8/test/mjsunit/compiler/ |
| inline-arguments.js | 30 function A() { 33 A.prototype.X = function (a, b, c) { 40 A.prototype.Y = function () { 44 A.prototype.Z = function () { 53 A.prototype.X.apply = function (receiver, args) { 54 return Function.prototype.apply.call(this, receiver, args); 61 function F1() { } 62 function F2() { F1.apply(this, arguments); } 63 function F3(x, y) { 69 function F31() [all...] |
| /external/v8/test/mjsunit/regress/ |
| regress-1713.js | 36 function Allocate4Kb(N) { 42 function AllocateXMb(X) { 46 function Node(v, next) { this.v = v; this.next = next; } 48 Node.prototype.execute = function (O) { 54 function LongList(N, x) { 59 var L = LongList(1024, function (O) { 65 function Incremental(O, x) { 69 function CreateCode(i) { 70 var f = new Function("return O.f_" + i); 98 function foo(O, x) [all...] |
| regress-crbug-3184.js | 28 Object.extend = function (dest, source) { 33 Object.extend ( Function.prototype, 35 wrap : function (wrapper) { 37 var bmethod = (function(_method) { 38 return function () { 40 this.$proceed = function() { return _method.apply(this, arguments); }; 43 var amethod = function () { 48 var value = function() { bmethod.call(this); retval = wrapper.apply(this, arguments); amethod.call(this); return retval; }; 53 String.prototype.cap = function() { 58 function(each) [all...] |
| /external/webkit/Source/WebCore/platform/graphics/cairo/ |
| OpenGLShims.h | 221 #define LOOKUP_GL_FUNCTION(Function) WebCore::openGLFunctionTable()->Function
|
| /external/clang/lib/CodeGen/ |
| CGBlocks.cpp | 37 // the mangled name of the enclosing function. 50 /// Build the helper function to copy a block. 56 /// Build the helper function to dipose of a block. 151 /// 29. BLOCK_USE_STRET - indicates that the block function 167 /// Function pointer generated from block literal. 261 /// rematerialize it at the start of the block function. This is 673 /// Emit a block literal expression in the current function. 694 // Using the computed layout, generate the actual block function. [all...] |
| CGCall.h | 10 // These classes wrap the information about a call or function 29 class Function; 98 /// A class for recording the number of arguments that a function 148 /// of parameters to a function. The decl must be either a 154 /// function definition. 161 /// The LLVM::CallingConv to use for this function (as specified by the 165 /// The LLVM::CallingConv to actually use for this function, which may 172 /// Whether this function is noreturn. 175 /// Whether this function is returns-retained. 216 /// In ARC, whether this function retains its return value. Thi [all...] |
| /external/guava/guava/src/com/google/common/collect/ |
| Multimaps.java | 26 import com.google.common.base.Function; [all...] |
| /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
| Multimaps.java | 25 import com.google.common.base.Function; [all...] |
| /external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/ |
| index.php | 51 public function __construct() { 67 protected function send_signed_get($request, $extraHeaders=NULL, 104 public function checkLicense($userId) { 199 (function(){ 202 this.tmpl = function tmpl(str, data){ 209 // Generate a reusable function that will serve as a template 211 new Function("obj", 212 "var p=[],print=function(){p.push.apply(p,arguments);};" + 233 function queryLicenseServer(form) { 242 req.onreadystatechange = function(e) [all...] |
| /external/clang/lib/AST/ |
| Comment.cpp | 49 #define ASSERT_IMPLEMENTS_child_begin(function) \ 50 (void) sizeof(good(implements_child_begin_end(function))) 152 case Decl::Function: 234 // If this is a typedef to something we consider a function, extract 263 // Is this a typedef for a function type?
|
| /external/giflib/ |
| dgif_lib.c | 42 #define COMMENT_EXT_FUNC_CODE 0xfe /* Extension function code for 45 /* avoid extra function call in case we use fread (TVT) */ 166 * GifFileType constructor with user supplied input function (TVT) [all...] |
| /external/guava/guava-tests/test/com/google/common/base/ |
| PredicatesTest.java | 790 private enum TrimStringFunction implements Function<String, String> { 800 Function<String, String> trim = TrimStringFunction.INSTANCE; 804 Function<String, String> identity = Functions.identity(); 821 Function<String, String> trim = TrimStringFunction.INSTANCE;
|
| /external/libxml2/ |
| triostr.c | 592 function strftime. 617 @param type Hash function. 621 @li @c TRIO_HASH_PLAIN Plain hash function. 821 Execute a function on each character in string. 825 @param Function Function to be executed. 830 TRIO_ARGS3((target, source, Function), 833 int (*Function) TRIO_PROTO((int))) 839 assert(Function); 843 *target++ = Function(*source++) [all...] |
| triostr.h | 77 TRIO_STRING_PUBLIC size_t trio_span_function TRIO_PROTO((char *target, const char *source, int (*Function) TRIO_PROTO((int))));
|
| /external/llvm/bindings/ocaml/llvm/ |
| llvm.ml | 31 | Function 225 | Function 289 (*--... Operations on function types .......................................--*) 344 let rec aux = function 612 | At_end _ -> raise (Invalid_argument "Invalid function range.") 623 | At_end _ -> raise (Invalid_argument "Invalid function range.") 632 | At_start _ -> raise (Invalid_argument "Invalid function range.") 643 | At_start _ -> raise (Invalid_argument "Invalid function range.") [all...] |