Home
last modified time | relevance | path

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

12345678910>>...16

/NextBSD/contrib/tcpdump/
HDprint-usb.c41 int direction; in get_direction() local
43 direction = -1; in get_direction()
51 direction = 2; in get_direction()
55 direction = 1; in get_direction()
58 direction = -1; in get_direction()
65 direction = 1; in get_direction()
69 direction = 2; in get_direction()
72 direction = -1; in get_direction()
76 direction = -1; in get_direction()
79 return direction; in get_direction()
[all …]
/NextBSD/contrib/groff/src/preproc/pic/
HDobject.h107 enum direction { enum
116 direction dir;
194 direction dir;
201 object *make_object(position *, direction *);
202 graphic_object *make_box(position *, direction *);
203 graphic_object *make_block(position *, direction *);
204 graphic_object *make_text(position *, direction *);
205 graphic_object *make_ellipse(position *, direction *);
206 graphic_object *make_circle(position *, direction *);
207 linear_object *make_line(position *, direction *);
[all …]
/NextBSD/sys/netinet/libalias/
HDalias_sctp.c99 static int sctp_PktParser(struct libalias *la, int direction, struct ip *pip,
102 uint32_t *l_vtag, uint32_t *g_vtag, int direction);
103 static int IsASCONFack(struct libalias *la, struct sctp_nat_msg *sm, int direction);
105 …ic void AddGlobalIPAddresses(struct sctp_nat_msg *sm, struct sctp_nat_assoc *assoc, int direction);
107 …tic void RmGlobalIPAddresses(struct sctp_nat_msg *sm, struct sctp_nat_assoc *assoc, int direction);
108 static int IsADDorDEL(struct libalias *la, struct sctp_nat_msg *sm, int direction);
111 static int ProcessSctpMsg(struct libalias *la, int direction, \
114 static int ID_process(struct libalias *la, int direction,\
116 static int INi_process(struct libalias *la, int direction,\
118 static int INa_process(struct libalias *la, int direction,\
[all …]
HDalias_skinny.c212 ConvDirection direction) in alias_skinny_reg_msg() argument
214 (void)direction; in alias_skinny_reg_msg()
232 ConvDirection direction) in alias_skinny_startmedia() argument
239 (void)direction; in alias_skinny_startmedia()
255 ConvDirection direction) in alias_skinny_port_msg() argument
257 (void)direction; in alias_skinny_port_msg()
274 ConvDirection direction) in alias_skinny_opnrcvch_ack() argument
281 (void)direction; in alias_skinny_opnrcvch_ack()
310 ConvDirection direction; in AliasHandleSkinny() local
326 direction = ClientToServer; in AliasHandleSkinny()
[all …]
/NextBSD/contrib/libreadline/
HDhistsearch.c63 history_search_internal (string, direction, anchored) in history_search_internal() argument
65 int direction, anchored;
74 reverse = (direction < 0);
159 history_search (string, direction) in history_search() argument
161 int direction;
163 return (history_search_internal (string, direction, NON_ANCHORED_SEARCH));
168 history_search_prefix (string, direction) in history_search_prefix() argument
170 int direction;
172 return (history_search_internal (string, direction, ANCHORED_SEARCH));
HDkill.c249 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;
HDisearch.c107 cxt->direction = 0;
200 _rl_isearch_init (direction) in _rl_isearch_init() argument
201 int direction; in _rl_isearch_init()
208 if (direction < 0)
249 cxt->direction = (direction >= 0) ? 1 : -1;
430 cxt->direction = -cxt->direction;
431 if (cxt->direction < 0)
546 cxt->sline_index += cxt->direction;
557 cxt->history_pos += cxt->direction;
623 rl_search_history (direction, invoking_key) in rl_search_history() argument
[all …]
/NextBSD/sys/dev/sound/pcm/
HDvchan.c267 ch = (c->direction == PCMDIR_PLAY) ? &wch : &rch; in pcm_getparentchannel()
297 int direction, vchancount; in sysctl_dev_pcm_vchans() local
309 direction = PCMDIR_PLAY; in sysctl_dev_pcm_vchans()
314 direction = PCMDIR_REC; in sysctl_dev_pcm_vchans()
340 err = pcm_setvchans(d, direction, cnt, -1); in sysctl_dev_pcm_vchans()
354 int direction, ret; in sysctl_dev_pcm_vchanmode() local
366 direction = PCMDIR_PLAY; in sysctl_dev_pcm_vchanmode()
369 direction = PCMDIR_REC; in sysctl_dev_pcm_vchanmode()
380 if (direction == PCMDIR_PLAY) in sysctl_dev_pcm_vchanmode()
390 KASSERT(direction == c->direction, ("%s(): invalid direction %d/%d", in sysctl_dev_pcm_vchanmode()
[all …]
HDsound.c146 pcm_setvchans(struct snddev_info *d, int direction, int newcnt, int num) in pcm_setvchans() argument
154 if ((direction == PCMDIR_PLAY && d->playcount < 1) || in pcm_setvchans()
155 (direction == PCMDIR_REC && d->reccount < 1)) in pcm_setvchans()
164 if (direction == PCMDIR_PLAY) in pcm_setvchans()
166 else if (direction == PCMDIR_REC) in pcm_setvchans()
180 if (c->direction == direction && in pcm_setvchans()
237 if (c->direction != direction || in pcm_setvchans()
270 pcm_chnalloc(struct snddev_info *d, struct pcm_channel **ch, int direction, in pcm_chnalloc() argument
278 (direction == PCMDIR_PLAY || direction == PCMDIR_REC), in pcm_chnalloc()
280 __func__, d, ch, direction, pid, devunit)); in pcm_chnalloc()
[all …]
/NextBSD/contrib/binutils/bfd/
HDbfdio.c263 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() argument
271 BFD_ASSERT (direction == SEEK_SET || direction == SEEK_CUR); in bfd_seek()
273 if (direction == SEEK_CUR && position == 0) in bfd_seek()
282 if (direction == SEEK_SET) in bfd_seek()
289 if ((abfd->direction == write_direction) || in bfd_seek()
290 (abfd->direction == both_direction)) in bfd_seek()
320 if (direction == SEEK_SET && (bfd_vma) position == abfd->where) in bfd_seek()
339 if (direction == SEEK_SET && abfd->my_archive != NULL) in bfd_seek()
343 result = abfd->iovec->bseek (abfd, file_position, direction); in bfd_seek()
367 if (direction == SEEK_SET) in bfd_seek()
HDopncls.c70 nbfd->direction = no_direction; in _bfd_new_bfd()
108 nbfd->direction = read_direction; in _bfd_new_bfd_contained_in()
217 nbfd->direction = both_direction; in bfd_fopen()
219 nbfd->direction = read_direction; in bfd_fopen()
221 nbfd->direction = write_direction; in bfd_fopen()
361 nbfd->direction = read_direction; in bfd_openstreamr()
545 nbfd->direction = read_direction; in bfd_openr_iovec()
606 nbfd->direction = write_direction; in bfd_openw()
668 && abfd->direction == write_direction in bfd_close()
721 && abfd->direction == write_direction in bfd_close_all_done()
[all …]
/NextBSD/contrib/elftoolchain/libelf/
HDlibelf_xlate.c48 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()
/NextBSD/contrib/libreadline/examples/
HDmanexamp.c73 direction = -1;
77 direction = 1;
80 end = start + (count * direction);
102 for (; start != end; start += direction)
111 rl_point = end - direction;
/NextBSD/share/i18n/csmapper/APPLE/
DUCS%ARABIC.src27 # direction overrides. Update URLs, notes.
40 # to U+274A. Add direction overrides to
132 # Arabic system was fairly simple; it used only a few direction
136 # twice, one with a left-right direction attribute and the other with
137 # a right-left direction attribute.
147 # direction attribute than the corresponding Unicode character.
150 # ELLIPSIS with strong right-left direction. However, the Unicode
151 # character HORIZONTAL ELLIPSIS has direction class neutral.
217 # 1. Matching the direction of Mac OS Arabic characters
220 # direction attributes for the two code points - as in the case of
[all …]
DUCS%FARSI.src27 # direction overrides. Update URLs, notes.
112 # it used only a few direction classes (instead of the 19 now used in
115 # characters were encoded twice, one with a left-right direction
116 # attribute and the other with a right-left direction attribute. This
127 # direction attribute than the corresponding Unicode character.
130 # ELLIPSIS with strong right-left direction. However, the Unicode
131 # character HORIZONTAL ELLIPSIS has direction class neutral.
191 # 1. Matching the direction of Mac OS Farsi characters
194 # direction attributes for the two code points - as in the case of
202 # The problem is solved with the use of direction override characters
[all …]
DFARSI%UCS.src27 # direction overrides. Update URLs, notes.
112 # it used only a few direction classes (instead of the 19 now used in
115 # characters were encoded twice, one with a left-right direction
116 # attribute and the other with a right-left direction attribute. This
127 # direction attribute than the corresponding Unicode character.
130 # ELLIPSIS with strong right-left direction. However, the Unicode
131 # character HORIZONTAL ELLIPSIS has direction class neutral.
191 # 1. Matching the direction of Mac OS Farsi characters
194 # direction attributes for the two code points - as in the case of
202 # The problem is solved with the use of direction override characters
[all …]
DARABIC%UCS.src27 # direction overrides. Update URLs, notes.
40 # to U+274A. Add direction overrides to
132 # Arabic system was fairly simple; it used only a few direction
136 # twice, one with a left-right direction attribute and the other with
137 # a right-left direction attribute.
147 # direction attribute than the corresponding Unicode character.
150 # ELLIPSIS with strong right-left direction. However, the Unicode
151 # character HORIZONTAL ELLIPSIS has direction class neutral.
217 # 1. Matching the direction of Mac OS Arabic characters
220 # direction attributes for the two code points - as in the case of
[all …]
/NextBSD/sys/dev/ixgbe/
HDixgbe_dcb.c90 u32 max_frame_size, u8 direction) in ixgbe_dcb_calculate_tc_credits_cee() argument
114 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee()
115 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee()
136 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits_cee()
137 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits_cee()
169 if (direction == IXGBE_DCB_TX_CONFIG) { in ixgbe_dcb_calculate_tc_credits_cee()
218 void ixgbe_dcb_unpack_refill_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_refill_cee() argument
225 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill_cee()
237 void ixgbe_dcb_unpack_bwgid_cee(struct ixgbe_dcb_config *cfg, int direction, in ixgbe_dcb_unpack_bwgid_cee() argument
244 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid_cee()
[all …]
/NextBSD/cddl/lib/libdtrace/
HDsiftr.d38 inline string siftr_dir_string[uint8_t direction] =
39 direction == SIFTR_IN ? "in" :
40 direction == SIFTR_OUT ? "out" :
45 uint8_t direction; member
75 direction = p == NULL ? 0 : p->direction;
/NextBSD/sys/compat/linuxkpi/common/include/linux/
HDdma-mapping.h197 unsigned long offset, size_t size, enum dma_data_direction direction) in dma_map_page() argument
205 enum dma_data_direction direction) in dma_unmap_page() argument
211 enum dma_data_direction direction) in dma_sync_single_for_cpu() argument
224 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device() argument
230 enum dma_data_direction direction) in dma_sync_sg_for_cpu() argument
236 enum dma_data_direction direction) in dma_sync_sg_for_device() argument
242 unsigned long offset, size_t size, int direction) in dma_sync_single_range_for_cpu() argument
248 unsigned long offset, size_t size, int direction) in dma_sync_single_range_for_device() argument
/NextBSD/lib/libasl/
HDasl_legacy1.c205 slotlist_find(asl_legacy1_t *s, uint64_t xid, int32_t direction) in slotlist_find() argument
231 if (direction >= 0) return ASL_INDEX_NULL; in slotlist_find()
232 if (direction < 0) return bot; in slotlist_find()
663 next_search_slot(asl_legacy1_t *s, uint32_t last_si, int32_t direction) in next_search_slot() argument
667 if (direction >= 0) in next_search_slot()
714 …last_id, uint64_t **idlist, uint32_t *idcount, uint64_t start_id, int32_t count, int32_t direction) in match_worker() argument
730 if (direction < 0) direction = -1; in match_worker()
731 else direction = 1; in match_worker()
734 if ((direction == -1) && (start_id == ASL_REF_NULL)) si = s->slotlist_count; in match_worker()
735 else si = slotlist_find(s, start_id, direction); in match_worker()
[all …]
/NextBSD/lib/libdispatch/src/
HDio.c48 dispatch_op_direction_t direction, dispatch_io_t channel, off_t offset,
52 dispatch_op_direction_t direction, dispatch_data_t data);
70 dispatch_op_direction_t direction);
959 _dispatch_operation_create(dispatch_op_direction_t direction, in _dispatch_operation_create() argument
965 dispatch_assert(direction < DOP_DIR_MAX); in _dispatch_operation_create()
979 if (direction == DOP_DIR_READ && err) { in _dispatch_operation_create()
981 } else if (direction == DOP_DIR_WRITE && !err) { in _dispatch_operation_create()
1000 op->direction = direction; in _dispatch_operation_create()
1035 if (op->buf && op->direction == DOP_DIR_READ) { in _dispatch_operation_dispose()
1052 dispatch_op_direction_t direction, dispatch_data_t data) in _dispatch_operation_enqueue() argument
[all …]
/NextBSD/sys/ofed/include/rdma/
HDib_verbs.h1587 enum dma_data_direction direction);
1590 enum dma_data_direction direction);
1594 enum dma_data_direction direction);
1597 enum dma_data_direction direction);
1600 enum dma_data_direction direction);
1603 enum dma_data_direction direction);
2339 enum dma_data_direction direction) in ib_dma_map_single() argument
2342 return dev->dma_ops->map_single(dev, cpu_addr, size, direction); in ib_dma_map_single()
2343 return dma_map_single(dev->dma_device, cpu_addr, size, direction); in ib_dma_map_single()
2355 enum dma_data_direction direction) in ib_dma_unmap_single() argument
[all …]
/NextBSD/contrib/telnet/telnet/
HDutilities.c129 Dump(char direction, unsigned char *buffer, int length) in Dump() argument
140 fprintf(NetTrace, "%c 0x%x\t", direction, offset); in Dump()
177 printoption(const char *direction, int cmd, int option) in printoption() argument
183 fprintf(NetTrace, "%s IAC %s", direction, TELCMD(option)); in printoption()
185 fprintf(NetTrace, "%s IAC %d", direction, option); in printoption()
191 fprintf(NetTrace, "%s %s ", direction, fmt); in printoption()
199 fprintf(NetTrace, "%s %d %d", direction, cmd, option); in printoption()
288 printsub(char direction, unsigned char *pointer, int length) in printsub() argument
296 if (showoptions || direction == 0 || in printsub()
298 if (direction) { in printsub()
[all …]
/NextBSD/crypto/heimdal/appl/telnet/telnet/
HDutilities.c95 Dump(char direction, unsigned char *buffer, int length) in Dump() argument
105 fprintf(NetTrace, "%c 0x%x\t", direction, offset); in Dump()
142 printoption(char *direction, int cmd, int option) in printoption() argument
148 fprintf(NetTrace, "%s IAC %s", direction, TELCMD(option)); in printoption()
150 fprintf(NetTrace, "%s IAC %d", direction, option); in printoption()
156 fprintf(NetTrace, "%s %s ", direction, fmt); in printoption()
164 fprintf(NetTrace, "%s %d %d", direction, cmd, option); in printoption()
264 printsub(int direction, unsigned char *pointer, size_t length) in printsub() argument
269 if (showoptions || direction == 0 || in printsub()
271 if (direction) { in printsub()
[all …]

12345678910>>...16