Home
last modified time | relevance | path

Searched refs:x_loc (Results 1 – 25 of 135) sorted by relevance

123456

/dports/games/py-pychess/pychess-1.0.2/lib/pychess/Utils/
H A Deval.py325 for x_loc, piece in enumerate(row):
416 if not bin[x_loc]:
470 for x_loc in range(8):
475 if whitePawnFileBins[x_loc] > 1:
477 if blackPawnFileBins[x_loc] > 1:
483 if x_loc == 0 and whitePawnFileBins[x_loc] > 0 and whitePawnFileBins[1] == 0:
485 elif x_loc == 7 and whitePawnFileBins[x_loc] > 0 and whitePawnFileBins[6] == 0:
487 elif whitePawnFileBins[x_loc] > 0 and whitePawnFileBins[x_loc - 1] == 0 and \
491 if x_loc == 0 and blackPawnFileBins[x_loc] > 0 and blackPawnFileBins[1] == 0:
493 elif x_loc == 7 and blackPawnFileBins[x_loc] > 0 and blackPawnFileBins[6] == 0:
[all …]
/dports/games/py-pychess/pychess-1.0.2/lib/pychess/widgets/
H A DSpotGraph.py110 for x_loc, title in self.xmarks:
114 x_loc, y_loc = self.prcToPix(x_loc, 1)
152 x_loc, y_loc = self.prcToPix(x_loc, y_loc)
162 x_loc, y_loc = self.prcToPix(x_loc, y_loc)
277 x_loc, y_loc = self.prcToPix(x_loc, y_loc)
309 x_loc, y_loc = self.prcToPix(x_loc, y_loc)
332 if self.isEmpty(x_loc, y_loc):
340 x_loc += dotSmall
385 if self.isEmpty(x_loc, y_loc):
391 x_loc += dotSmall
[all …]
H A DBorderBox.py32 x_loc = allocation.x + .5
38 context.move_to(x_loc, y_loc)
39 context.line_to(x_loc + width, y_loc)
41 context.move_to(x_loc + width, y_loc)
42 context.line_to(x_loc + width, y_loc + height)
44 context.move_to(x_loc + width, y_loc + height)
45 context.line_to(x_loc, y_loc + height)
47 context.move_to(x_loc, y_loc + height)
48 context.line_to(x_loc, y_loc)
/dports/math/py-chaospy/chaospy-4.3.3/chaospy/distributions/kernel/
H A Dbaseclass.py108 def _pdf(self, x_loc, idx, dim, cache):
110 s, t = numpy.mgrid[:x_loc.shape[-1], :self._samples.shape[-1]]
113 z_loc = ((x_loc[s]-samples)*self._fwd_transform[:, 0, 0])
122 x_loc = [self._get_cache(dim_, cache, get=0)
123 for dim_ in self._rotation[:dim]] + [x_loc]
124 x_loc = numpy.dstack([x[s] for x in x_loc])
139 def _cdf(self, x_loc, idx, dim, cache):
146 assert out.shape == x_loc.shape, (out.shape, x_loc.shape)
149 x_loc = [self._get_cache(dim_, cache, get=0)
150 for dim_ in self._rotation[:dim]] + [x_loc]
[all …]
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/precision_drawing_tools/
H A Dpdt_functions.py232 def view_coords(x_loc, y_loc, z_loc): argument
414 new_x_loc = x_loc / z_loc
630 x_loc = pg.pivot_loc.x
650 (x_loc, y_loc, z_loc),
653 (x_loc+dim_a, y_loc, z_loc),
660 coords = [(x_loc, y_loc, z_loc), (x_loc+dim_a, y_loc, z_loc)]
665 (x_loc, y_loc, z_loc),
668 (x_loc, y_loc+dim_a, z_loc),
675 coords = [(x_loc, y_loc, z_loc), (x_loc, y_loc + dim_a, z_loc)]
680 (x_loc, y_loc, z_loc),
[all …]
/dports/math/py-chaospy/chaospy-4.3.3/chaospy/distributions/baseclass/
H A Duser.py108 x_loc = 0.
110 x_loc, _ = numpy.broadcast_arrays(x_loc, param)
111 return self._ppf(x_loc, **parameters)
114 x_loc = 1.
116 x_loc, _ = numpy.broadcast_arrays(x_loc, param)
117 return self._ppf(x_loc, **parameters)
/dports/games/py-pychess/pychess-1.0.2/lib/pychess/widgets/pydock/
H A DHighlightArea.py26 x_loc, y_loc = 0, 0
29 x_loc, y_loc = alloc.width * 0.618033989, 0
32 x_loc, y_loc = 0, alloc.height * 0.618033989
35 x_loc, y_loc = 0, 0
38 x_loc, y_loc = 0, 0
42 x_loc, y_loc = self.translateCoords(int(x_loc), int(y_loc))
43 self.move(x_loc, y_loc)
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.dg/
H A D20020430-1.c112 int x_loc, y_loc, x_root; in GetEventEntry() local
118 x_loc = event->xmotion.x; in GetEventEntry()
124 x_loc = event->xcrossing.x; in GetEventEntry()
130 x_loc = event->xbutton.x; in GetEventEntry()
139 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
153 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
175 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
178 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
181 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
189 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/gcc/testsuite/gcc.dg/
H A D20020430-1.c112 int x_loc, y_loc, x_root; in GetEventEntry() local
118 x_loc = event->xmotion.x; in GetEventEntry()
124 x_loc = event->xcrossing.x; in GetEventEntry()
130 x_loc = event->xbutton.x; in GetEventEntry()
139 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
153 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
175 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
178 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
181 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
189 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/gcc.dg/
H A D20020430-1.c112 int x_loc, y_loc, x_root; in GetEventEntry() local
118 x_loc = event->xmotion.x; in GetEventEntry()
124 x_loc = event->xcrossing.x; in GetEventEntry()
130 x_loc = event->xbutton.x; in GetEventEntry()
139 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
153 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
175 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
178 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
181 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
189 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/gcc/testsuite/gcc.dg/
H A D20020430-1.c112 int x_loc, y_loc, x_root; in GetEventEntry() local
118 x_loc = event->xmotion.x; in GetEventEntry()
124 x_loc = event->xcrossing.x; in GetEventEntry()
130 x_loc = event->xbutton.x; in GetEventEntry()
139 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
153 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
175 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
178 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
181 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
189 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/devel/mingw32-gcc/gcc-4.8.1/gcc/testsuite/gcc.dg/
H A D20020430-1.c112 int x_loc, y_loc, x_root; in GetEventEntry() local
118 x_loc = event->xmotion.x; in GetEventEntry()
124 x_loc = event->xcrossing.x; in GetEventEntry()
130 x_loc = event->xbutton.x; in GetEventEntry()
139 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
153 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
175 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
178 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
181 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
189 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.dg/
H A D20020430-1.c117 int x_loc, y_loc, x_root; in GetEventEntry() local
123 x_loc = event->xmotion.x; in GetEventEntry()
129 x_loc = event->xcrossing.x; in GetEventEntry()
135 x_loc = event->xbutton.x; in GetEventEntry()
144 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
158 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
180 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
183 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
186 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
194 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.dg/
H A D20020430-1.c118 int x_loc, y_loc, x_root; in GetEventEntry() local
124 x_loc = event->xmotion.x; in GetEventEntry()
130 x_loc = event->xcrossing.x; in GetEventEntry()
136 x_loc = event->xbutton.x; in GetEventEntry()
145 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
159 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
181 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
184 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
187 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
195 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/
H A D20020430-1.c118 int x_loc, y_loc, x_root; in GetEventEntry() local
124 x_loc = event->xmotion.x; in GetEventEntry()
130 x_loc = event->xcrossing.x; in GetEventEntry()
136 x_loc = event->xbutton.x; in GetEventEntry()
145 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
159 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
181 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
184 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
187 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
195 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A D20020430-1.c117 int x_loc, y_loc, x_root; in GetEventEntry() local
123 x_loc = event->xmotion.x; in GetEventEntry()
129 x_loc = event->xcrossing.x; in GetEventEntry()
135 x_loc = event->xbutton.x; in GetEventEntry()
144 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
158 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
180 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
183 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
186 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
194 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A D20020430-1.c117 int x_loc, y_loc, x_root; in GetEventEntry() local
123 x_loc = event->xmotion.x; in GetEventEntry()
129 x_loc = event->xcrossing.x; in GetEventEntry()
135 x_loc = event->xbutton.x; in GetEventEntry()
144 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
158 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
180 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
183 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
186 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
194 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.dg/
H A D20020430-1.c117 int x_loc, y_loc, x_root; in GetEventEntry() local
123 x_loc = event->xmotion.x; in GetEventEntry()
129 x_loc = event->xcrossing.x; in GetEventEntry()
135 x_loc = event->xbutton.x; in GetEventEntry()
144 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
158 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
180 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
183 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
186 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
194 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.dg/
H A D20020430-1.c118 int x_loc, y_loc, x_root; in GetEventEntry() local
124 x_loc = event->xmotion.x; in GetEventEntry()
130 x_loc = event->xcrossing.x; in GetEventEntry()
136 x_loc = event->xbutton.x; in GetEventEntry()
145 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
159 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
181 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
184 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
187 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
195 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A D20020430-1.c117 int x_loc, y_loc, x_root; in GetEventEntry() local
123 x_loc = event->xmotion.x; in GetEventEntry()
129 x_loc = event->xcrossing.x; in GetEventEntry()
135 x_loc = event->xbutton.x; in GetEventEntry()
144 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
158 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
180 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
183 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
186 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
194 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/
H A D20020430-1.c118 int x_loc, y_loc, x_root; in GetEventEntry() local
124 x_loc = event->xmotion.x; in GetEventEntry()
130 x_loc = event->xcrossing.x; in GetEventEntry()
136 x_loc = event->xbutton.x; in GetEventEntry()
145 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
159 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
181 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
184 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
187 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
195 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.dg/
H A D20020430-1.c117 int x_loc, y_loc, x_root; in GetEventEntry() local
123 x_loc = event->xmotion.x; in GetEventEntry()
129 x_loc = event->xcrossing.x; in GetEventEntry()
135 x_loc = event->xbutton.x; in GetEventEntry()
144 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
158 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
180 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
183 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
186 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
194 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A D20020430-1.c117 int x_loc, y_loc, x_root; in GetEventEntry() local
123 x_loc = event->xmotion.x; in GetEventEntry()
129 x_loc = event->xcrossing.x; in GetEventEntry()
135 x_loc = event->xbutton.x; in GetEventEntry()
144 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
158 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
180 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
183 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
186 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
194 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.dg/
H A D20020430-1.c118 int x_loc, y_loc, x_root; in GetEventEntry() local
124 x_loc = event->xmotion.x; in GetEventEntry()
130 x_loc = event->xcrossing.x; in GetEventEntry()
136 x_loc = event->xbutton.x; in GetEventEntry()
145 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
159 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
181 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
184 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
187 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
195 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gcc.dg/
H A D20020430-1.c117 int x_loc, y_loc, x_root; in GetEventEntry() local
123 x_loc = event->xmotion.x; in GetEventEntry()
129 x_loc = event->xcrossing.x; in GetEventEntry()
135 x_loc = event->xbutton.x; in GetEventEntry()
144 if (x_loc < 0 || x_loc >= (((RectObj)smw)->rectangle.width) || in GetEventEntry()
158 …move = x_loc - (((RectObj)entry)->rectangle.width) - (((RectObj)entry)->rectangle.x) + (((RectObj)… in GetEventEntry()
180 move = x_loc - (((RectObj)entry)->rectangle.x); in GetEventEntry()
183 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
186 move = x_loc + (((RectObj)w)->rectangle.border_width); in GetEventEntry()
194 return (DoGetEventEntry(w, x_loc, y_loc)); in GetEventEntry()

123456