Home
last modified time | relevance | path

Searched refs:direction (Results 1 – 25 of 804) sorted by relevance

12345678910>>...33

/netbsd-src/games/battlestar/
H A Droom.c82 switch (direction) { in whichway()
121 switch (direction) { in truedirec()
135 switch (direction) { in truedirec()
149 switch (direction) { in truedirec()
163 switch (direction) { in truedirec()
185 switch (direction) { in newway()
190 direction = WEST; in newway()
193 direction = EAST; in newway()
196 direction = SOUTH; in newway()
203 direction = EAST; in newway()
[all …]
/netbsd-src/sys/dev/fdt/
H A Dfdt_pinctrl.c275 int direction = -1; in fdtbus_pinctrl_parse_input_output() local
279 direction = GPIO_PIN_INPUT; in fdtbus_pinctrl_parse_input_output()
290 if (direction == -1) in fdtbus_pinctrl_parse_input_output()
291 direction = 0; in fdtbus_pinctrl_parse_input_output()
292 direction |= GPIO_PIN_OUTPUT; in fdtbus_pinctrl_parse_input_output()
294 if (direction == -1) in fdtbus_pinctrl_parse_input_output()
295 direction = 0; in fdtbus_pinctrl_parse_input_output()
296 direction |= GPIO_PIN_TRISTATE; in fdtbus_pinctrl_parse_input_output()
300 if (direction == -1) in fdtbus_pinctrl_parse_input_output()
301 direction = 0; in fdtbus_pinctrl_parse_input_output()
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/liblunicode/ucdata/
H A Ducpgba.c129 unsigned long start, unsigned long end, int direction) in _add_run() argument
136 run->direction = direction; in _add_run()
148 if (direction == UCPGBA_RTL) { in _add_run()
208 if (str->direction == UCPGBA_LTR) { in _ucadd_rtl_segment()
243 if (str->direction == UCPGBA_LTR) { in _ucadd_rtl_segment()
280 if (str->direction == UCPGBA_LTR) { in _ucadd_rtl_segment()
310 if (str->direction == UCPGBA_LTR) { in _ucadd_ltr_segment()
366 str->direction = default_direction; in ucstring_create()
368 str->direction = ucisrtl(source[s]) ? UCPGBA_RTL : UCPGBA_LTR; in ucstring_create()
370 if (str->direction == UCPGBA_RTL) in ucstring_create()
[all …]
H A Ducpgba.h78 int direction; /* Direction of the run. */ member
95 int direction; /* Overall direction of the string. */ member
167 ucstring_cursor_info LDAP_P((ucstring_t *string, int *direction,
/netbsd-src/external/gpl2/groff/dist/src/preproc/pic/
H A Dobject.h109 enum direction { enum
118 direction dir;
196 direction dir;
203 object *make_object(position *, direction *);
204 graphic_object *make_box(position *, direction *);
205 graphic_object *make_block(position *, direction *);
206 graphic_object *make_text(position *, direction *);
207 graphic_object *make_ellipse(position *, direction *);
208 graphic_object *make_circle(position *, direction *);
209 linear_object *make_line(position *, direction *);
[all …]
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dhistsearch.c67 history_search_internal (const char *string, int direction, int flags) in history_search_internal() argument
76 reverse = (direction < 0); in history_search_internal()
199 _hs_history_patsearch (const char *string, int direction, int flags) in _hs_history_patsearch() argument
248 ret = history_search_internal (pat, direction, flags|PATTERN_SEARCH); in _hs_history_patsearch()
257 history_search (const char *string, int direction) in history_search() argument
259 return (history_search_internal (string, direction, NON_ANCHORED_SEARCH)); in history_search()
264 history_search_prefix (const char *string, int direction) in history_search_prefix() argument
266 return (history_search_internal (string, direction, ANCHORED_SEARCH)); in history_search_prefix()
H A Dkill.c243 rl_kill_line (int direction, int key) in rl_kill_line() argument
247 if (direction < 0) in rl_kill_line()
265 rl_backward_kill_line (int direction, int key) in rl_backward_kill_line() argument
269 if (direction < 0) in rl_backward_kill_line()
639 static int direction = 1; in rl_yank_last_arg() local
648 direction = 1; in rl_yank_last_arg()
655 direction = -direction; in rl_yank_last_arg()
656 history_skip += direction; in rl_yank_last_arg()
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/
H A Dhistsearch.c67 history_search_internal (const char *string, int direction, int flags) in history_search_internal() argument
76 reverse = (direction < 0); in history_search_internal()
199 _hs_history_patsearch (const char *string, int direction, int flags) in _hs_history_patsearch() argument
248 ret = history_search_internal (pat, direction, flags|PATTERN_SEARCH); in _hs_history_patsearch()
257 history_search (const char *string, int direction) in history_search() argument
259 return (history_search_internal (string, direction, NON_ANCHORED_SEARCH)); in history_search()
264 history_search_prefix (const char *string, int direction) in history_search_prefix() argument
266 return (history_search_internal (string, direction, ANCHORED_SEARCH)); in history_search_prefix()
/netbsd-src/external/bsd/elftoolchain/dist/libelf/
H A Dlibelf_xlate.c57 int elfclass, int elfmachine, int direction) in _libelf_xlate() argument
74 assert(direction == ELF_TOFILE || direction == ELF_TOMEMORY); in _libelf_xlate()
98 if (src->d_size % (direction == ELF_TOMEMORY ? fsz : msz)) { in _libelf_xlate()
108 if (direction == ELF_TOMEMORY) { in _libelf_xlate()
135 if ((direction == ELF_TOMEMORY ? db : sb) % in _libelf_xlate()
150 xlator = _libelf_get_translator(src->d_type, direction, elfclass, in _libelf_xlate()
/netbsd-src/sys/arch/hpc/stand/hpcboot/menu/
H A Dtabwindow.cpp80 int direction = 0; in focusManagerHook() local
85 direction = 1; // next in focusManagerHook()
89 direction = -1; // prev in focusManagerHook()
94 direction = -1; // prev in focusManagerHook()
96 direction = 1; // next in focusManagerHook()
100 if (!direction) in focusManagerHook()
105 if (direction > 0) { // next - into the current dialog in focusManagerHook()
/netbsd-src/sys/dev/pci/ixgbe/
H A Dixgbe_dcb.c100 u32 max_frame_size, u8 direction) in ixgbe_dcb_calculate_tc_credits_cee() argument
124 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee()
125 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee()
146 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee()
147 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee()
179 if (direction == IXGBE_DCB_TX_CONFIG) { in ixgbe_dcb_calculate_tc_credits_cee()
228 void ixgbe_dcb_unpack_refill_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_refill_cee() argument
235 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill_cee()
247 void ixgbe_dcb_unpack_bwgid_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_bwgid_cee() argument
254 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid_cee()
[all …]
/netbsd-src/external/gpl3/gdb/dist/readline/readline/examples/
H A Dmanexamp.c72 direction = -1;
76 direction = 1;
79 end = start + (count * direction);
101 for (; start != end; start += direction)
110 rl_point = end - direction;
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/examples/
H A Dmanexamp.c72 direction = -1;
76 direction = 1;
79 end = start + (count * direction);
101 for (; start != end; start += direction)
110 rl_point = end - direction;
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/ti/
H A Dk3-am65-iot2050-common.dtsi406 "IO1", "IO2", "", "IO3", "IO17-direction", "A5",
407 "IO16-direction", "IO15-direction", "IO14-direction", "A3",
409 "", "IO18-direction", "A4", "A2", "A1", "A0", "", "", "IO13",
458 "IO0-direction", "IO1-direction", "IO2-direction",
459 "IO3-direction", "IO4-direction", "IO5-direction",
460 "IO6-direction", "IO7-direction",
461 "IO8-direction", "IO9-direction", "IO10-direction",
462 "IO11-direction", "IO12-direction", "IO13-direction",
463 "IO19-direction";
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/
H A Dloc_29.c181 int *direction) { in get_direction() argument
187 *direction = DNS_AS_STR(*token)[0]; in get_direction()
194 *direction = DNS_AS_STR(*token)[0]; in get_direction()
198 *direction = 0; in get_direction()
210 int direction = 0; in loc_getcoordinate() local
224 RETERR(get_direction(lexer, &token, directions, &direction)); in loc_getcoordinate()
225 if (direction > 0) { in loc_getcoordinate()
235 RETERR(get_direction(lexer, &token, directions, &direction)); in loc_getcoordinate()
236 if (direction > 0) { in loc_getcoordinate()
250 RETERR(get_direction(lexer, &token, directions, &direction)); in loc_getcoordinate()
[all …]
/netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/
H A Dloc_29.c181 int *direction) { in get_direction() argument
187 *direction = DNS_AS_STR(*token)[0]; in get_direction()
194 *direction = DNS_AS_STR(*token)[0]; in get_direction()
198 *direction = 0; in get_direction()
210 int direction = 0; in loc_getcoordinate() local
224 RETERR(get_direction(lexer, &token, directions, &direction)); in loc_getcoordinate()
225 if (direction > 0) { in loc_getcoordinate()
235 RETERR(get_direction(lexer, &token, directions, &direction)); in loc_getcoordinate()
236 if (direction > 0) { in loc_getcoordinate()
250 RETERR(get_direction(lexer, &token, directions, &direction)); in loc_getcoordinate()
267 int direction = 0; loc_getlatitude() local
288 int direction = 0; loc_getlongitude() local
[all...]
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/recipes/
H A D70-test_key_share.t43 my $direction;
75 $direction = CLIENT_TO_SERVER;
157 $direction = SERVER_TO_CLIENT;
220 $direction = CLIENT_TO_SERVER;
230 $direction = SERVER_TO_CLIENT;
241 if (($direction == CLIENT_TO_SERVER && $proxy->flight != 0
243 || ($direction == SERVER_TO_CLIENT && $proxy->flight != 1)) {
249 && $direction == CLIENT_TO_SERVER) {
340 && $direction == SERVER_TO_CLIENT) {
/netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/
H A D70-test_key_share.t46 my $direction;
81 $direction = CLIENT_TO_SERVER;
188 $direction = SERVER_TO_CLIENT;
274 $direction = CLIENT_TO_SERVER;
284 $direction = SERVER_TO_CLIENT;
298 $direction = CLIENT_TO_SERVER;
315 if (($direction == CLIENT_TO_SERVER && $proxy->flight != 0
317 || ($direction == SERVER_TO_CLIENT && $proxy->flight != 1)) {
323 && $direction == CLIENT_TO_SERVER) {
427 && $direction == SERVER_TO_CLIENT) {
/netbsd-src/external/apache2/llvm/dist/llvm/examples/BrainF/
H A DBrainF.cpp197 int direction; in readloop() local
337 direction = 1; in readloop()
340 direction = -1; in readloop()
345 curvalue += direction; in readloop()
350 curvalue = direction; in readloop()
354 nextvalue = direction; in readloop()
361 direction = -1; in readloop()
366 curvalue += direction; in readloop()
371 curvalue = direction; in readloop()
375 nextvalue = direction; in readloop()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dbfdio.c360 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument
382 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek()
384 if (direction != SEEK_CUR) in bfd_seek()
387 if ((direction == SEEK_CUR && position == 0) in bfd_seek()
388 || (direction == SEEK_SET && (ufile_ptr) position == abfd->where)) in bfd_seek()
391 result = abfd->iovec->bseek (abfd, position, direction); in bfd_seek()
404 if (direction == SEEK_CUR) in bfd_seek()
639 memory_bseek (bfd *abfd, file_ptr position, int direction) in memory_bseek() argument
646 if (direction == SEEK_SET) in memory_bseek()
660 if (abfd->direction == write_direction in memory_bseek()
[all …]
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dbfdio.c450 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument
472 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek()
474 if (direction != SEEK_CUR) in bfd_seek()
477 if (((direction == SEEK_CUR && position == 0) in bfd_seek()
478 || (direction == SEEK_SET && (ufile_ptr) position == abfd->where)) in bfd_seek()
484 result = abfd->iovec->bseek (abfd, position, direction); in bfd_seek()
497 if (direction == SEEK_CUR) in bfd_seek()
734 memory_bseek (bfd *abfd, file_ptr position, int direction) in memory_bseek() argument
741 if (direction == SEEK_SET) in memory_bseek()
755 if (abfd->direction == write_direction in memory_bseek()
[all …]
/netbsd-src/usr.bin/telnet/
H A Dutilities.c126 Dump(int direction, unsigned char *buffer, int length) in Dump() argument
137 fprintf(NetTrace, "%c 0x%x\t", direction, offset); in Dump()
174 printoption(const char *direction, int cmd, int option) in printoption() argument
180 fprintf(NetTrace, "%s IAC %s", direction, TELCMD(option)); in printoption()
182 fprintf(NetTrace, "%s IAC %d", direction, option); in printoption()
188 fprintf(NetTrace, "%s %s ", direction, fmt); in printoption()
196 fprintf(NetTrace, "%s %d %d", direction, cmd, option); in printoption()
286 int direction, /* '<' or '>' */ in printsub() argument
296 if (showoptions || direction == 0 || in printsub()
298 if (direction) { in printsub()
[all …]
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/missing/crypto/rijndael/
H A Drijndael-api-fst.c39 int rijndael_makeKey(keyInstance *key, BYTE direction, int keyLen, char *keyMaterial) { in rijndael_makeKey() argument
48 if ((direction == DIR_ENCRYPT) || (direction == DIR_DECRYPT)) { in rijndael_makeKey()
49 key->direction = direction; in rijndael_makeKey()
72 if (direction == DIR_DECRYPT) { in rijndael_makeKey()
100 key->direction == DIR_DECRYPT) { in rijndael_blockEncrypt()
214 key->direction == DIR_DECRYPT) { in rijndael_padEncrypt()
277 (cipher->mode != MODE_CFB1 && key->direction == DIR_ENCRYPT)) { in rijndael_blockDecrypt()
376 key->direction == DIR_ENCRYPT) { in rijndael_padDecrypt()
474 switch (key->direction) { in rijndael_cipherUpdateRounds()
/netbsd-src/external/gpl3/gdb/dist/sim/ppc/
H A Dinterrupts.c167 spreg direction = (is_store ? dsisr_store_operation : 0); in data_storage_interrupt() local
170 DSISR = dsisr_direct_store_error_exception | direction; in data_storage_interrupt()
173 DSISR = dsisr_hash_table_or_dbat_miss | direction; in data_storage_interrupt()
176 DSISR = dsisr_protection_violation | direction; in data_storage_interrupt()
179 DSISR = dsisr_earwax_violation | direction; in data_storage_interrupt()
182 DSISR = dsisr_segment_table_miss | direction; in data_storage_interrupt()
185 DSISR = dsisr_earwax_disabled | direction; in data_storage_interrupt()
/netbsd-src/games/gomoku/
H A Dgomoku.h202 typedef unsigned char direction; typedef
239 is_blocked(const struct spotstr *sp, direction r) in is_blocked()
245 set_blocked(struct spotstr *sp, direction r) in set_blocked()
254 direction win_dir;

12345678910>>...33