Home
last modified time | relevance | path

Searched refs:_print_buffer (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/realtime/lib/
Dlibrttest.c69 char *_print_buffer = NULL; variable
248 _print_buffer = malloc(PRINT_BUFFER_SIZE); in buffer_init()
249 if (!_print_buffer) in buffer_init()
253 memset(_print_buffer, 0, PRINT_BUFFER_SIZE); in buffer_init()
258 if (_print_buffer) { in buffer_print()
259 fprintf(stderr, "%s", _print_buffer); in buffer_print()
260 memset(_print_buffer, 0, PRINT_BUFFER_SIZE); in buffer_print()
267 if (_print_buffer) in buffer_fini()
268 free(_print_buffer); in buffer_fini()
269 _print_buffer = NULL; in buffer_fini()
/third_party/ltp/testcases/realtime/include/
Dlibrttest.h103 extern char * _print_buffer;
171 if (_print_buffer) {\
174 _print_buffer_offset += snprintf(&_print_buffer[_print_buffer_offset],\