Searched defs:suffix (Results 51 - 75 of 101) sorted by relevance

12345

/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Druntests.c617 char *basestr, *suffix, *dirstr, *dirpath; local
630 suffix = basename(basestr);
632 while (*suffix != '.' && *suffix != '\0') {
633 suffix += 1;
636 if (asprintf(&acqprog, "%s/acquire-lock%s", dirpath, suffix) < 0) {
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_ident.c52 int argc, dt_node_t *args, const char *prefix, const char *suffix)
75 "passed, %s%d expected\n", prefix, idp->di_name, suffix,
91 prefix, idp->di_name, suffix,
51 dt_idcook_sign(dt_node_t *dnp, dt_ident_t *idp, int argc, dt_node_t *args, const char *prefix, const char *suffix) argument
H A Ddt_options.c700 } suffix[] = { local
723 for (i = 0; suffix[i].name != NULL; i++) {
724 if (strcasecmp(suffix[i].name, end) == 0) {
725 mul = suffix[i].mul;
730 if (suffix[i].name == NULL && *end != '\0' || val < 0)
/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplmatch.c186 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 Dpcache.c216 * Make a copy of a completion suffix, suitable for passing to
219 static int pca_prepare_suffix(PathCache *pc, const char *suffix,
1366 * Copy the completion suffix into the work pathname pc->path->name,
1431 * given completion suffix, ready to be passed to cpl_add_completion().
1435 * suffix char * The suffix to be copied.
1441 static int pca_prepare_suffix(PathCache *pc, const char *suffix, argument
1444 const char *sptr; /* A pointer into suffix[] */
1445 int nbsl; /* The number of backslashes to add to the suffix */
1448 * How long is the suffix
[all...]
/illumos-gate/usr/src/lib/libtecla/
H A Dlibtecla.h227 * pathlen int The length of the suffix of path[] that
1274 * an optional suffix can be specified to be displayed at the end of
1293 * suffix const char * An optional suffix string to draw at the end
1295 * where necessary to ensure that the suffix ends
1297 * no suffix is desired, specify NULL.
1299 * the line or padding up to the suffix.
1324 const char *suffix, int fill_char, int def_width,
1549 * suffix const char * The appropriately quoted string that could
1571 int word_start, int word_end, const char *suffix,
1580 char *suffix; /* The pointer into completion[] at which the */ member in struct:__anon4116
1590 char *suffix; /* The common initial part of all of the */ member in struct:__anon4117
[all...]
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Ddoprnt.c146 char *suffix; local
154 /* Length of exponent suffix. */
503 * zeroes, a suffix, and more padding
514 * The suffix is either null or an exponent,
515 * and is addressed by "suffix".
535 suffix = prefix;
751 { suffix = &(expbuf[4]) ; suffixlength = 4 ; }
753 { suffix = &(expbuf[3]) ; suffixlength = 5 ; }
755 { suffix = &(expbuf[2]) ; suffixlength = 6 ; }
757 *--suffix
[all...]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tar.c1402 prefixdir(char *dir, char *suffix) argument
1405 char *tend, *send; /* tmp and suffix end */
1407 if (dir == NULL || suffix == NULL)
1410 if (*suffix == '\0')
1418 send = &suffix[strlen(suffix)];
1422 * the suffix match.
1424 while (tend >= tmp && send >= suffix)
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dcommon.c213 char *suffix = "k"; local
235 suffix = "bytes";
246 rank_string(++rank), user, id, name, size, suffix);
251 suffix);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c112 u_char suffix; /* last character of new code */ member in struct:bsd_db::bsd_dict::__anon125::__anon126
116 u_char suffix; /* last character of new code */
164 #define BSD_HASH(prefix,suffix,hshift) ((((u_int32_t)(suffix)) << (hshift)) \
166 #define BSD_KEY(prefix,suffix) ((((u_int32_t)(suffix)) << 16) \
473 continue; /* found (prefix,suffix) */
487 continue; /* finally found (prefix,suffix) */
670 *--p = dictp->f.hs.suffix;
/illumos-gate/usr/src/cmd/man/
H A Dmakewhatis.c56 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/cmd/fm/eversholt/common/
H A Dtree.c720 tree_timeval(const char *s, const char *suffix, const char *file, int line) argument
726 ASSERT(suffix != NULL);
728 if ((ullp = lex_s2ullp_lut_lookup(Timesuffixlut, suffix)) == NULL) {
730 "unrecognized number suffix: %s", suffix);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_module.c965 *p = '\0'; /* eliminate any trailing .dict suffix */
1056 const fmd_modops_t *ops, const char *suffix)
1075 if (suffix != NULL && (p == NULL || strcmp(p, suffix) != 0))
1076 continue; /* skip files with the wrong suffix */
1087 const fmd_modops_t *ops, const char *suffix)
1092 fmd_modhash_loaddir(mhp, pap->cpa_argv[i], ops, suffix);
1055 fmd_modhash_loaddir(fmd_modhash_t *mhp, const char *dir, const fmd_modops_t *ops, const char *suffix) argument
1086 fmd_modhash_loadall(fmd_modhash_t *mhp, const fmd_conf_path_t *pap, const fmd_modops_t *ops, const char *suffix) argument
H A Dfmd_conf.c420 } suffix[] = { local
452 for (i = 0; suffix[i].name != NULL; i++) {
453 if (strcasecmp(suffix[i].name, end) == 0) {
454 mul = suffix[i].mul;
459 if (suffix[i].name == NULL && *end != '\0')
/illumos-gate/usr/src/cmd/syseventadm/
H A Dsyseventadm.c435 char *suffix; local
480 suffix = strrchr(dp->d_name, ',');
481 if (suffix && strcmp(suffix, SYSEVENT_CONF_SUFFIX) == 0) {
/illumos-gate/usr/src/uts/common/dtrace/
H A Dprofile.c195 const char *name, *suffix = NULL; local
272 * We need to start before any time suffix.
277 suffix = &name[j];
280 ASSERT(suffix != NULL);
297 * Look-up the suffix to determine the multiplier.
300 if (strcasecmp(suffixes[i].name, suffix) == 0) {
306 if (suffixes[i].name == NULL && *suffix != '\0')
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Ddoprnt.c88 #define SUFFIX 128 /* a suffix is to appear in the output */
198 char *suffix; local
203 /* Length of prefix and of suffix */
206 /* Combined length of leading zeroes, trailing zeroes, and suffix */
460 * right padding zeroes, a suffix, and
473 * The suffix is either null or an
474 * exponent, and is addressed by "suffix".
475 * If there is a suffix, the flagword bit
756 *(suffix = &expbuf[MAXESIZ]) = '\0';
762 *--suffix
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_browser.c772 addr_entry_t *addr, char suffix)
787 smb_init_name_struct((unsigned char *)resource_domain, suffix,
793 smb_init_name_struct((unsigned char *)resource_domain, suffix,
770 smb_browser_send_HostAnnouncement(smb_hostinfo_t *hinfo, uint32_t next_announcement, boolean_t remove, addr_entry_t *addr, char suffix) argument
/illumos-gate/usr/src/lib/libast/common/comp/
H A Domitted.c53 * (1) .exe suffix inconsistencies
89 suffix(register const char* path) function
109 if (suffix(path))
114 else if (!suffix(buf) && ((buf + size) - s) >= 4)
235 !suffix(path) &&
687 if (!suffix(path) && !fstat(fd, &st) && (exe[fd] || (exe[fd] = (Exe_test_t*)malloc(sizeof(Exe_test_t)))))
785 int suffix; local
853 suffix = (getpid() & 0xfff) + count++;
854 snprintf(tmp, sizeof(tmp), deleted, drive, base, suffix);
895 stop = suffix;
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_prop.c943 const char *suffix; local
947 suffix = strchr(za.za_name, '$');
949 if (suffix == NULL) {
959 } else if (strcmp(suffix, ZPROP_INHERIT_SUFFIX) == 0) {
962 } else if (strcmp(suffix, ZPROP_RECVD_SUFFIX) == 0) {
966 (void) strncpy(buf, za.za_name, (suffix - za.za_name));
967 buf[suffix - za.za_name] = '\0';
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dregcomp.c1653 * on the already-matched suffix.
1661 int suffix; /* Keeps track of matching suffix */ local
1662 int ssuffix; /* Keeps track of suffixes' suffix */
1689 for (mindex = g->mlen - 1, suffix = g->mlen; mindex >= 0;
1690 mindex--, suffix--) {
1691 pmatches[mindex] = suffix;
1697 * against the suffix will also mismatch against the
1700 while (suffix < g->mlen && g->must[mindex] != g->must[suffix]) {
[all...]
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool.c199 char *suffix; local
213 suffix = "";
216 suffix = PCI_MINOR_INTR;
221 suffix = "";
224 suffix = PCI_MINOR_REG;
235 stringsize = strlen(prefix) + strlen(device) + strlen(suffix) + 2;
239 (void) snprintf(path, stringsize, format, prefix, device, suffix);
891 /* Strip off the suffix at the end of the nexus path. */
/illumos-gate/usr/src/cmd/lms/
H A DProtocol.cpp1383 bool Protocol::_compareDNSSuffix(std::string AMTDNSSuffix, std::string suffix) argument
1385 if (AMTDNSSuffix.size() > suffix.size()) {
1389 if ((AMTDNSSuffix.size() < suffix.size()) &&
1390 (suffix[suffix.size()-AMTDNSSuffix.size()-1] != '.')) {
1394 if (strnicmp(suffix.c_str() + suffix.size()-AMTDNSSuffix.size(),
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_frame2.c1454 char *suffix = 0; local
1465 suffix = augmentation + 1;
1467 /* Prefix is 'eh'. As in gcc 3.2. No suffix present
1469 suffix = augmentation + 2;
1471 for (; *suffix; ++suffix) {
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c128 uchar_t suffix; /* last character of new code */ member in struct:bsd_db::bsd_dict::__anon6443::__anon6444
132 uchar_t suffix; /* last character of new code */
198 #define BSD_HASH(prefix, suffix, hshift) \
199 ((((uint32_t)(suffix)) << (hshift)) ^ (uint32_t)(prefix))
201 #define BSD_KEY(prefix, suffix) \
202 ((((uint32_t)(suffix)) << 16) + (uint32_t)(prefix))
749 * found (prefix,suffix)
783 * finally found (prefix,suffix)
982 continue; /* found (prefix,suffix) */
1011 continue; /* finally found (prefix,suffix) */
[all...]

Completed in 184 milliseconds

12345