Searched defs:o1 (Results 1 - 25 of 210) sorted by relevance

123456789

/external/v8/test/mjsunit/regress/
H A Dregress-convert-enum.js39 var o1 = {};
40 o1.a = 1;
43 for (var x in o1) { }
44 o1.b = function() { return 1; };
H A Dregress-330046.js30 var o1 = {a : 10};
32 o2.__proto__ = o1;
H A Dregress-347262.js53 var o1 = { o2 : 1 };
54 var a = g(o1);
55 o1.o2 = 3;
H A Dregress-780423.js35 var o1 = Class.create(); variable
38 assertTrue(o1 !== o2, "different functions");
39 assertTrue(o1.prototype !== o2.prototype, "different protos");
H A Dregress-polymorphic-store.js30 var o1 = {};
31 o1.f1 = function() { return 10; };
32 o1.x = 5;
33 o1.y = 2;
43 store(o1, 0);
46 store(o1, 10);
47 assertEquals(5, o1.x);
48 assertEquals(10, o1.y);
H A Dregress-437713.js7 var o1 = {
H A Dregress-polymorphic-load.js34 var o1 = {x:1};
40 f(o1);
42 assertEquals(1, f(o1));
H A Dregress-crbug-3867.js69 var o1 = {s1: 0, s2: 0, s3: 0}
70 o1.s0 = 0;
71 o1.s4 = 0;
72 assertArrayEquals(["s1", "s2", "s3", "s0", "s4"], props(o1));
H A Dcompare-map-elim1.js43 var o1 = {z:0, x:1};
46 Object.defineProperty(o1, "foo1", {get:getter});
49 foo(o1);
50 foo(o1);
57 foo(o1);
/external/libcxx/test/std/experimental/optional/optional.nullops/
H A Dequal.pass.cpp29 constexpr O o1; // disengaged local
32 static_assert ( (nullopt == o1), "" );
34 static_assert ( (o1 == nullopt), "" );
37 static_assert (noexcept(nullopt == o1), "");
38 static_assert (noexcept(o1 == nullopt), "");
H A Dgreater.pass.cpp29 constexpr O o1; // disengaged local
32 static_assert ( !(nullopt > o1), "" );
34 static_assert ( !(o1 > nullopt), "" );
37 static_assert (noexcept(nullopt > o1), "");
38 static_assert (noexcept(o1 > nullopt), "");
H A Dgreater_equal.pass.cpp29 constexpr O o1; // disengaged local
32 static_assert ( (nullopt >= o1), "" );
34 static_assert ( (o1 >= nullopt), "" );
37 static_assert (noexcept(nullopt >= o1), "");
38 static_assert (noexcept(o1 >= nullopt), "");
H A Dless_equal.pass.cpp29 constexpr O o1; // disengaged local
32 static_assert ( (nullopt <= o1), "" );
34 static_assert ( (o1 <= nullopt), "" );
37 static_assert (noexcept(nullopt <= o1), "");
38 static_assert (noexcept(o1 <= nullopt), "");
H A Dless_than.pass.cpp29 constexpr O o1; // disengaged local
32 static_assert ( !(nullopt < o1), "" );
34 static_assert ( !(o1 < nullopt), "" );
37 static_assert (noexcept(nullopt < o1), "");
38 static_assert (noexcept(o1 < nullopt), "");
H A Dnot_equal.pass.cpp29 constexpr O o1; // disengaged local
32 static_assert ( !(nullopt != o1), "" );
34 static_assert ( !(o1 != nullopt), "" );
37 static_assert (noexcept(nullopt != o1), "");
38 static_assert (noexcept(o1 != nullopt), "");
/external/v8/test/mjsunit/
H A Dnever-optimize.js30 function o1() { function
33 if (%GetOptimizationStatus(o1) != 4) {
35 o1(); o1();
36 %OptimizeFunctionOnNextCall(o1);
37 o1();
40 assertOptimized(o1);
H A Dproto.js28 var o1 = { x: 12 };
33 assertTrue(o1.__proto__ === o2.__proto__);
H A Dobject-toprimitive.js32 var o1 = { toString: function() { return 42; },
34 var n1 = Number(o1);
35 var s1 = String(o1);
/external/v8/test/mjsunit/es6/
H A Dtypedarray-tostring.js60 var o1 = {length: 3, 0: 1, 1: 2, 2: 3,
64 assertThrows(function() { o1.join() }, TypeError);
65 assertThrows(function() { o1.toString() }, TypeError);
66 assertThrows(function() { o1.toLocaleString() }, TypeError);
68 o1.join = Array.prototype.join;
69 assertEquals("1,2,3", o1.join());
70 assertEquals("1,2,3", o1.toString());
71 assertThrows(function() { o1.toLocaleString() }, TypeError);
75 // assertEquals(o1.toString, Array.prototype.toString);
H A Dmirror-iterators.js42 var o1 = { foo: 1 };
47 map.set(o1, o2);
49 testIteratorMirror(map.keys(), 0, [41, o1]);
51 testIteratorMirror(map.entries(), 0, [[41, 42], [o1, o2]]);
53 testIteratorMirror(map.keys(), 1, [o1]);
55 testIteratorMirror(map.entries(), 1, [[o1, o2]]);
74 set.add(o1);
77 testIteratorMirror(set.keys(), 0, [41, 42, o1, o2]);
78 testIteratorMirror(set.values(), 0, [41, 42, o1, o2]);
79 testIteratorMirror(set.entries(), 0, [[41, 41], [42, 42], [o1, o
[all...]
/external/v8/test/message/regress/
H A Dregress-1527.js28 var o1 = {foo: 'bar'};
31 2: o1.foo,
/external/v8/test/webkit/
H A Ddfg-check-two-structures.js35 var o1 = {f:42, g:43};
44 o = o1;
/external/apache-http/src/org/apache/commons/codec/
H A DStringEncoderComparator.java68 * @param o1 the object to compare
73 public int compare(Object o1, Object o2) { argument
78 Comparable s1 = (Comparable) ((Encoder) this.stringEncoder).encode(o1);
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
H A DStartPositionComparator.java25 public int compare(ASTNode o1, ASTNode o2) { argument
26 return Integer.compare(o1.getStartPosition(), o2.getStartPosition());
/external/libcxx/test/std/experimental/optional/optional.comp_with_t/
H A Dequal.pass.cpp41 constexpr O o1; // disengaged local
45 static_assert ( !(o1 == T(1)), "" );
51 static_assert ( !(T(1) == o1), "" );

Completed in 445 milliseconds

123456789