/freebsd/contrib/unbound/respip/ |
H A D | respip.c | 353 struct config_strbytelist* np = p->next; in respip_set_apply_cfg() local 363 p = np; in respip_set_apply_cfg() 368 struct config_str2list* np = pa->next; in respip_set_apply_cfg() local 377 pa = np; in respip_set_apply_cfg() 382 struct config_str2list* np = pd->next; in respip_set_apply_cfg() local 391 pd = np; in respip_set_apply_cfg()
|
/freebsd/contrib/bmake/ |
H A D | dir.c | 991 const char *np; /* pointer into name */ in DirLookupAbs() local 1001 for (dnp = dir->name, np = name; in DirLookupAbs() 1002 *dnp != '\0' && *dnp == *np; dnp++, np++) in DirLookupAbs() 1004 if (*dnp != '\0' || np != base - 1) in DirLookupAbs()
|
/freebsd/lib/libkvm/ |
H A D | kvm_proc.c | 682 void *np; in _kvm_realloc() local 684 np = reallocf(p, n); in _kvm_realloc() 685 if (np == NULL) in _kvm_realloc() 687 return (np); in _kvm_realloc()
|
/freebsd/contrib/pf/pflogd/ |
H A D | pflogd.c | 644 int ch, np, ret, Xflag = 0; local 763 np = pcap_dispatch(hpcap, PCAP_NUM_PKTS, 765 if (np < 0) {
|
/freebsd/stand/common/ |
H A D | gfx_fb.c | 2494 struct name_entry *np; in read_list() local 2535 np = malloc(sizeof(*np)); in read_list() 2536 if (np == NULL) { in read_list() 2541 free(np); in read_list() 2545 SLIST_INSERT_HEAD(nl, np, n_entry); in read_list() 2727 struct name_entry *np; in autoload_font() local 2736 np = SLIST_FIRST(nl); in autoload_font() 2738 if (insert_font(np->n_name, FONT_AUTO) == false) in autoload_font() 2739 printf("failed to add font: %s\n", np->n_name); in autoload_font() 2740 free(np->n_name); in autoload_font() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | azoteq,iqs7222.yaml | 89 azoteq,lta-beta-np: 105 azoteq,counts-beta-np: 121 azoteq,lta-fast-beta-np: 141 azoteq,timeout-np-ms: 148 azoteq,rate-np-ms: 940 azoteq,lta-beta-np = <8>; 942 azoteq,counts-beta-np = <3>; 944 azoteq,lta-fast-beta-np = <4>;
|
H A D | iqs626a.yaml | 126 azoteq,rate-np-ms: 301 azoteq,filt-str-np-cnt: 317 azoteq,filt-str-np-lta: 642 azoteq,filt-str-np-cnt: 759 azoteq,rate-np-ms = <16>; 780 azoteq,filt-str-np-cnt = <1>;
|
/freebsd/sbin/routed/ |
H A D | parms.c | 933 struct netent *np; in getnet() local 952 np = getnetbyname(name); in getnet() 953 if (np != NULL) { in getnet() 954 in.s_addr = (naddr)np->n_net; in getnet()
|
H A D | radix.c | 474 u_char *mp = m_arg, *np = n_arg, *lim; in rn_lexobetter() local 476 if (*mp > *np) in rn_lexobetter() 478 if (*mp == *np) in rn_lexobetter() 480 if (*mp++ > *np++) in rn_lexobetter()
|
/freebsd/contrib/ncurses/progs/ |
H A D | dump_entry.c | 165 if ((np->nte_index <= OK_ ## check) \ 166 && check[np->nte_index]) \ 167 return (result[np->nte_index]) 173 const struct name_table_entry *np; in nametrans() local 175 if ((np = _nc_find_entry(name, _nc_get_hash_table(0))) != 0) { in nametrans() 176 switch (np->nte_type) { in nametrans()
|
/freebsd/contrib/netbsd-tests/lib/libc/db/ |
H A D | h_db.c | 728 char *np; in rfile() local 732 if ((np = strchr(name, '\n')) != NULL) in rfile() 733 *np = '\0'; in rfile()
|
/freebsd/lib/libc/db/test/ |
H A D | dbtest.c | 673 char *np, *index(); local 676 if ((np = index(name, '\n')) != NULL) 677 *np = '\0';
|
/freebsd/contrib/bsnmp/lib/ |
H A D | snmpclient.c | 1840 char *np; in snmp_client_set_host() local 1847 if ((np = malloc(strlen(h) + 1)) == NULL) in snmp_client_set_host() 1849 strcpy(np, h); in snmp_client_set_host() 1852 cl->chost = np; in snmp_client_set_host() 1860 char *np; in snmp_client_set_port() local 1867 if ((np = malloc(strlen(p) + 1)) == NULL) in snmp_client_set_port() 1869 strcpy(np, p); in snmp_client_set_port() 1872 cl->cport = np; in snmp_client_set_port()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | soc.c | 289 struct device_node *np; in mt798x_wmac_coninfra_setup() local 292 np = of_parse_phandle(pdev->of_node, "memory-region", 0); in mt798x_wmac_coninfra_setup() 293 if (!np) in mt798x_wmac_coninfra_setup() 296 rmem = of_reserved_mem_lookup(np); in mt798x_wmac_coninfra_setup() 297 of_node_put(np); in mt798x_wmac_coninfra_setup()
|
/freebsd/usr.sbin/rpcbind/ |
H A D | rpcb_svc_com.c | 1058 struct netbuf *np; in netbufdup() local 1060 if ((np = calloc(1, sizeof(struct netbuf))) == NULL) in netbufdup() 1062 if (netbuf_copybuf(np, ap) == FALSE) { in netbufdup() 1063 free(np); in netbufdup() 1066 return (np); in netbufdup()
|
/freebsd/sys/dev/ntb/ |
H A D | ntb_transport.c | 351 char *n, *np, *c, *name; in ntb_transport_attach() local 448 np = c; in ntb_transport_attach() 449 name = strsep(&np, ":"); in ntb_transport_attach() 452 qp = (np && np[0] != 0) ? strtol(np, NULL, 10) : qpo - qpu; in ntb_transport_attach()
|
/freebsd/contrib/nvi/vi/ |
H A D | vs_msg.c | 161 CONST char *np; in vs_update() local 176 INT2CHAR(sp, m2, STRLEN(m2) + 1, np, nlen); in vs_update() 178 "%s\n", m1 == NULL? "" : m1, m2 == NULL ? "" : np); in vs_update()
|
/freebsd/contrib/unbound/util/ |
H A D | alloc.c | 133 alloc_special_type* p, *np; in alloc_clear_special_list() local 137 np = alloc_special_next(p); in alloc_clear_special_list() 141 p = np; in alloc_clear_special_list()
|
/freebsd/sys/fs/udf/ |
H A D | udf_vfsops.c | 731 struct udf_node *np; in udf_fhtovp() local 742 np = VTON(nvp); in udf_fhtovp() 743 fsize = le64toh(np->fentry->inf_len); in udf_fhtovp()
|
/freebsd/sys/netgraph/ |
H A D | ng_base.c | 2683 struct nodeinfo *const np = in ng_generic_msg() local 2689 strcpy(np->name, NG_NODE_NAME(node)); in ng_generic_msg() 2690 strcpy(np->type, node->nd_type->name); in ng_generic_msg() 2691 np->id = ng_node2ID(node); in ng_generic_msg() 2692 np->hooks = node->nd_numhooks; in ng_generic_msg() 2722 struct nodeinfo *const np = in ng_generic_msg() local 2727 strcpy(np->name, NG_NODE_NAME(node)); in ng_generic_msg() 2728 strcpy(np->type, node->nd_type->name); in ng_generic_msg() 2729 np->id = ng_node2ID(node); in ng_generic_msg() 2730 np->hooks = node->nd_numhooks; in ng_generic_msg()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lparser.c | 500 if (fs->np >= f->sizep) { in addprototype() 502 luaM_growvector(L, f->p, fs->np, f->sizep, Proto *, MAXARG_Bx, "functions"); in addprototype() 505 f->p[fs->np++] = clp = luaF_newproto(L); in addprototype() 519 init_exp(v, VRELOCABLE, luaK_codeABx(fs, OP_CLOSURE, 0, fs->np - 1)); in codeclosure() 535 fs->np = 0; in open_func() 564 luaM_reallocvector(L, f->p, f->sizep, fs->np, Proto *); in close_func() 565 f->sizep = fs->np; in close_func()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mac80211.c | 226 struct device_node *np = dev->dev->of_node; in mt76_led_init() local 228 np = of_get_child_by_name(np, "led"); in mt76_led_init() 229 if (np) { in mt76_led_init() 232 if (!of_property_read_u32(np, "led-sources", &led_pin)) in mt76_led_init() 234 phy->leds.al = of_property_read_bool(np, in mt76_led_init() 236 of_node_put(np); in mt76_led_init()
|
/freebsd/contrib/tnftp/src/ |
H A D | fetch.c | 624 char *np, *np_copy, *np_iter; in fetch_url() local 633 if ((np = strrchr(cp, ':')) != NULL) { in fetch_url() 634 *np++ = '\0'; in fetch_url() 635 np_port = strtoul(np, &ep, 10); in fetch_url() 636 if (*np == '\0' || *ep != '\0') in fetch_url()
|
/freebsd/sys/dev/sume/ |
H A D | if_sume.c | 215 int np; in sume_rx_build_mbuf() local 244 np = (ffs(dport & SUME_DPORT_MASK) >> 1) - 1; in sume_rx_build_mbuf() 245 if (np > SUME_NPORTS) { in sume_rx_build_mbuf() 247 dport, np); in sume_rx_build_mbuf() 252 ifp = adapter->ifp[np]; in sume_rx_build_mbuf()
|
/freebsd/sys/net/ |
H A D | radix.c | 573 const u_char *mp = m_arg, *np = n_arg, *lim; in rn_lexobetter() local 575 if (LEN(mp) > LEN(np)) in rn_lexobetter() 577 if (LEN(mp) == LEN(np)) in rn_lexobetter() 579 if (*mp++ > *np++) in rn_lexobetter()
|