Home
last modified time | relevance | path

Searched refs:gmap (Results 1 – 25 of 784) sorted by relevance

12345678910>>...32

/dports/games/pioneers/pioneers-15.6/common/gtk/
H A Dguimap.c72 gmap = g_malloc0(sizeof(*gmap)); in guimap_new()
193 gmap->x_margin += x - gmap->last_x; in motion_notify_map_cb()
194 gmap->y_margin += y - gmap->last_y; in motion_notify_map_cb()
430 gmap->x_margin + gmap->x_point + in reverse_calc_hex_pos()
479 + gmap->hex_radius + y * (gmap->hex_radius + gmap->y_point); in calc_hex_pos()
1032 gmap->map->x_size * 2 * gmap->x_point + gmap->x_point; in guimap_scale_with_radius()
1034 (gmap->map->y_size - 1) * (gmap->hex_radius + gmap->y_point) in guimap_scale_with_radius()
1038 gmap->width -= gmap->x_point; in guimap_scale_with_radius()
1040 gmap->width -= gmap->x_point; in guimap_scale_with_radius()
1280 reverse_calc_hex_pos(gmap, gmap->last_x, gmap->last_y, &x_hex, in guimap_get_current_hex()
[all …]
H A Dguimap.h102 void guimap_delete(GuiMap * gmap);
103 void guimap_reset(GuiMap * gmap);
130 void guimap_display(GuiMap * gmap);
131 void guimap_zoom_normal(GuiMap * gmap);
132 void guimap_zoom_center_map(GuiMap * gmap);
137 void guimap_draw_hex(GuiMap * gmap, const Hex * hex);
139 Edge *guimap_get_current_edge(GuiMap * gmap);
140 Node *guimap_get_current_node(GuiMap * gmap);
141 Hex *guimap_get_current_hex(GuiMap * gmap);
143 gint guimap_distance_cursor(const GuiMap * gmap,
[all …]
H A Dselect-game.c201 GuiMap *gmap; in render_map() local
203 gmap = guimap_new(); in render_map()
205 gmap->surface = in render_map()
208 gmap->width = MAP_WIDTH; in render_map()
209 gmap->height = MAP_HEIGHT; in render_map()
210 gmap->area = base_widget; in render_map()
211 g_object_ref(gmap->area); in render_map()
212 gmap->map = map_copy(map); in render_map()
213 guimap_scale_to_size(gmap, MAP_WIDTH, MAP_HEIGHT); in render_map()
214 guimap_display(gmap); in render_map()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/s390/include/asm/
H A Dgmap.h46 struct gmap { struct
66 struct gmap *parent; argument
96 void (*notifier_call)(struct gmap *gmap, unsigned long start,
100 static inline int gmap_is_shadow(struct gmap *gmap) in gmap_is_shadow() argument
106 void gmap_remove(struct gmap *gmap);
107 struct gmap *gmap_get(struct gmap *gmap);
108 void gmap_put(struct gmap *gmap);
110 void gmap_enable(struct gmap *gmap);
111 void gmap_disable(struct gmap *gmap);
113 int gmap_map_segment(struct gmap *gmap, unsigned long from,
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/s390/include/asm/
H A Dgmap.h46 struct gmap { struct
66 struct gmap *parent; argument
96 void (*notifier_call)(struct gmap *gmap, unsigned long start,
100 static inline int gmap_is_shadow(struct gmap *gmap) in gmap_is_shadow() argument
106 void gmap_remove(struct gmap *gmap);
107 struct gmap *gmap_get(struct gmap *gmap);
108 void gmap_put(struct gmap *gmap);
110 void gmap_enable(struct gmap *gmap);
111 void gmap_disable(struct gmap *gmap);
113 int gmap_map_segment(struct gmap *gmap, unsigned long from,
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/s390/include/asm/
H A Dgmap.h46 struct gmap { struct
66 struct gmap *parent; argument
96 void (*notifier_call)(struct gmap *gmap, unsigned long start,
100 static inline int gmap_is_shadow(struct gmap *gmap) in gmap_is_shadow() argument
106 void gmap_remove(struct gmap *gmap);
107 struct gmap *gmap_get(struct gmap *gmap);
108 void gmap_put(struct gmap *gmap);
110 void gmap_enable(struct gmap *gmap);
111 void gmap_disable(struct gmap *gmap);
113 int gmap_map_segment(struct gmap *gmap, unsigned long from,
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/s390/mm/
H A Dgmap.c37 struct gmap *gmap; in gmap_alloc() local
99 struct gmap *gmap; in gmap_create() local
215 struct gmap *gmap_get(struct gmap *gmap) in gmap_get() argument
228 void gmap_put(struct gmap *gmap) in gmap_put() argument
239 void gmap_remove(struct gmap *gmap) in gmap_remove() argument
275 void gmap_enable(struct gmap *gmap) in gmap_enable() argument
285 void gmap_disable(struct gmap *gmap) in gmap_disable() argument
514 struct gmap *gmap; in gmap_unlink() local
2306 struct gmap *gmap; in gmap_pmdp_clear() local
2359 struct gmap *gmap; in gmap_pmdp_idte_local() local
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/s390/mm/
H A Dgmap.c37 struct gmap *gmap; in gmap_alloc() local
99 struct gmap *gmap; in gmap_create() local
215 struct gmap *gmap_get(struct gmap *gmap) in gmap_get() argument
228 void gmap_put(struct gmap *gmap) in gmap_put() argument
239 void gmap_remove(struct gmap *gmap) in gmap_remove() argument
275 void gmap_enable(struct gmap *gmap) in gmap_enable() argument
285 void gmap_disable(struct gmap *gmap) in gmap_disable() argument
514 struct gmap *gmap; in gmap_unlink() local
2306 struct gmap *gmap; in gmap_pmdp_clear() local
2359 struct gmap *gmap; in gmap_pmdp_idte_local() local
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/s390/mm/
H A Dgmap.c37 struct gmap *gmap; in gmap_alloc() local
99 struct gmap *gmap; in gmap_create() local
215 struct gmap *gmap_get(struct gmap *gmap) in gmap_get() argument
228 void gmap_put(struct gmap *gmap) in gmap_put() argument
239 void gmap_remove(struct gmap *gmap) in gmap_remove() argument
275 void gmap_enable(struct gmap *gmap) in gmap_enable() argument
285 void gmap_disable(struct gmap *gmap) in gmap_disable() argument
514 struct gmap *gmap; in gmap_unlink() local
2306 struct gmap *gmap; in gmap_pmdp_clear() local
2359 struct gmap *gmap; in gmap_pmdp_idte_local() local
[all …]
/dports/math/yices/yices-2.6.2/src/solvers/cdcl/
H A Dnew_gate_hash_map2.c179 gmap->data = tmp; in init_gmap()
180 gmap->size = n; in init_gmap()
181 gmap->nelems = 0; in init_gmap()
192 n = gmap->size; in delete_gmap()
209 n = gmap->size; in reset_gmap()
217 gmap->nelems = 0; in reset_gmap()
247 n = gmap->size; in extend_gmap()
284 assert(gmap->nelems < gmap->size && is_power_of_two(gmap->size)); in gmap_find_match()
312 assert(gmap->nelems < gmap->size && is_power_of_two(gmap->size)); in gmap_get_match()
344 gmap->nelems ++; in gmap_get_match()
[all …]
H A Dnew_gate_hash_map2.h158 extern void init_gmap(gmap_t *gmap, uint32_t n);
163 extern void delete_gmap(gmap_t *gmap);
168 extern void reset_gmap(gmap_t *gmap);
174 extern literal_t gmap_find(const gmap_t *gmap, const bgate_t *g);
180 extern literal_t gmap_get(gmap_t *gmap, const bgate_t *g, literal_t l);
186 extern literal_t gmap_find_ttbl(const gmap_t *gmap, const ttbl_t *tt);
187 extern literal_t gmap_get_ttbl(gmap_t *gmap, const ttbl_t *tt, literal_t l);
194 extern literal_t gmap_find_wide_ttbl(const gmap_t *gmap, const wide_ttbl_t *w);
195 extern literal_t gmap_get_wide_ttbl(gmap_t *gmap, const wide_ttbl_t *w, literal_t l);
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/generic-deriving-1.13.1/src/Generics/Deriving/
H A DFunctor.hs135 gmap = gmapdefault function
144 gmap = fmap function
147 gmap = gmapdefault function
150 gmap = gmapdefault function
154 gmap = gmapdefault function
159 gmap = gmapdefault function
164 gmap = gmapdefault function
168 gmap = gmapdefault function
171 gmap = gmapdefault function
174 gmap = gmapdefault function
[all …]
/dports/devel/stack/stack-2.7.3/_cabal_deps/generic-deriving-1.14/src/Generics/Deriving/
H A DFunctor.hs135 gmap = gmapdefault function
144 gmap = fmap function
147 gmap = gmapdefault function
150 gmap = gmapdefault function
154 gmap = gmapdefault function
159 gmap = gmapdefault function
164 gmap = gmapdefault function
168 gmap = gmapdefault function
171 gmap = gmapdefault function
174 gmap = gmapdefault function
[all …]
/dports/games/pioneers/pioneers-15.6/editor/gtk/
H A Deditor.c108 static GuiMap *gmap; variable
816 get_mouse_position(area, &gmap->last_x, &gmap->last_y); in key_press_map_cb()
877 } else if (!(gmap->map->shrink_left || gmap->map->shrink_right)) { in update_resize_buttons()
904 scale_map(gmap); in update_resize_buttons()
964 gmap = guimap_new(); in build_map()
1404 map_free(gmap->map); in apply_params()
1496 guimap_reset(gmap); in load_game()
1504 fill_map(gmap->map); in load_game()
1506 scale_map(gmap); in load_game()
1607 scale_map(gmap); in load_game_menu_cb()
[all …]
/dports/science/clipper/clipper-2.1/examples/
H A Dmaptest.cpp20 Grid_range gmap = Grid_range( cell, grid, 5.0 ); in main() local
21 std::cout << cell.format() << "\t" << gmap.format() << "\n"; in main()
23 gmap = Grid_range ( cell, grid, 5.0 ); in main()
24 std::cout << cell.format() << "\t" << gmap.format() << "\n"; in main()
26 gmap = Grid_range ( cell, grid, 5.0 ); in main()
27 std::cout << cell.format() << "\t" << gmap.format() << "\n"; in main()
28 gmap = Grid_range ( cell, grid, 2.5 ); in main()
29 std::cout << cell.format() << "\t" << gmap.format() << "\n"; in main()
/dports/graphics/xv/xv-3.10a/
H A Dxvsmooth.c88 rmap, gmap, bmap);
92 rmap, gmap, bmap);
96 rmap, gmap, bmap);
194 *pp++ = (((int)(pA * gmap[cA]))>>7) + (((int)(pB * gmap[cB]))>>7) +
195 (((int)(pC * gmap[cC]))>>7) + (((int)(pD * gmap[cD]))>>7);
222 rmap, gmap, bmap) in smoothX() argument
287 lbufG[j] = ((int)((gmap[*cptr]* pcnt0) + (gmap[*cptr1]* pcnt1))) >> 6;
324 rmap, gmap, bmap) in smoothY() argument
404 lbufG[j] += ((int)((gmap[*cptr]*pct0[j])+(gmap[*cptr1]*pct1[j]))) >> 6;
431 rmap, gmap, bmap) in smoothXY() argument
[all …]
/dports/graphics/xv-m17n/xv-3.10a/
H A Dxvsmooth.c88 rmap, gmap, bmap);
92 rmap, gmap, bmap);
96 rmap, gmap, bmap);
194 *pp++ = (((int)(pA * gmap[cA]))>>7) + (((int)(pB * gmap[cB]))>>7) +
195 (((int)(pC * gmap[cC]))>>7) + (((int)(pD * gmap[cD]))>>7);
222 rmap, gmap, bmap) in smoothX() argument
287 lbufG[j] = ((int)((gmap[*cptr]* pcnt0) + (gmap[*cptr1]* pcnt1))) >> 6;
324 rmap, gmap, bmap) in smoothY() argument
404 lbufG[j] += ((int)((gmap[*cptr]*pct0[j])+(gmap[*cptr1]*pct1[j]))) >> 6;
431 rmap, gmap, bmap) in smoothXY() argument
[all …]
/dports/japanese/xv/xv-3.10a/
H A Dxvsmooth.c88 rmap, gmap, bmap);
92 rmap, gmap, bmap);
96 rmap, gmap, bmap);
194 *pp++ = (((int)(pA * gmap[cA]))>>7) + (((int)(pB * gmap[cB]))>>7) +
195 (((int)(pC * gmap[cC]))>>7) + (((int)(pD * gmap[cD]))>>7);
222 rmap, gmap, bmap) in smoothX() argument
287 lbufG[j] = ((int)((gmap[*cptr]* pcnt0) + (gmap[*cptr1]* pcnt1))) >> 6;
324 rmap, gmap, bmap) in smoothY() argument
404 lbufG[j] += ((int)((gmap[*cptr]*pct0[j])+(gmap[*cptr1]*pct1[j]))) >> 6;
431 rmap, gmap, bmap) in smoothXY() argument
[all …]
/dports/net/nsscache/nsscache-version-0.44/nss_cache/maps/
H A Dgroup_test.py48 gmap = group.GroupMap([self._good_entry])
50 gmap.PopItem(),
56 gmap = group.GroupMap()
58 self.assertTrue(gmap.Add(entry), msg='failed to append new entry.')
60 self.assertEqual(1, len(gmap), msg='unexpected size for Map.')
62 ret_entry = gmap.PopItem()
69 self.assertRaises(TypeError, gmap.Add, pentry)
/dports/math/cgal/CGAL-5.3/include/CGAL/
H A DPolygonal_schema.h123 Dart_handle res=gmap.create_dart();
124 Dart_handle dh2=gmap.create_dart();
127 if (prev_dart!=gmap.null_handle)
128 { gmap.template link_alpha<1>(res, gmap.template alpha<0>(prev_dart)); }
134 gmap.info(dh2).m_label=s2;
141 gmap.info(res).m_label=s;
147 gmap.info(res).m_label=s2;
158 if (gmap.info(dh).m_label.empty())
161 { return gmap.info(gmap.template alpha<2>(dh)).m_label; }
164 return internal::opposite_label(gmap.info(gmap.template alpha<0>(dh)));
[all …]
/dports/devel/py-cle/cle-9.0.5405/cle/
H A Dgdb.py35 gmap = {}
56 gmap[objfile] = min(gmap[objfile], addr)
58 gmap[objfile] = addr
68 smallest_addr = min(gmap.values())
70 for lib, addr in gmap.items():
/dports/devel/stack/stack-2.7.3/_cabal_deps/generic-deriving-1.14/tests/
H A DExampleSpec.hs88 gmap = gmapdefault function
119 gmap = gmapdefault function
144 gmap = gmapdefault function
161 gmap = gmapdefault function
182 gmap = gmapdefault function
196 gmap = gmapdefault function
213 gmap = gmapdefault function
384 gshow (gmap gshow rose1) `shouldBe`
393 gshow (gmap gshow grose1) `shouldBe`
411 gshow (gmap gshow nested) `shouldBe`
[all …]
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/generic-deriving-1.13.1/tests/
H A DExampleSpec.hs88 gmap = gmapdefault function
119 gmap = gmapdefault function
144 gmap = gmapdefault function
161 gmap = gmapdefault function
182 gmap = gmapdefault function
196 gmap = gmapdefault function
213 gmap = gmapdefault function
384 gshow (gmap gshow rose1) `shouldBe`
393 gshow (gmap gshow grose1) `shouldBe`
411 gshow (gmap gshow nested) `shouldBe`
[all …]
/dports/games/pioneers/pioneers-15.6/client/gtk/
H A Didentity.c48 void (*get_polygon)(const GuiMap * gmap, Polygon * poly);
53 static void identity_get_road_polygon(const GuiMap * gmap, Polygon * poly) in identity_get_road_polygon() argument
55 guimap_road_polygon(gmap, NULL, poly); in identity_get_road_polygon()
58 static void identity_get_bridge_polygon(const GuiMap * gmap, in identity_get_bridge_polygon() argument
61 guimap_bridge_polygon(gmap, NULL, poly); in identity_get_bridge_polygon()
66 guimap_ship_polygon(gmap, NULL, poly); in identity_get_ship_polygon()
69 static void identity_get_settlement_polygon(const GuiMap * gmap, in identity_get_settlement_polygon() argument
72 guimap_settlement_polygon(gmap, NULL, poly); in identity_get_settlement_polygon()
77 guimap_city_polygon(gmap, NULL, poly); in identity_get_city_polygon()
80 static void identity_get_city_wall_polygon(const GuiMap * gmap, in identity_get_city_wall_polygon() argument
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/s390/kernel/
H A Duv.c219 int gmap_make_secure(struct gmap *gmap, unsigned long gaddr, void *uvcb) in gmap_make_secure() argument
231 mmap_read_lock(gmap->mm); in gmap_make_secure()
233 uaddr = __gmap_translate(gmap, gaddr); in gmap_make_secure()
236 vma = find_vma(gmap->mm, uaddr); in gmap_make_secure()
255 ptep = get_locked_pte(gmap->mm, uaddr, &ptelock); in gmap_make_secure()
260 mmap_read_unlock(gmap->mm); in gmap_make_secure()
288 if (gmap_fault(gmap, gaddr, FAULT_FLAG_WRITE)) in gmap_make_secure()
296 int gmap_convert_to_secure(struct gmap *gmap, unsigned long gaddr) in gmap_convert_to_secure() argument
301 .guest_handle = gmap->guest_handle, in gmap_convert_to_secure()
305 return gmap_make_secure(gmap, gaddr, &uvcb); in gmap_convert_to_secure()

12345678910>>...32