Home
last modified time | relevance | path

Searched full:suffix (Results 1 – 25 of 498) sorted by relevance

12345678910>>...20

/titanic_53/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 != NULL) {
[all …]
/titanic_53/usr/src/cmd/make/bin/
H A Dimplicit.cc29 * Handle suffix and percent rules
71 * Does the lookup for single and double suffix rules.
76 * (target name less target suffix) and the source suffix and checking
84 * target_body The target name without the suffix
85 * target_suffix The suffix of the target
98 * fix bug 1247448: Suffix Rules failed when combine with Pattern Matching Rules.
99 * When make attemps to apply % rule it didn't look for a single suffix rule because
160 /* Cache the suffixes for this target suffix if not done. */ in find_suffix_rule()
172 /* Scan the suffix list for the target if one exists. */ in find_suffix_rule()
183 suffix.suffix->string_mb, in find_suffix_rule()
[all …]
/titanic_53/usr/src/contrib/ast/src/lib/libcmd/
H A Dbasename.c26 * namebase pathname [suffix]
34 "[+NAME?basename - strip directory and suffix from filenames]"
37 "\astring\a has a suffix that ends in \asuffix\a, it is removed as "
51 "[s:suffix?All operands are treated as \astring\a and each modified "
53 "separate line on the standard output.]:[suffix]"
55 "\n string [suffix]\n"
69 static void namebase(Sfio_t *outfile, register char *pathname, char *suffix) in namebase() argument
89 /* check for trailing suffix */ in namebase()
90 if(suffix && (n=strlen(suffix)) && n<(last-first)) in namebase()
92 if(memcmp(last-n,suffix,n)==0) in namebase()
[all …]
H A Dcp.c102 "\b--suffix\b sets the backup suffix. The backup type is determined in "
107 "suffix is \b.\aSNS\a, where \aS\a is the \bbackup-suffix\b and "
115 "[S:suffix?A backup file is made by renaming the file to the same name "
116 "with the backup suffix appended. The backup suffix is determined in "
118 "variable, or the default value \b~\b.]:[suffix]"
154 #define BAK_number 2 /* append .suffix number suffix */
155 #define BAK_simple 3 /* append suffix */
176 int suflen; /* strlen(state.suffix) */
192 char* suffix; /* backup suffix */ member
517 …name + n + 1, state->suffix, state->suflen) && (m = strtol(sub->fts_name + n + state->suflen + 1, … in visit()
[all …]
/titanic_53/usr/src/cmd/basename/
H A Dbasename.c44 char *suffix; in main() local
79 (void) fputs(gettext("Usage: basename string [ suffix ]\n"), in main()
85 suffix = (argc == 2) ? NULL : argv[2]; in main()
106 if (suffix == NULL) { in main()
113 * if a suffix is present and is not the same as the remaining in main()
117 if (strcmp(string, suffix) != 0) { in main()
118 p = string + strlen(string) - strlen(suffix); in main()
119 if (strcmp(p, suffix) == 0) in main()
128 suf_len = 6 + strlen(suffix) + 1 + 1; /* \(.*\)suffix$ */ in main()
139 (void) strcpy(suf_pat + 6, suffix); in main()
/titanic_53/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) in dst_s_filename_length() argument
241 if (suffix == NULL) in dst_s_filename_length()
243 if (strrchr(suffix, '\\')) in dst_s_filename_length()
245 if (strrchr(suffix, '/')) in dst_s_filename_length()
247 if (strrchr(suffix, ':')) in dst_s_filename_length()
249 return (1 + strlen(name) + 6 + strlen(suffix)); in dst_s_filename_length()
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&gt;
[all …]
/titanic_53/usr/src/man/man1m/
H A Dauditreduce.1m51 \fIstart-time\fR\fB\&.\fR\fI\|end-time\fR\fB\&.\fR\fI\|suffix\fR
60 closed, and \fIsuffix\fR is the name of the machine which generated the audit
61 trail file, or some other meaningful suffix (for example, \fBall\fR, if the
105 \fB\fB-D\fR \fIsuffix\fR\fR
112 implied. \fIsuffix\fR is given to the \fB-O\fR option. This helps prevent the
116 command line, the order of specification is significant. The \fIsuffix\fR
128 suffix. If \fB-M\fR is not specified, all files are processed regardless of
129 suffix. \fB-M\fR can also be used to allow selection of records from files that
130 contain combined records from many machines and have a common suffix (such as
152 \fB\fB-O\fR \fIsuffix\fR\fR
[all …]
H A Dramdiskadm.1m52 hexadecimal number, and can specify the size in bytes (no suffix), 512-byte
53 blocks (suffix \fBb\fR), kilobytes (suffix \fBk\fR), megabytes (suffix \fBm\fR)
54 or gigabytes (suffix \fBg\fR). The size of the ramdisk actually created might
/titanic_53/usr/src/cmd/ramdiskadm/
H A Dmain.c148 * use the minor name, having first stripped any ",raw" suffix. in di_callback()
218 char *suffix; in main() local
240 size = strtoll(argv[optind], &suffix, 0); in main()
241 if (strcmp(suffix, "b") == 0) { in main()
243 ++suffix; in main()
244 } else if (strcmp(suffix, "k") == 0) { in main()
246 ++suffix; in main()
247 } else if (strcmp(suffix, "m") == 0) { in main()
249 ++suffix; in main()
250 } else if (strcmp(suffix, "g") == 0) { in main()
[all …]
/titanic_53/usr/src/man/man1/
H A Dmake.190 Standard implicit rules (also known as suffix rules), typically read in from
1012 .SS "\fISuffix Replacement Macro References\fR"
1024 where \fIstring1\fR is either a suffix, or a word to be replaced in the macro
1025 definition, and \fIstring2\fR is the replacement suffix or word. Words in a
1042 suffix, \fInp\fR and \fIns\fR are the new prefix and new suffix, respectively,
1441 or by a suffix; the corresponding dependency file (with the same basename) from
1444 suffix.
1460 target suffix, \fIdp\fR is a dependency prefix, and \fIds\fR is a dependency
1461 suffix (any of which can be null). The \fB%\fR stands for a basename of zero or
1482 .SS "\fISuffix Rules\fR"
[all …]
H A Dbasename.116 \fB/usr/bin/basename\fR \fIstring\fR [\fIsuffix\fR]
21 \fB/usr/xpg4/bin/basename\fR \fIstring\fR [\fIsuffix\fR]
33 \fIsuffix\fR (if present in \fIstring\fR) from \fIstring\fR, and prints the
39 The \fIsuffix\fR is a pattern defined on the \fBexpr\fR(1) manual page.
43 The \fIsuffix\fR is a string with no special significance attached to any of
/titanic_53/usr/src/contrib/ast/src/cmd/INIT/
H A Dprobe.win32245 CC.SUFFIX.ARCHIVE = .a
246 CC.SUFFIX.COMMAND =
247 CC.SUFFIX.DEBUG = .pdb
248 CC.SUFFIX.DYNAMIC = .dll
249 CC.SUFFIX.LD = .def .exp .ign .res
250 CC.SUFFIX.OBJECT = .o
251 CC.SUFFIX.SHARED = .lib
252 CC.SUFFIX.SOURCE = .c
253 CC.SUFFIX.STATIC =
/titanic_53/usr/src/cmd/man/
H A Dmakewhatis.c56 char *suffix; member
95 free(info->suffix); in free_page_info()
109 char *suffix; in new_page_info() local
115 suffix = &dirent->d_name[basename_length]; in new_page_info()
119 if (--suffix == dirent->d_name || !isalnum(*suffix)) { in new_page_info()
120 if (*suffix == '.') in new_page_info()
127 *suffix++ = '\0'; in new_page_info()
129 info->suffix = strdup(suffix); in new_page_info()
268 no_page_exists(char *dir, stringlist *names, char *suffix) in no_page_exists() argument
278 dir, names->sl_str[i], suffix, suffixes[j]); in no_page_exists()
[all …]
/titanic_53/usr/src/cmd/csh/
H A Dprintf.c138 char *suffix; in _print() local
279 * zeroes, a suffix, and more padding in _print()
290 * The suffix is either null or an exponent, in _print()
291 * and is addressed by "suffix". in _print()
311 suffix = prefix; in _print()
474 suffix = &expbuf[MAXESIZ]; in _print()
475 *suffix = '\0'; in _print()
482 *--suffix = todigit(n % 10); in _print()
488 while (suffix > &expbuf[MAXESIZ - 2]) { in _print()
489 *--suffix = '0'; in _print()
[all …]
/titanic_53/usr/src/cmd/svc/lsvcrun/
H A Dlsvcrun.c35 * inode, the inode of the script; and suffix, the suffix of the
43 * suffix. The inode check means more than one script with the
44 * same suffix will still work as intended in the common case.
296 pg_match(scf_handle_t *h, scf_service_t *svc, ino_t ino, const char *suffix) in pg_match() argument
333 if (suffix != NULL) { in pg_match()
351 match = (strcmp(buf, suffix) == 0); in pg_match()
387 * stops. First we look for a matching inode plus a matching suffix.
389 * Finally, we try for just the script suffix.
396 char *suffix; in get_stop_pg() local
405 if ((suffix = script_suffix(script)) == NULL) { in get_stop_pg()
[all …]
/titanic_53/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, in _io_display_text() argument
139 * Get the length of the suffix string. in _io_display_text()
141 suffix_len = suffix ? strlen(suffix) : 0; in _io_display_text()
219 * If a suffix has been provided, pad out the end of the line with spaces in _io_display_text()
220 * such that the suffix will end in the right-most terminal column. in _io_display_text()
227 if(write_fn(data, suffix, suffix_len) != suffix_len) in _io_display_text()
H A Dcplmatch.c186 cpl->result.suffix = NULL; in new_WordCompletion()
274 * suffix const char * The appropriately quoted string that could
296 int word_start, int word_end, const char *suffix, in cpl_add_completion() argument
307 if(!suffix) in cpl_add_completion()
331 * new suffix. in cpl_add_completion()
333 len = strlen(suffix); in cpl_add_completion()
344 strlcpy(string + word_end - word_start, suffix, len + 1); in cpl_add_completion()
350 match->suffix = string + word_end - word_start; in cpl_add_completion()
353 * Record the continuation suffix. in cpl_add_completion()
415 return strcmp(m1->suffix, m2->suffix); in cpl_cmp_suffixes()
[all …]
H A Dcplfile.c104 static int cf_prepare_suffix(CompleteFile *cf, const char *suffix,
572 * Report the completion suffix that was copied above. in HOME_DIR_FN()
695 * Copy the completion suffix into the work pathname cf->buff->name, in cf_complete_entry()
704 * To check the type of the file, append the current suffix in cf_complete_entry()
708 const char *cont_suffix = ""; /* The suffix to add if fully */ in cf_complete_entry()
710 const char *type_suffix = ""; /* The suffix to add when listing */ in cf_complete_entry()
731 * Remove the temporarily added suffix. in cf_complete_entry()
804 * given completion suffix, ready to be passed to cpl_add_completion().
808 * suffix char * The suffix to be copied.
814 static int cf_prepare_suffix(CompleteFile *cf, const char *suffix, in cf_prepare_suffix() argument
[all …]
/titanic_53/usr/src/contrib/ast/src/lib/libdll/
H A Ddllscan.c163 info.suffix = astconf("LIBSUFFIX", NiL, NiL); in dllinfo()
164 if (streq(info.suffix, ".dll")) in dllinfo()
256 if (!version && streq(info->suffix, ".dylib")) in dllsopen()
277 k = strlen(info->suffix); in dllsopen()
278 if (i > k && streq(name + i - k, info->suffix)) in dllsopen()
305 sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s", info->prefix, name, info->suffix); in dllsopen()
313 sfprintf(scan->tmp, "%s", info->suffix); in dllsopen()
319 sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s.%s", info->prefix, name, info->suffix, version); in dllsopen()
335 sfsprintf(scan->pat, sizeof(scan->pat), "%s%s%s%s", info->prefix, name, version, info->suffix); in dllsopen()
338 …nfo->prefix, name, strchr(version, '.') ? "@" : "?", version, info->suffix, info->suffix, version); in dllsopen()
[all …]
/titanic_53/usr/src/cmd/oamuser/user/
H A Dfuncs.c252 char *suffix; in check_auth() local
260 if ((suffix = index(authname, KV_OBJECTCHAR)) != NULL) in check_auth()
261 *suffix = '\0'; in check_auth()
263 /* Find the suffix */ in check_auth()
264 if ((suffix = rindex(authname, '.')) == NULL) in check_auth()
268 suffix++; in check_auth()
269 if (strcmp(suffix, KV_WILDCARD)) { /* Not a wildcard */ in check_auth()
280 if (strcmp(suffix, "grant")) { /* Not a grant option */ in check_auth()
284 while ((suffix = rindex(authtoks, '.')) && in check_auth()
286 strcpy(suffix, ".grant"); in check_auth()
[all …]
/titanic_53/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, in generic_gss_oid_compose() argument
462 osuffix = suffix; in generic_gss_oid_compose()
463 while (suffix) { in generic_gss_oid_compose()
465 suffix >>= 7; in generic_gss_oid_compose()
467 suffix = osuffix; in generic_gss_oid_compose()
476 while (suffix) { in generic_gss_oid_compose()
477 op[i] = (unsigned char)suffix & 0x7f; in generic_gss_oid_compose()
481 suffix >>= 7; in generic_gss_oid_compose()
496 int *suffix) in generic_gss_oid_decompose() argument
[all …]
/titanic_53/usr/src/ucblib/libucb/port/stdio/
H A Ddoprnt.c88 #define SUFFIX 128 /* a suffix is to appear in the output */ macro
198 char *suffix; in _doprnt() local
203 /* Length of prefix and of suffix */ in _doprnt()
206 /* Combined length of leading zeroes, trailing zeroes, and suffix */ in _doprnt()
460 * right padding zeroes, a suffix, and in _doprnt()
473 * The suffix is either null or an in _doprnt()
474 * exponent, and is addressed by "suffix". in _doprnt()
475 * If there is a suffix, the flagword bit in _doprnt()
476 * SUFFIX will be set. in _doprnt()
756 *(suffix = &expbuf[MAXESIZ]) = '\0'; in _doprnt()
[all …]
/titanic_53/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetfilter.c225 ldap_set_filter_additions( LDAPFiltDesc *lfdp, char *prefix, char *suffix ) in ldap_set_filter_additions() argument
239 lfdp->lfd_filtsuffix = ( suffix == NULL ) ? NULL : nsldapi_strdup( suffix ); in ldap_set_filter_additions()
250 ldap_setfilteraffixes( LDAPFiltDesc *lfdp, char *prefix, char *suffix ) in ldap_setfilteraffixes() argument
252 (void)ldap_set_filter_additions( lfdp, prefix, suffix ); in ldap_setfilteraffixes()
401 char *prefix, char *suffix, char *attr, char *value, char **valwords ) in ldap_create_filter() argument
488 if ( suffix != NULL && f != NULL) { in ldap_create_filter()
489 f = filter_add_strn( f, flimit, suffix, strlen( suffix )); in ldap_create_filter()
507 char *prefix, char *suffix, char *attr, char *value, char **valwords ) in ldap_build_filter() argument
509 (void)ldap_create_filter( filtbuf, buflen, pattern, prefix, suffix, attr, in ldap_build_filter()
/titanic_53/usr/src/man/man3tecla/
H A Dcpl_complete_word.3tecla104 \fBint\fR \fIword_start\fR, \fBint\fR \fIword_end\fR, \fBconst char *\fR\fIsuffix\fR,
181 \fIword_end\fR if a zero-length string is being completed. The \fIsuffix\fR
185 line, this should be included. A copy of the suffix string is allocated
191 function returns, the suffix recorded by \fBcpl_add_completion()\fR is listed
192 along with the concatentation of this suffix with the word that lies between
208 The \fIcont_suffix\fR argument is a continuation suffix to append to the
242 char *suffix; /* The part of the */
247 const char *type_suffix; /* A suffix to be added when */
254 char *suffix; /* The common initial part */
/titanic_53/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dreservation_001_neg.ksh47 set -A suffix "b" "k" "m" "t" "p" "e" "K" "M" "G" "T" "P" "E" "kb" "Mb" "Gb" \
67 while (( $j < ${#suffix[*]} )); do
70 reservation=${values[$i]}${suffix[$j]} $obj \
75 reservation=${values[$i]}${suffix[$j]} $obj"

12345678910>>...20