Searched refs:cstr (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/dns-sd/
H A DClientCommon.c46 const char *GetNextLabel(const char *cstr, char label[64]) argument
49 while (*cstr && *cstr != '.') // While we have characters in the label...
51 char c = *cstr++;
52 if (c == '\\' && *cstr) // If we have a backslash, and it's not the last character of the string
54 c = *cstr++;
55 if (isdigit(cstr[-1]) && isdigit(cstr[0]) && isdigit(cstr[1]))
57 int v0 = cstr[
[all...]
H A DClientCommon.h41 extern const char *GetNextLabel(const char *cstr, char label[64]);
/illumos-gate/usr/src/uts/intel/os/
H A Dcpr_intel.c51 static char cstr[] = "\014" "\033[1P" "\033[18;21H"; local
53 prom_printf(cstr);
71 static char cstr[] = "\014" "\033[1P" "\033[18;21H"; local
73 prom_printf(cstr);
/illumos-gate/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;
H A Dfc_led_parse.c43 static int get_cstr(str *p_str, cstr *p_cstr_res);
193 get_cstr(str *p_str, cstr *p_cstr_res)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8.c470 const char *cstr, *cset; local
473 for (cstr = str; *cstr != '\0'; KRB5_UTF8_INCR(cstr)) {
475 if (krb5int_utf8_to_ucs4(cstr, &chstr) == 0
477 return cstr - str;
481 return cstr - str;
487 const char *cstr, *cset; local
490 for (cstr = str; *cstr !
[all...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioHdrParse.cc261 char *cstr; local
275 cstr = to_lowercase(cstrbuf);
276 if ((strcmp(cstr, "-channel") != 0) &&
277 (strcmp(cstr, "-chan") != 0) &&
278 (strcoll(cstr, lib_chan) != 0)) {
279 delete cstr;
282 delete cstr;
290 cstr = to_lowercase(cstrbuf);
291 if ((strcmp(cstr, "mono") == 0) ||
292 (strcmp(cstr, "monaura
[all...]
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dcollate.h79 struct _m_cstr *cstr; /* Pointer to collating strs */ member in struct:_m_cinfo
96 * Pointed at by _m_cinfo.cstr, indexed by (m_collel_t - M_CSETSIZE).
/illumos-gate/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);
[all...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DValid.java82 public static boolean comment(String cstr) argument
85 Debug.message("SVR: comment=" + cstr);
87 if (cstr == null)
89 if (cstr.length() > validcommentlength)
92 String c = cstr.substring(0, 1);
101 return (validString(cstr, badmetas + "="));
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dtopo_gather.c197 char *cstr = NULL; local
204 if (topo_fmri_nvl2str(thp, fmri, &cstr, err) != 0) {
209 if (nvlist_lookup_uint64(g_topo2diskmon, cstr, &u64val) == 0) {
216 *str = dstrdup(cstr);
217 topo_hdl_strfree(thp, cstr);
481 char *cstr = NULL; local
499 if ((p = fmri2ptr(thp, node, &cstr, &err)) != NULL) {
516 wdp->pfmri = cstr;
532 if (cstr)
533 dstrfree(cstr);
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c363 char *cstr = access_list, *gr = access_list; local
416 if ((cstr = strpbrk(cstr, "[]:")) != NULL) {
417 switch (*cstr) {
421 cstr++;
425 cstr++;
428 *cstr = '\0';
469 if (cstr == NULL)
472 gr = ++cstr;
482 if (cstr
[all...]
/illumos-gate/usr/src/cmd/eqn/
H A Dlex.c196 cstr(char *s, int quote, int maxs) function
234 (void) cstr(token, 1, SSIZE); /* skip the definition too */
238 if (cstr(token, 1, SSIZE))
282 if (cstr(token, 0, SSIZE))
/illumos-gate/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
[all...]
/illumos-gate/usr/src/cmd/fmtmsg/
H A Dmain.c532 char *cstr; /* Ptr to -c (class) arg */
607 cstr = optarg;
678 (strcmp(cstr, class_info->keyword)) ;
684 "Invalid class: %s", cstr);
527 char *cstr; /* Ptr to -c (class) arg */ local
/illumos-gate/usr/src/uts/sparc/os/
H A Dcpr_sparc.c323 static char cstr[] = "\014" "\033[1P" "\033[18;21H"; local
325 prom_printf(cstr);
343 static char cstr[] = "\014" "\033[1P" "\033[18;21H"; local
345 prom_printf(cstr);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c312 const char *cstr; local
358 if ((cstr = script_getenv("IF_AND_SERVICE")) == NULL ||
359 (str = strdup(cstr)) == NULL) {
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dcprboot.c92 static char cstr[] = "\014" "\033[1P" "\033[18;21H"; local
107 prom_printf(cstr);
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_nswconfig.c310 char *cstr; local
312 cstr = strdup(cfgstr);
313 if (cstr == NULL)
320 swcfg = _nsw_getoneconfig_v1(dbn, cstr, &err);
321 free(cstr);
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c795 char *str, *cstr, commentSep[3] = {' ', 0, 0}; local
820 cstr = (char *)val->val->value + val->val->length;
821 for (; cstr >= (char *)val->val->value &&
822 (*cstr == ' ' || *cstr == '\t'); *cstr-- = '\0');
828 cstr = scat(myself, F, commentSep, str);
829 if (cstr) {
831 val->val->value, cstr);
832 sfree(cstr);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.c770 mDNSexport mDNSu8 *AppendLiteralLabelString(domainname *const name, const char *cstr) argument
778 while (*cstr && ptr < lim) *ptr++ = (mDNSu8)*cstr++; // Copy the data
781 if (*cstr) return(mDNSNULL); // Failure: We didn't successfully consume all input
794 const char *cstr = cstring; local
797 while (*cstr && ptr < lim) // While more characters, and space to put them...
800 if (*cstr == '.') { LogMsg("AppendDNSNameString: Illegal empty label in name \"%s\"", cstring); return(mDNSNULL); }
801 while (*cstr && *cstr != '.' && ptr < lim) // While we have characters in the label...
803 mDNSu8 c = (mDNSu8)*cstr
872 MakeDomainLabelFromLiteralString(domainlabel *const label, const char *cstr) argument
888 MakeDomainNameFromDNSNameString(domainname *const name, const char *cstr) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c646 char *ustr, *cstr; local
675 cstr = strrchr(cfg_rec->pathname, '/');
679 cstr - cfg_rec->pathname)) == 0);
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c1798 char *cstr = access_list; local
1814 if ((cstr = strpbrk(cstr, "[:")) != NULL) {
1815 if (*cstr == ':') {
1816 *cstr = '\0';
1818 assert(*cstr == '[');
1819 cstr = strchr(cstr + 1, ']');
1820 if (cstr == NULL)
1822 cstr
[all...]
/illumos-gate/usr/src/lib/libdtrace_jni/common/
H A Ddtj_util.c923 const char *cstr; local
942 cstr = (*jenv)->GetStringUTFChars(jenv, jstr, 0);
943 if (cstr) {
944 (void) printf("%s\n", cstr);
950 (*jenv)->ReleaseStringUTFChars(jenv, jstr, cstr);
/illumos-gate/usr/src/cmd/acct/
H A Dacctcom.c613 cmatch(char *comm, char *cstr) argument
626 return (regex(cstr,xcomm) ? 1 : 0);

Completed in 124 milliseconds

12