Searched refs:extra_bars (Results 1 – 5 of 5) sorted by relevance
26 var extra_bars = new Array(3);27 for (var i = 0; i < extra_bars.length; ++i) {31 extra_bars[i] = new sample.Bar();32 extra_bars[i].alpha = base;33 extra_bars[i].beta = base + 20;34 extra_bars[i].gamma = base + 40;35 extra_bars[i].type = type;53 foo.extra_bars = extra_bars;72 expect(foo.extra_bars.length).toBe(3);73 for (var i = 0; i < foo.extra_bars.length; ++i) {[all …]
46 mojo::Array<BarPtr> extra_bars(3); in MakeFoo() local47 for (size_t i = 0; i < extra_bars.size(); ++i) { in MakeFoo()55 extra_bars[i] = bar.Pass(); in MakeFoo()94 foo->extra_bars = extra_bars.Pass(); in MakeFoo()127 EXPECT_EQ(3u, foo.extra_bars.size()); in CheckFoo()128 for (size_t i = 0; i < foo.extra_bars.size(); i++) { in CheckFoo()131 EXPECT_EQ(base, foo.extra_bars[i]->alpha) << i; in CheckFoo()132 EXPECT_EQ(base + 20, foo.extra_bars[i]->beta) << i; in CheckFoo()133 EXPECT_EQ(base + 40, foo.extra_bars[i]->gamma) << i; in CheckFoo()134 EXPECT_EQ(type, foo.extra_bars[i]->type) << i; in CheckFoo()[all …]
79 foo.extra_bars = [82 for (var i = 0; i < foo.extra_bars.length; ++i) {83 foo.extra_bars[i].alpha = 1 * i;84 foo.extra_bars[i].beta = 2 * i;85 foo.extra_bars[i].gamma = 3 * i;142 expect(foo2.extra_bars).toEqual(foo.extra_bars);
75 foo_instance.extra_bars = [
45 Bar[]? extra_bars@7;