Home
last modified time | relevance | path

Searched refs:cf (Results 1 – 25 of 152) sorted by relevance

1234567

/titanic_50/usr/src/lib/libtecla/common/
H A Dcplfile.c92 static int cf_expand_home_dir(CompleteFile *cf, const char *user);
93 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl,
97 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl,
101 static char *cf_read_name(CompleteFile *cf, const char *type,
104 static int cf_prepare_suffix(CompleteFile *cf, const char *suffix,
112 CompleteFile *cf; /* The file-completion resource object */ member
129 CompleteFile *cf; /* The object to be returned */ in _new_CompleteFile() local
133 cf = (CompleteFile *) malloc(sizeof(CompleteFile)); in _new_CompleteFile()
134 if(!cf) { in _new_CompleteFile()
143 cf->err = NULL; in _new_CompleteFile()
[all …]
H A Dcplfile.h46 CompleteFile *_del_CompleteFile(CompleteFile *cf);
83 int _cf_complete_file(WordCompletion *cpl, CompleteFile *cf,
96 const char *_cf_last_error(CompleteFile *cf);
/titanic_50/usr/src/cmd/syslogd/
H A Dconf.c117 grow_conf_file(conf_t *cf) in grow_conf_file() argument
119 int ndsize = cf->cf_dsize ? cf->cf_dsize * CF_GROW : CF_DEFSIZE; in grow_conf_file()
120 void *ndtab = realloc(cf->cf_dtab, sizeof (char *) * ndsize); in grow_conf_file()
130 lines = ndsize - cf->cf_dsize; in grow_conf_file()
131 odsize = cf->cf_dsize; in grow_conf_file()
133 cf->cf_dtab = (char **)ndtab; in grow_conf_file()
134 cf->cf_dsize = ndsize; in grow_conf_file()
142 cf->cf_dtab[odsize + i] = p; in grow_conf_file()
149 conf_open(conf_t *cf, const char *cmd, char *argv[]) in conf_open() argument
155 (void) memset(cf, 0, sizeof (conf_t)); in conf_open()
[all …]
/titanic_50/usr/src/cmd/sendmail/cf/
H A DMakefile31 CFS= sendmail.cf submit.cf
33 SUBCFS= cf/sendmail.cf cf/submit.cf
35 COMMONM4FILES= m4/version.m4 m4/cf.m4 m4/cfhead.m4 m4/proto.m4 \
43 ROOTETCMAILCF = $(ROOTETCMAIL)/cf
46 $(ROOTETCMAILCF)/cf/Makefile \
47 $(ROOTETCMAILCF)/cf/sendmail.cf \
48 $(ROOTETCMAILCF)/cf/sendmail.mc \
49 $(ROOTETCMAILCF)/cf/submit.cf \
50 $(ROOTETCMAILCF)/cf/submit.mc \
110 $(ROOTETCMAILCF)/m4/cf.m4 \
[all …]
/titanic_50/usr/src/pkg/manifests/
H A Dservice-network-smtp-sendmail.mf35 dir path=etc/mail/cf group=mail
36 dir path=etc/mail/cf/cf group=mail
37 dir path=etc/mail/cf/domain group=mail
38 dir path=etc/mail/cf/feature group=mail
39 dir path=etc/mail/cf/m4 group=mail
40 dir path=etc/mail/cf/mailer group=mail
41 dir path=etc/mail/cf/ostype group=mail
42 dir path=etc/mail/cf/sh group=mail
73 file path=etc/mail/cf/README group=mail mode=0444
74 file path=etc/mail/cf/cf/Makefile group=mail mode=0444
[all …]
/titanic_50/usr/src/cmd/svc/startd/
H A Dmisc.c81 char *cf; in fmri_canonify() local
83 cf = startd_alloc(max_scf_fmri_size); in fmri_canonify()
92 if (strlcpy(cf, fmri, max_scf_fmri_size) >= max_scf_fmri_size || in fmri_canonify()
93 scf_parse_svc_fmri(cf, NULL, NULL, &instance, &pg, in fmri_canonify()
95 startd_free(cf, max_scf_fmri_size); in fmri_canonify()
100 startd_free(cf, max_scf_fmri_size); in fmri_canonify()
105 if (scf_canonify_fmri(fmri, cf, max_scf_fmri_size) < 0) { in fmri_canonify()
106 startd_free(cf, max_scf_fmri_size); in fmri_canonify()
110 *retp = cf; in fmri_canonify()
/titanic_50/usr/src/uts/common/cpr/
H A Dcpr_misc.c177 struct cprconfig *cf = &cprconfig; in cpr_get_config() local
191 err = cpr_rdwr(UIO_READ, vp, cf, sizeof (*cf)); in cpr_get_config()
199 if (cf->cf_magic == CPR_CONFIG_MAGIC) in cpr_get_config()
219 struct cprconfig *cf = &cprconfig; in cpr_cprconfig_to_path() local
225 (void) strcpy(full_path, cf->cf_fs); in cpr_cprconfig_to_path()
226 if (strcmp(cf->cf_fs, "/")) in cpr_cprconfig_to_path()
228 ptr = cf->cf_path; in cpr_cprconfig_to_path()
251 struct cprconfig *cf = &cprconfig; in cpr_verify_statefile_path() local
279 switch (cf->cf_type) { in cpr_verify_statefile_path()
281 error = i_devname_to_promname(cf->cf_devfs, devpath, in cpr_verify_statefile_path()
[all …]
/titanic_50/usr/src/cmd/sendmail/libsmutil/
H A Dcf.c57 static char cf[MAXPATHLEN]; variable
63 (void) sm_strlcpy(cf, cflocation, sizeof cf);
66 (void) sm_strlcpyn(cf, sizeof cf, 2, _DIR_SENDMAILCF,
68 if (cftype == SM_GET_SUBMIT_CF || stat(cf, &sbuf) == 0)
69 return cf;
/titanic_50/usr/src/lib/iconv_modules/ko/common/
H A Djohap_to_utf.c37 short ci, v, cf; in _johap_to_utf8() local
45 cf = JONGSUNG(wcode); in _johap_to_utf8()
46 if (ci > 18 || v > 20 || cf > 28) in _johap_to_utf8()
51 *jongsung = (cf < 2) ? 0 : (cf + ((cf > 25) ? 0xE18766 : 0xE186A6)); in _johap_to_utf8()
H A Dutf_johap92.h45 unsigned short ci, v, cf; member
50 cd->ci = cd->v = cd->cf = CVC_FILL; cd->prev_state = E;
66 (cd->cf <= 28 || cd->cf == CVC_FILL))\
72 code = (code<<5) | ((cd->cf == CVC_FILL) ? 1 : \
73 cd->cf + cd->cf / 18) | 0x8000;\
H A Dwansung_to_utf.c40 short ci, v, cf; in _wansung_to_utf8() local
108 for (cfbit = cmp_bitmap[ci][v], i = -1, cf = -1; i < disp; cf++) in _wansung_to_utf8()
115 if (cf == -1) in _wansung_to_utf8()
125 *jongsung = (cf < 2) ? 0 : ((cf > 25) ? 0xE18766 + cf : 0xE186A6 + cf); in _wansung_to_utf8()
H A Djohap_to_wansung.c34 unsigned short cf) in _johap_to_wansung() argument
40 if (ci <= 18 && v == CVC_FILL && cf == CVC_FILL) in _johap_to_wansung()
42 else if (ci == CVC_FILL && v <= 20 && cf == CVC_FILL) in _johap_to_wansung()
46 if (cf == CVC_FILL) in _johap_to_wansung()
47 cf = 1; in _johap_to_wansung()
50 for (disp = 0, i = 0; i < cf; i++) in _johap_to_wansung()
H A Djohap_to_UTF2.c91 unsigned long ci, v, cf; in _icv_iconv() local
105 if ((result = _johap_to_utf8(&ci, &v, &cf, in _icv_iconv()
110 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv()
122 if (cf) in _icv_iconv()
124 *ob++ = (char)((cf >> 16) & 0xFF); in _icv_iconv()
125 *ob++ = (char)((cf >> 8) & 0xFF); in _icv_iconv()
126 *ob++ = (char)(cf & 0xFF); in _icv_iconv()
H A Dutf_johap.h34 unsigned short ci, v, cf; member
39 cd->ci = cd->v = cd->cf = CVC_FILL; cd->prev_state = E;
55 (cd->cf <= 28 || cd->cf == CVC_FILL))\
62 code = (code<<5) | ((cd->cf == CVC_FILL) ? 1 : \
63 cd->cf) | 0x8000;\
H A Djohap92_to_UTF2.c91 unsigned long ci, v, cf; in _icv_iconv() local
105 if ((result = _johap92_to_utf8(&ci, &v, &cf, in _icv_iconv()
110 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv()
122 if (cf) in _icv_iconv()
124 *ob++ = (char)((cf >> 16) & 0xFF); in _icv_iconv()
125 *ob++ = (char)((cf >> 8) & 0xFF); in _icv_iconv()
126 *ob++ = (char)(cf & 0xFF); in _icv_iconv()
H A Djohap92_to_utf.c40 short ci, v, cf; in _johap92_to_utf8() local
84 cf = JONGSUNG(wcode) - (unsigned short)JONGSUNG(wcode) / 18; in _johap92_to_utf8()
87 *jongsung = (cf < 2) ? 0 : ((cf > 25) ? 0xE18766 + cf : 0xE186A6 + cf); in _johap92_to_utf8()
H A Dnbyte_utf.h87 if ((result = _johap_to_utf8(&ci, &v, &cf,\
90 if ((obtail - ob) < ((cf ? 9 : 6) + (ADD)))\
106 if (cf)\
108 *ob++ = (char)((cf >> 16) & 0xFF);\
109 *ob++ = (char)((cf >> 8) & 0xFF);\
110 *ob++ = (char)(cf & 0xFF);\
H A Deuc_to_UTF2.c91 unsigned long ci, v, cf; in _icv_iconv() local
113 if ((result = _wansung_to_utf8(&ci, &v, &cf, in _icv_iconv()
118 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv()
130 if (cf) in _icv_iconv()
132 *ob++ = (char)((cf >> 16) & 0xFF); in _icv_iconv()
133 *ob++ = (char)((cf >> 8) & 0xFF); in _icv_iconv()
134 *ob++ = (char)(cf & 0xFF); in _icv_iconv()
H A Dutf_nbyte.h34 unsigned short ci, v, cf; member
40 cd->ci = cd->v = cd->cf = CVC_FILL; cd->prev_state = E;
52 (cd->cf <= 28 || cd->cf == CVC_FILL))\
62 c[i] = (char)Y28_32[cd->cf != CVC_FILL ?\
63 cd->cf - 1 : 0] + '@';\
H A Diso2022-7_to_UTF2.c96 unsigned long ci, v, cf; in _icv_iconv() local
144 if ((result = _wansung_to_utf8(&ci, &v, &cf, in _icv_iconv()
150 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv()
162 if (cf) in _icv_iconv()
164 *ob++ = (char)((cf >> 16) & 0xFF); in _icv_iconv()
165 *ob++ = (char)((cf >> 8) & 0xFF); in _icv_iconv()
166 *ob++ = (char)(cf & 0xFF); in _icv_iconv()
H A Deuc_to_johap92.c138 short ci, v, cf; in _wansung_to_johap92() local
177 for (cfbit = cmp_bitmap[ci][v], i = -1, cf = -1; i < disp; cf++) in _wansung_to_johap92()
184 if (cf == -1) in _wansung_to_johap92()
189 return((code << 5) | (cf + cf / 18) | 0x8000); in _wansung_to_johap92()
/titanic_50/usr/src/cmd/print/bsd-sysv-commands/
H A Din.lpd.c110 cleanup(char ***files, char **cf) in cleanup() argument
123 if (*cf != NULL) { in cleanup()
124 free(*cf); in cleanup()
125 *cf = NULL; in cleanup()
130 parse_cf(papi_service_t svc, char *cf, char **files) in parse_cf() argument
138 for (entry = strtok(cf, "\n"); entry != NULL; in parse_cf()
370 submit_job(papi_service_t svc, FILE *ifp, char *printer, int rid, char *cf, in submit_job() argument
378 if ((list = parse_cf(svc, cf, files)) != NULL) { in submit_job()
493 char *cf = NULL; in berkeley_receive_files() local
507 cleanup(&files, &cf); in berkeley_receive_files()
[all …]
/titanic_50/usr/src/psm/stand/cpr/common/
H A Dsupport.c47 struct cprconfig cf; in cpr_read_cprinfo() local
49 if (cpr_fs_read(fd, (char *)&cf, sizeof (cf)) != sizeof (cf) || in cpr_read_cprinfo()
50 cf.cf_magic != CPR_CONFIG_MAGIC) in cpr_read_cprinfo()
53 (void) prom_strcpy(file_path, cf.cf_path); in cpr_read_cprinfo()
54 (void) prom_strcpy(fs_path, cf.cf_dev_prom); in cpr_read_cprinfo()
55 if (cf.cf_type == CFT_ZVOL) in cpr_read_cprinfo()
56 volname = cf.cf_fs; in cpr_read_cprinfo()
/titanic_50/usr/src/stand/lib/fs/nfs/
H A Dnfs_inet.h120 #define cfile_is_dir(cf) (((cf)->version == NFS_VERSION) ? \ argument
121 ((cf)->ftype.type2 == NFDIR) : \
122 (((cf)->version == NFS_V3) ? \
123 ((cf)->ftype.type3 == NF3DIR) : \
124 (((cf)->version == NFS_V4) ? \
125 ((cf)->ftype.type4 == NF4DIR) : 0)))
127 #define cfile_is_lnk(cf) (((cf)->version == NFS_VERSION) ? \ argument
128 ((cf)->ftype.type2 == NFLNK) : \
129 (((cf)->version == NFS_V3) ? \
130 ((cf)->ftype.type3 == NF3LNK) : \
[all …]
/titanic_50/usr/src/lib/libdscfg/common/
H A Dcfg.c456 for (cfp = &cfg->cf[0]; cfp <= &cfg->cf[1]; cfp++) { in cfg_get_cstring()
484 if (cfp >= &cfg->cf[2]) { in cfg_get_cstring()
768 for (cfp = &cfg->cf[0]; cfp <= &cfg->cf[1]; cfp++) { in cfg_put_cstring()
799 if (cfp >= &cfg->cf[2]) { in cfg_put_cstring()
861 for (cfp = &cfg->cf[0]; cfp <= &cfg->cf[1]; cfp++) { in cfg_put_cstring()
892 if (cfp >= &cfg->cf[2]) { in cfg_put_cstring()
974 cfg->cf[1].cf_fd) in cfg_put_cstring()
975 cfp = &cfg->cf[1]; in cfg_put_cstring()
977 cfp = &cfg->cf[0]; in cfg_put_cstring()
1695 if (mode == CFG_WRLOCK && (cfg->cf[0].cf_flag & CFG_RDONLY)) { in cfg_lock()
[all …]

1234567