Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:default

40     default:      return "f1";
45 assertEquals("f1", f1(0), "default-switch.0");
46 assertEquals("f1", f1(1), "default-switch.1");
63 default:
64 r = "default";
71 assertEquals("default", f2(7), "0-1-switch.2");
72 assertEquals("default", f2(-1), "0-1-switch.-1");
73 assertEquals("default", f2(NaN), "0-1-switch.NaN");
74 assertEquals("default", f2(Math.pow(2,34)), "0-1-switch.largeNum");
75 assertEquals("default", f2("0"), "0-1-switch.string");
76 assertEquals("default", f2(false), "0-1-switch.bool");
77 assertEquals("default", f2(null), "0-1-switch.null");
78 assertEquals("default", f2(undefined), "0-1-switch.undef");
79 assertEquals("default", f2(new Number(2)), "0-1-switch.undef");
80 assertEquals("default", f2({valueOf: function(){return 2; }}), "0-1-switch.obj");
86 default:
87 r = "default";
110 assertEquals("default", f3(7,0), "value-switch.7-0");
117 default:
161 default:
174 default: return 42;
254 default: break;
296 return "default";
300 assertEquals("default", f7(0.1), "0-1-switch.double-0.1");
304 assertEquals("default", f7(1<<30), "0-1-switch.maxsmi++");
305 assertEquals("default", f7(-(1<<30)-1), "0-1-switch.minsmi--");
317 res += " default: res += 1;\n" +