Home
last modified time | relevance | path

Searched refs:colon (Results 1 – 25 of 78) sorted by relevance

1234

/titanic_41/usr/src/cmd/sendmail/libmilter/
H A Dlistener.c133 char *colon; local
147 colon = strchr(p, ':');
148 if (colon != NULL)
150 *colon = '\0';
206 *colon++ = ':';
210 colon = p;
241 at = colon;
242 len = strlen(colon) + 1;
247 name, colon);
250 (void) sm_strlcpy(addr.sunix.sun_path, colon,
[all …]
/titanic_41/usr/src/cmd/sendmail/aux/
H A Dpraliases.c238 char *colon; local
247 colon = strchr(filename, PATH_SEPARATOR);
248 if (colon == NULL)
255 *colon = '\0';
256 db_name = colon + 1;
290 if (colon != NULL)
291 *colon = ':';
395 if (colon != NULL)
396 *colon = ':';
/titanic_41/usr/src/cmd/make/lib/mksh/
H A Dmacro.cc273 wchar_t *colon = (wchar_t *)NULL; in expand_macro() local
464 if ((colon = (wchar_t *) wcschr(string.buffer.start, in expand_macro()
472 colon - string.buffer.start); in expand_macro()
475 if (IS_WEQUAL(colon, colon_sh) || IS_WEQUAL(colon, colon_shell)) { in expand_macro()
478 ((percent = (wchar_t *) wcschr(colon + 1, in expand_macro()
480 while (colon != NULL) { in expand_macro()
481 if ((eq = (wchar_t *) wcschr(colon + 1, in expand_macro()
485 left_tail_len = eq - colon - 1; in expand_macro()
491 colon + 1, in expand_macro()
492 eq - colon - 1); in expand_macro()
[all …]
/titanic_41/usr/src/lib/libc/port/gen/
H A Dpfmt_print.c99 const char *psev = NULL, *colon; in __pfmt_print() local
105 colon = __gtxt(fmt_cat, def_colonid, def_colon); in __pfmt_print()
111 if ((status = fputs(colon, stream)) < 0) in __pfmt_print()
149 if ((status = fputs(colon, stream)) < 0) in __pfmt_print()
/titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterUtil.java437 int colon = 0; in getList() local
439 while ((colon = o.indexOf(":\n", colon + 1)) != -1) { in getList()
440 nextcolon = o.indexOf(":\n", colon + 1); in getList()
444 i = colon; in getList()
449 printername = o.substring(i, colon); in getList()
451 printername = o.substring(i + 1, colon); in getList()
462 i = o.indexOf("bsdaddr=", colon); in getList()
477 i = o.indexOf("description=", colon); in getList()
/titanic_41/usr/src/cmd/sgs/crle/common/
H A Dutil.c170 const char *colon = MSG_ORIG(MSG_STR_COLON); in addlib() local
179 if ((arg = strtok_r(arg, colon, &lasts)) != NULL) { in addlib()
190 (*(str - 1) == *colon)) && in addlib()
192 ((*str == '\0') || (*str == *colon)))) in addlib()
230 } while ((arg = strtok_r(NULL, colon, &lasts)) != NULL); in addlib()
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c82 static CONST_UCHAR colon[] = ":"; variable
224 MD5Update(&ctx, colon, 1); in digest_hash_pass()
231 MD5Update(&ctx, colon, 1); in digest_hash_pass()
252 MD5Update(&ctx, colon, 1); in digest_hash_a1()
254 MD5Update(&ctx, colon, 1); in digest_hash_a1()
285 MD5Update(&ctx, colon, 1); in digest_calc_resp()
290 MD5Update(&ctx, colon, 1); in digest_calc_resp()
305 MD5Update(&ctx, colon, 1); in digest_calc_resp()
308 MD5Update(&ctx, colon, 1); in digest_calc_resp()
310 MD5Update(&ctx, colon, 1); in digest_calc_resp()
[all …]
/titanic_41/usr/src/cmd/make/bin/
H A Drep.cc75 wchar_t *colon; in report_recursive_init() local
118 colon = (wchar_t *) wcschr(line, (int) colon_char); in report_recursive_init()
119 if (colon == NULL) { in report_recursive_init()
124 if (IS_WEQUALN(&colon[2], wcb, in report_recursive_init()
147 *colon = (int) nul_char; in report_recursive_init()
H A Dnse_printdep.cc351 wchar_t *colon; in print_rec_info() local
361 colon = (wchar_t *) wcschr(rp->oldline, (int) colon_char); in print_rec_info()
362 (void) printf("%s", colon + 1); in print_rec_info()
H A Dread2.cc1689 if (name->colon) { in enter_conditional()
1745 if (name->colon) { in enter_equal()
1793 wchar_t *colon; in sh_transform() local
1809 colon = (wchar_t *) wcsrchr(wcb, (int) colon_char); in sh_transform()
1810 if ((colon != NULL) && (IS_WEQUAL(colon, colon_sh) || IS_WEQUAL(colon, colon_shell))) { in sh_transform()
1817 if (IS_WEQUAL(colon, colon_shell)) { in sh_transform()
1830 *colon = (int) nul_char; in sh_transform()
1832 *colon = (int) colon_char; in sh_transform()
/titanic_41/usr/src/cmd/auditrecord/
H A Daudit_record_attr.txt112 # must end with a colon. The array starts at 1. (If the comment
113 # contains a colon, use "&colon;" without the quotes.)
340 comment=2, "setclass&colon;ec_event", event number:
341 comment=3, "setclass&colon;ec_class", class mask
375 comment=3, "setsmask&colon;as_success", session ID mask:
376 comment=3, "setsmask&colon;as_failure", session ID mask
405 comment=3, "setumask&colon;as_success", audit ID mask:
406 comment=3, "setumask&colon;as_failure", audit ID mask
438 comment=3, "setqctrl&colon;aq_hiwater", queue control param.:
439 comment=3, "setqctrl&colon;aq_lowater", queue control param.:
[all …]
/titanic_41/usr/src/lib/nsswitch/compat/common/
H A Dcompat_common.c777 char *colon; local
868 if ((colon = strchr(instr, ':')) != 0) {
869 *colon = '\0'; /* terminate field to extract name */
957 if (colon != 0)
958 *colon = ':'; /* restoration */
986 char *colon = 0; /* <=== need comment re lifetime */ local
1050 if ((colon = strchr(instr, ':')) != 0) {
1051 *colon = '\0';
1071 if (colon != 0) {
1072 *colon = ':';
[all …]
/titanic_41/usr/src/lib/libwrap/
H A Dmisc.c176 char *obr, *cbr, *colon; local
181 if ((colon = strchr(p, ':')) == NULL)
183 if ((obr = strchr(p, '[')) == NULL || obr > colon)
/titanic_41/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c387 volatile short colon; in main() local
793 c_count = colon = acting_on_inode = 0; in main()
807 colon = 0; in main()
831 colon++; in main()
839 colon = star = 0; in main()
855 colon = 0; in main()
906 colon = 0; in main()
956 colon = 0; in main()
967 colon = 0; in main()
1119 colon = 0; in main()
[all …]
/titanic_41/usr/src/cmd/syseventd/modules/zfs_mod/
H A Dzfs_mod.c463 char *colon, *raw; in zfs_deliver_add() local
488 colon = strchr(path, ':'); in zfs_deliver_add()
489 if (colon != NULL) in zfs_deliver_add()
490 raw = strstr(colon + 1, ",raw"); in zfs_deliver_add()
491 if (colon != NULL && raw != NULL) { in zfs_deliver_add()
495 devpath, colon); in zfs_deliver_add()
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_tunables.c97 char *colon; in sctp_listener_conf_add() local
103 if (ddi_strtol(pval, &colon, 10, &lport) != 0 || lport <= 0 || in sctp_listener_conf_add()
104 lport > USHRT_MAX || *colon != ':') { in sctp_listener_conf_add()
107 if (ddi_strtol(colon + 1, NULL, 10, &ratio) != 0 || ratio <= 0) in sctp_listener_conf_add()
/titanic_41/usr/src/cmd/sendmail/src/
H A Dmilter.c654 char *colon; local
678 colon = strchr(p, ':');
679 if (colon != NULL)
681 *colon = '\0';
741 *colon++ = ':';
747 colon = p;
755 at = colon;
756 if (strlen(colon) >= sizeof(addr.sunix.sun_path))
760 m->mf_name, colon);
764 m->mf_name, colon);
[all …]
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dns_fnmount.c319 char *colon; in process_ref() local
358 colon = strchr(addrdata, ':'); in process_ref()
359 if (colon == NULL || colon[1] == '\0') { in process_ref()
362 *colon = '\0'; in process_ref()
363 nfsdir = strdup(colon + 1); in process_ref()
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_tunables.c116 char *colon; in tcp_listener_conf_add() local
122 if (ddi_strtol(pval, &colon, 10, &lport) != 0 || lport <= 0 || in tcp_listener_conf_add()
123 lport > USHRT_MAX || *colon != ':') { in tcp_listener_conf_add()
126 if (ddi_strtol(colon + 1, NULL, 10, &ratio) != 0 || ratio <= 0) in tcp_listener_conf_add()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Doptions.c1725 char *colon; local
1732 if ((colon = strchr(arg, ':')) == NULL)
1740 if (colon != arg) {
1741 *colon = '\0';
1758 *colon = ':';
1764 if (*++colon != '\0') {
1765 if ((remote = inet_addr(colon)) == (u_int32_t) -1) {
1766 if ((hp = gethostbyname(colon)) == NULL) {
1767 option_error("unknown host: %s", colon);
1772 (void) strlcpy(remote_name, colon, sizeof(remote_name));
/titanic_41/usr/src/cmd/ssh/include/
H A Dmisc.h34 char *colon(char *);
/titanic_41/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c1416 char *slash, *colon, *dev_addr; in devfs_path_to_drv() local
1439 colon = strrchr(slash, ':'); in devfs_path_to_drv()
1440 if (colon != NULL) in devfs_path_to_drv()
1441 *colon = '\0'; in devfs_path_to_drv()
1923 char *colon; in options_override() local
1925 if ((colon = strrchr(alias_name, ':')) != NULL) { in options_override()
1931 *colon = '\0'; in options_override()
1934 if ((colon = strrchr(prom_path, ':')) != NULL) { in options_override()
1935 (void) strcat(alias_name, colon); in options_override()
/titanic_41/usr/src/cmd/sh/
H A Derror.c58 prs(colon); in failed_body()
/titanic_41/usr/src/cmd/sgs/elfedit/common/
H A Dsys.c354 const char *colon = strchr(argv[i], ':'); in cmd_help() local
356 if (colon == NULL) { /* No colon: sys: cmd or module */ in cmd_help()
372 } else if (*(colon + 1) == '\0') { in cmd_help()
376 int len = colon - str; in cmd_help()
/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_fmri.c773 const char *colon, *slash; in topo_fmri_next_auth() local
775 colon = strchr(auth + 1, ':'); in topo_fmri_next_auth()
778 if (colon == NULL && slash == NULL) in topo_fmri_next_auth()
781 if (colon == NULL) in topo_fmri_next_auth()
783 else if (slash < colon) in topo_fmri_next_auth()
786 return (colon); in topo_fmri_next_auth()

1234