/freebsd-current/sys/cddl/dev/dtrace/ |
H A D | dtrace_sysctl.c | 27 char *p_name = NULL; local 42 if ((p_name = kmem_alloc(len, KM_SLEEP)) == NULL) 46 *p_name = '\0'; 54 (void) strlcat(p_name, " ", len); 56 (void) strlcat(p_name, prov->dtpv_name, len); 65 if (p_name != NULL) { 66 error = sysctl_handle_string(oidp, p_name, len, req); 68 kmem_free(p_name, 0);
|
/freebsd-current/sbin/ipf/libipf/ |
H A D | printproto.c | 27 PRINTF("%s", pr->p_name); 32 PRINTF("%s", pr->p_name);
|
H A D | getportproto.c | 34 s = getservbyname(name, p ? p->p_name : NULL);
|
H A D | portname.c | 32 if ((sv = getservbyport(htons(port), p->p_name))) {
|
H A D | getport.c | 81 s = getservbyname(name, p ? p->p_name : NULL);
|
H A D | printactivenat.c | 62 PRINTF(" %s", pproto->p_name); 87 PRINTF(" %s", pproto->p_name); 111 PRINTF(" %s", pproto->p_name);
|
/freebsd-current/lib/libc/tests/nss/ |
H A D | getproto_test.c | 87 if (src->p_name != NULL) { 88 dest->p_name = strdup(src->p_name); 89 assert(dest->p_name != NULL); 116 free(pe->p_name); 134 if ((strcmp(pe1->p_name, pe2->p_name) != 0) || 170 pe->p_name, pe->p_proto); 210 pe->p_name = strdup(s); 211 assert(pe->p_name ! [all...] |
/freebsd-current/lib/libcasper/services/cap_netdb/ |
H A D | cap_netdb.c | 58 pp->p_name = nvlist_take_string(nvl, "name"); 66 free(pp->p_name); 102 nvlist_add_string(nvl, "name", pp->p_name);
|
/freebsd-current/lib/libc/net/ |
H A D | getprotoent.c | 171 if (proto->p_name != NULL) 172 desired_size += strlen(proto->p_name) + 1; 199 if (new_proto.p_name != NULL) { 200 size = strlen(new_proto.p_name); 201 memcpy(p, new_proto.p_name, size); 202 new_proto.p_name = p; 273 NS_APPLY_OFFSET(proto->p_name, orig_buf, p, char *); 304 len += strlen(pe->p_name) + 1; 318 n = strlen(pe->p_name) + 1; 319 strcpy(cp, pe->p_name); [all...] |
H A D | getprotoname.c | 81 if (strcmp(pe.p_name, name) == 0)
|
/freebsd-current/usr.bin/bluetooth/bthost/ |
H A D | bthost.c | 127 printf("%s", pe->p_name); 132 pe->p_name, pe->p_proto);
|
/freebsd-current/contrib/tcpdump/ |
H A D | print-cnfp.c | 161 const char *p_name; local 220 if (!ndo->ndo_nflag && (p_name = netdb_protoname(proto)) != NULL) 221 ND_PRINT("%s ", p_name); 256 const char *p_name; local 322 if (!ndo->ndo_nflag && (p_name = netdb_protoname(proto)) != NULL) 323 ND_PRINT("%s ", p_name); 358 const char *p_name; local 424 if (!ndo->ndo_nflag && (p_name = netdb_protoname(proto)) != NULL) 425 ND_PRINT("%s ", p_name);
|
H A D | print-ip-demux.c | 44 const char *p_name; local 230 if (ndo->ndo_nflag==0 && (p_name = netdb_protoname(nh)) != NULL) 231 ND_PRINT(" %s", p_name);
|
H A D | print-ip.c | 330 const char *p_name; local 506 if (!ndo->ndo_nflag && (p_name = netdb_protoname(ip_proto)) != NULL) 507 ND_PRINT(" %s", p_name);
|
H A D | addrtoname.c | 212 const char *p_name; member in struct:protoidmem 911 tp->p_name = strdup(eproto_db[i].s); 912 if (tp->p_name == NULL) 920 if (tp->p_name != NULL) 923 tp->p_name = pl->name;
|
/freebsd-current/usr.bin/indent/ |
H A D | args.c | 86 const char *p_name; /* name, e.g. -bl, -cli */ member in struct:pro 253 for (p = pro; p->p_name; p++) 265 for (p = pro; p->p_name; p++) 266 if (*p->p_name == *arg && (param_start = eqin(p->p_name, arg)) != NULL) 322 errx(1, "%s: ``%s'' requires a parameter", option_source, p->p_name);
|
/freebsd-current/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_protoent.c | 43 prp->p_name, prp->p_proto);
|
H A D | t_getprotoent.c | 95 ATF_REQUIRE(strcmp(p->p_name, protos[i].name) == 0); 141 ATF_REQUIRE(strcmp(p->p_name, protos[i].name) == 0);
|
/freebsd-current/lib/libcasper/services/cap_netdb/tests/ |
H A D | netdb_test.c | 76 ATF_REQUIRE(pp->p_name != NULL);
|
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_sys.c | 752 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 759 "failed: %s", bp->p_name, strerror(errno)); 784 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 789 "failed: %s", bp->p_name, strerror(errno)); 801 "failed: %s", bp->p_name, strerror(errno)); 826 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 833 "failed: %s", bp->p_name, strerror(errno)); 859 strlcpy(b_req.ifbr_ifsname, bp->p_name, sizeof(b_req.ifbr_ifsname)); 864 "failed: %s", bp->p_name, strerror(errno)); 885 "failed: %s", bp->p_name, strerro [all...] |
/freebsd-current/sys/dev/bhnd/tools/ |
H A D | nvram_map_gen.awk | 143 PROP_NAME = "p_name" 234 class_add_prop(MacroType, p_name, "name") 243 class_add_prop(MacroDefine, p_name, "name") 254 class_add_prop(Fmt, p_name, "name") 269 map_set(ValueFormats, get(FmtHex, p_name), FmtHex) 270 map_set(ValueFormats, get(FmtDec, p_name), FmtDec) 271 map_set(ValueFormats, get(FmtMAC, p_name), FmtMAC) 272 map_set(ValueFormats, get(FmtLEDDC, p_name), FmtLEDDC) 273 map_set(ValueFormats, get(FmtStr, p_name), FmtStr) 277 class_add_prop(Type, p_name, "nam [all...] |
/freebsd-current/lib/libbluetooth/ |
H A D | bluetooth.c | 182 if (strcmp(p->p_name, name) == 0) 226 proto.p_name = p;
|
/freebsd-current/include/ |
H A D | netdb.h | 128 char *p_name; /* official protocol name */ member in struct:protoent
|
/freebsd-current/usr.sbin/ppp/ |
H A D | filter.c | 148 tgt->f_srcport = ParsePort(argv[2], pe->p_name); 163 tgt->f_dstport = ParsePort(argv[2], pe->p_name); 475 prompt_Printf(prompt, "%s", pe->p_name);
|
/freebsd-current/usr.sbin/ctld/ |
H A D | ctld.c | 1247 port->p_name = name; 1292 port->p_name = name; 1321 port->p_name = name; 1336 if (strcasecmp(port->p_name, name) == 0) 1367 free(port->p_name); 1994 newport = port_find(newconf, oldport->p_name); 1997 log_debugx("removing port \"%s\"", oldport->p_name); 2001 oldport->p_name); 2117 oldport = port_find(oldconf, newport->p_name); 2120 log_debugx("adding port \"%s\"", newport->p_name); [all...] |