Lines Matching refs:function
32 o.__defineGetter__('0', function() { return o.x; });
36 o.__defineSetter__('0', function(y) { o.x = y; });
44 function Pair(x, y) {
48 Pair.prototype.__defineGetter__('0', function() { return this.x; });
49 Pair.prototype.__defineGetter__('1', function() { return this.y; });
50 Pair.prototype.__defineSetter__('0', function(x) { this.x = x; });
51 Pair.prototype.__defineSetter__('1', function(y) { this.y = y; });
70 function testArray() {
78 actual.__defineGetter__('0', function() { return expected[0]; });
87 q.__defineGetter__('0', function() { return 42; });
92 q1.__defineSetter__('0', function() {q1.b = 17;});
103 a = function() {};
104 __defineSetter__("0", function() {});