Lines Matching refs:function
30 function f0() {
38 function f1(x) {
48 function f2(x) {
80 assertEquals("default", f2({valueOf: function(){return 2; }}), "0-1-switch.obj");
83 function f3(x, c) {
113 function f4(x) {
131 function f4_string(tag, x) {
155 function regress_string(value) {
168 function f5(x) {
184 function f6(N) {
266 function f7(value) {
309 function makeVeryLong(length) {
310 var res = "(function () {\n" +
341 // Function-with-switch generator
349 function switch_gen(clause_type, feedback, optimize) {
352 function opt(fn) {
357 values.filter(function(v) {
372 return opt(new Function(
376 values.map(function(value) {
384 function test_switch(clause_type, test_type, feedback, optimize) {
389 pairs = test_type.map(function(v) {
396 pairs = clause_values.string.map(function(v) {
403 pairs = clause_values.string.map(function(v) {
416 pairs = clause_values.smi.map(function(v) {
423 pairs = clause_values.smi.map(function(v) {
431 pairs.forEach(function(pair) {
438 function test_switches(opt) {
441 function test(clause_type) {
444 test_types.forEach(function(test_type) {
449 values.forEach(function(value) {