Searched refs:prefix (Results 1 - 25 of 334) sorted by relevance

1234567891011>>

/src/usr.sbin/faithd/
H A Dprefix.h1 /* $NetBSD: prefix.h,v 1.3 2018/01/23 21:27:20 sevan Exp $ */
2 /* $KAME: prefix.h,v 1.4 2001/09/05 03:04:21 itojun Exp $ */
33 struct prefix { struct
42 struct prefix match;
43 struct prefix dest;
44 struct prefix src; /* src to use for outgoing connection */
49 extern const char *prefix_string(const struct prefix *);
50 extern int prefix_match(const struct prefix *, const struct sockaddr *);
H A Dprefix.c1 /* $NetBSD: prefix.c,v 1.9 2018/01/23 21:06:24 sevan Exp $ */
2 /* $KAME: prefix.c,v 1.13 2003/09/02 22:50:17 itojun Exp $ */
48 #include "prefix.h"
50 static int prefix_set(const char *, struct prefix *, int);
61 prefix_set(const char *s, struct prefix *prefix, int slash) argument
83 if (res->ai_next || res->ai_addrlen > sizeof(prefix->a))
85 memcpy(&prefix->a, res->ai_addr, res->ai_addrlen);
87 switch (prefix->a.ss_family) {
101 prefix
124 prefix_string(const struct prefix * prefix) argument
137 prefix_match(const struct prefix * prefix,const struct sockaddr * sa) argument
[all...]
H A DMakefile6 SRCS= faithd.c tcp.c ftp.c prefix.c
/src/usr.sbin/rtadvd/
H A Dconfig.h35 extern void delete_prefix(struct prefix *);
36 extern void invalidate_prefix(struct prefix *);
37 extern void update_prefix(struct prefix *);
/src/usr.bin/make/unit-tests/
H A Dposix-execution.exp9 echo 'do-prefix-plus: a regular command'
10 echo 'do-prefix-plus: prefixed by plus'
11 do-prefix-plus: prefixed by plus
12 echo 'do-prefix-plus: a regular command'
13 { echo 'do-prefix-plus: a regular command'
15 echo 'do-prefix-plus: prefixed by plus'
16 do-prefix-plus: prefixed by plus
17 { echo 'do-prefix-plus: a regular command'
H A Dvarmod-sysv.exp6 prefix = "prefix"
10 prefix =NS "prefixNS"
14 prefix =% "prefix%"
18 prefix =%NS "prefix%NS"
22 prefix =NPre% "prefixNPre%"
26 prefix =NPre%NS "prefixNPre%NS"
30 prefix ffi
[all...]
H A Dvarname-dot-make-jobs-prefix.mk1 # $NetBSD: varname-dot-make-jobs-prefix.mk,v 1.2 2020/08/16 14:25:16 rillig Exp $
H A Dvarname-dot-make-meta-prefix.mk1 # $NetBSD: varname-dot-make-meta-prefix.mk,v 1.2 2020/08/16 14:25:16 rillig Exp $
/src/tools/autoconf/
H A DMakefile5 CONFIGURE_ARGS= --program-prefix=${_TOOL_PREFIX}
/src/tests/usr.bin/indent/
H A Dopt_v.c23 #define macro1 /* prefix */ suffix
26 #define macro2 prefix /* suffix */
39 #define macro1 /* prefix */ suffix
41 #define macro2 prefix /* suffix */
/src/sys/external/bsd/compiler_rt/dist/lib/interception/tests/
H A Dinterception_win_test.cc250 // Add padding to avoid memory violation when scanning the prefix.
360 FunctionPrefixKind prefix = FunctionPrefixDetour; local in function:__interception::TEST
361 TestIdentityFunctionPatching(kIdentityCodeWithPrologue, override, prefix);
362 TestIdentityFunctionPatching(kIdentityCodeWithPushPop, override, prefix);
363 TestIdentityFunctionPatching(kIdentityCodeWithMov, override, prefix);
364 TestIdentityFunctionPatching(kIdentityCodeWithJump, override, prefix);
375 FunctionPrefixKind prefix = FunctionPrefixHotPatch; local in function:__interception::TEST
376 TestIdentityFunctionPatching(kIdentityCodeWithMov, override, prefix);
381 FunctionPrefixKind prefix = FunctionPrefixNone; local in function:__interception::TEST
382 TestIdentityFunctionPatching(kIdentityCodeWithPrologue, override, prefix);
392 FunctionPrefixKind prefix = FunctionPrefixNone; local in function:__interception::TEST
540 FunctionPrefixKind prefix = FunctionPrefixDetour; local in function:__interception::TEST
570 FunctionPrefixKind prefix = FunctionPrefixHotPatch; local in function:__interception::TEST
587 FunctionPrefixKind prefix = FunctionPrefixPadding; local in function:__interception::TEST
608 FunctionPrefixKind prefix = FunctionPrefixPadding; local in function:__interception::TEST
[all...]
/src/usr.sbin/sysinst/
H A Daout2elf.c206 char prefix[MAXPATHLEN], src[MAXPATHLEN]; local in function:move_aout_libs
217 if (target_realpath("/emul/aout", prefix) != NULL && stat(prefix, &st) == 0)
223 if (target_realpath("/emul", prefix) == NULL || stat(prefix, &st) < 0) {
224 strlcpy(prefix, target_expand("/emul"), sizeof(prefix));
225 if (lstat(prefix, &st) == 0) {
226 run_program(0, "mv -f %s %s", prefix,
230 scripting_fprintf(NULL, "mkdir %s\n", prefix);
[all...]
/src/sys/external/isc/libsodium/dist/dist-build/
H A Dmsys2-win32.sh13 ./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \
H A Dmsys2-win64.sh13 ./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \
/src/bin/sh/
H A Dmystring.h40 int prefix(const char *, const char *);
/src/distrib/sets/
H A Dmakeplist9 # -p prefix prefix for package creation
10 # -I realprefix prefix for eventual installation
16 prefix=/
27 -p prefix prefix for created plist [${prefix}]
28 -I realprefix prefix for eventual installation [${realprefix}]
50 prefix="${OPTARG}"
68 realprefix="${prefix}"
[all...]
H A Dsyspkgdeps3 # syspkgdeps [-a arch] [-m machine] [-s setsdir] [-p prefix] sets
22 prefix=/
27 Usage: ${0##*/} [-a arch] [-m machine] [-s setsdir] [-p prefix] setname [...]
31 -p prefix prefix for created plist [${prefix}]
48 prefix="${OPTARG}"
84 ${ENV_CMD} PREFIX="${prefix}" ${AWK} '{
/src/etc/mtree/
H A Dmkcompattree.awk10 prefix = substr($0, 1, pos)
11 if (prefix != last_prefix) {
20 last_prefix = prefix;
/src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/
H A Dvchiq_genversion9 my $prefix = shift @ARGV;
14 die "usage: $0 prefix root-dir\n";
60 #include "${prefix}_build_info.h"
63 VC_DEBUG_DECLARE_STRING_VAR( ${prefix}_build_hostname, "$hostname" );
64 VC_DEBUG_DECLARE_STRING_VAR( ${prefix}_build_version, "$version" );
65 VC_DEBUG_DECLARE_STRING_VAR( ${prefix}_build_time, __TIME__ );
66 VC_DEBUG_DECLARE_STRING_VAR( ${prefix}_build_date, __DATE__ );
/src/common/dist/zlib/contrib/minizip/
H A Dmake_vms.com13 $ cc/include=[--]/prefix=all ioapi.c
14 $ cc/include=[--]/prefix=all miniunz.c
15 $ cc/include=[--]/prefix=all unzip.c
16 $ cc/include=[--]/prefix=all minizip.c
17 $ cc/include=[--]/prefix=all zip.c
/src/usr.sbin/vipw/
H A Dvipw.c68 const char *prefix; local in function:main
73 prefix = "";
77 prefix = optarg;
78 if (pw_setprefix(prefix) < 0)
79 err(1, "%s", prefix);
92 (void)snprintf(mpwd, sizeof(mpwd), "%s%s", prefix, _PATH_MASTERPASSWD);
93 (void)snprintf(mpwdl, sizeof(mpwdl), "%s%s", prefix,
/src/tests/usr.bin/xlint/lint1/
H A Dmsg_348.c271 unit_name(enum unit_prefix prefix) argument
277 name = name_short[prefix];
279 name = "-K"[prefix];
282 name = name_no_nul[prefix];
283 name = (char[]){'-', 'K', 'M'}[prefix];
286 name = name_nul[prefix];
287 name = "-KM"[prefix];
291 name = name_long[prefix];
293 name = "-KMG"[prefix];
/src/usr.bin/systat/
H A Difcmds.c58 if (prefix(cmd, "scale")) {
67 } else if (prefix(cmd, "match")) {
81 } else if (prefix(cmd, "pps"))
/src/tests/lib/librumphijack/
H A Dh_cwd.c40 static const char *prefix; variable in typeref:typename:const char *
49 strcpy(buf, prefix);
50 if (prefix[prefixlen-1] != '/')
83 thechdir(prefix, "chdir1");
86 if (strcmp(pwd, prefix) != 0)
115 if (strcmp(pwd, prefix) != 0)
129 thechdir(prefix, "chdir1");
152 prefix = argv[1];
/src/sys/compat/netinet6/
H A Dnd6.h91 struct in6_addr prefix; member in struct:in6_oprlist::__anon5f21e82e0308
101 } prefix[PRLSTSIZ]; member in struct:in6_oprlist
107 struct in6_addr prefix; member in struct:in6_prlist::__anon5f21e82e0408
117 } prefix[PRLSTSIZ]; member in struct:in6_prlist

Completed in 12 milliseconds

1234567891011>>