Lines Matching refs:outBuf
92 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { in outputChar() argument
104 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */ in outputChar()
110 outBuf[*outIx] = ' '; in outputChar()
117 outBuf[*outIx] = c; in outputChar()
128 char *outBuf, int32_t *outIx, int32_t capacity) { in outputHexBytes() argument
133 outputChar(c, outBuf, outIx, capacity, 0); in outputHexBytes()
138 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { in outputPtrBytes() argument
152 outputHexBytes(*p, 2, outBuf, outIx, capacity); in outputPtrBytes()
157 static void outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t ind… in outputString() argument
165 outputChar(c, outBuf, outIx, capacity, indent); in outputString()
172 char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { in outputUString() argument
176 outputString(NULL, outBuf, outIx, capacity, indent); in outputUString()
182 outputHexBytes(c, 4, outBuf, outIx, capacity); in outputUString()
183 outputChar(' ', outBuf, outIx, capacity, indent); in outputUString()
191 utrace_vformat(char *outBuf, int32_t capacity, int32_t indent, const char *fmt, va_list args) { in utrace_vformat() argument
206 outputChar(fmtC, outBuf, &outIx, capacity, indent); in utrace_vformat()
224 outputChar(c, outBuf, &outIx, capacity, indent); in utrace_vformat()
230 outputString((const char *)ptrArg, outBuf, &outIx, capacity, indent); in utrace_vformat()
237 outputUString((const UChar *)ptrArg, intArg, outBuf, &outIx, capacity, indent); in utrace_vformat()
243 outputHexBytes(intArg, 2, outBuf, &outIx, capacity); in utrace_vformat()
249 outputHexBytes(intArg, 4, outBuf, &outIx, capacity); in utrace_vformat()
255 outputHexBytes(intArg, 8, outBuf, &outIx, capacity); in utrace_vformat()
261 outputHexBytes(longArg, 16, outBuf, &outIx, capacity); in utrace_vformat()
267 outputPtrBytes(ptrArg, outBuf, &outIx, capacity); in utrace_vformat()
275 outputChar('%', outBuf, &outIx, capacity, indent); in utrace_vformat()
303 outputString("*NULL* ", outBuf, &outIx, capacity, indent); in utrace_vformat()
325 outputPtrBytes(*ptrPtr, outBuf, &outIx, capacity); in utrace_vformat()
331 outputChar(*i8Ptr, outBuf, &outIx, capacity, indent); in utrace_vformat()
337 outputString((const char *)*ptrPtr, outBuf, &outIx, capacity, indent); in utrace_vformat()
338 outputChar('\n', outBuf, &outIx, capacity, indent); in utrace_vformat()
345 … outputUString((const UChar *)*ptrPtr, -1, outBuf, &outIx, capacity, indent); in utrace_vformat()
346 outputChar('\n', outBuf, &outIx, capacity, indent); in utrace_vformat()
354 outputHexBytes(longArg, charsToOutput, outBuf, &outIx, capacity); in utrace_vformat()
355 outputChar(' ', outBuf, &outIx, capacity, indent); in utrace_vformat()
362 outputChar('[', outBuf, &outIx, capacity, indent); in utrace_vformat()
363 outputHexBytes(vectorLen, 8, outBuf, &outIx, capacity); in utrace_vformat()
364 outputChar(']', outBuf, &outIx, capacity, indent); in utrace_vformat()
374 outputChar(fmtC, outBuf, &outIx, capacity, indent); in utrace_vformat()
377 … outputChar(0, outBuf, &outIx, capacity, indent); /* Make sure that output is null terminated */ in utrace_vformat()
385 utrace_format(char *outBuf, int32_t capacity, in utrace_format() argument
390 retVal = utrace_vformat(outBuf, capacity, indent, fmt, args); in utrace_format()