Searched refs:RandUint8 (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/native_client_sdk/src/examples/api/graphics_2d/
H A Dgraphics_2d.cc27 uint8_t RandUint8(uint8_t min, uint8_t max) { function in namespace:__anon9078
146 if (span || RandUint8(1, 4) == 1) {
148 span = RandUint8(10, 20);
149 buffer_[offset + x] = RandUint8(128, 255);
152 buffer_[offset + x] = RandUint8(32, 96);
195 buffer_[y * width + x] = RandUint8(192, 255);

Completed in 63 milliseconds