Home
last modified time | relevance | path

Searched refs:kRandom (Results 1 – 3 of 3) sorted by relevance

/external/skqp/bench/
DPicturePlaybackBench.cpp26 enum Mode { kTiled, kRandom }; enumerator
36 case kRandom: fName.append("_random"); break; in TiledPlaybackBench()
76 case kRandom: x = rand.nextRangeScalar(0, 768); in onDraw()
94 DEF_BENCH( return new TiledPlaybackBench(kNone, kRandom); )
96 DEF_BENCH( return new TiledPlaybackBench(kRTree, kRandom); )
/external/skia/bench/
DPicturePlaybackBench.cpp26 enum Mode { kTiled, kRandom }; enumerator
36 case kRandom: fName.append("_random"); break; in TiledPlaybackBench()
76 case kRandom: x = rand.nextRangeScalar(0, 768); in onDraw()
94 DEF_BENCH( return new TiledPlaybackBench(kNone, kRandom); )
96 DEF_BENCH( return new TiledPlaybackBench(kRTree, kRandom); )
/external/v8/tools/
Dbigint-tester.py25 kRandom = 2 variable
48 def GenRandom(length, negative=kRandom):
51 if negative == kYes or (negative == kRandom and (random.randint(0, 1) == 0)):