Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 1598) sorted by relevance

12345678910>>...64

/netbsd-src/external/gpl2/groff/dist/src/preproc/pic/
H A Dcommon.h26 void dash_line(const position &start, const position &end,
29 void dash_arc(const position &cent, double rad,
32 void dot_line(const position &start, const position &end,
34 void dot_arc(const position &cent, double rad,
38 virtual void dot(const position &, const line_type &) = 0;
39 void ellipse_arc(const position &, const position &,
40 const position &, const distance &,
42 void dashed_circle(const position &, double rad, const line_type &);
43 void dotted_circle(const position &, double rad, const line_type &);
44 void dashed_ellipse(const position &, const distance &, const line_type &);
[all …]
H A Dposition.h24 struct position { struct
27 position(double, double ); argument
28 position();
29 position(const place &);
30 position &operator+=(const position &);
31 position &operator-=(const position &);
32 position &operator*=(double);
33 position &operator/=(double);
36 position operator-(const position &);
37 position operator+(const position &, const position &);
[all …]
H A Dobject.cpp64 void output::begin_block(const position &, const position &) in begin_block() argument
72 double output::compute_scale(double sc, const position &ll, const position &ur) in compute_scale()
113 position::position(const place &pl) in position() function in position
126 position::position() : x(0.0), y(0.0) in position() function in position
130 position::position(double a, double b) : x(a), y(b) in position() function in position
135 int operator==(const position &a, const position &b) in operator ==()
140 int operator!=(const position &a, const position &b) in operator !=()
145 position &position::operator+=(const position &a) in operator +=()
152 position &position::operator-=(const position &a) in operator -=()
159 position &position::operator*=(double a) in operator *=()
[all …]
H A Dtroff.cpp32 virtual void simple_line(const position &, const position &) = 0;
33 virtual void simple_spline(const position &, const position *, int n) = 0;
34 virtual void simple_arc(const position &, const position &,
35 const position &) = 0;
36 virtual void simple_circle(int, const position &, double rad) = 0;
37 virtual void simple_ellipse(int, const position &, const distance &) = 0;
38 virtual void simple_polygon(int, const position *, int) = 0;
44 void dot(const position &, const line_type &) = 0;
46 void start_picture(double sc, const position &ll, const position &ur) = 0;
48 void text(const position &, text_piece *, int, double) = 0;
[all …]
H A Dcommon.cpp28 void common_output::dashed_circle(const position &cent, double rad, in dashed_circle()
63 void common_output::dotted_circle(const position &cent, double rad, in dotted_circle()
80 dot(cent + position(cos(ang), sin(ang))*rad, lt); in dotted_circle()
85 void common_output::ellipse_arc(const position &cent, in ellipse_arc()
86 const position &z0, const position &z1, in ellipse_arc()
92 position zml = (z0 + z1) / 2; in ellipse_arc()
96 position zm = position(dim.x * cos(psi), dim.y * sin(psi)); in ellipse_arc()
107 position M = position(e_2 * zm.x / a_2 * zm.x / a_2 * zm.x, in ellipse_arc()
112 position M0 = position(rho * cos(phi0), rho * sin(phi0)) + M; in ellipse_arc()
113 position M1 = position(rho * cos(phi1), rho * sin(phi1)) + M; in ellipse_arc()
[all …]
H A Dobject.h48 virtual position origin();
52 virtual position north();
53 virtual position south();
54 virtual position east();
55 virtual position west();
56 virtual position north_east();
57 virtual position north_west();
58 virtual position south_east();
59 virtual position south_west();
60 virtual position start();
[all …]
H A Dtex.cpp33 void start_picture(double, const position &ll, const position &ur);
35 void text(const position &, text_piece *, int, double);
36 void line(const position &, const position *, int n,
38 void polygon(const position *, int n,
40 void spline(const position &, const position *, int n,
42 void arc(const position &, const position &, const position &,
44 void circle(const position &, double rad, const line_type &, double);
45 void ellipse(const position &, const distance &, const line_type &, double);
53 position upper_left;
59 void point(const position &);
[all …]
H A Doutput.h37 double compute_scale(double, const position &, const position &);
43 virtual void start_picture(double sc, const position &ll, const position &ur) = 0;
45 virtual void circle(const position &, double rad,
47 virtual void text(const position &, text_piece *, int, double) = 0;
48 virtual void line(const position &, const position *, int n,
50 virtual void polygon(const position *, int n,
52 virtual void spline(const position &, const position *, int n,
54 virtual void arc(const position &, const position &, const position &,
56 virtual void ellipse(const position &, const distance &,
58 virtual void rounded_box(const position &, const distance &, double,
[all …]
/netbsd-src/games/battlestar/
H A Dcommand6.c49 if (testbit(location[position].objects, VIPER) && !notes[CANTLAUNCH]) { in launch()
51 clearbit(location[position].objects, VIPER); in launch()
52 position = location[position].up; in launch()
71 if (notes[LAUNCHED] && testbit(location[position].objects, LAND) && in land()
72 location[position].down) { in land()
74 position = location[position].down; in land()
75 setbit(location[position].objects, VIPER); in land()
185 if (testbit(location[position].objects, CAR)) { in drive()
189 clearbit(location[position].objects, CAR); in drive()
190 setbit(location[position].objects, CRASH); in drive()
[all …]
H A Dcommand3.c49 switch (position) { in dig()
52 setbit(location[position].objects, DEADWOOD); in dig()
53 setbit(location[position].objects, COMPASS); in dig()
54 setbit(location[position].objects, KNIFE); in dig()
55 setbit(location[position].objects, MACE); in dig()
72 switch (position) { in jump()
78 position = 133; in jump()
84 position = 145; in jump()
87 position = FINAL; in jump()
90 position = 1; in jump()
[all …]
H A Dcommand2.c141 position != FINAL) { in use()
145 if (position == 114) { in use()
146 location[position].down = 160; in use()
147 whichway(location[position]); in use()
158 if (position == 229) in use()
159 position = 224; in use()
161 position = 229; in use()
165 } else if (position == FINAL) in use()
221 if (testbit(location[position].objects, BATHGOD)) { in murder()
224 clearbit(location[position].objects, BATHGOD); in murder()
[all …]
H A Dcommand1.c50 testbit(location[position].objects, LAND) || in moveplayer()
53 position = thataway; in moveplayer()
59 whichway(location[position]); in moveplayer()
104 if (ourtime > 30 && position < 32) { in news()
112 if (ourtime > 20 && position < 32) in news()
153 if (testbit(location[position].objects, ELF)) { in news()
157 if (testbit(location[position].objects, DARK)) { in news()
161 if (testbit(location[position].objects, WOODSMAN)) { in news()
165 switch (position) { in news()
181 if (testbit(location[position].objects, GIRL)) in news()
[all …]
H A Dcommand4.c141 if (testbit(location[position].objects, AMULET)) { in take()
158 if (testbit(location[position].objects, MEDALION)) { in take()
170 if (testbit(location[position].objects, TALISMAN)) { in take()
178 if (testbit(location[position].objects, BATHGOD) && in take()
193 clearbit(location[position].objects, BATHGOD); in take()
195 if (!testbit(location[position].objects, in take()
239 deposit = location[position].up * in throw()
240 (location[position].access || position == FINAL); in throw()
244 deposit = location[position].down; in throw()
251 testbit(location[position].objects, value)) { in throw()
[all …]
H A Dcommand5.c50 && testbit(location[position].objects, BATHGOD)) { in kiss()
56 if (testbit(location[position].objects, in kiss()
107 if ((testbit(location[position].objects, BATHGOD) || in love()
108 testbit(location[position].objects, NORMGOD)) && in love()
147 setbit(location[position].objects, in love()
159 if (testbit(location[position].objects, in love()
203 if (location[position].down) { in zzz()
204 position = location[position].down; in zzz()
222 location[position].objects, in zzz()
232 setbit(location[position].objects, DEADWOOD); in zzz()
[all …]
/netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.h140 const argon2_position_t *position, uint32_t pseudo_rand, in index_alpha() argument
157 if (position->pass == 0) { in index_alpha()
159 if (position->slice == 0) { in index_alpha()
162 position->index - 1; /* all but the previous */ in index_alpha()
167 position->slice * instance->segment_length + in index_alpha()
168 position->index - 1; in index_alpha()
171 position->slice * instance->segment_length + in index_alpha()
172 ((position->index == 0) ? (-1) : 0); in index_alpha()
179 instance->segment_length + position->index - in index_alpha()
184 ((position->index == 0) ? (-1) : 0); in index_alpha()
[all …]
H A Dargon2-fill-block-ssse3.c101 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
109 if (instance != NULL && position != NULL) { in generate_addresses()
110 input_block.v[0] = position->pass; in generate_addresses()
111 input_block.v[1] = position->lane; in generate_addresses()
112 input_block.v[2] = position->slice; in generate_addresses()
144 argon2_position_t position) in fill_segment_ssse3() argument
161 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ssse3()
168 generate_addresses(instance, &position, pseudo_rands); in fill_segment_ssse3()
173 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_ssse3()
178 curr_offset = position.lane * instance->lane_length + in fill_segment_ssse3()
[all …]
H A Dargon2-fill-block-avx512f.c107 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
115 if (instance != NULL && position != NULL) { in generate_addresses()
116 input_block.v[0] = position->pass; in generate_addresses()
117 input_block.v[1] = position->lane; in generate_addresses()
118 input_block.v[2] = position->slice; in generate_addresses()
150 argon2_position_t position) in fill_segment_avx512f() argument
167 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx512f()
174 generate_addresses(instance, &position, pseudo_rands); in fill_segment_avx512f()
179 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx512f()
184 curr_offset = position.lane * instance->lane_length + in fill_segment_avx512f()
[all …]
H A Dargon2-fill-block-avx2.c102 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
110 if (instance != NULL && position != NULL) { in generate_addresses()
111 input_block.v[0] = position->pass; in generate_addresses()
112 input_block.v[1] = position->lane; in generate_addresses()
113 input_block.v[2] = position->slice; in generate_addresses()
145 argon2_position_t position) in fill_segment_avx2() argument
162 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx2()
169 generate_addresses(instance, &position, pseudo_rands); in fill_segment_avx2()
174 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx2()
179 curr_offset = position.lane * instance->lane_length + in fill_segment_avx2()
[all …]
H A Dargon2-fill-block-ref.c113 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
121 if (instance != NULL && position != NULL) { in generate_addresses()
122 input_block.v[0] = position->pass; in generate_addresses()
123 input_block.v[1] = position->lane; in generate_addresses()
124 input_block.v[2] = position->slice; in generate_addresses()
144 fill_segment_ref(const argon2_instance_t *instance, argon2_position_t position) in fill_segment_ref() argument
160 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ref()
167 generate_addresses(instance, &position, pseudo_rands); in fill_segment_ref()
172 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_ref()
177 curr_offset = position.lane * instance->lane_length + in fill_segment_ref()
[all …]
/netbsd-src/external/apache2/argon2/dist/phc-winner-argon2/src/
H A Dref.c91 argon2_position_t position) { in fill_segment() argument
106 (instance->type == Argon2_id && (position.pass == 0) && in fill_segment()
107 (position.slice < ARGON2_SYNC_POINTS / 2)); in fill_segment()
113 input_block.v[0] = position.pass; in fill_segment()
114 input_block.v[1] = position.lane; in fill_segment()
115 input_block.v[2] = position.slice; in fill_segment()
123 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment()
133 curr_offset = position.lane * instance->lane_length + in fill_segment()
134 position.slice * instance->segment_length + starting_index; in fill_segment()
165 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment()
[all …]
H A Dopt.c175 argon2_position_t position) { in fill_segment() argument
196 (instance->type == Argon2_id && (position.pass == 0) && in fill_segment()
197 (position.slice < ARGON2_SYNC_POINTS / 2)); in fill_segment()
202 input_block.v[0] = position.pass; in fill_segment()
203 input_block.v[1] = position.lane; in fill_segment()
204 input_block.v[2] = position.slice; in fill_segment()
212 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment()
222 curr_offset = position.lane * instance->lane_length + in fill_segment()
223 position.slice * instance->segment_length + starting_index; in fill_segment()
256 if ((position.pass == 0) && (position.slice == 0)) { in fill_segment()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dgl_anylinked_list2.h145 gl_linked_get_at (gl_list_t list, size_t position) in gl_linked_get_at() argument
150 if (!(position < count)) in gl_linked_get_at()
154 if (position <= ((count - 1) / 2)) in gl_linked_get_at()
157 for (; position > 0; position--) in gl_linked_get_at()
162 position = count - 1 - position; in gl_linked_get_at()
164 for (; position > 0; position--) in gl_linked_get_at()
171 gl_linked_set_at (gl_list_t list, size_t position, const void *elt) in gl_linked_set_at() argument
176 if (!(position < count)) in gl_linked_set_at()
180 if (position <= ((count - 1) / 2)) in gl_linked_set_at()
183 for (; position > 0; position--) in gl_linked_set_at()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DFormatString.h40 void setPosition(const char *position) { in setPosition() argument
41 assert(position); in setPosition()
43 this->position = position; in setPosition()
46 assert(position); in getPosition()
47 return position; in getPosition()
59 const char *position; variable
530 void setHasThousandsGrouping(const char *position) { in setHasThousandsGrouping() argument
531 HasThousandsGrouping.setPosition(position); in setHasThousandsGrouping()
533 void setIsLeftJustified(const char *position) { in setIsLeftJustified() argument
534 IsLeftJustified.setPosition(position); in setIsLeftJustified()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dformat-lisp.c2030 unsigned int position, enum format_arg_type type) in add_req_type_constraint() argument
2032 *listp = add_required_constraint (*listp, position); in add_req_type_constraint()
2033 *listp = add_type_constraint (*listp, position, type); in add_req_type_constraint()
2039 unsigned int position, enum format_arg_type type, in add_req_listtype_constraint() argument
2042 *listp = add_required_constraint (*listp, position); in add_req_listtype_constraint()
2043 *listp = add_listtype_constraint (*listp, position, type, sublist); in add_req_listtype_constraint()
2373 int position = params->value; in check_params() local
2374 if (position >= 0) in check_params()
2375 add_req_type_constraint (listp, position, *t_types); in check_params()
2395 int position = params->value; in check_params() local
[all …]
H A Dformat-scheme.c2053 unsigned int position, enum format_arg_type type) in add_req_type_constraint() argument
2055 *listp = add_required_constraint (*listp, position); in add_req_type_constraint()
2056 *listp = add_type_constraint (*listp, position, type); in add_req_type_constraint()
2062 unsigned int position, enum format_arg_type type, in add_req_listtype_constraint() argument
2065 *listp = add_required_constraint (*listp, position); in add_req_listtype_constraint()
2066 *listp = add_listtype_constraint (*listp, position, type, sublist); in add_req_listtype_constraint()
2399 int position = params->value; in check_params() local
2400 if (position >= 0) in check_params()
2401 add_req_type_constraint (listp, position, *t_types); in check_params()
2421 int position = params->value; in check_params() local
[all …]

12345678910>>...64