/freebsd/contrib/nvi/vi/ |
H A D | v_increment.c | 56 CHAR_T *ntype, nbuf[100]; in v_increment() local 115 ntype = p[beg + 1] == 'X' ? fmt[HEXC] : fmt[HEXL]; in v_increment() 121 ntype = fmt[OCTAL]; in v_increment() 125 ntype = fmt[SDEC]; in v_increment() 131 ntype = fmt[DEC]; in v_increment() 146 ntype = fmt[DEC]; in v_increment() 199 if (lval == 0 && ntype == fmt[SDEC]) in v_increment() 200 ntype = fmt[DEC]; in v_increment() 201 nlen = SPRINTF(nbuf, SIZE(nbuf), ntype, lval); in v_increment() 223 nlen = SPRINTF(nbuf, SIZE(nbuf), ntype, wlen, ulval); in v_increment()
|
/freebsd/contrib/one-true-awk/ |
H A D | parse.c | 46 a->ntype = NSTAT; in exptostat() 115 x->ntype = NSTAT; in stat1() 124 x->ntype = NSTAT; in stat2() 133 x->ntype = NSTAT; in stat3() 142 x->ntype = NSTAT; in stat4() 151 x->ntype = NEXPR; in op1() 160 x->ntype = NEXPR; in op2() 169 x->ntype = NEXPR; in op3() 178 x->ntype = NEXPR; in op4() 187 x->ntype = NEXPR; in op5() [all …]
|
H A D | awk.h | 169 int ntype; member 217 #define isvalue(n) ((n)->ntype == NVALUE) 218 #define isexpr(n) ((n)->ntype == NEXPR)
|
H A D | b.c | 40 #define info(v) (v)->ntype /* badly overloaded here */
|
/freebsd/usr.bin/mail/ |
H A D | names.c | 48 nalloc(char str[], int ntype) in nalloc() argument 55 np->n_type = ntype; in nalloc() 82 extract(char *line, int ntype) in extract() argument 95 t = nalloc(nbuf, ntype); in extract() 111 detract(struct name *np, int ntype) in detract() argument 117 comma = ntype & GCOMMA; in detract() 120 ntype &= ~GCOMMA; in detract() 125 if (ntype && (p->n_type & GMASK) != ntype) in detract() 137 if (ntype && (p->n_type & GMASK) != ntype) in detract() 482 gexpand(struct name *nlist, struct grouphead *gh, int metoo, int ntype) in gexpand() argument [all …]
|
/freebsd/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_lookup.c | 89 ctf_id_t ntype, ptype; in ctf_lookup_by_name() local 114 ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX(fp, type)]; in ctf_lookup_by_name() 115 if (ntype == 0) { in ctf_lookup_by_name() 116 ntype = ctf_type_resolve(fp, type); in ctf_lookup_by_name() 117 if (ntype == CTF_ERR || (ntype = fp->ctf_ptrtab[ in ctf_lookup_by_name() 118 LCTF_TYPE_TO_INDEX(fp, ntype)]) == 0) { in ctf_lookup_by_name() 124 type = LCTF_INDEX_TO_TYPE(fp, ntype, in ctf_lookup_by_name()
|
H A D | ctf_types.c | 648 ctf_id_t ntype; in ctf_type_pointer() local 653 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX(fp, type)]) != 0) in ctf_type_pointer() 654 return (LCTF_INDEX_TO_TYPE(fp, ntype, (fp->ctf_flags & LCTF_CHILD))); in ctf_type_pointer() 662 if ((ntype = fp->ctf_ptrtab[LCTF_TYPE_TO_INDEX(fp, type)]) != 0) in ctf_type_pointer() 663 return (LCTF_INDEX_TO_TYPE(fp, ntype, (fp->ctf_flags & LCTF_CHILD))); in ctf_type_pointer()
|
/freebsd/contrib/libedit/ |
H A D | keymacro.c | 194 int ntype) in keymacro_add() argument 202 if (ntype == XK_CMD && val->cmd == ED_SEQUENCE_LEAD_IN) { in keymacro_add() 213 (void) node__try(el, el->el_keymacro.map, key, val, ntype); in keymacro_add() 318 keymacro_value_t *val, int ntype) in node__try() argument 352 switch (ptr->type = ntype) { in node__try() 361 EL_ABORT((el->el_errfile, "Bad XK_ type %d\n", ntype)); in node__try() 368 (void) node__try(el, ptr->next, str, val, ntype); in node__try() 584 int ntype) in keymacro_kprint() argument 591 switch (ntype) { in keymacro_kprint() 595 ntype == XK_STR ? "\"\"" : "[]"); in keymacro_kprint() [all …]
|
H A D | map.c | 1260 int ntype, rem; in map_bind() local 1274 ntype = XK_CMD; in map_bind() 1284 ntype = XK_STR; in map_bind() 1356 switch (ntype) { in map_bind() 1364 terminal_set_arrow(el, in, keymacro_map_str(el, out), ntype); in map_bind() 1366 keymacro_add(el, in, keymacro_map_str(el, out), ntype); in map_bind() 1378 terminal_set_arrow(el, in, keymacro_map_cmd(el, cmd), ntype); in map_bind() 1381 keymacro_add(el, in, keymacro_map_cmd(el, cmd), ntype); in map_bind() 1392 EL_ABORT((el->el_errfile, "Bad XK_ type %d\n", ntype)); in map_bind()
|
/freebsd/contrib/tcsh/ |
H A D | tc.bind.c | 56 int ntype, no, removeb, key, bindk; in dobindkey() local 69 ntype = XK_CMD; in dobindkey() 89 ntype = XK_STR; in dobindkey() 92 ntype = XK_EXE; in dobindkey() 180 switch (ntype) { in dobindkey() 189 if (SetArrowKeys(&in, XmapStr(&out), ntype) == -1) in dobindkey() 195 AddXkey(&in, XmapStr(&out), ntype); in dobindkey() 204 (void) SetArrowKeys(&in, XmapCmd((int) cmd), ntype); in dobindkey() 207 AddXkey(&in, XmapCmd((int) cmd), ntype); in dobindkey()
|
H A D | ed.xmap.c | 209 AddXkey(const CStr *Xkey, XmapVal *val, int ntype) in AddXkey() argument 219 if (ntype == XK_CMD && val->cmd == F_XKEY) { in AddXkey() 230 (void) TryNode(Xmap, &cs, val, ntype); in AddXkey() 235 TryNode(XmapNode *ptr, CStr *str, XmapVal *val, int ntype) in TryNode() argument 276 switch (ptr->type = ntype) { in TryNode() 296 (void) TryNode(ptr->next, str, val, ntype); in TryNode() 541 printOne(const Char *key, const XmapVal *val, int ntype) in printOne() argument 548 switch (ntype) { in printOne() 553 p = unparsestring(&val->str, ntype == XK_STR ? STRQQ : STRBB); in printOne()
|
/freebsd/contrib/pjdfstest/ |
H A D | pjdfstest.c | 849 mode_t ntype; in call_syscall() local 868 ntype = S_IFCHR; in call_syscall() 870 ntype = S_IFBLK; in call_syscall() 872 ntype = S_IFIFO; in call_syscall() 874 ntype = S_IFDIR; in call_syscall() 876 ntype = S_IFREG; in call_syscall() 883 rval = mknod(STR(0), ntype | NUM(2), dev); in call_syscall() 887 rval = mknodat(NUM(0), STR(1), ntype | NUM(3), dev); in call_syscall()
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibroute.c | 258 char ntype[50], sguid[30]; in dump_lid() local 316 mad_dump_val(IB_NODE_TYPE_F, ntype, sizeof ntype, in dump_lid()
|
H A D | dump_fts.c | 237 char ntype[50], sguid[30]; in dump_lid() local 295 mad_dump_val(IB_NODE_TYPE_F, ntype, sizeof ntype, in dump_lid()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_ucast_dfsssp.c | 1900 uint8_t ntype = 0; in dfsssp_remove_deadlocks() local 1934 ntype = osm_node_get_type(dest_port->p_node); in dfsssp_remove_deadlocks() 1935 if (ntype == IB_NODE_TYPE_CA || ntype == IB_NODE_TYPE_SWITCH) { in dfsssp_remove_deadlocks() 1937 if (ntype == IB_NODE_TYPE_SWITCH in dfsssp_remove_deadlocks() 1960 ntype = osm_node_get_type(dest_port->p_node); in dfsssp_remove_deadlocks() 1961 if (ntype == IB_NODE_TYPE_CA || ntype == IB_NODE_TYPE_SWITCH) { in dfsssp_remove_deadlocks() 1963 if (ntype == IB_NODE_TYPE_SWITCH in dfsssp_remove_deadlocks() 1983 ntype = osm_node_get_type(dest_port->p_node); in dfsssp_remove_deadlocks() 1984 if ((ntype != IB_NODE_TYPE_CA && ntype != IB_NODE_TYPE_SWITCH) in dfsssp_remove_deadlocks() 1994 ntype = osm_node_get_type(src_port->p_node); in dfsssp_remove_deadlocks() [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-decnet.c | 700 u_int ntype = info & 3; in print_t_info() local 701 switch (ntype) { in print_t_info() 771 u_int ntype = info & II_TYPEMASK; in print_i_info() local 772 switch (ntype) { in print_i_info()
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_enc_ses.c | 1345 int ntype; in ses_process_config() local 1422 ntype = 0; in ses_process_config() 1438 ntype += buf_subenc->num_types; in ses_process_config() 1445 ses_types = malloc(ntype * sizeof(*ses_types), in ses_process_config() 1451 ses_cache->ses_ntypes = ntype; in ses_process_config() 1456 last_buf_type = cur_buf_type + ntype - 1; in ses_process_config()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | ddt.c | 1921 ddt_type_t ntype = DDT_TYPE_DEFAULT; in ddt_sync_flush_entry() local 1961 (otype != ntype || oclass != nclass || refcnt == 0)) { in ddt_sync_flush_entry() 1971 &ddt->ddt_histogram[ntype][nclass]; in ddt_sync_flush_entry() 1975 if (!ddt_object_exists(ddt, ntype, nclass)) in ddt_sync_flush_entry() 1976 ddt_object_create(ddt, ntype, nclass, tx); in ddt_sync_flush_entry() 1977 VERIFY0(ddt_object_update(ddt, ntype, nclass, ddlwe, tx)); in ddt_sync_flush_entry()
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_e82545.c | 1088 int desc, dtype, ntype, iovcnt, tcp, tso, paylen, seg, tiovcnt, pv; in e82545_transmit() local 1096 ntype = 0; in e82545_transmit() 1129 ntype = dtype; in e82545_transmit() 1135 ntype = dtype; in e82545_transmit() 1142 assert(dtype == ntype); in e82545_transmit()
|
/freebsd/contrib/bsnmp/gensnmptree/ |
H A D | gensnmptree.c | 163 enum ntype { enum 179 enum ntype type;
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | ib_verbs.c | 871 static u8 _to_bnxt_re_nw_type(enum rdma_network_type ntype) in _to_bnxt_re_nw_type() argument 874 switch (ntype) { in _to_bnxt_re_nw_type() 912 u8 ntype; in bnxt_re_get_ah_info() local 934 ntype = _to_bnxt_re_nw_type(ib_ntype); in bnxt_re_get_ah_info() 935 ah_info->nw_type = ntype; in bnxt_re_get_ah_info()
|