Lines Matching refs:sstring
55 static char *sstring; /* return string for sb*tos */
301 * sstring = address of string to translate into.
302 * ssize = size of memory currently allocated to sstring.
304 * Exit sstring = Newly translated string.
313 * Uses ssize, sstring.
325 if ((ssize = alloc_string(&sstring, ssize, 's')) == 0)
331 if ((slen = bsltos(label, &sstring, ssize,
335 if (*sstring == '\0') {
337 /* sstring not long enough */
338 if ((newsize = alloc_string(&sstring, ssize,
350 return (sstring);
356 if ((wccount = mbstowcs(wstring, sstring, slen - 1)) == -1) {
372 /* sstring not long enough */
373 if ((newsize = alloc_string(&sstring, ssize, 's')) ==
381 if ((wccount = wcstombs(sstring, wstring, ssize)) == -1) {
388 return (sstring);
397 * sstring = address of string to translate into.
398 * ssize = size of memory currently allocated to sstring.
400 * Exit sstring = Newly translated string.
409 * Uses ssize, sstring.
421 if ((ssize = alloc_string(&sstring, ssize, 'c')) == 0)
427 if ((slen = bcleartos(clearance, &sstring, ssize,
431 if (*sstring == '\0') {
433 /* sstring not long enough */
434 if ((newsize = alloc_string(&sstring, ssize,
446 return (sstring);
452 if ((wccount = mbstowcs(wstring, sstring, slen - 1)) == -1) {
468 /* sstring not long enough */
469 if ((newsize = alloc_string(&sstring, ssize, 'c')) ==
477 if ((wccount = wcstombs(sstring, wstring, ssize)) == -1) {
484 return (sstring);