Searched refs:pfx (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-11-stable/lib/libc/stdio/
H A Dtempnam.c50 tempnam(const char *dir, const char *pfx) argument
58 if (!pfx)
59 pfx = "tmp.";
63 *(f + strlen(f) - 1) == '/'? "": "/", pfx);
70 *(f + strlen(f) - 1) == '/'? "": "/", pfx);
76 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXX", f, pfx);
81 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXX", f, pfx);
/freebsd-11-stable/usr.sbin/rtadvd/
H A Dconfig.c288 struct prefix *pfx; local
305 while ((pfx = TAILQ_FIRST(&rai->rai_prefix)) != NULL)
306 delete_prefix(pfx);
502 struct prefix *pfx; local
510 ELM_MALLOC(pfx, exit(1));
511 pfx->pfx_rainfo = rai;
512 pfx->pfx_origin = PREFIX_FROM_CONFIG;
514 if (inet_pton(AF_INET6, addr, &pfx->pfx_prefix) != 1) {
520 if (IN6_IS_ADDR_MULTICAST(&pfx->pfx_prefix)) {
527 if (IN6_IS_ADDR_LINKLOCAL(&pfx
1023 struct prefix *pfx; local
1124 struct prefix *pfx; local
1155 delete_prefix(struct prefix *pfx) argument
1176 invalidate_prefix(struct prefix *pfx) argument
1219 update_prefix(struct prefix *pfx) argument
1330 struct prefix *pfx; local
[all...]
H A Drrenum.c147 struct prefix *pfx; local
217 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) {
220 if (prefix_match(&pfx->pfx_prefix,
221 pfx->pfx_prefixlen, &rpm->rpm_prefix,
224 pfx->pfx_validlifetime =
226 pfx->pfx_preflifetime =
231 pfx->pfx_vltimeexpire =
233 pfx->pfx_validlifetime;
235 pfx->pfx_vltimeexpire = 0;
239 pfx
[all...]
H A Drtadvd.c465 struct prefix *pfx; local
607 pfx = find_prefix(rai, addr, plen);
608 if (pfx) {
609 if (pfx->pfx_timer) {
614 update_prefix(pfx);
646 pfx = find_prefix(rai, addr, plen);
647 if (pfx == NULL) {
656 invalidate_prefix(pfx);
1233 struct prefix *pfx; local
1258 if ((pfx
1352 struct prefix *pfx; local
[all...]
H A Dcontrol_server.c103 DEF_PL_HANDLER(pfx),
340 struct prefix *pfx; local
362 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) {
363 len += sizeof(*pfx);
375 TAILQ_FOREACH(pfx, &rai->rai_prefix, pfx_next) {
376 memcpy(p, pfx, sizeof(*pfx));
377 p += sizeof(*pfx);
/freebsd-11-stable/contrib/gcc/
H A Dvec.c48 calculate_allocation (const struct vec_prefix *pfx, int reserve, bool exact) argument
55 if (pfx)
57 alloc = pfx->alloc;
58 num = pfx->num;
100 struct vec_prefix *pfx = vec; local
101 unsigned alloc = alloc = calculate_allocation (pfx, reserve, exact);
108 if (!pfx)
172 struct vec_prefix *pfx = vec; local
173 unsigned alloc = calculate_allocation (pfx, reserve, exact);
180 if (!pfx)
[all...]
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A Dks_p12.c329 PKCS12_PFX pfx; local
372 ret = decode_PKCS12_PFX(buf, len, &pfx, NULL);
380 if (der_heim_oid_cmp(&pfx.authSafe.contentType, &asn1_oid_id_pkcs7_data) != 0) {
381 free_PKCS12_PFX(&pfx);
388 if (pfx.authSafe.content == NULL) {
389 free_PKCS12_PFX(&pfx);
399 ret = decode_PKCS12_OctetString(pfx.authSafe.content->data,
400 pfx.authSafe.content->length,
403 free_PKCS12_PFX(&pfx);
568 PKCS12_PFX pfx; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/bin/sh/
H A Dt_here.sh239 (2-7) pfx="${end%?}"
241 'x=$(cat <<'"'${end}'${nl}text${nl}${end}${pfx}${nl}${end}${nl}"'); printf %s "$x"' \
242 "text ${end}${pfx}" 0
244 'x=$(cat <<'"'${end}'${nl}text${nl}${pfx}${end}${nl}${end}${nl}"'); printf %s "$x"' \
245 "text ${pfx}${end}" 0
247 (*) pfx=${end%??????}; sfx=${end#??????}
252 'x=$(cat <<'"'${end}'${nl}text${nl}${pfx}${end}${nl}${end}${nl}"'); printf %s "$x"' \
253 "text ${pfx}${end}" 0
255 'x=$(cat <<'"'${end}'${nl}text${nl}${pfx}${sfx}${nl}${end}${nl}"'); printf %s "$x"' \
256 "text ${pfx}
[all...]
H A Dt_varval.sh50 quote= pfx=
58 pfx="${pfx}${pfx:+ }${1}"
72 oneline "${pfx}" "$i" "${sfx}" $quote
/freebsd-11-stable/usr.sbin/rtadvctl/
H A Drtadvctl.c415 char argv_pfx[IFNAMSIZ + sizeof(":pfx=")];
479 struct prefix *pfx; local
663 sprintf(argv_pfx, "%s:pfx=", ifi->ifi_ifname);
670 pfx = (struct prefix *)cp.cp_val;
671 len = cp.cp_val_len / sizeof(*pfx);
677 action_show_prefix(&pfx[i]);
761 action_show_prefix(struct prefix *pfx) argument
768 printf("\t %s/%d", inet_ntop(AF_INET6, &pfx->pfx_prefix,
769 ntopbuf, sizeof(ntopbuf)), pfx->pfx_prefixlen);
772 switch (pfx
[all...]
/freebsd-11-stable/usr.bin/mkimg/tests/
H A Dmkimg.sh33 local blksz bootarg bootsz format geom nhds nsecs partarg pfx scheme
39 pfx=$5
63 imagename=$pfx-$geom-$blksz-$scheme.$format
H A Dmkimg_test.sh33 local blksz bootarg bootsz format geom nhds nsecs partarg pfx scheme
39 pfx=$5
63 imagename=$pfx-$geom-$blksz-$scheme.$format
/freebsd-11-stable/sys/contrib/ngatm/netnatm/api/
H A Dcc_dump.c211 cc_dump_party(struct dump *d, const struct ccparty *party, const char *pfx) argument
214 cc_dumpf(d, "%s party(%p): %u.%u %s\n", pfx, party,
223 cc_dump_conn(struct dump *d, const struct ccconn *conn, const char *pfx) argument
227 cc_dumpf(d, "%sconn(%p): %s\n", pfx, conn,
229 cc_dumpf(d, "%s user=%p cref=%u.%u acceptor=%p\n", pfx,
233 cc_dumpf(d, "%s blli_sel=%u\n", pfx, conn->blli_selector);
236 cc_dump_party(d, party, pfx);
/freebsd-11-stable/bin/sh/
H A Dshow.c71 shtree(union node *n, int ind, char *pfx, FILE *fp) argument
79 indent(ind, pfx, fp);
258 indent(int amount, char *pfx, FILE *fp) argument
263 if (pfx && i == amount - 1)
264 fputs(pfx, fp);
/freebsd-11-stable/usr.bin/limits/
H A Dlimits.c73 const char * pfx; member in struct:__anon8633::__anon8634
263 const char *pfx, const char *sfx, const char *which);
514 if (shellparm[shelltype].lprm[rcswhich].pfx) {
519 shellparm[shelltype].lprm[rcswhich].pfx,
527 shellparm[shelltype].lprm[rcswhich].pfx,
535 shellparm[shelltype].lprm[rcswhich].pfx,
559 print_limit(rlim_t limit, unsigned divisor, const char * inf, const char * pfx, const char * sfx, const char * which) argument
567 printf(pfx, which, numbr);
/freebsd-11-stable/crypto/openssl/engines/ccgost/
H A DMakefile47 pfx=lib; \
50 cp cyg$(LIBNAME).dll $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
56 *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \
59 cp $${pfx}$(LIBNAME)$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
61 chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
62 mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx; \
/freebsd-11-stable/tools/tools/vop_table/
H A Dvop_table.tcl111 set pfx [lindex [split $i _] 0]
124 } elseif { $t == "${pfx}_${sfx}" } {
132 } elseif { $sfx == "cachedlookup" && $t == "${pfx}_lookup" } {
/freebsd-11-stable/usr.sbin/ctm/mkCTM/
H A Dmkctm.c124 name_stat(const char *pfx, const char *dir, const char *name, struct dirent *de) argument
135 pfx, name, de->d_name,
137 fprintf(logf, "%s %s%s\n", pfx, name, de->d_name);
139 fprintf(stderr, "%s %s%s\n", pfx, name, de->d_name);
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-openflow-1.0.c1342 const char *pfx, const u_char *cp, const u_char *ep)
1354 ND_PRINT((ndo, "%swildcards 0x%08x (bogus)", pfx, wildcards));
1359 ND_PRINT((ndo, "%smatch in_port %s", pfx, tok2str(ofpp_str, "%u", EXTRACT_16BITS(cp))));
1364 ND_PRINT((ndo, "%smatch dl_src %s", pfx, etheraddr_string(ndo, cp)));
1369 ND_PRINT((ndo, "%smatch dl_dst %s", pfx, etheraddr_string(ndo, cp)));
1374 ND_PRINT((ndo, "%smatch dl_vlan %s", pfx, vlan_str(EXTRACT_16BITS(cp))));
1379 ND_PRINT((ndo, "%smatch dl_vlan_pcp %s", pfx, pcp_str(*cp)));
1389 ND_PRINT((ndo, "%smatch dl_type 0x%04x", pfx, dl_type));
1393 ND_PRINT((ndo, "%smatch nw_tos 0x%02x", pfx, *cp));
1402 ND_PRINT((ndo, "%smatch %s %u", pfx, field_nam
1341 of10_match_print(netdissect_options *ndo, const char *pfx, const u_char *cp, const u_char *ep) argument
1445 of10_actions_print(netdissect_options *ndo, const char *pfx, const u_char *cp, const u_char *ep, u_int len) argument
[all...]
/freebsd-11-stable/contrib/atf/atf-c/
H A Dcheck.c251 print_array(const char *const *array, const char *pfx) argument
255 printf("%s", pfx);
/freebsd-11-stable/crypto/openssl/engines/
H A DMakefile113 pfx=lib; \
116 cp cyg$$l.dll $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \
122 *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \
125 cp $$pfx$$l$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \
127 chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \
128 mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx ); \
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.h345 void setPrefix(ENamePrefix pfx) { FKind = pfx; } argument
/freebsd-11-stable/sys/geom/part/
H A Dg_part_ebr.c361 struct sbuf *sb, const char *pfx)
372 sbuf_printf(sb, "%.*s%u", (int)strlen(pfx) - 1, pfx, idx);
360 g_part_ebr_fullname(struct g_part_table *table, struct g_part_entry *entry, struct sbuf *sb, const char *pfx) argument
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dinterfaceiter.c403 isc_netaddr_t pfx; local
423 isc_netaddr_fromsockaddr(&pfx,
428 isc_netaddr_eqprefix(&target, &pfx, pfx_len)) {
/freebsd-11-stable/contrib/less/
H A Dline.c31 char pfx[MAX_PFX_WIDTH]; /* Holds status column and line number */ member in struct:__anon3
33 int pfx_end; /* Number of chars in pfx */
263 linebuf.pfx[n] = ch;
1270 return linebuf.pfx[i];

Completed in 488 milliseconds

12