/external/chromium_org/v8/test/mjsunit/ |
H A D | str-to-num.js | 32 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 D | string-repeat.js | 30 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 D | unit_test.cc | 24 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 D | CSSBorderImage.cpp | 26 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/WebKit/Source/core/html/canvas/ |
H A D | CanvasPattern.cpp | 38 if (type.isEmpty() || type == "repeat") 41 if (type == "no-repeat") 44 if (type == "repeat-x") 47 if (type == "repeat-y") 50 exceptionState.throwDOMException(SyntaxError, "The provided type ('" + type + "') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'."); 54 CanvasPattern::CanvasPattern(PassRefPtr<Image> image, Pattern::RepeatMode repeat, bool originClean) argument 55 : m_pattern(Pattern::createBitmapPattern(image, repeat)) [all...] |
H A D | CanvasPattern.h | 47 Pattern::RepeatMode repeat, bool originClean) 49 return adoptRefWillBeNoop(new CanvasPattern(image, repeat, originClean)); 46 create(PassRefPtr<Image> image, Pattern::RepeatMode repeat, bool originClean) argument
|
/external/chromium_org/third_party/libyuv/unit_test/ |
H A D | unit_test.cc | 24 const char* repeat = getenv("LIBYUV_REPEAT"); local 25 if (repeat) { 26 benchmark_iterations_ = atoi(repeat); // NOLINT
|
/external/junit/src/junit/extensions/ |
H A D | RepeatedTest.java | 13 public RepeatedTest(Test test, int repeat) { argument 15 if (repeat < 0) 17 fTimesRepeat= repeat;
|
/external/okhttp/okio/src/test/java/okio/ |
H A D | OkioTest.java | 32 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 D | DeflaterSinkTest.java | 56 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 D | RealBufferedSourceTest.java | 32 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 D | InflaterSourceTest.java | 65 String original = repeat('a', 1024 * 1024); 110 private String repeat(char c, int count) { method in class:InflaterSourceTest
|
H A D | RealBufferedSinkTest.java | 32 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/webrtc/base/ |
H A D | sigslotrepeater.h | 18 // 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 D | shell-utils.h | 41 const byte* ReadFileAndRepeat(const char* name, int* size, int repeat) { argument 50 *size = file_size * repeat;
|
/external/clang/test/SemaCXX/ |
H A D | blocks.cpp | 25 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 D | eigen2_prec_inverse_4x4.cpp | 48 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 D | prec_inverse_4x4.cpp | 29 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 D | testThreads.c | 99 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 D | testThreadsWin32.c | 88 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 D | u_split_prim.h | 47 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 D | u_split_prim.h | 47 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 D | ShadowVibrator.java | 14 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 D | gtest_repeat_test.cc | 51 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 D | SkAnimateBase.h | 58 SkScalar repeat; member in class:SkAnimateBase
|