/external/skia/experimental/tools/ |
H A D | android_skp_capture.sh | 31 spin() { function 32 case "$spin" in 38 spin=$(( ( ${spin:-0} + 1 ) % 4 )) 53 spin 0.05 73 spin 0.05 84 i=0; while [ $i -lt 10 ]; do spin 0.10; i=$(($i + 1)); done; echo
|
/external/skqp/experimental/tools/ |
H A D | android_skp_capture.sh | 31 spin() { function 32 case "$spin" in 38 spin=$(( ( ${spin:-0} + 1 ) % 4 )) 53 spin 0.05 73 spin 0.05 84 i=0; while [ $i -lt 10 ]; do spin 0.10; i=$(($i + 1)); done; echo
|
/external/jemalloc/include/jemalloc/internal/ |
H A D | spin.h | 23 void spin_init(spin_t *spin); 24 void spin_adaptive(spin_t *spin); 29 spin_init(spin_t *spin) argument 32 spin->iteration = 0; 36 spin_adaptive(spin_t *spin) argument 40 for (i = 0; i < (KQU(1) << spin->iteration); i++) 43 if (spin->iteration < 63) 44 spin->iteration++;
|
/external/fio/lib/ |
H A D | lfsr.h | 22 unsigned int spin; member in struct:fio_lfsr 27 unsigned long seed, unsigned int spin);
|
H A D | lfsr.c | 84 static inline void __lfsr_next(struct fio_lfsr *fl, unsigned int spin) argument 90 switch (spin) { 115 * b. Check if we have a spin value that produces a repeating subsequence. 117 * be > 0. If we do have such a spin: 120 * ii. If it reaches zero, add "+1" to the spin and reset the cycle_length 134 __lfsr_next(fl, fl->spin + 1); 137 __lfsr_next(fl, fl->spin); 177 * [1]: ((2^n - 1) * i) % (spin + 1) == 0, 178 * where "n" is LFSR's bits and "i" any number within the range [1,spin] 180 * It is important to know beforehand if a spin ca 189 prepare_spin(struct fio_lfsr *fl, unsigned int spin) argument 234 lfsr_init(struct fio_lfsr *fl, uint64_t nums, unsigned long seed, unsigned int spin) argument [all...] |
/external/valgrind/none/tests/x86/ |
H A D | yield.c | 16 static int spin; variable 29 spin++; 46 // (ie. we're in a spin-wait loop) 77 printf("spin=%d rep_nop=%d rep_nop:spin ratio: %g\n", 78 spin, rep_nop, (float)rep_nop / spin); 80 if (spin > rep_nop) 83 printf("FAIL spin=%d rep_nop=%d rep_nop:spin rati [all...] |
/external/fio/t/ |
H A D | lfsr-test.c | 16 printf("Usage: lfsr-test 0x<numbers> [seed] [spin] [verify]\n"); 20 "spin: how many iterations before we produce a number\n" 33 unsigned int spin = 0; local 47 case 4: spin = atoi(argv[3]); 62 r = lfsr_init(fl, numbers, seed, spin); 75 printf("Spin is %u\n", fl->spin);
|
/external/skia/gm/ |
H A D | color4f.cpp | 97 auto spin = srgb->makeColorSpin(); // RGB -> GBR local 113 SkShader::MakeColorShader(c4, spin),
|
/external/skqp/gm/ |
H A D | color4f.cpp | 98 auto spin = srgb->makeColorSpin(); // RGB -> GBR local 114 SkShader::MakeColorShader(c4, spin),
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv98_video_ppp.c | 125 unsigned spin = 0; local 129 if ((spin++ & 0xff) == 0xff)
|
H A D | nv98_video_bsp.c | 172 unsigned spin = 0; local 175 if ((spin++ & 0xff) == 0xff) {
|
H A D | nv98_video_vp.c | 182 unsigned spin = 0; local 185 if ((spin++ & 0xff) == 0xff) {
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_video_ppp.c | 125 unsigned spin = 0; local 129 if ((spin++ & 0xff) == 0xff)
|
H A D | nvc0_video_bsp.c | 221 unsigned spin = 0; local 224 if ((spin++ & 0xff) == 0xff) {
|
H A D | nvc0_video_vp.c | 182 unsigned spin = 0; local 185 if ((spin++ & 0xff) == 0xff) {
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
H A D | RuntimeInstrumentTest.java | 158 dummy += spin(); 166 dummy += spin(); 172 return spin(); 176 // busy spin for 10ms and return the elapsed time. N.B. we busy spin instead of sleeping so 178 private static long spin() { method in class:RuntimeInstrumentTest 252 return spin();
|
/external/skia/src/gpu/ |
H A D | GrTestUtils.cpp | 312 // sRGB or color-spin sRGB 325 sk_sp<SkColorSpace> spin = SkColorSpace::MakeSRGB()->makeColorSpin(); local 329 gXforms[1] = GrColorSpaceXform::Make(srgb.get(), kSRGBA_8888_GrPixelConfig, spin.get()); 331 gXforms[2] = GrColorSpaceXform::Make(spin.get(), kRGBA_8888_GrPixelConfig, srgb.get());
|
/external/skia/tools/calmbench/ |
H A D | ab.py | 142 def spin(): function in function:ThreadRunner.wait 157 ts = Thread(target = spin);
|
/external/skqp/src/gpu/ |
H A D | GrTestUtils.cpp | 312 // sRGB or color-spin sRGB 325 sk_sp<SkColorSpace> spin = SkColorSpace::MakeSRGB()->makeColorSpin(); local 329 gXforms[1] = GrColorSpaceXform::Make(srgb.get(), kSRGBA_8888_GrPixelConfig, spin.get()); 331 gXforms[2] = GrColorSpaceXform::Make(spin.get(), kRGBA_8888_GrPixelConfig, srgb.get());
|
/external/skqp/tools/calmbench/ |
H A D | ab.py | 142 def spin(): function in function:ThreadRunner.wait 157 ts = Thread(target = spin);
|
/external/fio/ |
H A D | gfio.c | 1124 GtkWidget *hbox, *spin, *entry, *spin_int; local 1157 spin = create_spinbutton(hbox, 10, 1000000, gfio_graph_limit); 1207 gfio_graph_limit = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(spin));
|
H A D | goptions.c | 33 GtkWidget *spin; member in struct:gopt_int 48 GtkWidget *spin; member in struct:gopt_str_val 458 static void gopt_int_changed(GtkSpinButton *spin, gpointer data) argument 467 adj = gtk_spin_button_get_adjustment(spin); 479 cur_val = gtk_spin_button_get_value(GTK_SPIN_BUTTON(i_inv->spin)); 481 g_signal_handler_block(G_OBJECT(i_inv->spin), i_inv->gopt.sig_handler); 482 gtk_spin_button_set_value(GTK_SPIN_BUTTON(i_inv->spin), cur_val); 483 g_signal_handler_unblock(G_OBJECT(i_inv->spin), i_inv->gopt.sig_handler); 497 gtk_spin_button_set_value(GTK_SPIN_BUTTON(i->spin), p); 535 i->spin 654 range_value_changed(GtkSpinButton *spin, gpointer data) argument 770 gopt_str_val_spin_wrapped(GtkSpinButton *spin, gpointer data) argument 801 gopt_str_val_changed(GtkSpinButton *spin, gpointer data) argument [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | rbbitst.cpp | 1775 int spin = 0; local 1782 fprintf(stderr,"FAIL: hit end of file %s for the %8dth time- corrupt data file?\r", fileName, ++spin);
|