/dragonfly/games/battlestar/ |
H A D | room.c | 74 switch (direction) { in whichway() 177 switch (direction) { in newway() 182 direction = WEST; in newway() 185 direction = EAST; in newway() 188 direction = SOUTH; in newway() 195 direction = EAST; in newway() 198 direction = WEST; in newway() 201 direction = NORTH; in newway() 208 direction = NORTH; in newway() 214 direction = WEST; in newway() [all …]
|
/dragonfly/sbin/jscan/ |
H A D | jfile.c | 247 assert(direction != JD_SEQFIRST && direction != JD_SEQLAST); in jread() 286 switch(direction) { in jread() 301 switch(direction) { in jread() 347 jalign(jf, direction); in jread() 364 jalign(jf, direction); in jread() 377 jalign(jf, direction); in jread() 391 jalign(jf, direction); in jread() 401 jalign(jf, direction); in jread() 436 jalign(jf, direction); in jread() 449 jalign(jf, direction); in jread() [all …]
|
/dragonfly/contrib/tcpdump/ |
H A D | print-usb.c | 144 int direction; in get_direction() local 146 direction = -1; in get_direction() 154 direction = 2; in get_direction() 158 direction = 1; in get_direction() 161 direction = -1; in get_direction() 168 direction = 1; in get_direction() 172 direction = 2; in get_direction() 175 direction = -1; in get_direction() 179 direction = -1; in get_direction() 182 return direction; in get_direction() [all …]
|
H A D | print-bcm-li.c | 68 u_int shim, direction, pkt_type, pkt_subtype, li_id; in bcm_li_print() local 77 direction = (shim >> 29) & 0x7; in bcm_li_print() 87 tok2str(bcm_li_direction_values, "unknown", direction), in bcm_li_print()
|
/dragonfly/sys/dev/sound/pcm/ |
H A D | vchan.c | 314 direction = PCMDIR_REC; in sysctl_dev_pcm_vchans() 354 int direction, ret; in sysctl_dev_pcm_vchanmode() local 369 direction = PCMDIR_REC; in sysctl_dev_pcm_vchanmode() 390 KASSERT(direction == c->direction, ("%s(): invalid direction %d/%d", in sysctl_dev_pcm_vchanmode() 391 __func__, direction, c->direction)); in sysctl_dev_pcm_vchanmode() 464 direction = PCMDIR_REC; in sysctl_dev_pcm_vchanrate() 492 KASSERT(direction == c->direction, ("%s(): invalid direction %d/%d", in sysctl_dev_pcm_vchanrate() 493 __func__, direction, c->direction)); in sysctl_dev_pcm_vchanrate() 573 direction = PCMDIR_REC; in sysctl_dev_pcm_vchanformat() 601 KASSERT(direction == c->direction, ("%s(): invalid direction %d/%d", in sysctl_dev_pcm_vchanformat() [all …]
|
H A D | sound.c | 186 if (c->direction == direction && in pcm_setvchans() 243 if (c->direction != direction || in pcm_setvchans() 284 (direction == PCMDIR_PLAY || direction == PCMDIR_REC), in pcm_chnalloc() 320 if (devunit == -1 && c->direction == direction && in pcm_chnalloc() 329 if (c->direction == direction && !(c->flags & CHN_F_BUSY) && in pcm_chnalloc() 338 if (c->direction != direction) in pcm_chnalloc() 347 c->direction == direction && (c->flags & CHN_F_BUSY)) in pcm_chnalloc() 500 direction = PCMDIR_PLAY; in pcm_chn_create() 507 direction = PCMDIR_PLAY; in pcm_chn_create() 514 direction = PCMDIR_REC; in pcm_chn_create() [all …]
|
/dragonfly/contrib/gdb-7/readline/ |
H A D | histsearch.c | 62 history_search_internal (string, direction, anchored) in history_search_internal() argument 64 int direction, anchored; 73 reverse = (direction < 0); 158 history_search (string, direction) in history_search() argument 160 int direction; 162 return (history_search_internal (string, direction, NON_ANCHORED_SEARCH)); 167 history_search_prefix (string, direction) in history_search_prefix() argument 169 int direction; 171 return (history_search_internal (string, direction, ANCHORED_SEARCH));
|
H A D | kill.c | 249 rl_kill_line (direction, ignore) in rl_kill_line() argument 250 int direction, ignore; in rl_kill_line() 254 if (direction < 0) 272 rl_backward_kill_line (direction, ignore) in rl_backward_kill_line() argument 273 int direction, ignore; in rl_backward_kill_line() 277 if (direction < 0) 628 static int direction = 1; local 637 direction = 1; 644 direction = -direction; 645 history_skip += direction;
|
H A D | isearch.c | 111 cxt->direction = 0; 204 _rl_isearch_init (direction) in _rl_isearch_init() argument 205 int direction; in _rl_isearch_init() 212 if (direction < 0) 253 cxt->direction = (direction >= 0) ? 1 : -1; 454 cxt->direction = -cxt->direction; 455 if (cxt->direction < 0) 570 cxt->sline_index += cxt->direction; 581 cxt->history_pos += cxt->direction; 648 int direction, invoking_key; in rl_search_history() [all …]
|
/dragonfly/contrib/elftoolchain/libelf/ |
H A D | libelf_xlate.c | 48 int elfclass, int direction) in _libelf_xlate() argument 64 assert(direction == ELF_TOFILE || direction == ELF_TOMEMORY); in _libelf_xlate() 89 if (src->d_size % (direction == ELF_TOMEMORY ? fsz : msz)) { in _libelf_xlate() 99 if (direction == ELF_TOMEMORY) { in _libelf_xlate() 126 if ((direction == ELF_TOMEMORY ? db : sb) % in _libelf_xlate() 141 if (!(_libelf_get_translator(src->d_type, direction, elfclass)) in _libelf_xlate()
|
/dragonfly/sys/dev/netif/ix/ |
H A D | ixgbe_dcb.c | 96 u32 max_frame_size, u8 direction) in ixgbe_dcb_calculate_tc_credits_cee() argument 120 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee() 121 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee() 142 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee() 143 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee() 175 if (direction == IXGBE_DCB_TX_CONFIG) { in ixgbe_dcb_calculate_tc_credits_cee() 231 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill_cee() 250 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid_cee() 260 tsa[tc] = tc_config[tc].path[direction].tsa; in ixgbe_dcb_unpack_tsa_cee() 279 if (prio_mask & tc_config[tc].path[direction].up_to_tc_bitmap) in ixgbe_dcb_get_tc_from_up() [all …]
|
/dragonfly/contrib/binutils-2.27/bfd/ |
H A D | bfdio.c | 280 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument 288 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek() 290 if (direction == SEEK_CUR && position == 0) in bfd_seek() 295 if (direction == SEEK_SET && (bfd_vma) position == abfd->where) in bfd_seek() 314 if (direction == SEEK_SET) in bfd_seek() 327 result = abfd->iovec->bseek (abfd, file_position, direction); in bfd_seek() 351 if (direction == SEEK_SET) in bfd_seek() 526 memory_bseek (bfd *abfd, file_ptr position, int direction) in memory_bseek() argument 533 if (direction == SEEK_SET) in memory_bseek() 547 if (abfd->direction == write_direction in memory_bseek() [all …]
|
H A D | opncls.c | 110 nbfd->direction = read_direction; in _bfd_new_bfd_contained_in() 239 nbfd->direction = both_direction; in bfd_fopen() 241 nbfd->direction = read_direction; in bfd_fopen() 243 nbfd->direction = write_direction; in bfd_fopen() 401 nbfd->direction = read_direction; in bfd_openstreamr() 595 nbfd->direction = read_direction; in bfd_openr_iovec() 662 nbfd->direction = write_direction; in bfd_openw() 816 nbfd->direction = no_direction; in bfd_create() 844 if (abfd->direction != no_direction) in bfd_make_writable() 861 abfd->direction = write_direction; in bfd_make_writable() [all …]
|
/dragonfly/contrib/gdb-7/bfd/ |
H A D | bfdio.c | 281 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument 289 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek() 291 if (direction == SEEK_CUR && position == 0) in bfd_seek() 296 if (direction == SEEK_SET && (bfd_vma) position == abfd->where) in bfd_seek() 315 if (direction == SEEK_SET) in bfd_seek() 327 result = abfd->iovec->bseek (abfd, file_position, direction); in bfd_seek() 351 if (direction == SEEK_SET) in bfd_seek() 526 memory_bseek (bfd *abfd, file_ptr position, int direction) in memory_bseek() argument 533 if (direction == SEEK_SET) in memory_bseek() 547 if (abfd->direction == write_direction in memory_bseek() [all …]
|
H A D | opncls.c | 85 nbfd->direction = no_direction; in _bfd_new_bfd() 127 nbfd->direction = read_direction; in _bfd_new_bfd_contained_in() 246 nbfd->direction = both_direction; in bfd_fopen() 248 nbfd->direction = read_direction; in bfd_fopen() 250 nbfd->direction = write_direction; in bfd_fopen() 396 nbfd->direction = read_direction; in bfd_openstreamr() 586 nbfd->direction = read_direction; in bfd_openr_iovec() 648 nbfd->direction = write_direction; in bfd_openw() 797 nbfd->direction = no_direction; in bfd_create() 842 abfd->direction = write_direction; in bfd_make_writable() [all …]
|
/dragonfly/contrib/binutils-2.34/bfd/ |
H A D | bfdio.c | 307 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument 328 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek() 330 if (direction != SEEK_CUR) in bfd_seek() 333 if ((direction == SEEK_CUR && position == 0) in bfd_seek() 334 || (direction == SEEK_SET && (ufile_ptr) position == abfd->where)) in bfd_seek() 337 result = abfd->iovec->bseek (abfd, position, direction); in bfd_seek() 350 if (direction == SEEK_CUR) in bfd_seek() 551 memory_bseek (bfd *abfd, file_ptr position, int direction) in memory_bseek() argument 558 if (direction == SEEK_SET) in memory_bseek() 572 if (abfd->direction == write_direction in memory_bseek() [all …]
|
H A D | opncls.c | 111 nbfd->direction = read_direction; in _bfd_new_bfd_contained_in() 248 nbfd->direction = both_direction; in bfd_fopen() 250 nbfd->direction = read_direction; in bfd_fopen() 252 nbfd->direction = write_direction; in bfd_fopen() 416 nbfd->direction = read_direction; in bfd_openstreamr() 617 nbfd->direction = read_direction; in bfd_openr_iovec() 689 nbfd->direction = write_direction; in bfd_openw() 836 nbfd->direction = no_direction; in bfd_create() 864 if (abfd->direction != no_direction) in bfd_make_writable() 881 abfd->direction = write_direction; in bfd_make_writable() [all …]
|
/dragonfly/usr.bin/telnet/ |
H A D | utilities.c | 120 Dump(char direction, unsigned char *buffer, int length) in Dump() argument 131 fprintf(NetTrace, "%c 0x%x\t", direction, offset); in Dump() 168 printoption(const char *direction, int cmd, int option) in printoption() argument 176 fprintf(NetTrace, "%s IAC %d", direction, option); in printoption() 182 fprintf(NetTrace, "%s %s ", direction, fmt); in printoption() 190 fprintf(NetTrace, "%s %d %d", direction, cmd, option); in printoption() 279 printsub(char direction, unsigned char *pointer, int length) in printsub() argument 287 if (showoptions || direction == 0 || in printsub() 289 if (direction) { in printsub() 291 (direction == '<')? "RCVD":"SENT"); in printsub() [all …]
|
/dragonfly/sys/crypto/rijndael/ |
H A D | rijndael-api-fst.c | 35 int rijndael_makeKey(keyInstance *key, BYTE direction, int keyLen, char *keyMaterial) { in rijndael_makeKey() argument 42 if ((direction == DIR_ENCRYPT) || (direction == DIR_DECRYPT)) { in rijndael_makeKey() 43 key->direction = direction; in rijndael_makeKey() 60 if (direction == DIR_ENCRYPT) { in rijndael_makeKey() 90 key->direction == DIR_DECRYPT) { in rijndael_blockEncrypt() 205 key->direction == DIR_DECRYPT) { in rijndael_padEncrypt() 268 (cipher->mode != MODE_CFB1 && key->direction == DIR_ENCRYPT)) { in rijndael_blockDecrypt() 368 key->direction == DIR_ENCRYPT) { in rijndael_padDecrypt()
|
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/ |
H A D | wmm_ac.c | 53 static u8 wmm_ac_direction_to_idx(u8 direction) in wmm_ac_direction_to_idx() argument 55 switch (direction) { in wmm_ac_direction_to_idx() 63 wpa_printf(MSG_ERROR, "Invalid direction: %d", direction); in wmm_ac_direction_to_idx() 294 tspec->ts_info[0] |= params->direction << 5; in wmm_ac_build_addts_req() 393 if (!(params->direction == WMM_TSPEC_DIRECTION_UPLINK || in wmm_ac_ts_req_is_valid() 397 params->direction); in wmm_ac_ts_req_is_valid() 410 params->direction) < 0) in wmm_ac_ts_req_is_valid() 598 if (params->direction != WMM_AC_DIR_DOWNLINK && in wpas_wmm_ac_addts() 611 params->user_priority, params->direction); in wpas_wmm_ac_addts() 832 static const char * get_direction_str(u8 direction) in get_direction_str() argument [all …]
|
/dragonfly/sys/libprop/ |
H A D | prop_rb.c | 896 KASSERT(direction == RB_DIR_LEFT || direction == RB_DIR_RIGHT); in _prop_rb_tree_iterate() 907 while (!RB_SENTINEL_P(self->rb_nodes[direction])) in _prop_rb_tree_iterate() 908 self = self->rb_nodes[direction]; in _prop_rb_tree_iterate() 918 if (RB_SENTINEL_P(self->rb_nodes[direction])) { in _prop_rb_tree_iterate() 931 self = self->rb_nodes[direction]; in _prop_rb_tree_iterate() 941 const unsigned int direction) in rb_tree_iterate_const() argument 944 KASSERT(direction == RB_DIR_LEFT || direction == RB_DIR_RIGHT); in rb_tree_iterate_const() 950 return rbt->rbt_minmax[direction]; in rb_tree_iterate_const() 956 self = self->rb_nodes[direction]; in rb_tree_iterate_const() 965 if (RB_SENTINEL_P(self->rb_nodes[direction])) { in rb_tree_iterate_const() [all …]
|
/dragonfly/contrib/dhcpcd/compat/ |
H A D | rb.c | 973 KASSERT(direction == RB_DIR_LEFT || direction == RB_DIR_RIGHT); in rb_tree_iterate() 984 while (!RB_SENTINEL_P(self->rb_nodes[direction])) in rb_tree_iterate() 985 self = self->rb_nodes[direction]; in rb_tree_iterate() 995 if (RB_SENTINEL_P(self->rb_nodes[direction])) { in rb_tree_iterate() 1008 self = self->rb_nodes[direction]; in rb_tree_iterate() 1018 const unsigned int direction) in rb_tree_iterate_const() argument 1021 KASSERT(direction == RB_DIR_LEFT || direction == RB_DIR_RIGHT); in rb_tree_iterate_const() 1027 return rbt->rbt_minmax[direction]; in rb_tree_iterate_const() 1033 self = self->rb_nodes[direction]; in rb_tree_iterate_const() 1042 if (RB_SENTINEL_P(self->rb_nodes[direction])) { in rb_tree_iterate_const() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | domwalk.c | 189 dom_walker::dom_walker (cdi_direction direction, in dom_walker() argument 192 : m_dom_direction (direction), in dom_walker() 219 dom_walker::dom_walker (cdi_direction direction, in dom_walker() argument 221 : m_dom_direction (direction), in dom_walker() 228 if (direction == CDI_DOMINATORS) in dom_walker()
|
/dragonfly/sys/dev/drm/ |
H A D | linux_dma-buf.c | 140 enum dma_data_direction direction) in dma_buf_map_attachment() argument 150 sg_table = attach->dmabuf->ops->map_dma_buf(attach, direction); in dma_buf_map_attachment() 159 enum dma_data_direction direction) in dma_buf_unmap_attachment() argument
|
/dragonfly/sys/dev/drm/include/asm/ |
H A D | pci-dma-compat.h | 35 unsigned long offset, size_t size, int direction) in pci_map_page() argument 42 size_t size, int direction) in pci_unmap_page() argument
|