Home
last modified time | relevance | path

Searched refs:rstr (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dlog.c81 char *rstr = (char *)NULL; in log_msg() local
139 rstr = (char *)malloc(vres+2); in log_msg()
144 vres = vsnprintf(rstr, vres+1, a_format, ap); in log_msg()
149 if (fprintf(out, "%s\n", rstr) < 0) { in log_msg()
161 free(rstr); in log_msg()
H A Dsml.c1159 char *rstr = (char *)NULL; in smlDbgPrintTag() local
1181 rstr = (char *)calloc(1, vres+2); in smlDbgPrintTag()
1182 assert(rstr != (char *)NULL); in smlDbgPrintTag()
1187 vres = vsnprintf(rstr, vres+1, a_format, ap); in smlDbgPrintTag()
1191 assert(*rstr != '\0'); in smlDbgPrintTag()
1193 _smlLogMsg(LOG_MSG_DEBUG, "%s", rstr); in smlDbgPrintTag()
1194 free(rstr); in smlDbgPrintTag()
1198 rstr = smlConvertTagToString(a_tag); in smlDbgPrintTag()
1199 if (rstr != (char *)NULL) { in smlDbgPrintTag()
1201 strlen(rstr), rstr); in smlDbgPrintTag()
[all …]
/titanic_41/usr/src/lib/libinstzones/common/
H A Dzones_args.c121 char *rstr = NULL; in _z_add_arg() local
162 rstr = _z_strdup(bfr); in _z_add_arg()
166 rstr = (char *)_z_malloc(vres+2); in _z_add_arg()
171 vres = vsnprintf(rstr, vres+1, a_format, ap); in _z_add_arg()
177 a_args->_aaArgs[a_args->_aaNumArgs++] = rstr; in _z_add_arg()
H A Dzones_str.c448 char *rstr = NULL; in _z_strPrintf() local
466 rstr = (char *)_z_calloc(vres+2); in _z_strPrintf()
471 vres = vsnprintf(rstr, vres+1, a_format, ap); in _z_strPrintf()
476 assert(*rstr != '\0'); in _z_strPrintf()
480 return (rstr); in _z_strPrintf()
/titanic_41/usr/src/cmd/stat/common/
H A Ddsr.c516 char *rstr = 0; in lookup_nfs_name() local
524 rstr = safe_strdup(cp); in lookup_nfs_name()
525 return (rstr); in lookup_nfs_name()
535 rstr = safe_alloc(len); in lookup_nfs_name()
536 (void) snprintf(rstr, len, in lookup_nfs_name()
539 rstr = safe_strdup(cp); in lookup_nfs_name()
542 rstr = safe_strdup(ks); in lookup_nfs_name()
546 rstr = safe_strdup(cp); in lookup_nfs_name()
554 return (rstr); in lookup_nfs_name()
580 char *rstr; in cur_hostname() local
[all …]
/titanic_41/usr/src/lib/libpkg/common/
H A Dpkgstr.c271 char *rstr = (char *)NULL; in pkgstrPrintf() local
289 rstr = (char *)calloc(1, vres+2); in pkgstrPrintf()
290 assert(rstr != (char *)NULL); in pkgstrPrintf()
291 if (rstr == (char *)NULL) { in pkgstrPrintf()
298 vres = vsnprintf(rstr, vres+1, a_format, ap); in pkgstrPrintf()
303 assert(*rstr != '\0'); in pkgstrPrintf()
307 return (rstr); in pkgstrPrintf()
/titanic_41/usr/src/uts/common/os/
H A Dtlabel.c467 const char *rstr; in getflabel() local
481 rstr = refstr_value(nvfs->vfs_resource); in getflabel()
482 if (rstr != NULL) in getflabel()
483 rlen = strlen(rstr); in getflabel()
492 (strncmp(rstr, vpath, rlen) == 0) && in getflabel()
/titanic_41/usr/src/cmd/zfs/
H A Dzfs_iter.c273 char *lstr, *rstr; in zfs_sort() local
283 lstr = rstr = NULL; in zfs_sort()
301 ZPROP_VALUE, &rstr) == 0); in zfs_sort()
310 rstr = rbuf; in zfs_sort()
333 ret = strcmp(lstr, rstr); in zfs_sort()
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c348 #define suffixsize (sizeof (rstr) + sizeof (qstr) - 1 + DIGEST_SIZE * 2) in digest_client_resp()
351 static const char rstr[] = "\",response="; in digest_client_resp() local
435 memcpy(scan, rstr, sizeof (rstr) - 1); in digest_client_resp()
436 scan += sizeof (rstr) - 1; in digest_client_resp()
456 static const char rstr[] = "realm"; in digest_parse() local
563 if (lstreqcase(rstr, attr, alen)) { in digest_parse()
/titanic_41/usr/src/uts/common/xen/sys/
H A Dxenbus_impl.h120 const char *node, void **rstr, unsigned int *len);
121 extern int xenbus_read_str(const char *dir, const char *node, char **rstr);
/titanic_41/usr/src/cmd/audio/audioctl/
H A Daudioctl.c610 char *lstr, *rstr; in set_device_control() local
630 rstr = strchr(wstr, ':'); in set_device_control()
631 if (rstr != NULL) { in set_device_control()
632 *rstr = '\0'; in set_device_control()
633 rstr++; in set_device_control()
635 rval = atoi(rstr); in set_device_control()
638 rstr--; in set_device_control()
639 *rstr = ':'; in set_device_control()
/titanic_41/usr/src/lib/efcode/engine/
H A Dfcode.c825 char sep, *cptr, *lstr, *rstr; in left_parse_string() local
845 rstr = cptr+1; in left_parse_string()
846 rlen = lstr + llen - rstr; in left_parse_string()
850 rstr = lstr; in left_parse_string()
852 PUSH(DS, (fstack_t)rstr); in left_parse_string()
/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c1364 lxml_get_entity_stability(entity_t *entity, xmlNodePtr rstr) in lxml_get_entity_stability() argument
1370 if (((stabval = xmlGetProp(rstr, (xmlChar *)value_attr)) == NULL) || in lxml_get_entity_stability()
1386 lxml_get_restarter(entity_t *entity, xmlNodePtr rstr) in lxml_get_restarter() argument
1405 for (cursor = rstr->xmlChildrenNode; cursor != NULL; in lxml_get_restarter()
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Delf.c2904 const char *rstr; local
2906 rstr = _conv_reloc_type((uint_t)rtype);
2907 (void) printf(MSG_INTL(MSG_LDD_REL_ERR1), rstr, name,