/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/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/lib/libtecla/common/ |
H A D | ioutil.h | 72 const char *prefix, const char *suffix, int fill_char,
|
H A D | cplmatch.c | 186 cpl->result.suffix = NULL; 274 * suffix const char * The appropriately quoted string that could 296 int word_start, int word_end, const char *suffix, 307 if(!suffix) 331 * new suffix. 333 len = strlen(suffix); 344 strlcpy(string + word_end - word_start, suffix, len + 1); 350 match->suffix = string + word_end - word_start; 353 * Record the continuation suffix. 415 return strcmp(m1->suffix, m 295 cpl_add_completion(WordCompletion *cpl, const char *line, int word_start, int word_end, const char *suffix, const char *type_suffix, const char *cont_suffix) argument [all...] |
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/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/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/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...] |
/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/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | reservation_001_neg.ksh | 51 set -A suffix "b" "k" "m" "t" "p" "e" "K" "M" "G" "T" "P" "E" "kb" "Mb" "Gb" \ 71 while (( $j < ${#suffix[*]} )); do 74 reservation=${values[$i]}${suffix[$j]} $obj \ 79 reservation=${values[$i]}${suffix[$j]} $obj"
|
/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/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/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/make/bin/ |
H A D | implicit.cc | 29 * 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 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. */ 172 /* Scan the suffix list for the target if one exists. */ 183 suffix 498 register Dependency suffix; local 595 register Dependency suffix; local 702 register Property suffix; local 1214 Name suffix = pat_rule->patterns[pat_rule->patterns_total - 1]; local [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | printf.c | 138 char *suffix; local 279 * zeroes, a suffix, and more padding 290 * The suffix is either null or an exponent, 291 * and is addressed by "suffix". 311 suffix = prefix; 474 suffix = &expbuf[MAXESIZ]; 475 *suffix = '\0'; 482 *--suffix = todigit(n % 10); 488 while (suffix > &expbuf[MAXESIZ - 2]) { 489 *--suffix [all...] |
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | dynamic_machelf.c | 79 conv_arg.prefix = conv_arg.suffix = MSG_ORIG(MSG_STR_EMPTY); 81 conv_arg.prefix = conv_arg.suffix = NULL; 122 conv_arg.prefix = conv_arg.suffix = MSG_ORIG(MSG_STR_EMPTY); 124 conv_arg.prefix = conv_arg.suffix = NULL;
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_string.c | 155 } suffix[] = { local 177 for (i = 0; suffix[i].name != NULL; i++) { 178 if (strcasecmp(suffix[i].name, units) == 0) { 179 mul = suffix[i].mul; 184 if (suffix[i].name == NULL && *units != '\0')
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | funcs.c | 252 char *suffix; local 260 if ((suffix = index(authname, KV_OBJECTCHAR)) != NULL) 261 *suffix = '\0'; 263 /* Find the suffix */ 264 if ((suffix = rindex(authname, '.')) == NULL) 268 suffix++; 269 if (strcmp(suffix, KV_WILDCARD)) { /* Not a wildcard */ 280 if (strcmp(suffix, "grant")) { /* Not a grant option */ 284 while ((suffix = rindex(authtoks, '.')) && 286 strcpy(suffix, " [all...] |
/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/libdll/common/ |
H A D | dllscan.c | 163 info.suffix = astconf("LIBSUFFIX", NiL, NiL); 164 if (streq(info.suffix, ".dll")) 254 if (!version && streq(info->suffix, ".dylib")) 285 sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s", info->prefix, name, info->suffix); 293 sfprintf(scan->tmp, "%s", info->suffix); 299 sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s.%s", info->prefix, name, info->suffix, version); 315 sfsprintf(scan->pat, sizeof(scan->pat), "%s%s%s%s", info->prefix, name, version, info->suffix); 318 sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(%s([-.])%s%s|%s.%s)", info->prefix, name, strchr(version, '.') ? "@" : "?", version, info->suffix, info->suffix, version); 322 sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(?([-.])%s%s|%s%s)", info->prefix, name, version, info->suffix, inf [all...] |
/illumos-gate/usr/src/cmd/man/ |
H A D | makewhatis.c | 56 char *suffix; member in struct:page_info 95 free(info->suffix); 109 char *suffix; local 115 suffix = &dirent->d_name[basename_length]; 119 if (--suffix == dirent->d_name || !isalnum(*suffix)) { 120 if (*suffix == '.') 127 *suffix++ = '\0'; 129 info->suffix = strdup(suffix); 268 no_page_exists(char *dir, stringlist *names, char *suffix) argument 489 add_whatis_name(char *name, char *suffix) argument [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getfilter.c | 225 ldap_set_filter_additions( LDAPFiltDesc *lfdp, char *prefix, char *suffix ) 239 lfdp->lfd_filtsuffix = ( suffix == NULL ) ? NULL : nsldapi_strdup( suffix ); 250 ldap_setfilteraffixes( LDAPFiltDesc *lfdp, char *prefix, char *suffix ) 252 (void)ldap_set_filter_additions( lfdp, prefix, suffix ); 401 char *prefix, char *suffix, char *attr, char *value, char **valwords ) 488 if ( suffix != NULL && f != NULL) { 489 f = filter_add_strn( f, flimit, suffix, strlen( suffix )); 507 char *prefix, char *suffix, cha 400 ldap_create_filter( char *filtbuf, unsigned long buflen, char *pattern, char *prefix, char *suffix, char *attr, char *value, char **valwords ) argument 506 ldap_build_filter( char *filtbuf, size_t buflen, char *pattern, char *prefix, char *suffix, char *attr, char *value, char **valwords ) argument [all...] |
/illumos-gate/usr/src/cmd/svc/lsvcrun/ |
H A D | lsvcrun.c | 35 * 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) argument 333 if (suffix != NULL) { 351 match = (strcmp(buf, suffix) == 0); 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; local 707 char *suffix; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | fsck.c | 162 char *suffix = NULL; local 168 actualDisk = stat_actual_disk(special, &dinfo, &suffix); 183 if (suffix) { 185 findPartitionOffset(*inFD, suffix)) < 0) { 189 suffix);
|