Lines Matching refs:result

21      DCHAR_T            The element type of the destination (result) string.
36 TCHAR_T The element type of the argument and result string
877 /* Allocate memory for result. */
965 /* Allocate memory for result. */
1501 /* Returns the number of TCHAR_T units needed as temporary space for the result
1773 DCHAR_T *result;
1801 result = resultbuf;
1806 result = NULL;
1811 result is either == resultbuf or == NULL or malloc-allocated.
1812 If length > 0, then result != NULL. */
1828 if (result == resultbuf || result == NULL) \
1831 memory = (DCHAR_T *) realloc (result, memory_size); \
1834 if (result == resultbuf && length > 0) \
1835 DCHAR_CPY (memory, result, length); \
1836 result = memory; \
1852 DCHAR_CPY (result + length, (const DCHAR_T *) cp, n);
1858 result[length++] = (unsigned char) *cp++;
1874 result[length] = '%';
2000 if (!(result == resultbuf || result == NULL))
2001 free (result);
2025 if (!(result == resultbuf || result == NULL))
2026 free (result);
2050 DCHAR_SET (result + length, ' ', n);
2058 DCHAR_CPY (result + length, arg, n);
2063 DCHAR_T *converted = result + length;
2081 if (!(result == resultbuf || result == NULL))
2082 free (result);
2089 if (converted != result + length)
2092 DCHAR_CPY (result + length, converted, converted_len);
2104 DCHAR_SET (result + length, ' ', n);
2128 if (!(result == resultbuf || result == NULL))
2129 free (result);
2153 if (!(result == resultbuf || result == NULL))
2154 free (result);
2178 DCHAR_SET (result + length, ' ', n);
2186 DCHAR_CPY (result + length, arg, n);
2191 DCHAR_T *converted = result + length;
2209 if (!(result == resultbuf || result == NULL))
2210 free (result);
2217 if (converted != result + length)
2220 DCHAR_CPY (result + length, converted, converted_len);
2232 DCHAR_SET (result + length, ' ', n);
2256 if (!(result == resultbuf || result == NULL))
2257 free (result);
2281 if (!(result == resultbuf || result == NULL))
2282 free (result);
2306 DCHAR_SET (result + length, ' ', n);
2314 DCHAR_CPY (result + length, arg, n);
2319 DCHAR_T *converted = result + length;
2337 if (!(result == resultbuf || result == NULL))
2338 free (result);
2345 if (converted != result + length)
2348 DCHAR_CPY (result + length, converted, converted_len);
2360 DCHAR_SET (result + length, ' ', n);
2489 if (!(result == resultbuf || result == NULL))
2490 free (result);
2525 if (!(result == resultbuf || result == NULL))
2526 free (result);
2550 DCHAR_SET (result + length, ' ', n);
2576 result[length++] = wc;
2602 result[length++] = wc;
2612 DCHAR_SET (result + length, ' ', n);
2657 if (!(result == resultbuf || result == NULL))
2658 free (result);
2702 if (!(result == resultbuf || result == NULL))
2703 free (result);
2771 if (!(result == resultbuf || result == NULL))
2772 free (result);
2788 w = DCHAR_MBSNLEN (result + length, characters);
2804 DCHAR_SET (result + length, ' ', n);
2833 memcpy (result + length, cbuf, count);
2862 if (!(result == resultbuf || result == NULL))
2863 free (result);
2871 memcpy (result + length, cbuf, count);
2878 DCHAR_CPY (result + length, tmpdst, tmpdst_len);
2888 DCHAR_SET (result + length, ' ', n);
3371 /* Make room for the result. */
3379 /* Append the result. */
3380 memcpy (result + length, tmp, count * sizeof (DCHAR_T));
4557 /* Make room for the result. */
4565 /* Append the result. */
4566 memcpy (result + length, tmp, count * sizeof (DCHAR_T));
4887 /* The SNPRINTF result is appended after result[0..length].
4900 *(TCHAR_T *) (result + length) = '\0';
4919 retcount = SNPRINTF ((TCHAR_T *) (result + length), \
4924 retcount = SNPRINTF ((TCHAR_T *) (result + length), \
4929 retcount = SNPRINTF ((TCHAR_T *) (result + length), \
5079 result. */
5081 && ((TCHAR_T *) (result + length)) [count] != '\0')
5155 if (!(result == resultbuf || result == NULL))
5156 free (result);
5212 (TCHAR_T *) (result + length);
5247 prec_ptr = (TCHAR_T *) (result + length);
5282 The result string is not certainly ASCII. */
5290 tmpsrc = (TCHAR_T *) (result + length);
5303 if (!(result == resultbuf || result == NULL))
5304 free (result);
5312 DCHAR_CPY (result + length, tmpdst, tmpdst_len);
5318 /* The result string is ASCII.
5323 at (result + length). */
5332 if (result == resultbuf)
5334 tmpsrc = (TCHAR_T *) (result + length);
5344 tmpsrc = (TCHAR_T *) (result + length);
5350 tmpdst = result + length;
5361 /* Make room for the result. */
5384 w = DCHAR_MBSNLEN (result + length, count);
5394 /* Make room for the result. */
5415 DCHAR_T * const rp = result + length;
5476 /* The snprintf() result did fit. */
5478 /* Append the sprintf() result. */
5479 memcpy (result + length, tmp, count * sizeof (DCHAR_T));
5489 /* Convert the %f result to upper case for %F. */
5490 DCHAR_T *rp = result + length;
5509 result[length] = '\0';
5511 if (result != resultbuf && length + 1 < allocated)
5516 memory = (DCHAR_T *) realloc (result, (length + 1) * sizeof (DCHAR_T));
5518 result = memory;
5529 return result;
5533 if (!(result == resultbuf || result == NULL))
5534 free (result);
5543 if (!(result == resultbuf || result == NULL))
5544 free (result);