/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
timeit.py | 16 -r/--repeat N: how many times to repeat the timer (default 3) 20 -v/--verbose: print raw timing results; repeat for more digits precision 40 repeat the timing a few times and use the best time. The -r option is 114 timeit() method. The repeat() method is a convenience to call 158 t.timeit(...) # or t.repeat(...) 189 it = itertools.repeat(None, number) 201 def repeat(self, repeat=default_repeat, number=default_number): member in class:Timer 222 for i in range(repeat) 232 def repeat(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
timeit.py | 16 -r/--repeat N: how many times to repeat the timer (default 3) 20 -v/--verbose: print raw timing results; repeat for more digits precision 40 repeat the timing a few times and use the best time. The -r option is 114 timeit() method. The repeat() method is a convenience to call 158 t.timeit(...) # or t.repeat(...) 189 it = itertools.repeat(None, number) 201 def repeat(self, repeat=default_repeat, number=default_number): member in class:Timer 222 for i in range(repeat) 232 def repeat(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/external/chromium_org/third_party/libxml/src/ |
testRegexp.c | 16 static int repeat = 0; variable 29 if (repeat) { 262 fprintf(stderr, " --repeat: loop on the operation\n"); 298 } else if ((!strcmp(argv[i], "-repeat")) || 299 (!strcmp(argv[i], "--repeat"))) { 300 repeat++;
|
testHTML.c | 45 static int repeat = 0; variable 640 /* if (repeat) */ 670 /* if (repeat) */ 734 /* if (repeat) */ 821 else if ((!strcmp(argv[i], "-repeat")) || 822 (!strcmp(argv[i], "--repeat"))) 823 repeat++; 837 if (repeat) { 838 for (count = 0;count < 100 * repeat;count++) { 862 printf("\t--repeat : parse the file 100 times, for timing\n") [all...] |
testSAX.c | 62 static int repeat = 0; variable 1091 if (repeat) { 1158 } else if ((!strcmp(argv[i], "-repeat")) || 1159 (!strcmp(argv[i], "--repeat"))) { 1160 repeat++;
|
/external/chromium_org/third_party/ots/src/ |
glyf.cc | 43 if (flag & (1u << 3)) { // repeat 47 uint8_t repeat = 0; local 48 if (!table->ReadU8(&repeat)) { 51 if (repeat == 0) { 54 delta += (delta * repeat); 56 *flags_count_logical += repeat;
|
/external/chromium_org/v8/tools/ |
lexer-shell.cc | 56 int repeat) 59 source_ = ReadFileAndRepeat(fname, &length, repeat); 135 int repeat) { 137 BaselineScanner scanner(fname, isolate, encoding, &timer, repeat); 166 int repeat) { 175 &baseline_tokens, repeat); 190 int repeat = 1; local 202 } else if (strncmp(argv[i], "--repeat=", 9) == 0) { 204 repeat = atoi(repeat_str.c_str()); 223 repeat); [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
StringsTest.java | 110 assertEquals("", Strings.repeat(input, 0)); 111 assertEquals("20", Strings.repeat(input, 1)); 112 assertEquals("2020", Strings.repeat(input, 2)); 113 assertEquals("202020", Strings.repeat(input, 3)); 115 assertEquals("", Strings.repeat("", 4)); 118 assertEquals(2 * i, Strings.repeat(input, i).length()); 122 Strings.repeat("x", -1); 128 Strings.repeat("12345678", (1 << 30) + 3); 137 Strings.repeat(null, 5);
|
/external/okhttp/okio/src/test/java/okio/ |
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
|
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
|
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/pixman/demos/ |
radial-test.c | 130 static const pixman_repeat_t repeat[NUM_REPEAT] = { variable 187 pixman_image_set_repeat (src_img, repeat[j]);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_iterlen.py | 19 This is the case for tuples, xrange objects, and itertools.repeat(). 46 from itertools import repeat namespace 93 self.it = repeat(None, n) 96 # The repeat() object can also be infinite 97 self.assertRaises(TypeError, len, repeat(None))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_iterlen.py | 19 This is the case for tuples, xrange objects, and itertools.repeat(). 46 from itertools import repeat namespace 93 self.it = repeat(None, n) 96 # The repeat() object can also be infinite 97 self.assertRaises(TypeError, len, repeat(None))
|
/bionic/libc/bionic/ |
getentropy_linux.c | 61 #define REPEAT 5 357 int save_errno = errno, e, pgs = getpagesize(), faster = 0, repeat; local 373 repeat = 2; 377 repeat = REPEAT; 382 for (j = 0; j < repeat; j++) {
|
/cts/suite/audio_quality/test/ |
RemoteAudioFakeTcpTest.cpp | 166 int repeat = 1; local 175 U32_ENDIAN_SWAP(repeat) 187 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat)); 199 int repeat = 1; local 208 U32_ENDIAN_SWAP(repeat) 231 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat)); 241 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat)); 251 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat));
|
/external/eigen/test/eigen2/ |
main.h | 335 int repeat = DEFAULT_REPEAT; local 346 repeat = std::atoi(argv[i]+1); 348 if(repeat <= 0) 350 std::cout << "Invalid \'repeat\' value " << argv[i]+1 << std::endl; 379 std::cout << " rN Repeat each test N times (default: " << DEFAULT_REPEAT << ")" << std::endl; 385 if(!has_set_repeat) repeat = DEFAULT_REPEAT; 389 std::cout << "Repeating each test " << repeat << " times" << std::endl; 391 Eigen::g_repeat = repeat;
|
/external/pixman/test/ |
affine-test.c | 44 pixman_repeat_t repeat = PIXMAN_REPEAT_NONE; local 173 repeat = PIXMAN_REPEAT_NONE; 177 repeat = PIXMAN_REPEAT_NORMAL; 181 repeat = PIXMAN_REPEAT_PAD; 185 repeat = PIXMAN_REPEAT_REFLECT; 191 pixman_image_set_repeat (src_img, repeat); 204 printf ("op=%s, repeat=%d, transform=\n", 205 operator_name (op), repeat);
|
composite.c | 66 #define REPEAT 0x01000000 73 1 | REPEAT, 136 pixman_repeat_t repeat; member in struct:image_t 207 info->repeat ? " R" :""); 396 info->repeat = PIXMAN_REPEAT_NONE; 411 if (sizes[size] & REPEAT) 414 info->repeat = PIXMAN_REPEAT_NORMAL;
|
scaling-test.c | 74 pixman_repeat_t repeat = PIXMAN_REPEAT_NONE; local 210 repeat = PIXMAN_REPEAT_NONE; 214 repeat = PIXMAN_REPEAT_NORMAL; 218 repeat = PIXMAN_REPEAT_PAD; 222 repeat = PIXMAN_REPEAT_REFLECT; 228 pixman_image_set_repeat (src_img, repeat); 244 printf ("op=%s, scale_x=%d, scale_y=%d, repeat=%d\n", 245 operator_name (op), scale_x, scale_y, repeat);
|
/external/chromium_org/content/child/npapi/ |
plugin_instance.h | 175 NPBool repeat, 332 bool repeat; member in struct:content::PluginInstance::TimerInfo
|
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/ |
SVGSMILElement.h | 140 virtual void updateAnimation(float percent, unsigned repeat, SVGSMILElement* resultElement) = 0; 181 Condition(Type, BeginOrEnd, const String& baseID, const String& name, SMILTime offset, int repeat = -1); 182 static PassOwnPtrWillBeRawPtr<Condition> create(Type type, BeginOrEnd beginOrEnd, const String& baseID, const String& name, SMILTime offset, int repeat = -1) 184 return adoptPtrWillBeNoop(new Condition(type, beginOrEnd, baseID, name, offset, repeat)); 194 int repeat() const { return m_repeat; } function in class:WebCore::SVGSMILElement::Condition 234 float calculateAnimationPercentAndRepeat(SMILTime elapsed, unsigned& repeat) const;
|
/external/chromium_org/v8/test/mjsunit/ |
strict-mode.js | 397 function repeat(n, f) { function 422 repeat(10, function() { testAssignToUndefined(assignToUndefined, true); }); 424 repeat(10, function() { testAssignToUndefined(assignToUndefined, false); }); 426 repeat(10, function() { testAssignToUndefined(assignToUndefined, true); }); 428 repeat(10, function() { testAssignToUndefined(assignToUndefined, false); }); 452 repeat(10, function() { 456 repeat(10, function() { 460 repeat(10, function() { 464 repeat(10, function() { [all...] |
/external/pixman/pixman/ |
pixman-inlines.h | 57 repeat (pixman_repeat_t repeat, int *c, int size) function 59 if (repeat == PIXMAN_REPEAT_NONE) 64 else if (repeat == PIXMAN_REPEAT_NORMAL) 71 else if (repeat == PIXMAN_REPEAT_PAD) 226 * For each scanline fetched from source image with PAD repeat: 285 * There are two repeat versions, one that handles repeat normal, 286 * and one without repeat handling that only works if the src region 477 repeat (PIXMAN_REPEAT_NORMAL, &vx, src_width_fixed); [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
BranchTargetFinder.java | 80 private boolean repeat; field in class:BranchTargetFinder 354 repeat = false; 368 while (repeat); 702 repeat = true;
|