/src/lib/libutil/ |
stat_flags.c | 57 if (prefix != NULL) \ 58 (void)strlcat(string, prefix, sizeof(string)); \ 60 prefix = ","; \ 72 const char *prefix; local in function:flags_to_string 75 prefix = NULL; 96 if (prefix != NULL)
|
/src/usr.bin/systat/ |
cmds.c | 157 prefix(const char *s1, const char *s2) function in typeref:typename:int
|
/src/usr.sbin/faithd/ |
prefix.h | 1 /* $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 *);
|
/src/bin/sh/ |
mystring.c | 95 * prefix -- see if pfx is a prefix of string. 99 prefix(const char *pfx, const char *string) function in typeref:typename:int
|
/src/usr.bin/make/unit-tests/ |
posix-execution.mk | 39 # expect-not-matches: ^do%-prefix%-plus: a regular command 40 # expect: do-prefix-plus: prefixed by plus 41 # expect: do-prefix-plus: prefixed by plus 42 all: prefix-plus 43 prefix-plus: 44 @${MAKE} -f ${MAKEFILE} -n do-prefix-plus 45 @${MAKE} -f ${MAKEFILE} -n -j1 do-prefix-plus 46 do-prefix-plus:
|
/src/tests/lib/librumphijack/ |
h_cwd.c | 40 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/usr.bin/mktemp/ |
mktemp.c | 63 const char *prefix; local in function:main 70 prefix = "mktemp"; 88 prefix = optarg; 111 prefix); 113 (void)asprintf(&name, "%s/%s.XXXXXXXX", tmpdir, prefix); 171 "Usage: %s [-dqu] [-p <tmpdir>] {-t prefix | template ...}\n",
|
/src/usr.sbin/vipw/ |
vipw.c | 68 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/sys/crypto/adiantum/ |
adiantum_selftest.c | 56 hexdump(int (*prf)(const char *, ...) __printflike(1,2), const char *prefix, 62 (*prf)("%s (%zu bytes)\n", prefix, len); 1819 char prefix[16]; local in function:adiantum_selftest 1820 snprintf(prefix, sizeof prefix, "adiantum enc %u", i); 1821 hexdump(printf, prefix, buf, C[i].len); 1827 char prefix[16]; local in function:adiantum_selftest 1828 snprintf(prefix, sizeof prefix, "adiantum dec %u", i); 1829 hexdump(printf, prefix, buf, C[i].len) [all...] |
/src/usr.bin/tip/aculib/ |
v3451.c | 50 static int prefix(const char *, char *); 193 if (prefix(sh, lg)) 199 prefix(const char *s1, char *s2) function in typeref:typename:int
|
/src/share/examples/refuse/id3fs/ |
id3fs.c | 43 static char *prefix; /* where the music is */ variable in typeref:typename:char * 211 prefix = optarg; 219 (void) snprintf(name, sizeof(name), "%s/%s", (prefix) ? prefix : "/usr/music", ".id3.db");
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_syncmap.c | 79 u64 prefix; member in struct:i915_syncmap 168 if (likely(__sync_leaf_prefix(p, id) == p->prefix)) 177 if (__sync_branch_prefix(p, id) == p->prefix) 190 if (__sync_branch_prefix(p, id) != p->prefix) 215 p->prefix = __sync_leaf_prefix(p, id); 249 GEM_BUG_ON(__sync_leaf_prefix(p, id) == p->prefix); 251 /* Climb back up the tree until we find a common prefix */ 258 if (__sync_branch_prefix(p, id) == p->prefix) 271 * Starting at the top, we check whether the current prefix matches. If 276 * The matching prefix means we are still following the right branc [all...] |
/src/tests/fs/common/ |
snapshot.c | 134 char *prefix = arg, path[128]; local in function:fs_activity 138 RL(rump_sys_mkdir(prefix, 0777)); 141 snprintf(path, sizeof(path), "%s/d%d", prefix, di); 145 prefix, di, fi); 152 prefix, di, fi); 155 snprintf(path, sizeof(path), "%s/d%d", prefix, di); 159 RL(rump_sys_rmdir(prefix)); 170 char prefix[NACTIVITY][128]; local in function:ATF_TC_BODY 194 snprintf(prefix[i], sizeof(prefix[i]), "/mnt/a%d", i) [all...] |
/src/usr.bin/ftp/ |
progressbar.h | 54 GLOBAL char *prefix; /* Text written left of progress bar */ variable in typeref:typename:GLOBAL char *
|
/src/usr.sbin/ldpd/ |
ldp_peer.h | 50 uint prefix; member in struct:label_mapping
|
/src/sbin/gpt/ |
main.c | 102 prefix(const char *cmd) function in typeref:typename:void 217 prefix(cmd);
|
/src/games/hack/ |
makedefs.c | 211 int prefix = 0; local in function:getentry 240 prefix = 4; 280 if (prefix && !string[prefix]) 299 char *sp = string + prefix;
|
hack.objnam.c | 75 #define PREFIX 15 84 if (i > PREFIX) { 85 pline("WARNING: prefix too short."); 173 char *buf = &(bufr[PREFIX]); /* leave room for "17 -3 " */ 174 size_t bufmax = sizeof(bufr) - PREFIX; 342 char prefix[PREFIX]; local in function:doname 347 bpmax = BUFSZ - PREFIX; 350 Snprintf(prefix, sizeof(prefix), "%u ", obj->quan) 409 char prefix[PREFIX]; local in function:aobjnam [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
asan_errors.cc | 552 const char *prefix = (i == 0) ? "=>" : " "; local in function:__asan::PrintShadowMemoryForAddress 553 PrintShadowBytes(&str, prefix, (u8 *)row_shadow_addr, (u8 *)shadow_addr,
|
/src/sys/ufs/ext2fs/ |
ext2fs_xattr.c | 209 const char *prefix, *name; local in function:ext2fs_getextattr 231 prefix = xattr_prefix_index[i]; 232 size_t l = strlen(prefix); 233 if (l > 0 && strncmp(ap->a_name, prefix, l) == 0 && 284 const char *prefix; local in function:ext2fs_list_xattr 303 prefix = xattr_prefix_index[e->e_name_index]; 305 prefix = ""; 308 prefix,
|
/src/usr.bin/rpcgen/ |
rpc_hout.c | 373 ptype(dl->decl.prefix, dl->decl.type, 1); 426 char prefix[8]; /* enough to contain "struct ", including NUL */ local in function:ptypedef 442 s_print(prefix, "%s ", def->def.ty.old_prefix); 444 prefix[0] = 0; 451 f_print(fout, "\t%s%s *%s_val;\n", prefix, old, name); 455 f_print(fout, "%s%s *%s", prefix, old, name); 458 f_print(fout, "%s%s %s[%s]", prefix, old, name, 462 f_print(fout, "%s%s %s", prefix, old, name); 474 const char *prefix; local in function:pdeclaration 481 if (streq(dec->type, name) && !dec->prefix) { [all...] |
/src/usr.sbin/sysinst/ |
aout2elf.c | 206 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/dev/ |
firmload.c | 141 char *prefix = *prefixp; local in function:firmware_path_next 144 if (prefix == NULL /* terminated early */ 145 || *prefix != '/') { /* empty or not absolute */ 151 * Compute the max path prefix based on the length of the provided 168 if (*prefix == ':' || *prefix == '\0') 170 pnbuf[i] = *prefix++; 173 if (*prefix != ':' && *prefix != '\0') { 174 /* Path prefix was too long. * 208 char *pnbuf, *path, *prefix; local in function:firmware_open [all...] |
/src/bin/pax/ |
tar.h | 153 char prefix[TPFSZ]; /* linked to name */ member in struct:__anon7c22972a0208
|
/src/bin/ps/ |
ps.h | 62 char *prefix; member in struct:pinfo
|