Searched defs:suffix (Results 1 - 25 of 101) sorted by relevance

12345

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintaddr.c18 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 Dmetasplitname.c77 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 Dvpinit.c50 char *suffix; /* path from view path node */ local
84 suffix = &currentdir[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 Duname-m.c51 static char suffix[] = "/kernel"; local
61 if (strcmp(path, suffix) != 0)
/illumos-gate/usr/src/lib/libcmd/common/
H A Dbasename.c26 * 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 Dbasename.c44 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 Dfiles.c38 * 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 Dprintlist.c59 printlist_setup(char *prefix, char *suffix, char *sep, char *newline) argument
63 if (suffix)
64 print_suffix = suffix;
H A Dsdn.c55 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 Dprintf.c74 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 Dload_node.c183 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 Ddlldefs.h78 #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 Ddlldefs.h78 #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 Ddlldefs.h78 #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 Ddlldefs.h78 #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 Dioutil.c73 * 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 Dmain.c148 * 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 Dkmdb_main.c109 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 Dn8.c84 if (!exword() && !suffix())
223 suffix() function
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dutil.c208 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 Dfmtmsg.c111 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 Drules.c46 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 Doid_ops.c437 /* 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 Dexpand.c245 * 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 Dsupport.c226 * form: K&lt;keyname&gt;+&lt;alg&gt;+&lt;id&gt;.&lt;suffix&gt;
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&lt;keyname&gt;&lt;id&gt;.&lt;suffix&gt;
257 * form: K&lt;keyname&gt;+&lt;alg&gt;+&lt;id&gt;.&lt;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...]

Completed in 111 milliseconds

12345