/titanic_44/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 != NULL) { [all …]
|
/titanic_44/usr/src/cmd/basename/ |
H A D | basename.c | 44 char *suffix; in main() local 85 suffix = (argc == 2) ? NULL : argv[2]; in main() 106 if (suffix == NULL) { 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_44/usr/src/cmd/ramdiskadm/ |
H A D | main.c | 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() 252 ++suffix; in main() [all …]
|
/titanic_44/usr/src/lib/libresolv2/common/dst/ |
H A D | support.c | 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() 267 int alg, const char *suffix, size_t filename_length) in dst_s_build_filename() argument 275 if (suffix == NULL) in dst_s_build_filename() 277 if (filename_length < 1 + strlen(name) + 4 + 6 + 1 + strlen(suffix)) in dst_s_build_filename() 281 (const char *) suffix); in dst_s_build_filename()
|
/titanic_44/usr/src/cmd/make/bin/ |
H A D | implicit.cc | 183 suffix.suffix->string_mb, in find_suffix_rule() 185 suffix.suffix->hash.length); in find_suffix_rule() 187 suffix.suffix->hash.length] = in find_suffix_rule() 291 suffix.suffix->with_squiggle, in find_suffix_rule() 406 source_suffix->body.suffix.suffix->string_mb, in find_suffix_rule() 422 source_suffix->body.suffix.command_template; in find_suffix_rule() 498 register Dependency suffix; in find_ar_suffix_rule() local 527 for (suffix = suffixes; suffix != NULL; suffix = suffix->next) { in find_ar_suffix_rule() 529 suffix_length = suffix->name->hash.length; in find_ar_suffix_rule() 530 suf_string.init(suffix->name); in find_ar_suffix_rule() [all …]
|
/titanic_44/usr/src/cmd/csh/ |
H A D | printf.c | 138 char *suffix; in _print() local 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() 493 *--suffix = (decpt > 0 || dval == 0) ? in _print() 497 *--suffix = isupper(fcode) ? 'E' : 'e'; in _print() 713 - strlen(suffix) in _print() [all …]
|
/titanic_44/usr/src/lib/libtecla/common/ |
H A D | cplmatch.c | 186 cpl->result.suffix = NULL; in new_WordCompletion() 296 int word_start, int word_end, const char *suffix, in cpl_add_completion() argument 307 if(!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() 415 return strcmp(m1->suffix, m2->suffix); in cpl_cmp_suffixes() 453 first = result->matches[0].suffix; in cpl_common_suffix() 454 last = result->matches[result->nmatch - 1].suffix; in cpl_common_suffix() 466 length = first - result->matches[0].suffix; in cpl_common_suffix() [all …]
|
H A D | ioutil.c | 102 const char *prefix, const char *suffix, int fill_char, in _io_display_text() argument 141 suffix_len = suffix ? strlen(suffix) : 0; in _io_display_text() 227 if(write_fn(data, suffix, suffix_len) != suffix_len) in _io_display_text()
|
/titanic_44/usr/src/cmd/man/ |
H A D | makewhatis.c | 56 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_44/usr/src/cmd/oamuser/user/ |
H A D | funcs.c | 252 char *suffix; in check_auth() local 260 if ((suffix = index(authname, KV_OBJECTCHAR)) != NULL) in check_auth() 261 *suffix = '\0'; 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() 290 *suffix = '\0'; in check_auth()
|
/titanic_44/usr/src/lib/libcmd/common/ |
H A D | basename.c | 62 static void namebase(Sfio_t *outfile, register char *pathname, char *suffix) in namebase() argument 83 if(suffix && (n=strlen(suffix)) && n<(last-first)) in namebase() 85 if(memcmp(last-n,suffix,n)==0) in namebase()
|
/titanic_44/usr/src/tools/cscope-fast/ |
H A D | vpinit.c | 50 char *suffix; /* path from view path node */ in vpinit() local 84 suffix = ¤tdir[i]; in vpinit() 116 s = mymalloc((strlen(vpdirs[i]) + strlen(suffix) + 1)); in vpinit() 118 (void) strcat(s, suffix); in vpinit()
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | oid_ops.c | 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 508 *suffix = 0; in generic_gss_oid_decompose() [all …]
|
/titanic_44/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getfilter.c | 225 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_44/usr/src/lib/libdll/common/ |
H A D | dllscan.c | 163 info.suffix = astconf("LIBSUFFIX", NiL, NiL); in dllinfo() 164 if (streq(info.suffix, ".dll")) in dllinfo() 254 if (!version && streq(info->suffix, ".dylib")) in dllsopen() 285 sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s", info->prefix, name, info->suffix); in dllsopen() 293 sfprintf(scan->tmp, "%s", info->suffix); in dllsopen() 299 sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s.%s", info->prefix, name, info->suffix, version); in dllsopen() 315 sfsprintf(scan->pat, sizeof(scan->pat), "%s%s%s%s", info->prefix, name, version, info->suffix); in dllsopen() 318 …nfo->prefix, name, strchr(version, '.') ? "@" : "?", version, info->suffix, info->suffix, version); in dllsopen() 322 …pat), "%s%s@(?([-.])%s%s|%s%s)", info->prefix, name, version, info->suffix, info->suffix, version); in dllsopen() 327 scan->suflen = strlen(info->suffix); in dllsopen()
|
/titanic_44/usr/src/cmd/svc/lsvcrun/ |
H A D | lsvcrun.c | 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() 396 char *suffix; in get_stop_pg() local 405 if ((suffix = script_suffix(script)) == NULL) { in get_stop_pg() 412 if ((pg = pg_match(h, svc, st.st_ino, suffix)) != NULL) in get_stop_pg() 418 if ((pg = pg_match(h, svc, 0, suffix)) == NULL) { in get_stop_pg() 421 free(suffix); in get_stop_pg() 427 free(suffix); in get_stop_pg() 707 char *suffix; in set_legacy_service() local [all …]
|
/titanic_44/usr/src/cmd/fm/fminject/common/ |
H A D | inj_string.c | 155 } suffix[] = { in inj_strtime() local 177 for (i = 0; suffix[i].name != NULL; i++) { in inj_strtime() 178 if (strcasecmp(suffix[i].name, units) == 0) { in inj_strtime() 179 mul = suffix[i].mul; in inj_strtime() 184 if (suffix[i].name == NULL && *units != '\0') in inj_strtime()
|
/titanic_44/usr/src/cmd/lp/lib/lp/ |
H A D | printlist.c | 59 printlist_setup(char *prefix, char *suffix, char *sep, char *newline) in printlist_setup() argument 63 if (suffix) in printlist_setup() 64 print_suffix = suffix; in printlist_setup()
|
H A D | sdn.c | 55 printsdn_setup(char *prefix, char *suffix, char *newline) in printsdn_setup() argument 59 if (suffix) in printsdn_setup() 60 print_suffix = suffix; in printsdn_setup()
|
/titanic_44/usr/src/cmd/sgs/libconv/common/ |
H A D | dynamic_machelf.c | 79 conv_arg.prefix = conv_arg.suffix = MSG_ORIG(MSG_STR_EMPTY); in conv_dyn_flag() 81 conv_arg.prefix = conv_arg.suffix = NULL; in conv_dyn_flag() 122 conv_arg.prefix = conv_arg.suffix = MSG_ORIG(MSG_STR_EMPTY); in conv_dyn_feature1() 124 conv_arg.prefix = conv_arg.suffix = NULL; in conv_dyn_feature1()
|
/titanic_44/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/ |
H A D | _BSMparse.pm | 59 my $suffix = ''; 60 $suffix = shift if (@_); # test, again 65 ("$attrDir/audit_record_attr$suffix", 66 "$configDir/audit_class$suffix", 67 "$configDir/audit_control$suffix", 68 "$configDir/audit_event$suffix", 69 "$configDir/audit_user$suffix");
|
/titanic_44/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | fsck.c | 162 char *suffix = NULL; in openFS() local 168 actualDisk = stat_actual_disk(special, &dinfo, &suffix); in openFS() 183 if (suffix) { in openFS() 185 findPartitionOffset(*inFD, suffix)) < 0) { in openFS() 189 suffix); in openFS()
|
/titanic_44/usr/src/lib/libbc/libc/stdio/common/ |
H A D | doprnt.c | 146 char *suffix; in _doprnt() local 535 suffix = prefix; in _doprnt() 751 { suffix = &(expbuf[4]) ; suffixlength = 4 ; } in _doprnt() 753 { suffix = &(expbuf[3]) ; suffixlength = 5 ; } in _doprnt() 755 { suffix = &(expbuf[2]) ; suffixlength = 6 ; } in _doprnt() 757 *--suffix = (decpt > 0 || convertbuffer[0] == '0' )? '+': '-'; in _doprnt() 760 *--suffix = fcode; in _doprnt() 940 - strlen(suffix) in _doprnt() 972 while (*suffix != '\0') { in _doprnt() 973 emitchar(*suffix); in _doprnt() [all …]
|
/titanic_44/usr/src/lib/libast/common/comp/ |
H A D | omitted.c | 89 suffix(register const char* path) in suffix() function 109 if (suffix(path)) in execrate() 114 else if (!suffix(buf) && ((buf + size) - s) >= 4) in execrate() 235 !suffix(path) && in chmod() 687 …if (!suffix(path) && !fstat(fd, &st) && (exe[fd] || (exe[fd] = (Exe_test_t*)malloc(sizeof(Exe_test… in open() 785 int suffix; in unlink() local 853 suffix = (getpid() & 0xfff) + count++; in unlink() 854 snprintf(tmp, sizeof(tmp), deleted, drive, base, suffix); in unlink() 895 stop = suffix; in unlink() 898 snprintf(tmp, sizeof(tmp), deleted, drive, base, suffix); in unlink() [all …]
|
/titanic_44/usr/src/lib/libc/port/locale/ |
H A D | regcomp.c | 1661 int suffix; /* Keeps track of matching suffix */ in computematchjumps() local 1689 for (mindex = g->mlen - 1, suffix = g->mlen; mindex >= 0; in computematchjumps() 1690 mindex--, suffix--) { in computematchjumps() 1691 pmatches[mindex] = suffix; in computematchjumps() 1700 while (suffix < g->mlen && g->must[mindex] != g->must[suffix]) { in computematchjumps() 1701 g->matchjump[suffix] = MIN(g->matchjump[suffix], in computematchjumps() 1703 suffix = pmatches[suffix]; in computematchjumps() 1712 for (mindex = 0; mindex <= suffix; mindex++) in computematchjumps() 1714 g->mlen + suffix - mindex); in computematchjumps() 1716 ssuffix = pmatches[suffix]; in computematchjumps() [all …]
|