/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | printaddr.c | 18 char *suffix; local 23 suffix = "/bcast"; 29 suffix = NULL; 33 suffix = "/net"; 37 suffix = "/netmasked"; 41 suffix = "/peer"; 45 suffix = NULL; 51 suffix = NULL; 56 suffix = NULL; 60 if (suffix ! [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | metasplitname.c | 77 char *suffix; local 86 suffix = name + (prefixlen + 1); 87 (void) memcpy(suffix, SPN_SUFFIX(spn).suf_data, suffixlen);
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | vpinit.c | 50 char *suffix; /* path from view path node */ local 84 suffix = ¤tdir[i]; 116 s = mymalloc((strlen(vpdirs[i]) + strlen(suffix) + 1)); 118 (void) strcat(s, suffix);
|
/illumos-gate/usr/src/psm/stand/lib/names/sparc/common/ |
H A D | uname-m.c | 51 static char suffix[] = "/kernel"; local 61 if (strcmp(path, suffix) != 0)
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | basename.c | 26 * namebase pathname [suffix] 34 "[+NAME?basename - strip directory and suffix from filenames]" 37 "defined by \astring\a has a suffix that ends in \asuffix\a, " 50 "\n string [suffix]\n" 62 static void namebase(Sfio_t *outfile, register char *pathname, char *suffix) argument 82 /* check for trailing suffix */ 83 if(suffix && (n=strlen(suffix)) && n<(last-first)) 85 if(memcmp(last-n,suffix,n)==0)
|
/illumos-gate/usr/src/cmd/basename/ |
H A D | basename.c | 44 char *suffix; local 79 (void) fputs(gettext("Usage: basename string [ suffix ]\n"), 85 suffix = (argc == 2) ? NULL : argv[2]; 106 if (suffix == NULL) { 113 * if a suffix is present and is not the same as the remaining 117 if (strcmp(string, suffix) != 0) { 118 p = string + strlen(string) - strlen(suffix); 119 if (strcmp(p, suffix) == 0) 128 suf_len = 6 + strlen(suffix) + 1 + 1; /* \(.*\)suffix [all...] |
/illumos-gate/usr/src/cmd/filesync/ |
H A D | files.c | 38 * suffix .... does one string end with another 534 * suffix 541 * suspected suffix 547 suffix(const char *str, const char *suf) function 550 /* go to where the alleged suffix would start */ 556 /* see if the string ends with the suffix */
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | printlist.c | 59 printlist_setup(char *prefix, char *suffix, char *sep, char *newline) argument 63 if (suffix) 64 print_suffix = suffix;
|
H A D | sdn.c | 55 printsdn_setup(char *prefix, char *suffix, char *newline) argument 59 if (suffix) 60 print_suffix = suffix;
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | printf.c | 74 const char *prefix, const char *suffix) 95 msgp += snprintf(msgp, bufend - msgp, suffix); 73 fakekernel_cprintf(const char *fmt, va_list adx, int flags, const char *prefix, const char *suffix) argument
|
/illumos-gate/usr/src/lib/efcode/fcdriver/ |
H A D | load_node.c | 183 find_lib_file(fcode_env_t *env, char *prefix, char *name, char *suffix, argument 196 lib_name = MALLOC(strlen(name) + strlen(prefix) + strlen(suffix) + 1); 197 sprintf(lib_name, "%s%s%s", prefix, name, suffix);
|
/illumos-gate/usr/src/lib/libdll/amd64/src/lib/libdll/ |
H A D | dlldefs.h | 78 #define DLL_INFO_PREVER 0x0001 /* pre-suffix style version */ 79 #define DLL_INFO_DOTVER 0x0002 /* post-suffix style version */ 85 char* suffix; /* library name suffix */ member in struct:Dllinfo_s
|
/illumos-gate/usr/src/lib/libdll/i386/src/lib/libdll/ |
H A D | dlldefs.h | 78 #define DLL_INFO_PREVER 0x0001 /* pre-suffix style version */ 79 #define DLL_INFO_DOTVER 0x0002 /* post-suffix style version */ 85 char* suffix; /* library name suffix */ member in struct:Dllinfo_s
|
/illumos-gate/usr/src/lib/libdll/sparc/src/lib/libdll/ |
H A D | dlldefs.h | 78 #define DLL_INFO_PREVER 0x0001 /* pre-suffix style version */ 79 #define DLL_INFO_DOTVER 0x0002 /* post-suffix style version */ 85 char* suffix; /* library name suffix */ member in struct:Dllinfo_s
|
/illumos-gate/usr/src/lib/libdll/sparcv9/src/lib/libdll/ |
H A D | dlldefs.h | 78 #define DLL_INFO_PREVER 0x0001 /* pre-suffix style version */ 79 #define DLL_INFO_DOTVER 0x0002 /* post-suffix style version */ 85 char* suffix; /* library name suffix */ member in struct:Dllinfo_s
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | ioutil.c | 73 * suffix const char * An optional suffix string to draw at the end 75 * where necessary to ensure that the suffix ends 77 * no suffix is desired, specify NULL. 79 * and filling up to the suffix. 102 const char *prefix, const char *suffix, int fill_char, 139 * Get the length of the suffix string. 141 suffix_len = suffix ? strlen(suffix) : 0; 219 * If a suffix ha 101 _io_display_text(GlWriteFn *write_fn, void *data, int indentation, const char *prefix, const char *suffix, int fill_char, int term_width, int start, const char *string) argument [all...] |
/illumos-gate/usr/src/cmd/ramdiskadm/ |
H A D | main.c | 148 * use the minor name, having first stripped any ",raw" suffix. 218 char *suffix; local 240 size = strtoll(argv[optind], &suffix, 0); 241 if (strcmp(suffix, "b") == 0) { 243 ++suffix; 244 } else if (strcmp(suffix, "k") == 0) { 246 ++suffix; 247 } else if (strcmp(suffix, "m") == 0) { 249 ++suffix; 250 } else if (strcmp(suffix, " [all...] |
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_main.c | 109 static const char suffix[] = "/kmdb/%i:"; local 111 static const char suffix[] = "/kmdb:"; 134 sz = (c - modpath) + sizeof (suffix) - 1; 139 (void) strcpy(lpend + (c - modpath), suffix);
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n8.c | 84 if (!exword() && !suffix()) 223 suffix() function
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | util.c | 208 mktmpname(const char *origname, const char *suffix) argument 212 newname = xmalloc(strlen(origname) + strlen(suffix) + 1); 214 (void) strcat(newname, suffix);
|
/illumos-gate/usr/src/cmd/lp/lib/oam/ |
H A D | fmtmsg.c | 111 wrap(wchar_t *prefix, wchar_t *suffix, int indent_len, wchar_t *str) 121 if ((len = wscol(suffix))) 123 indent_len - len - 2, prefix, suffix); 109 wrap(wchar_t *prefix, wchar_t *suffix, int indent_len, wchar_t *str) argument
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | rules.c | 46 Suffix(char *myword, char *suffix) argument 52 j = strlen(suffix); 55 return (STRCMP((myword + i - j), suffix));
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | oid_ops.c | 437 /* Compose an OID of a prefix and an integer suffix */ 443 int suffix, 462 osuffix = suffix; 463 while (suffix) { 465 suffix >>= 7; 467 suffix = osuffix; 476 while (suffix) { 477 op[i] = (unsigned char)suffix & 0x7f; 481 suffix >>= 7; 496 int *suffix) 439 generic_gss_oid_compose( OM_uint32 *minor_status, const char *prefix, size_t prefix_len, int suffix, gss_OID_desc *oid) argument 491 generic_gss_oid_decompose( OM_uint32 *minor_status, const char *prefix, size_t prefix_len, gss_OID_desc *oid, int *suffix) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | expand.c | 245 * generate the list of files found by adding an suffix to end of name 249 int path_complete(const char *name,register const char *suffix, struct argnod **arghead) argument 251 sufstr = suffix; 252 suflen = strlen(suffix);
|
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | support.c | 226 * form: K<keyname>+<alg>+<id>.<suffix> 231 dst_s_filename_length(const char *name, const char *suffix) argument 241 if (suffix == NULL) 243 if (strrchr(suffix, '\\')) 245 if (strrchr(suffix, '/')) 247 if (strrchr(suffix, ':')) 249 return (1 + strlen(name) + 6 + strlen(suffix)); 255 * suffix. '\', '/' and ':' are not allowed. fA filename is of the 256 * form: K<keyname><id>.<suffix> 257 * form: K<keyname>+<alg>+<id>.<suffix 266 dst_s_build_filename(char *filename, const char *name, u_int16_t id, int alg, const char *suffix, size_t filename_length) argument [all...] |