Home
last modified time | relevance | path

Searched refs:cstr (Results 1 – 25 of 30) sorted by relevance

12

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8.c470 const char *cstr, *cset; in krb5int_utf8_strcspn() local
473 for (cstr = str; *cstr != '\0'; KRB5_UTF8_INCR(cstr)) { in krb5int_utf8_strcspn()
475 if (krb5int_utf8_to_ucs4(cstr, &chstr) == 0 in krb5int_utf8_strcspn()
477 return cstr - str; in krb5int_utf8_strcspn()
481 return cstr - str; in krb5int_utf8_strcspn()
487 const char *cstr, *cset; in krb5int_utf8_strspn() local
490 for (cstr = str; *cstr != '\0'; KRB5_UTF8_INCR(cstr)) { in krb5int_utf8_strspn()
493 return cstr - str; in krb5int_utf8_strspn()
494 if (krb5int_utf8_to_ucs4(cstr, &chstr) == 0 in krb5int_utf8_strspn()
500 return cstr - str; in krb5int_utf8_strspn()
/titanic_41/usr/src/cmd/audio/utilities/
H A DAudioHdrParse.cc261 char *cstr; in ChannelParse() local
275 cstr = to_lowercase(cstrbuf); in ChannelParse()
276 if ((strcmp(cstr, "-channel") != 0) && in ChannelParse()
277 (strcmp(cstr, "-chan") != 0) && in ChannelParse()
278 (strcoll(cstr, lib_chan) != 0)) { in ChannelParse()
279 delete cstr; in ChannelParse()
282 delete cstr; in ChannelParse()
290 cstr = to_lowercase(cstrbuf); in ChannelParse()
291 if ((strcmp(cstr, "mono") == 0) || in ChannelParse()
292 (strcmp(cstr, "monaural") == 0) || in ChannelParse()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfcal_leds.h223 typedef const char *cstr; typedef
245 cstr fcal_leds; /* path name of leds board */
246 cstr fcal_status; /* path of back-plane status board */
247 cstr fcal_driver; /* name of fcal disk driver */
269 cstr fcal_disk_parent; /* search string for /platform */
270 cstr disk_unit_parent; /* search template for disk-slots */
271 cstr disk_led_nodes; /* search template for disk-leds */
278 cstr tok_str;
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd734 local (@ifconfiglist,$cstr,$etherif,$intf,$ifconf,$addstr,$port);
745 $cstr = "";
750 $cstr .= "ifconfig $etherif addif @$ifconf\n";
784 $cstr .= $addstr;
798 $scriptfiles{$pppdir . "ifconfig"} = $cstr if $cstr;
1258 local ($cstr) = "";
1259 $cstr .= shift(@$opts) . "\n" while @$opts;
1260 $optfiles{$file} = $cstr;
1264 local(@triplet, $cstr);
1272 $cstr .= $triplet[0];
[all …]
/titanic_41/usr/src/uts/intel/os/
H A Dcpr_intel.c51 static char cstr[] = "\014" "\033[1P" "\033[18;21H"; in cpr_send_notice() local
53 prom_printf(cstr); in cpr_send_notice()
71 static char cstr[] = "\014" "\033[1P" "\033[18;21H"; in cpr_resume_notice() local
73 prom_printf(cstr); in cpr_resume_notice()
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dtopo_gather.c197 char *cstr = NULL; in fmri2ptr() local
204 if (topo_fmri_nvl2str(thp, fmri, &cstr, err) != 0) { in fmri2ptr()
209 if (nvlist_lookup_uint64(g_topo2diskmon, cstr, &u64val) == 0) { in fmri2ptr()
216 *str = dstrdup(cstr); in fmri2ptr()
217 topo_hdl_strfree(thp, cstr); in fmri2ptr()
481 char *cstr = NULL; in topo_add_bay() local
499 if ((p = fmri2ptr(thp, node, &cstr, &err)) != NULL) { in topo_add_bay()
516 wdp->pfmri = cstr; in topo_add_bay()
532 if (cstr) in topo_add_bay()
533 dstrfree(cstr); in topo_add_bay()
[all …]
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c363 char *cstr = access_list, *gr = access_list; in smb_chk_hostaccess() local
416 if ((cstr = strpbrk(cstr, "[]:")) != NULL) { in smb_chk_hostaccess()
417 switch (*cstr) { in smb_chk_hostaccess()
421 cstr++; in smb_chk_hostaccess()
425 cstr++; in smb_chk_hostaccess()
428 *cstr = '\0'; in smb_chk_hostaccess()
469 if (cstr == NULL) in smb_chk_hostaccess()
472 gr = ++cstr; in smb_chk_hostaccess()
482 if (cstr == NULL) in smb_chk_hostaccess()
485 gr = ++cstr; in smb_chk_hostaccess()
[all …]
/titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DValid.java82 public static boolean comment(String cstr) in comment() argument
85 Debug.message("SVR: comment=" + cstr); in comment()
87 if (cstr == null) in comment()
89 if (cstr.length() > validcommentlength) in comment()
92 String c = cstr.substring(0, 1); in comment()
101 return (validString(cstr, badmetas + "=")); in comment()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Ddns-sd.c205 static const char *GetNextLabel(const char *cstr, char label[64]) in GetNextLabel() argument
208 while (*cstr && *cstr != '.') // While we have characters in the label... in GetNextLabel()
210 char c = *cstr++; in GetNextLabel()
213 c = *cstr++; in GetNextLabel()
214 if (isdigit(cstr[-1]) && isdigit(cstr[0]) && isdigit(cstr[1])) in GetNextLabel()
216 int v0 = cstr[-1] - '0'; // then interpret as three-digit decimal in GetNextLabel()
217 int v1 = cstr[ 0] - '0'; in GetNextLabel()
218 int v2 = cstr[ 1] - '0'; in GetNextLabel()
220 if (val <= 255) { c = (char)val; cstr += 2; } // If valid three-digit decimal value, use it in GetNextLabel()
226 if (*cstr) cstr++; // Skip over the trailing dot (if present) in GetNextLabel()
[all …]
/titanic_41/usr/src/tools/onbld/Scm/
H A DWorkSpace.py420 cstr = cStringIO.StringIO()
422 cstr.write('parent tip: %s:%s\n' % (self.parenttip.rev(),
426 cstr.write('local tip: %s:%s\n' %
429 cstr.write('local tip: None\n')
431 cstr.write('entries:\n')
436 cstr.write(' - %s\n' % entry.name)
437 cstr.write(' parentname: %s\n' % entry.parentname)
438 cstr.write(' change: %s\n' % entry.change)
439 cstr.write(' renamed: %s\n' % entry.renamed)
440 cstr.write(' comments:\n')
[all …]
/titanic_41/usr/src/cmd/eqn/
H A Dlex.c196 cstr(char *s, int quote, int maxs) in cstr() function
234 (void) cstr(token, 1, SSIZE); /* skip the definition too */ in define()
238 if (cstr(token, 1, SSIZE)) in define()
282 if (cstr(token, 0, SSIZE)) in delim()
/titanic_41/usr/src/psm/stand/bootblks/common/
H A Dutil.fth42 : cstrlen ( cstr -- len )
50 : cscount ( cstr -- adr,len ) dup cstrlen ;
194 /buf-len buffer: open-cstr
198 0 over open-cstr + c!
199 open-cstr swap move
200 open-cstr cif-open
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.c666 mDNSexport mDNSu8 *AppendLiteralLabelString(domainname *const name, const char *cstr) in AppendLiteralLabelString() argument
674 while (*cstr && ptr < lim) *ptr++ = (mDNSu8)*cstr++; // Copy the data in AppendLiteralLabelString()
677 if (*cstr) return(mDNSNULL); // Failure: We didn't successfully consume all input in AppendLiteralLabelString()
690 const char *cstr = cstring; in AppendDNSNameString() local
693 while (*cstr && ptr < lim) // While more characters, and space to put them... in AppendDNSNameString()
696 …if (*cstr == '.') { LogMsg("AppendDNSNameString: Illegal empty label in name \"%s\"", cstring); re… in AppendDNSNameString()
697 while (*cstr && *cstr != '.' && ptr < lim) // While we have characters in the label... in AppendDNSNameString()
699 mDNSu8 c = (mDNSu8)*cstr++; // Read the character in AppendDNSNameString()
702 c = (mDNSu8)*cstr++; // Assume we'll just take the next character in AppendDNSNameString()
703 if (mdnsIsDigit(cstr[-1]) && mdnsIsDigit(cstr[0]) && mdnsIsDigit(cstr[1])) in AppendDNSNameString()
[all …]
H A DmDNSEmbeddedAPI.h2477 extern mDNSu8 *AppendLiteralLabelString(domainname *const name, const char *cstr);
2478 extern mDNSu8 *AppendDNSNameString (domainname *const name, const char *cstr);
2487 extern mDNSBool MakeDomainLabelFromLiteralString(domainlabel *const label, const char *cstr);
2488 extern mDNSu8 *MakeDomainNameFromDNSNameString (domainname *const name, const char *cstr);
2497 extern char *ConvertDomainLabelToCString_withescape(const domainlabel *const name, char *cstr, c…
2500 extern char *ConvertDomainNameToCString_withescape(const domainname *const name, char *cstr, cha…
/titanic_41/usr/src/uts/sparc/os/
H A Dcpr_sparc.c323 static char cstr[] = "\014" "\033[1P" "\033[18;21H"; in cpr_send_notice() local
325 prom_printf(cstr); in cpr_send_notice()
343 static char cstr[] = "\014" "\033[1P" "\033[18;21H"; in cpr_resume_notice() local
345 prom_printf(cstr); in cpr_resume_notice()
/titanic_41/usr/src/cmd/fmtmsg/
H A Dmain.c527 char *cstr; /* Ptr to -c (class) arg */ in main() local
602 cstr = optarg; in main()
673 (strcmp(cstr, class_info->keyword)) ; in main()
679 "Invalid class: %s", cstr); in main()
/titanic_41/usr/src/cmd/nscd/
H A Dnscd_nswconfig.c310 char *cstr; in _nscd_create_sw_struct() local
312 cstr = strdup(cfgstr); in _nscd_create_sw_struct()
313 if (cstr == NULL) in _nscd_create_sw_struct()
320 swcfg = _nsw_getoneconfig_v1(dbn, cstr, &err); in _nscd_create_sw_struct()
321 free(cstr); in _nscd_create_sw_struct()
/titanic_41/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c795 char *str, *cstr, commentSep[3] = {' ', 0, 0}; in ruleValueToDatum() local
820 cstr = (char *)val->val->value + val->val->length; in ruleValueToDatum()
821 for (; cstr >= (char *)val->val->value && in ruleValueToDatum()
822 (*cstr == ' ' || *cstr == '\t'); *cstr-- = '\0'); in ruleValueToDatum()
828 cstr = scat(myself, F, commentSep, str); in ruleValueToDatum()
829 if (cstr) { in ruleValueToDatum()
831 val->val->value, cstr); in ruleValueToDatum()
832 sfree(cstr); in ruleValueToDatum()
/titanic_41/usr/src/lib/libxcurses/h/
H A Dcollate.h79 struct _m_cstr *cstr; /* Pointer to collating strs */ member
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c312 const char *cstr; in handle_pppoe_input() local
358 if ((cstr = script_getenv("IF_AND_SERVICE")) == NULL || in handle_pppoe_input()
359 (str = strdup(cstr)) == NULL) { in handle_pppoe_input()
/titanic_41/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c1800 char *cstr = access_list; in in_access_list() local
1815 if ((cstr = strpbrk(cstr, "[:")) != NULL) { in in_access_list()
1816 if (*cstr == ':') { in in_access_list()
1817 *cstr = '\0'; in in_access_list()
1819 assert(*cstr == '['); in in_access_list()
1820 cstr = strchr(cstr + 1, ']'); in in_access_list()
1821 if (cstr == NULL) in in_access_list()
1823 cstr++; in in_access_list()
1908 if (cstr == NULL) in in_access_list()
1911 gr = ++cstr; in in_access_list()
/titanic_41/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dcprboot.c92 static char cstr[] = "\014" "\033[1P" "\033[18;21H"; in cb_intro() local
107 prom_printf(cstr); in cb_intro()
/titanic_41/usr/src/cmd/krb5/kadmin/gui/native/
H A DKadmin.c1166 char *cstr; in kadmin_to_Principal() local
1254 cstr = strdup(p->policy ? p->policy : ""); in kadmin_to_Principal()
1255 if (!cstr) in kadmin_to_Principal()
1257 s = (*env)->NewStringUTF(env, cstr); in kadmin_to_Principal()
1261 free(cstr); in kadmin_to_Principal()
1376 cstr = strdup(comments ? comments : ""); in kadmin_to_Principal()
1377 if (!cstr) in kadmin_to_Principal()
1379 s = (*env)->NewStringUTF(env, cstr); in kadmin_to_Principal()
1383 free(cstr); in kadmin_to_Principal()
/titanic_41/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c646 char *ustr, *cstr; in usb_cmp_rec() local
675 cstr = strrchr(cfg_rec->pathname, '/'); in usb_cmp_rec()
679 cstr - cfg_rec->pathname)) == 0); in usb_cmp_rec()
/titanic_41/usr/src/lib/libdtrace_jni/common/
H A Ddtj_util.c923 const char *cstr; in dtj_print_object() local
942 cstr = (*jenv)->GetStringUTFChars(jenv, jstr, 0); in dtj_print_object()
943 if (cstr) { in dtj_print_object()
944 (void) printf("%s\n", cstr); in dtj_print_object()
950 (*jenv)->ReleaseStringUTFChars(jenv, jstr, cstr); in dtj_print_object()

12