Searched defs:repeat (Results 1 - 25 of 138) sorted by relevance

123456

/external/chromium_org/v8/test/mjsunit/
H A Dstr-to-num.js32 function repeat(s, num) { function
43 assertEquals('0000000000', repeat('0', 10));
150 assertEquals(0, toNumber("0x000" + repeat('0', 1000)));
157 assertEquals(Infinity, toNumber("0x" + repeat('0', 1000) + '1'
158 + repeat('0', 1000)));
203 assertTrue(isNaN(toNumber("1" + repeat('0', 1000) + 'junk')), "1e1000 junk");
206 assertEquals(toNumber('1' + repeat('0', i)), Math.pow(10.0, i));
/external/chromium_org/v8/test/mjsunit/harmony/
H A Dstring-repeat.js30 assertEquals("000", String.prototype.repeat.call(0, 3));
31 assertEquals("-1-1-1", String.prototype.repeat.call(-1, 3));
32 assertEquals("2.12.12.1", String.prototype.repeat.call(2.1, 3));
33 assertEquals("", String.prototype.repeat.call([], 3));
34 assertEquals("1,2,3", String.prototype.repeat.call([1, 2, 3], 1));
35 assertEquals("true", String.prototype.repeat.call(true, 1));
36 assertEquals("false", String.prototype.repeat.call(false, 1));
37 assertEquals("[object Object]", String.prototype.repeat.call({}, 1));
39 assertEquals("000", String.prototype.repeat.apply(0, [3]));
40 assertEquals("-1-1-1", String.prototype.repeat
[all...]
/external/libyuv/files/unit_test/
H A Dunit_test.cc24 const char* repeat = getenv("LIBYUV_REPEAT"); local
25 if (repeat) {
26 benchmark_iterations_ = atoi(repeat); // NOLINT
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSBorderImage.cpp26 PassRefPtrWillBeRawPtr<CSSValue> borderSlice, PassRefPtrWillBeRawPtr<CSSValue> outset, PassRefPtrWillBeRawPtr<CSSValue> repeat)
46 if (repeat)
47 list->append(repeat);
25 createBorderImageValue(PassRefPtrWillBeRawPtr<CSSValue> image, PassRefPtrWillBeRawPtr<CSSValue> imageSlice, PassRefPtrWillBeRawPtr<CSSValue> borderSlice, PassRefPtrWillBeRawPtr<CSSValue> outset, PassRefPtrWillBeRawPtr<CSSValue> repeat) argument
/external/chromium_org/third_party/libyuv/unit_test/
H A Dunit_test.cc24 const char* repeat = getenv("LIBYUV_REPEAT"); local
25 if (repeat) {
26 benchmark_iterations_ = atoi(repeat); // NOLINT
/external/junit/src/junit/extensions/
H A DRepeatedTest.java13 public RepeatedTest(Test test, int repeat) { argument
15 if (repeat < 0)
17 fTimesRepeat= repeat;
/external/okhttp/okio/src/test/java/okio/
H A DOkioTest.java32 data.writeUtf8(repeat('b', 9998));
40 assertEquals("a" + repeat('b', 9998) + "c", out.toString("UTF-8"));
45 ("a" + repeat('b', Segment.SIZE * 2) + "c").getBytes(UTF_8));
57 assertEquals(repeat('b', Segment.SIZE), sink.readUtf8(sink.size()));
61 assertEquals(repeat('b', Segment.SIZE - 2) + "c", sink.readUtf8(sink.size()));
76 private String repeat(char c, int count) { method in class:OkioTest
H A DDeflaterSinkTest.java56 String original = repeat('a', 1024 * 1024);
85 deflaterSink.write(new OkBuffer().writeUtf8(repeat('a', byteCount)), byteCount);
87 assertEquals(repeat('a', byteCount), inflate(buffer).readUtf8(byteCount));
102 deflaterSink.write(new OkBuffer().writeUtf8(repeat('a', Segment.SIZE)), Segment.SIZE);
136 private String repeat(char c, int count) { method in class:DeflaterSinkTest
H A DRealBufferedSourceTest.java32 source.writeUtf8(repeat('b', Segment.SIZE));
47 assertEquals(repeat('b', Segment.SIZE - 1), new String(data, 0, Segment.SIZE - 1, UTF_8));
67 source.writeUtf8(repeat('a', 100));
114 source.writeUtf8(repeat('a', Segment.SIZE));
115 source.writeUtf8(repeat('b', Segment.SIZE));
138 source.writeUtf8(repeat('a', Segment.SIZE));
139 source.writeUtf8(repeat('b', Segment.SIZE));
203 private String repeat(char c, int count) { method in class:RealBufferedSourceTest
H A DInflaterSourceTest.java65 String original = repeat('a', 1024 * 1024);
110 private String repeat(char c, int count) { method in class:InflaterSourceTest
H A DRealBufferedSinkTest.java32 out.write(repeat('b', 9998).getBytes(UTF_8));
35 assertEquals("a" + repeat('b', 9998) + "c", sink.readUtf8(10000));
51 bufferedSink.writeUtf8(repeat('a', Segment.SIZE - 1));
68 bufferedSink.writeUtf8(repeat('a', Segment.SIZE * 4 - 1));
101 bufferedSink.writeUtf8(repeat('a', Segment.SIZE * 3));
108 bufferedSink.writeUtf8(repeat('a', Segment.SIZE * 3 - 1));
210 private String repeat(char c, int count) { method in class:RealBufferedSinkTest
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dsigslotrepeater.h35 // to the originating signal using the 'repeat' method. When the repeated
54 void repeat(base_type &s) { s.connect(this, &this_type::reemit); } function in class:sigslot::repeater0
70 void repeat(base_type& s) { s.connect(this, &this_type::reemit); } function in class:sigslot::repeater1
86 void repeat(base_type& s) { s.connect(this, &this_type::reemit); } function in class:sigslot::repeater2
105 void repeat(base_type& s) { s.connect(this, &this_type::reemit); } function in class:sigslot::repeater3
/external/chromium_org/third_party/webrtc/base/
H A Dsigslotrepeater.h18 // to the originating signal using the 'repeat' method. When the repeated
37 void repeat(base_type &s) { s.connect(this, &this_type::reemit); } function in class:sigslot::repeater0
53 void repeat(base_type& s) { s.connect(this, &this_type::reemit); } function in class:sigslot::repeater1
69 void repeat(base_type& s) { s.connect(this, &this_type::reemit); } function in class:sigslot::repeater2
88 void repeat(base_type& s) { s.connect(this, &this_type::reemit); } function in class:sigslot::repeater3
/external/chromium_org/v8/tools/
H A Dshell-utils.h41 const byte* ReadFileAndRepeat(const char* name, int* size, int repeat) { argument
50 *size = file_size * repeat;
/external/clang/test/SemaCXX/
H A Dblocks.cpp25 int repeat(int value, int (^block)(int), unsigned n) { function in namespace:test2
36 return repeat(1, ^(int v) { return v * base; }, n);
/external/eigen/test/eigen2/
H A Deigen2_prec_inverse_4x4.cpp48 template<typename MatrixType> void inverse_general_4x4(int repeat) argument
53 for(int i = 0; i < repeat; ++i)
67 double error_avg = error_sum / repeat;
/external/eigen/test/
H A Dprec_inverse_4x4.cpp29 template<typename MatrixType> void inverse_general_4x4(int repeat) argument
35 for(int i = 0; i < repeat; ++i)
49 double error_avg = error_sum / repeat;
/external/chromium_org/third_party/libxml/src/
H A DtestThreads.c99 unsigned int i, repeat; local
105 for (repeat = 0;repeat < 500;repeat++) {
142 unsigned int i, repeat; local
149 for (repeat = 0;repeat < 500;repeat++) {
150 printf("repeat: %d\n",repeat);
[all...]
H A DtestThreadsWin32.c88 unsigned int i, repeat; local
94 for (repeat = 0;repeat < TEST_REPEAT_COUNT;repeat++)
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_split_prim.h47 int repeat = 0; local
70 repeat = 1;
89 repeat = 2;
93 repeat = 1;
100 repeat = 2;
110 s->p_start += (max_verts - repeat);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_split_prim.h47 int repeat = 0; local
70 repeat = 1;
89 repeat = 2;
93 repeat = 1;
100 repeat = 2;
110 s->p_start += (max_verts - repeat);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowVibrator.java14 private int repeat; field in class:ShadowVibrator
23 public void vibrate(long[] pattern, int repeat) { argument
26 this.repeat = repeat;
52 return repeat;
/external/chromium_org/testing/gtest/test/
H A Dgtest_repeat_test.cc51 GTEST_DECLARE_int32_(repeat);
57 using testing::GTEST_FLAG(repeat);
172 void TestRepeat(int repeat) { argument
173 GTEST_FLAG(repeat) = repeat;
176 GTEST_CHECK_INT_EQ_(repeat > 0 ? 1 : 0, RUN_ALL_TESTS());
177 CheckCounts(repeat);
182 void TestRepeatWithEmptyFilter(int repeat) { argument
183 GTEST_FLAG(repeat) = repeat;
193 TestRepeatWithFilterForSuccessfulTests(int repeat) argument
211 TestRepeatWithFilterForFailedTests(int repeat) argument
[all...]
/external/chromium_org/third_party/skia/src/animator/
H A DSkAnimateBase.h58 SkScalar repeat; member in class:SkAnimateBase
/external/chromium_org/third_party/skia/tests/
H A DStreamTest.cpp22 const void* src, size_t len, int repeat) {
26 for (int i = 0; i < repeat; ++i) {
21 test_loop_stream(skiatest::Reporter* reporter, SkStream* stream, const void* src, size_t len, int repeat) argument

Completed in 760 milliseconds

123456