Lines Matching refs:nidx

3750 	int nidx, np = ncache_pad;  in ncache_pre_portions()  local
3769 nidx = lookup_win_index(orig_frame); in ncache_pre_portions()
3771 if (nidx < 0) { in ncache_pre_portions()
3772 nidx = lookup_win_index(frame); in ncache_pre_portions()
3776 nidx = *nidx_in; in ncache_pre_portions()
3778 if (nidx > 0) { in ncache_pre_portions()
3781 int bs_x = cache_list[nidx].bs_x; in ncache_pre_portions()
3782 int bs_y = cache_list[nidx].bs_y; in ncache_pre_portions()
3783 int bs_w = cache_list[nidx].bs_w; in ncache_pre_portions()
3784 int bs_h = cache_list[nidx].bs_h; in ncache_pre_portions()
3786 *nidx_in = nidx; in ncache_pre_portions()
3789 if (!find_rect(nidx, x, y, w, h)) { in ncache_pre_portions()
3790 nidx = -1; in ncache_pre_portions()
3793 bs_x = cache_list[nidx].bs_x; in ncache_pre_portions()
3794 bs_y = cache_list[nidx].bs_y; in ncache_pre_portions()
3795 bs_w = cache_list[nidx].bs_w; in ncache_pre_portions()
3796 bs_h = cache_list[nidx].bs_h; in ncache_pre_portions()
3799 nidx = -1; in ncache_pre_portions()
3829 if (! sraRgnEmpty(r2) && cache_list[nidx].bs_time > 0.0) { in ncache_pre_portions()
3881 void ncache_post_portions(int nidx, int use_batch, int orig_x, int orig_y, int orig_w, int orig_h, in ncache_post_portions() argument
3886 if (ncache > 0 && nidx >= 0) { in ncache_post_portions()
3889 int su_x = cache_list[nidx].su_x; in ncache_post_portions()
3890 int su_y = cache_list[nidx].su_y; in ncache_post_portions()
3891 int su_w = cache_list[nidx].su_w; in ncache_post_portions()
3892 int su_h = cache_list[nidx].su_h; in ncache_post_portions()
3893 int bs_x = cache_list[nidx].bs_x; in ncache_post_portions()
3894 int bs_y = cache_list[nidx].bs_y; in ncache_post_portions()
3895 int bs_w = cache_list[nidx].bs_w; in ncache_post_portions()
3896 int bs_h = cache_list[nidx].bs_h; in ncache_post_portions()
3902 if (!find_rect(nidx, x, y, w, h)) { in ncache_post_portions()
3905 su_x = cache_list[nidx].su_x; in ncache_post_portions()
3906 su_y = cache_list[nidx].su_y; in ncache_post_portions()
3907 su_w = cache_list[nidx].su_w; in ncache_post_portions()
3908 su_h = cache_list[nidx].su_h; in ncache_post_portions()
3909 bs_x = cache_list[nidx].bs_x; in ncache_post_portions()
3910 bs_y = cache_list[nidx].bs_y; in ncache_post_portions()
3911 bs_w = cache_list[nidx].bs_w; in ncache_post_portions()
3912 bs_h = cache_list[nidx].bs_h; in ncache_post_portions()
3968 if (cache_list[nidx].su_time == 0.0) { in ncache_post_portions()
3994 if (sraRgnAnd(r2, r1) && cache_list[nidx].su_time > 0.0) { in ncache_post_portions()
4081 (unsigned int) cache_list[nidx].win, nidx, su_w, su_h, su_x, su_y, bs_w, bs_h, bs_x, bs_y); in ncache_post_portions()
4083 cache_list[nidx].x = x + np; in ncache_post_portions()
4084 cache_list[nidx].y = y + np; in ncache_post_portions()
4087 cache_list[nidx].bs_time = dnow(); in ncache_post_portions()
4089 cache_list[nidx].su_time = dnow(); in ncache_post_portions()
4113 void do_copyrect_drag_move(Window orig_frame, Window frame, int *nidx, int try_batch, in do_copyrect_drag_move() argument
4141 ncache_pre_portions(orig_frame, frame, nidx, try_batch, &use_batch, in do_copyrect_drag_move()
4180 ncache_post_portions(*nidx, use_batch, in do_copyrect_drag_move()
4352 int now_x = 0, now_y = 0, nidx = -1; in check_wireframe() local
4832 nidx = idx; in check_wireframe()
4866 do_copyrect_drag_move(orig_frame, frame, &nidx, in check_wireframe()
4925 do_copyrect_drag_move(orig_frame, frame, &nidx, in check_wireframe()
4962 int nidx = -1; in check_wireframe() local
4991 ncache_pre_portions(orig_frame, frame, &nidx, try_batch, &use_batch, in check_wireframe()
5017 ncache_post_portions(nidx, use_batch, in check_wireframe()