Home
last modified time | relevance | path

Searched refs:repeat (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/external/v8/test/mjsunit/harmony/
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.apply(-1, [3]));
[all …]
/external/protobuf/gtest/test/
Dgtest_repeat_test.cc51 GTEST_DECLARE_int32_(repeat);
57 using testing::GTEST_FLAG(repeat);
172 void TestRepeat(int repeat) { in TestRepeat() argument
173 GTEST_FLAG(repeat) = repeat; in TestRepeat()
176 GTEST_CHECK_INT_EQ_(repeat > 0 ? 1 : 0, RUN_ALL_TESTS()); in TestRepeat()
177 CheckCounts(repeat); in TestRepeat()
182 void TestRepeatWithEmptyFilter(int repeat) { in TestRepeatWithEmptyFilter() argument
183 GTEST_FLAG(repeat) = repeat; in TestRepeatWithEmptyFilter()
193 void TestRepeatWithFilterForSuccessfulTests(int repeat) { in TestRepeatWithFilterForSuccessfulTests() argument
194 GTEST_FLAG(repeat) = repeat; in TestRepeatWithFilterForSuccessfulTests()
[all …]
/external/gtest/test/
Dgtest_repeat_test.cc51 GTEST_DECLARE_int32_(repeat);
57 using testing::GTEST_FLAG(repeat);
172 void TestRepeat(int repeat) { in TestRepeat() argument
173 GTEST_FLAG(repeat) = repeat; in TestRepeat()
176 GTEST_CHECK_INT_EQ_(repeat > 0 ? 1 : 0, RUN_ALL_TESTS()); in TestRepeat()
177 CheckCounts(repeat); in TestRepeat()
182 void TestRepeatWithEmptyFilter(int repeat) { in TestRepeatWithEmptyFilter() argument
183 GTEST_FLAG(repeat) = repeat; in TestRepeatWithEmptyFilter()
193 void TestRepeatWithFilterForSuccessfulTests(int repeat) { in TestRepeatWithFilterForSuccessfulTests() argument
194 GTEST_FLAG(repeat) = repeat; in TestRepeatWithFilterForSuccessfulTests()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest_repeat_test.cc51 GTEST_DECLARE_int32_(repeat);
57 using testing::GTEST_FLAG(repeat);
172 void TestRepeat(int repeat) { in TestRepeat() argument
173 GTEST_FLAG(repeat) = repeat; in TestRepeat()
176 GTEST_CHECK_INT_EQ_(repeat > 0 ? 1 : 0, RUN_ALL_TESTS()); in TestRepeat()
177 CheckCounts(repeat); in TestRepeat()
182 void TestRepeatWithEmptyFilter(int repeat) { in TestRepeatWithEmptyFilter() argument
183 GTEST_FLAG(repeat) = repeat; in TestRepeatWithEmptyFilter()
193 void TestRepeatWithFilterForSuccessfulTests(int repeat) { in TestRepeatWithFilterForSuccessfulTests() argument
194 GTEST_FLAG(repeat) = repeat; in TestRepeatWithFilterForSuccessfulTests()
[all …]
/external/okhttp/okio/okio/src/test/java/okio/
DBufferTest.java28 import static okio.TestUtil.repeat;
64 buffer.writeUtf8(repeat('a', Segment.SIZE * 4)); in completeSegmentByteCountOnBufferWithFullSegments()
70 buffer.writeUtf8(repeat('a', Segment.SIZE * 4 - 10)); in completeSegmentByteCountOnBufferWithIncompleteTailSegment()
93 buffer.writeUtf8(repeat('a', 6144)); in toStringOnMultipleSegmentBuffer()
99 buffer.writeUtf8(repeat('a', 1000)); in multipleSegmentBuffers()
100 buffer.writeUtf8(repeat('b', 2500)); in multipleSegmentBuffers()
101 buffer.writeUtf8(repeat('c', 5000)); in multipleSegmentBuffers()
102 buffer.writeUtf8(repeat('d', 10000)); in multipleSegmentBuffers()
103 buffer.writeUtf8(repeat('e', 25000)); in multipleSegmentBuffers()
104 buffer.writeUtf8(repeat('f', 50000)); in multipleSegmentBuffers()
[all …]
DRealBufferedSourceTest.java23 import static okio.TestUtil.repeat;
36 source.writeUtf8(repeat('b', Segment.SIZE)); in inputStreamTracksSegments()
51 assertEquals(repeat('b', Segment.SIZE - 1), new String(data, 0, Segment.SIZE - 1, UTF_8)); in inputStreamTracksSegments()
119 source.writeUtf8(repeat('a', Segment.SIZE)); in requireReadsOneSegmentAtATime()
120 source.writeUtf8(repeat('b', Segment.SIZE)); in requireReadsOneSegmentAtATime()
131 source.writeUtf8(repeat('a', Segment.SIZE)); in skipReadsOneSegmentAtATime()
132 source.writeUtf8(repeat('b', Segment.SIZE)); in skipReadsOneSegmentAtATime()
201 Buffer write1 = new Buffer().writeUtf8(TestUtil.repeat('a', Segment.SIZE)); in readAllReadsOneSegmentAtATime()
202 Buffer write2 = new Buffer().writeUtf8(TestUtil.repeat('b', Segment.SIZE)); in readAllReadsOneSegmentAtATime()
203 Buffer write3 = new Buffer().writeUtf8(TestUtil.repeat('c', Segment.SIZE)); in readAllReadsOneSegmentAtATime()
[all …]
DBufferedSourceTest.java31 import static okio.TestUtil.repeat;
144 sink.writeUtf8(repeat('a', Segment.SIZE - 1)); in readShortSplitAcrossMultipleSegments()
172 sink.writeUtf8(repeat('a', Segment.SIZE - 3)); in readIntSplitAcrossMultipleSegments()
204 sink.writeUtf8(repeat('a', Segment.SIZE - 7)); in readLongSplitAcrossMultipleSegments()
233 sink.writeUtf8(repeat('a', 10)); in readExhaustedSource()
241 sink.writeUtf8(repeat('a', 10)); in readZeroBytesFromSource()
251 sink.writeUtf8(repeat('a', 10000)); in readFully()
254 assertEquals(repeat('a', 9999), sink.readUtf8()); in readFully()
273 data.writeUtf8("Hello").writeUtf8(repeat('e', Segment.SIZE)); in readFullyByteArray()
346 String string = "abcd" + repeat('e', Segment.SIZE); in readByteArray()
[all …]
DRealBufferedSinkTest.java22 import static okio.TestUtil.repeat;
46 bufferedSink.writeUtf8(repeat('a', Segment.SIZE - 1)); in bufferedSinkEmitsTailWhenItIsComplete()
56 bufferedSink.writeUtf8(repeat('a', Segment.SIZE * 4 - 1)); in bufferedSinkEmitMultipleSegments()
97 bufferedSink.writeUtf8(repeat('a', Segment.SIZE * 3)); in completeSegmentsEmitted()
104 bufferedSink.writeUtf8(repeat('a', Segment.SIZE * 3 - 1)); in incompleteSegmentsNotEmitted()
226 Buffer write1 = new Buffer().writeUtf8(TestUtil.repeat('a', Segment.SIZE)); in writeAllWritesOneSegmentAtATime()
227 Buffer write2 = new Buffer().writeUtf8(TestUtil.repeat('b', Segment.SIZE)); in writeAllWritesOneSegmentAtATime()
228 Buffer write3 = new Buffer().writeUtf8(TestUtil.repeat('c', Segment.SIZE)); in writeAllWritesOneSegmentAtATime()
231 + TestUtil.repeat('a', Segment.SIZE) in writeAllWritesOneSegmentAtATime()
232 + TestUtil.repeat('b', Segment.SIZE) in writeAllWritesOneSegmentAtATime()
[all …]
DOkioTest.java26 import static okio.TestUtil.repeat;
87 data.writeUtf8(repeat('b', 9998)); in sinkFromOutputStream()
95 assertEquals("a" + repeat('b', 9998) + "c", out.toString("UTF-8")); in sinkFromOutputStream()
100 ("a" + repeat('b', Segment.SIZE * 2) + "c").getBytes(UTF_8)); in sourceFromInputStream()
112 assertEquals(repeat('b', Segment.SIZE), sink.readUtf8()); in sourceFromInputStream()
116 assertEquals(repeat('b', Segment.SIZE - 2) + "c", sink.readUtf8()); in sourceFromInputStream()
DBufferedSinkTest.java31 import static okio.TestUtil.repeat;
96 sink.writeUtf8(repeat('a', Segment.SIZE - 1));
101 assertEquals(repeat('a', Segment.SIZE - 1), data.readUtf8(Segment.SIZE - 1));
127 sink.writeUtf8(repeat('a', Segment.SIZE - 4));
132 assertEquals(repeat('a', Segment.SIZE - 4), data.readUtf8(Segment.SIZE - 4));
137 sink.writeUtf8(repeat('a', Segment.SIZE - 3));
142 assertEquals(repeat('a', Segment.SIZE - 3), data.readUtf8(Segment.SIZE - 3));
266 out.write(repeat('b', 9998).getBytes(UTF_8));
269 assertEquals("a" + repeat('b', 9998) + "c", data.readUtf8());
DDeflaterSinkTest.java26 import static okio.TestUtil.repeat;
56 String original = repeat('a', 1024 * 1024); in deflateWellCompressed()
85 deflaterSink.write(new Buffer().writeUtf8(repeat('a', byteCount)), byteCount); in multipleSegmentsWithoutCompression()
87 assertEquals(repeat('a', byteCount), inflate(buffer).readUtf8(byteCount)); in multipleSegmentsWithoutCompression()
96 Buffer sink = new Buffer().writeUtf8(repeat('a', i)); in deflateIntoNonemptySink()
120 deflaterSink.write(new Buffer().writeUtf8(repeat('a', Segment.SIZE)), Segment.SIZE); in closeWithExceptionWhenWritingAndClosing()
/external/llvm/test/CodeGen/PowerPC/
Dppc-vaarg-agg.ll9 br i1 undef, label %repeat, label %maxlen_reached
11 repeat: ; preds = %entry
20 sw.bb72: ; preds = %repeat
23 sw.bb309: ; preds = %repeat
26 sw.bb313: ; preds = %repeat
29 sw.bb321: ; preds = %repeat
32 sw.bb323: ; preds = %repeat
36 sw.bb326: ; preds = %repeat
/external/libxml2/
DtestThreads.c99 unsigned int i, repeat; in main() local
105 for (repeat = 0;repeat < 500;repeat++) { in main()
140 unsigned int i, repeat; in main() local
147 for (repeat = 0;repeat < 500;repeat++) { in main()
148 printf("repeat: %d\n",repeat); in main()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowVibrator.java14 private int repeat; field in ShadowVibrator
23 public void vibrate(long[] pattern, int repeat) { in vibrate() argument
26 this.repeat = repeat; in vibrate()
52 return repeat; in getRepeat()
/external/eigen/doc/
Deigendoxy_tabs.css34 background-repeat:no-repeat;
48 background-repeat:repeat-x;
56 background-repeat:repeat-x;
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DStringsTest.java108 assertEquals("", Strings.repeat(input, 0)); in testRepeat()
109 assertEquals("20", Strings.repeat(input, 1)); in testRepeat()
110 assertEquals("2020", Strings.repeat(input, 2)); in testRepeat()
111 assertEquals("202020", Strings.repeat(input, 3)); in testRepeat()
113 assertEquals("", Strings.repeat("", 4)); in testRepeat()
116 assertEquals(2 * i, Strings.repeat(input, i).length()); in testRepeat()
120 Strings.repeat("x", -1); in testRepeat()
126 Strings.repeat("12345678", (1 << 30) + 3); in testRepeat()
135 Strings.repeat(null, 5); in testRepeat_null()
/external/guava/guava-tests/test/com/google/common/base/
DStringsTest.java110 assertEquals("", Strings.repeat(input, 0)); in testRepeat()
111 assertEquals("20", Strings.repeat(input, 1)); in testRepeat()
112 assertEquals("2020", Strings.repeat(input, 2)); in testRepeat()
113 assertEquals("202020", Strings.repeat(input, 3)); in testRepeat()
115 assertEquals("", Strings.repeat("", 4)); in testRepeat()
118 assertEquals(2 * i, Strings.repeat(input, i).length()); in testRepeat()
122 Strings.repeat("x", -1); in testRepeat()
128 Strings.repeat("12345678", (1 << 30) + 3); in testRepeat()
137 Strings.repeat(null, 5); in testRepeat_null()
/external/lldb/www/cpp_reference/html/
Dtabs.css35 background-repeat:no-repeat;
49 background-repeat:repeat-x;
57 background-repeat:repeat-x;
/external/mesa3d/src/gallium/auxiliary/util/
Du_split_prim.h47 int repeat = 0; in util_split_prim_next() local
70 repeat = 1; in util_split_prim_next()
89 repeat = 2; in util_split_prim_next()
93 repeat = 1; in util_split_prim_next()
100 repeat = 2; in util_split_prim_next()
110 s->p_start += (max_verts - repeat); in util_split_prim_next()
/external/v8/tools/
Dlexer-shell.cc57 int repeat) in BaselineScanner() argument
60 source_ = ReadFileAndRepeat(fname, &length, repeat); in BaselineScanner()
134 int repeat) { in RunBaselineScanner() argument
136 BaselineScanner scanner(fname, isolate, encoding, &timer, repeat); in RunBaselineScanner()
165 int repeat) { in ProcessFile() argument
174 &baseline_tokens, repeat); in ProcessFile()
192 int repeat = 1; in main() local
206 repeat = atoi(repeat_str.c_str()); in main()
225 repeat); in main()
/external/v8/test/mjsunit/
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-trace/trace-viewer/tracing/tracing/ui/extras/system_stats/
Dsystem_stats_snapshot_view.css13 background-repeat: no-repeat;
23 background-repeat: no-repeat;
/external/libyuv/files/unit_test/
Dunit_test.cc24 const char* repeat = getenv("LIBYUV_REPEAT"); in libyuvTest() local
25 if (repeat) { in libyuvTest()
26 benchmark_iterations_ = atoi(repeat); // NOLINT in libyuvTest()
/external/junit/src/junit/extensions/
DRepeatedTest.java13 public RepeatedTest(Test test, int repeat) { in RepeatedTest() argument
15 if (repeat < 0) in RepeatedTest()
17 fTimesRepeat= repeat; in RepeatedTest()
/external/doclava/res/assets/templates/assets/
Ddoclava-developer-core.css29 background-repeat:repeat-x;
197 background:transparent url(images/preliminary.png) repeat scroll 0 0; */
248 background-repeat: no-repeat;
261 background-repeat: no-repeat;
283 background-repeat: no-repeat;
392 background-repeat: no-repeat;
431 background-repeat:no-repeat;
446 background-repeat:no-repeat;

12345678910>>...14