/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/general/ |
H A D | blendminmax.c | 54 int next_x = 10 + w; in piglit_display() local 68 piglit_draw_rect(start_x + next_x * 0, 10, w, h); in piglit_display() 88 piglit_draw_rect(start_x + next_x * 1, 10, w, h); in piglit_display() 93 piglit_draw_rect(start_x + next_x * 1, 10, w, h); in piglit_display() 98 piglit_draw_rect(start_x + next_x * 2, 10, w, h); in piglit_display() 103 piglit_draw_rect(start_x + next_x * 2, 10, w, h); in piglit_display() 108 piglit_draw_rect(start_x + next_x * 3, 10, w, h); in piglit_display() 113 piglit_draw_rect(start_x + next_x * 3, 10, w, h); in piglit_display() 115 pass = piglit_probe_pixel_rgb(15 + next_x * 0, piglit_height / 2, in piglit_display() 117 pass = piglit_probe_pixel_rgb(15 + next_x * 1, piglit_height / 2, in piglit_display() [all …]
|
H A D | blendsquare.c | 54 int next_x = 10 + w; in piglit_display() local 64 piglit_draw_rect(start_x + next_x * 0, 10, w, h); in piglit_display() 68 piglit_draw_rect(start_x + next_x * 1, 10, w, h); in piglit_display() 70 piglit_draw_rect(start_x + next_x * 1, 10, w, h); in piglit_display() 73 piglit_draw_rect(start_x + next_x * 2, 10, w, h); in piglit_display() 76 piglit_draw_rect(start_x + next_x * 3, 10, w, h); in piglit_display() 78 piglit_draw_rect(start_x + next_x * 3, 10, w, h); in piglit_display() 80 pass = piglit_probe_pixel_rgb(15 + next_x * 0, piglit_height / 2, in piglit_display() 82 pass = piglit_probe_pixel_rgb(15 + next_x * 1, piglit_height / 2, in piglit_display() 84 pass = piglit_probe_pixel_rgb(15 + next_x * 2, piglit_height / 2, in piglit_display() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/examples/ |
H A D | exscroll.c | 21 int next_x; in main() local 46 next_x = x + 1; in main() 47 if (next_x >= 320) in main() 48 next_x = 0; in main() 52 vline(scroller, next_x+SCREEN_W-1, 0, h, 6); in main() 53 vline(scroller, next_x+SCREEN_W-1, h+1, SCREEN_H, 2); in main() 57 scroll_screen(next_x, 0); in main() 60 if (next_x > 0) { in main() 77 x = next_x; in main()
|
/dports/science/py-scikit-optimize/scikit-optimize-0.9.0/examples/ |
H A D | ask-and-tell.py | 85 next_x = opt.ask() variable 86 print(next_x) 94 f_val = objective(next_x) 95 opt.tell(next_x, f_val) 104 next_x = opt.ask() variable 105 f_val = objective(next_x) 106 res = opt.tell(next_x, f_val) 121 next_x = opt.ask() variable 122 f_val = objective(next_x) 123 res = opt.tell(next_x, f_val)
|
H A D | optimizer-with-different-base-estimator.py | 91 next_x = opt_gp.ask() variable 92 f_val = objective(next_x) 93 res = opt_gp.tell(next_x, f_val) 133 next_x = opt.ask() variable 134 f_val = objective(next_x) 135 res = opt.tell(next_x, f_val)
|
/dports/games/lgeneral/lgeneral-1.3.2/src/ |
H A D | map.c | 89 *next_x = high_x; in map_get_next_unit_point() 100 int i, next_x, next_y; in map_add_vis_unit_infl() local 353 int next_x, next_y; in map_get_close_hex() local 366 int i, next_x, next_y; in map_add_unit_spot_mask_rec() local 382 int i, next_x, next_y; in map_add_unit_spot_mask() local 729 int next_x, next_y; in map_get_unit_way_points() local 742 map_get_next_unit_point( next_x, next_y, &next_x, &next_y ); in map_get_unit_way_points() 823 int i, next_x, next_y; in map_get_merge_units() local 882 int i, next_x, next_y; in map_get_split_units_and_hexes() local 890 …if ( map[next_x][next_y].g_unit && map_check_unit_split( unit, str, next_x, next_y, map[next_x][ne… in map_get_split_units_and_hexes() [all …]
|
/dports/games/7kaa/7kaa-2.15.4p1/src/ |
H A D | OSPRITE2.cpp | 84 short vectorX=desX-next_x; in sprite_move() 104 err_when(cur_action==SPRITE_MOVE && (cur_x!=next_x || cur_y!=next_y) && in sprite_move() 105 final_dir!=(check_dir1=get_dir(cur_x, cur_y, next_x, next_y))); in sprite_move() 310 …err_when(abs(cur_x-next_x)>ZOOM_LOC_WIDTH*debugStepMagn1 || abs(cur_y-next_y)>ZOOM_LOC_HEIGHT*debu… in process_move() 321 err_when(cur_x-next_x!=0 && cur_y-next_y!=0 && abs(next_x-cur_x)!=abs(next_y-cur_y)); in process_move() 346 err_when(cur_x-next_x!=0 && cur_y-next_y!=0 && abs(next_x-cur_x)!=abs(next_y-cur_y)); in process_move() 358 if( abs(cur_x-next_x) <= stepX && abs(cur_y-next_y) <= stepY ) in process_move() 365 err_when(cur_x-next_x!=0 && cur_y-next_y!=0 && abs(next_x-cur_x)!=abs(next_y-cur_y)); in process_move() 392 …err_when(cur_x-next_x!=0 && cur_y-next_y!=0 && abs(next_x-cur_x)!=abs(next_y-cur_y)); // is a bett… in process_move() 395 …err_when(abs(cur_x-next_x)>ZOOM_LOC_WIDTH*debugStepMagn1 || abs(cur_y-next_y)>ZOOM_LOC_HEIGHT*debu… in process_move() [all …]
|
H A D | OUNITM.cpp | 182 go_x = next_x; in stop() 198 go_x = next_x; in stop() 232 go_x = next_x; in stop() 239 go_x = next_x; in stop() 251 go_x = next_x; in stop() 1433 logStr += next_x; in pre_process() 1964 next_x = newNextX; in set_next() 2604 unitPtr->set_dir(unitPtr->next_x, unitPtr->next_y, next_x, next_y); in opposite_direction_blocked() 2605 set_dir(next_x, next_y, unitPtr->next_x, unitPtr->next_y); in opposite_direction_blocked() 2681 go_x = next_x; in terminate_move() [all …]
|
/dports/devel/cppurses/CPPurses-0.3-5-g342a389/demos/animation/ |
H A D | animated_widget.cpp | 21 int next_x = coords_.x + (1 * x_direction); in timer_event() local 23 if (next_x >= width || next_x < 0) { in timer_event() 25 next_x = coords_.x + (1 * x_direction); in timer_event() 26 if (next_x >= width) { in timer_event() 27 next_x = width != 0 ? width - 1 : 0; in timer_event() 39 coords_.x = next_x; in timer_event()
|
/dports/games/pipewalker/pipewalker-0.9.4/src/ |
H A D | level.cpp | 275 next_x = cp_x; in make_route() 285 make_connection(x, y, next_x, next_y); in make_route() 288 …if (cell_at(next_x, next_y).tube_type() == cell::tt_joiner || (next_x == _zeroX && next_y == _zero… in make_route() 291 return make_route(next_x, next_y); in make_route() 301 cell& cell_next = cell_at(next_x, next_y); in make_connection() 321 else if (next_x < curr_x) { in make_connection() 325 else if (next_x > curr_x) { in make_connection() 372 cell& cell_next = cell_at(next_x, y); in define_connect_status() 374 define_connect_status(next_x, y); in define_connect_status() 382 cell& cell_next = cell_at(next_x, y); in define_connect_status() [all …]
|
/dports/games/freedroidrpg/freedroidrpg-0.16.1/tools/font/ |
H A D | gluefont.c | 104 static void next_destination(SDL_Surface *font, int w, int *next_x, int *next_y, int *max_h) in next_destination() argument 106 *next_x += w + 1; in next_destination() 107 if (*next_x >= font->w) { in next_destination() 109 *next_x = 0; in next_destination() 134 int next_x = 0; in create_font() local 166 if (next_x + character->w >= font->w) { in create_font() 168 for (a = next_x; a < font->w; a++) { in create_font() 171 next_destination(font, character->w, &next_x, &next_y, &dummy); in create_font() 174 target.x = next_x; in create_font() 196 next_destination(font, character->w, &next_x, &next_y, &max_h); in create_font()
|
/dports/x11-wm/fluxbox/fluxbox-1.3.7/src/ |
H A D | ColSmartPlacement.cc | 53 int next_x, next_y; in placeWindow() local 81 next_x = head_right; // it will get shrunk in placeWindow() 83 next_x = head_left-1; in placeWindow() 128 if (curr_x + curr_w < next_x) in placeWindow() 129 next_x = curr_x + curr_w; in placeWindow() 131 if (curr_x - win_w > next_x) in placeWindow() 132 next_x = curr_x - win_w; in placeWindow() 145 test_x = next_x; in placeWindow()
|
H A D | RowSmartPlacement.cc | 47 int next_x, next_y; in placeWindow() local 108 next_x = test_x + change_x; in placeWindow() 134 if (curr_x + curr_w > next_x) in placeWindow() 135 next_x = curr_x + curr_w; in placeWindow() 137 if (curr_x - win_w < next_x) in placeWindow() 138 next_x = curr_x - win_w; in placeWindow() 161 test_x = next_x; in placeWindow()
|
/dports/graphics/sswf/sswf-1.8.4/samples/libya/ |
H A D | libya.sswf | 2714 dx = prev_x - next_x; 2721 matrix { translate: prev_x + (next_x - prev_x) * i * 1.0 / cnt, 2733 list { prev_x = 218; prev_y = 4; next_x = 181; next_y = 88; move; }; 2909 list { prev_x = 316; prev_y = 0; next_x = 368; next_y = 83; move; }; 2910 list { prev_x = 368; prev_y = 83; next_x = 476; next_y = 97; move; }; 3039 list { prev_x = 181; prev_y = 88; next_x = 194; next_y = 66; move; }; 3045 list { prev_x = 194; prev_y = 66; next_x = 210; next_y = 75; move; }; 3046 list { prev_x = 210; prev_y = 75; next_x = 231; next_y = 77; move; }; 3047 list { prev_x = 231; prev_y = 77; next_x = 239; next_y = 85; move; }; 3053 list { prev_x = 239; prev_y = 85; next_x = 231; next_y = 77; move; }; [all …]
|
/dports/databases/grass7/grass-7.8.6/vector/v.mkgrid/ |
H A D | write_grid.c | 44 double next_x, next_y; in write_grid() local 83 next_x = x + x_len; in write_grid() 85 next_x = startx + width; in write_grid() 89 snext_x = next_x; in write_grid() 94 rotate(&next_x, &dum, grid_info->xo, grid_info->yo, in write_grid() 96 write_vect(x, y, next_x, dum, Map, Points, out_type); in write_grid() 108 write_vect(xdiag, ydiag, next_x, dum, Map, Points, out_type); in write_grid() 112 x = next_x = snext_x; in write_grid()
|
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/2D/Source/string/ |
H A D | strscl.c | 52 fix next_x, next_y, del_y; /* need to use next, del_y since it's const */ in gen_font_scale_string() local 89 for (i = 0, next_x = x; i < bm.w; next_x += x_scale, i++) in gen_font_scale_string() 95 …gr_scale_bitmap(&bm, fix_int(x), fix_int(y), fix_int(next_x) - fix_int(x), fix_int(next_y) - fix_i… in gen_font_scale_string() 99 …gr_scale_bitmap(&bm, fix_int(x), fix_int(y), fix_int(next_x) - fix_int(x), fix_int(next_y) - fix_i… in gen_font_scale_string() 101 x = next_x; in gen_font_scale_string()
|
H A D | struscl.c | 44 fix next_x, next_y, del_y; /* need to use next, del_y since it's const */ in gen_font_scale_ustring() local 78 for (i = 0, next_x = x; i < bm.w; next_x += x_scale, i++) in gen_font_scale_ustring() 85 fix_int(next_x) - fix_int(x), fix_int(next_y) - fix_int(y)); in gen_font_scale_ustring() 88 …gr_scale_ubitmap(&bm, fix_int(x), fix_int(y), fix_int(next_x) - fix_int(x), fix_int(next_y) - fix_… in gen_font_scale_ustring() 90 x = next_x; in gen_font_scale_ustring()
|
/dports/multimedia/aegisub/aegisub-3.2.2/src/ |
H A D | dialog_kara_timing_copy.cpp | 180 int next_x; in OnPaint() local 192 next_x = (x2 > x) ? x2 : x; in OnPaint() 193 next_x += 3; in OnPaint() 218 int prev_x = next_x; in OnPaint() 235 next_x += height/2 - 4; in OnPaint() 247 int syl_x = next_x; in OnPaint() 256 next_x = syl_x > next_x + adv ? syl_x : next_x + adv; in OnPaint() 260 next_x += 3; in OnPaint() 267 next_x += 4; in OnPaint() 270 int syl_x = next_x; in OnPaint() [all …]
|
/dports/x11-wm/fluxbox/fluxbox-1.3.7/src/tests/ |
H A D | texturetest.cc | 82 unsigned int next_x = 5; in renderPixmaps() local 93 renderPixmap(**text.get(), next_x, next_y); in renderPixmaps() 95 next_x += (step_size + m_box_size); in renderPixmaps() 96 if (next_x + 2*m_box_size > width()) { in renderPixmaps() 101 next_x, next_y + m_box_size/2); in renderPixmaps() 102 next_x = 5; in renderPixmaps()
|
/dports/math/boolector/boolector-3.2.2/test/log/ |
H A D | painc.smt2 | 4 (declare-fun next_x () (_ BitVec 32)) 9 (assert (= next_x (bvadd x one))) 11 (assert (bvslt next_x n)) 16 (assert (bvsge next_x n))
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/video_coding/ |
H A D | sequence_number_util_unittest.cc | 63 uint8_t next_x = Add<D>(x, 1); in TEST_F() local 65 ASSERT_TRUE((AheadOrAt<uint8_t, D>(next_x, i))); in TEST_F() 66 ASSERT_FALSE((AheadOrAt<uint8_t, D>(i, next_x))); in TEST_F() 67 x = next_x; in TEST_F() 122 uint8_t next_x = Add<D>(x, 1); in TEST_F() local 124 ASSERT_TRUE((AheadOf<uint8_t, D>(next_x, i))); in TEST_F() 125 ASSERT_FALSE((AheadOf<uint8_t, D>(i, next_x))); in TEST_F() 126 x = next_x; in TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/resources/lua/ |
H A D | slides_transitions.lua | 63 self.nextDrawable:draw(canvas, self.next_x, 0, self.paint) 71 rec.next_x = 640 73 rec.isDone = function (self) return self.next_x <= 0 end 75 self.next_x = self.next_x - 20 76 self.next_a = (640 - self.next_x) / 640 82 rec.next_x = 0
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/raqote-0.7.14/src/ |
H A D | rasterizer.rs | 85 next_x: i32, // 16.16 field 111 next_x: 0, in new() 132 self.old_x = self.next_x; in step() 133 self.fullx = self.next_x; in step() 136 self.next_x += self.dx >> self.shift; in step() 146 self.next_x = self.x2 << (16 - SAMPLE_SHIFT); in step() 151 … self.slope_x = div_fixed16_fixed16(self.next_x - self.old_x, self.next_y - self.old_y) >> 2; in step() 347 e.next_x = (e.fullx) + (e.dx >> e.shift); in add_edge() 354 e.next_x += e.dx >> shift; in add_edge() 362 e.next_x = edge.x2 << (16 - SAMPLE_SHIFT); in add_edge() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/test/Transforms/RewriteStatepointsForGC/ |
H A D | base-pointers-10.ll | 14 %current_x = phi i64 addrspace(1)* [ %base_obj_x, %entry ], [ %next_x, %merge ] 18 %next_x = getelementptr i64, i64 addrspace(1)* %current_x, i32 1 29 %next = phi i64 addrspace(1)* [ %next_x, %true ], [ %next_y, %false ] 35 ; CHECK-DAG: derived %next_x base %base_obj_x
|
/dports/devel/llvm11/llvm-11.0.1.src/test/Transforms/RewriteStatepointsForGC/ |
H A D | base-pointers-10.ll | 14 %current_x = phi i64 addrspace(1)* [ %base_obj_x, %entry ], [ %next_x, %merge ] 18 %next_x = getelementptr i64, i64 addrspace(1)* %current_x, i32 1 29 %next = phi i64 addrspace(1)* [ %next_x, %true ], [ %next_y, %false ] 35 ; CHECK-DAG: derived %next_x base %base_obj_x
|