Searched defs:newstr (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/lib/libc/port/print/
H A Dasprintf.c40 char *newstr; local
50 if ((newstr = malloc(len)) == NULL)
52 (void) strlcpy(newstr, string, len);
53 *str = newstr;
67 if ((newstr = malloc(len)) == NULL)
69 ret = vsnprintf(newstr, len, format, ap);
71 free(newstr);
75 *str = newstr;
78 free(newstr);
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_create.c208 char *newstr; local
210 if (asprintf(&newstr, "%s %s",
217 ldap_context->root_certificate_file = newstr;
H A Dkdb_ldap.c451 char *newstr; local
453 if (asprintf(&newstr, "%s %s",
461 ldap_context->root_certificate_file = newstr;
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dserver_misc.c64 static char newstr[80]; local
69 if (i >= sizeof(newstr))
70 i = sizeof(newstr)-1;
72 q = newstr;
77 return(newstr);
/osnet-11/usr/src/cmd/sendmail/aux/
H A Dmailcompat.c44 static char *newstr();
92 homedir = newstr(pw->pw_dir);
201 return newstr(start);
243 newstr(s) function
252 usrerr("newstr: cannot alloc memory");
H A Dvacation.c97 static char *newstr(char *);
221 homedir = newstr(pw->pw_dir);
564 Subject = newstr(buf+9);
567 EncodedSubject = newstr(Subject);
568 decoded_subject = newstr(Subject);
832 usrerr("newstr: cannot alloc memory");
995 newstr(s) function
1004 usrerr("newstr: cannot alloc memory");
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dcompletion.c78 * overwrites <str> to common prefix of <str> and <newstr>
79 * if <str> is equal to <newstr> returns <str>+strlen(<str>)+1
82 static char *overlaid(register char *str,register const char *newstr,int nocase) argument
85 while((c= *(unsigned char *)str) && ((d= *(unsigned char*)newstr++),charcmp(c,d,nocase)))
89 else if(*newstr==0)
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_get.c73 char *newstr, **newlist; local
84 newstr = strdup(str);
85 if (newstr == 0)
88 list->list[list->num++] = newstr;
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dmisc.c150 char *newstr; local
153 newstr = (char *) xmalloc (len + 1);
154 memcpy (newstr, str, len + 1);
156 return newstr;
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Dcompletion.c471 char *newstr;
486 newstr = ret;
491 *(newstr++) = '\\';
492 *(newstr++) = *escstr;
494 *newstr = '\0';
470 char *newstr; local
/osnet-11/usr/src/lib/libsec/common/
H A Dacltext.c822 str_append(dynaclstr_t *dstr, char *newstr) argument
824 size_t len = strlen(newstr);
833 (void) strcat(&dstr->d_aclexport[dstr->d_pos], newstr);
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_val.c1677 char *newstr; local
1698 newstr = strdup(&str[s]);
1704 if (newstr == 0 || newval == 0) {
1710 sfree(newstr);
1713 val->val[val->numVals].value = newstr;
1714 val->val[val->numVals].length = strlen(newstr) + 1;
2255 char *newstr = 0; local
2268 str = scanMappingFormat(f, n, nf, str, &newstr, 0, 0);
2276 * If 'str' is NULL, there was an error, and if 'newstr' is
2279 if (str == 0 || *str != '\0' || newstr
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dutil.c33 newstr(s) function
/osnet-11/usr/src/cmd/hal/hald/
H A Dutil.c935 char *newstr; local
941 newstr = g_strdup (str);
943 while (!g_utf8_validate (newstr, -1, (const char **) &endchar)) {
948 if (strlen(newstr) == count)
951 return newstr;
/osnet-11/usr/src/lib/libadr/common/
H A Dadr.c549 char *newstr; local
551 if ((newstr = malloc(len + 1)) == NULL)
553 (void) strlcpy(newstr, str, len + 1);
559 result->d_data.string = newstr;
561 free(newstr);
/osnet-11/usr/src/cmd/sendmail/include/sm/
H A Dconf.h2807 # ifdef newstr
2808 # undef newstr macro
2809 # endif /* newstr */

Completed in 353 milliseconds