__out
_OutputIter __out, const _Distance __n)
*__out = *__first;
++__out;
return __out;
_OutputIter __out, const _Distance __n,
*__out = *__first;
++__out;
return __out;
_RandomAccessIter __out,
__out[__m] = *__first;
__out[__M] = *__first;
return __out + __m;
_RandomAccessIter __out,
__out[__m] = *__first;
__out[__M] = *__first;
return __out + __m;
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] ", \
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s" prefix, \
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s:%d: ", \
#define TPRINT(x...) DEBUG_CONTEXT( __out(x) )
DEBUG_CONTEXT_LINE( __out("%s\n", strerror(status)) )
#define TFUNCTION(x...) DEBUG_CONTEXT_FUNCTION( ": ", __out(x) )
QUERY_D(__out("( "));
QUERY_D(__out(" %s ", op));
QUERY_D(__out(" )"));
QUERY_D(__out("[\"%s\" %s \"%s\"]", fAttribute, symbol, fString));
QUERY_D(__out("\n"));
#define DEBUG_CONTEXT_LINE(x) { dbg_printf_begin(); __out(DEBUG_APP ": [%" \
#define TPRINT(x) DEBUG_CONTEXT( __out x )
#define TREPORT_ERROR(status) DEBUG_CONTEXT_LINE( __out("%s\n", strerror(status)) )
#define TFUNCTION(x) DEBUG_CONTEXT_FUNCTION( ": ", __out x )
#define FATAL(x) DEBUG_CONTEXT( __out x )
#define ERROR(x) DEBUG_CONTEXT( __out x )
#define WARN(x) DEBUG_CONTEXT( __out x )
#define INFORM(x) DEBUG_CONTEXT( __out x )
#define FATAL(x) DEBUG_CONTEXT( __out x )
#define ERROR(x) DEBUG_CONTEXT( __out x )
#define WARN(x) DEBUG_CONTEXT( __out x )
#define INFORM(x) DEBUG_CONTEXT( __out x )
#define DEBUG_CONTEXT(x) { dbg_printf_begin(); __out(DEBUG_APP ": [%" \
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s()" prefix, \
__out("TreeIterator at %p:\n", this);
__out("\tfTree = %p\n", fTree);
__out("\tfCurrentNodeOffset = %" B_PRId64 "\n", fCurrentNodeOffset);
__out("\tfCurrentKey = %d\n", (int)fCurrentKey);
__out("\tfDuplicateNode = %" B_PRId64 " (%" B_PRId64 ", 0x%" B_PRIx64 ")\n",
__out("\tfDuplicate = %u\n", fDuplicate);
__out("\tfNumDuplicates = %u\n", fNumDuplicates);
__out("\tfIsFragment = %s\n", fIsFragment ? "true" : "false");
#define PRINT(x) { __out("bfs: "); __out x; }
__out("bfs: %s:%d: %s\n", __FUNCTION__, __LINE__, strerror(status));
#define FATAL(x) { __out("bfs: "); __out x; }
#define INFORM(x) { __out("bfs: "); __out x; }
#define FUNCTION_START(x) { __out("bfs: %s() ",__FUNCTION__); __out x; }
__out("bfs: %s:%d: %s\n", __FUNCTION__, __LINE__, strerror(status));
#define FATAL(x) { __out("bfs: "); __out x; }
#define INFORM(x) { __out("bfs: "); __out x; }
__out("##################################################\n");
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] ", system_time(),\
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s" prefix, \
__out(DEBUG_APP ": [%" B_PRId64 ": %5" B_PRId32 "] %s:%d: ", \
#define TPRINT(x...) DEBUG_CONTEXT( __out(x) )
DEBUG_CONTEXT_LINE( __out("%s\n", strerror(status)) )
#define TFUNCTION(x...) DEBUG_CONTEXT_FUNCTION( ": ", __out(x) )
#define FATAL(x...) DEBUG_CONTEXT( __out(x) )
#define ERROR(x...) DEBUG_CONTEXT( __out(x) )
#define WARN(x...) DEBUG_CONTEXT( __out(x) )
#define INFORM(x...) DEBUG_CONTEXT( __out(x) )
#define FATAL(x...) DEBUG_CONTEXT( __out(x) )
#define ERROR(x...) DEBUG_CONTEXT( __out(x) )
#define WARN(x...) DEBUG_CONTEXT( __out(x) )
#define INFORM(x...) DEBUG_CONTEXT( __out(x) )
__out("fat[%" B_PRId32 "]: ", find_thread(NULL)); \
__out x; \
__out("fat[%" B_PRId32 "]: ", find_thread(NULL)); \
__out(__VA_ARGS__); \
__out("fat[%" B_PRId32 "]: ", find_thread(NULL)); \
__out(__VA_ARGS__); \
__out("fat[%" B_PRId32 "]: %s:%d: %s\n", find_thread(NULL), __FUNCTION__, __LINE__, \
__out("fat[%" B_PRId32 "]: ", find_thread(NULL)); \
__out x; \
__out("fat[%" B_PRId32 "]: ", find_thread(NULL)); \
__out(__VA_ARGS__); \
#define FUNCTION() __out("fat[%" B_PRId32 "]: %s()\n", find_thread(NULL), __FUNCTION__);
__out("fat[%" B_PRId32 "]: %s() ", find_thread(NULL), __FUNCTION__); \
__out(__VA_ARGS__); \
__out("fat[%" B_PRId32 "]: %s:%d: %s\n", find_thread(NULL), __FUNCTION__, __LINE__, \
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] ", system_time(), DEBUG_THREAD); \
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s" prefix, system_time(), DEBUG_THREAD, \
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s:%d: ", system_time(), DEBUG_THREAD, \
#define TPRINT(x...) DEBUG_CONTEXT( __out(x) )
DEBUG_CONTEXT_LINE( __out("%s\n", strerror(status)) )
#define TFUNCTION(x...) DEBUG_CONTEXT_FUNCTION( ": ", __out(x) )
#define FATAL(x...) DEBUG_CONTEXT( __out(x) )
#define ERROR(x...) DEBUG_CONTEXT( __out(x) )
#define WARN(x...) DEBUG_CONTEXT( __out(x) )
#define INFORM(x...) DEBUG_CONTEXT( __out(x) )
#define FATAL(x...) DEBUG_CONTEXT( __out(x) )
#define ERROR(x...) DEBUG_CONTEXT( __out(x) )
#define WARN(x...) DEBUG_CONTEXT( __out(x) )
#define INFORM(x...) DEBUG_CONTEXT( __out(x) )
__out("##################################################\n");
__out("##################################################\n");
__out("udf: %s::%s(", \
__out("udf: %s(", __FUNCTION__); \
__out arguments; \
__out("):\n"); \
__out("udf: %s::%s(): ", \
__out("udf: %s(): ", __FUNCTION__); \
__out x; \
__out("udf: %s::%s(): line %d: ", \
__out("udf: %s(): line %d: ", \
__out x; \
__out x; \
__out(" "); \
#define FATAL(x) { __out("udf: fatal error: "); __out x; }
#define INFORM(x) { __out("udf: "); __out x; }
__out("##################################################\n");
__out("session: %s::%s(", \
__out("session: %s(", __FUNCTION__); \
__out arguments; \
__out("):\n"); \
__out("session: %s::%s(): ", \
__out("session: %s(): ", __FUNCTION__); \
__out x; \
__out("session: %s::%s(): line %d: ", \
__out("session: %s(): line %d: ", \
__out x; \
__out x; \
__out(" "); \
#define FATAL(x) { __out("session: fatal error: "); __out x; }
#define INFORM(x) { __out("session: "); __out x; }
__out("##################################################\n");
#define DEBUG_CONTEXT(x) { dbg_printf_begin(); __out(DEBUG_APP ": [%lld: %5ld] ", system_time(), DEBUG_THREAD); x; dbg_printf_end(); }
#define DEBUG_CONTEXT_FUNCTION(prefix, x) { dbg_printf_begin(); __out(DEBUG_APP ": [%lld: %5ld] %s()" prefix, system_time(), DEBUG_THREAD, __FUNCTION__); x; dbg_printf_end(); }
#define DEBUG_CONTEXT_LINE(x) { dbg_printf_begin(); __out(DEBUG_APP ": [%lld: %5ld] %s():%d: ", system_time(), DEBUG_THREAD, __FUNCTION__, __LINE__); x; dbg_printf_end(); }
#define TPRINT(x) DEBUG_CONTEXT( __out x )
#define TREPORT_ERROR(status) DEBUG_CONTEXT_LINE( __out("%s\n", strerror(status)) )
#define TFUNCTION(x) DEBUG_CONTEXT_FUNCTION( ": ", __out x )
#define FATAL(x) DEBUG_CONTEXT( __out x )
#define ERROR(x) DEBUG_CONTEXT( __out x )
#define WARN(x) DEBUG_CONTEXT( __out x )
#define INFORM(x) DEBUG_CONTEXT( __out x )
#define FATAL(x) DEBUG_CONTEXT( __out x )
#define ERROR(x) DEBUG_CONTEXT( __out x )
#define WARN(x) DEBUG_CONTEXT( __out x )
#define INFORM(x) DEBUG_CONTEXT( __out x )
__out("##################################################\n");
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] ", \
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s" prefix, \
__out(DEBUG_APP ": [%" B_PRIdBIGTIME ": %5" B_PRId32 "] %s:%d: ", \
#define TPRINT(x...) DEBUG_CONTEXT( __out(x) )
DEBUG_CONTEXT_LINE( __out("%s\n", strerror(status)) )
#define TFUNCTION(x...) DEBUG_CONTEXT_FUNCTION( ": ", __out(x) )
#define FATAL(x...) DEBUG_CONTEXT( __out(x) )
#define ERROR(x...) DEBUG_CONTEXT( __out(x) )
#define WARN(x...) DEBUG_CONTEXT( __out(x) )
#define INFORM(x...) DEBUG_CONTEXT( __out(x) )
#define FATAL(x...) DEBUG_CONTEXT( __out(x) )
#define ERROR(x...) DEBUG_CONTEXT( __out(x) )
#define WARN(x...) DEBUG_CONTEXT( __out(x) )
#define INFORM(x...) DEBUG_CONTEXT( __out(x) )
#define PRINT(x...) { __out(DEBUG_APP ": " x); }
__out(DEBUG_APP ": %s:%d: %s\n", __FUNCTION__, __LINE__, \
#define FATAL(x...) { __out(DEBUG_APP ": " x); }
#define ERROR(x...) { __out(DEBUG_APP ": " x); }
#define WARNING(x...) { __out(DEBUG_APP ": " x); }
#define INFORM(x...) { __out(DEBUG_APP ": " x); }
#define FUNCTION(x) { __out(DEBUG_APP ": %s() ",__FUNCTION__); __out x; }
#define FUNCTION_START() { __out(DEBUG_APP ": %s()\n",__FUNCTION__); }
#define FUNCTION_END() { __out(DEBUG_APP ": %s() done\n",__FUNCTION__); }
#define FATAL(x...) { __out(DEBUG_APP ": " x); }
#define ERROR(x...) { __out(DEBUG_APP ": " x); }
#define WARNING(x...) { __out(DEBUG_APP ": " x); }
#define INFORM(x...) { __out(DEBUG_APP ": " x); }
#define QUERY_INFORM __out
#define PRINT(x) { __out("udf: "); __out x; }
#define REPORT_ERROR(status) __out("udf: %s:%s:%ld: %s\n", __FILE__, __FUNCTION__, __LINE__, strerror(status));
#define FATAL(x) { __out("udf: "); __out x; }
#define INFORM(x) { __out("udf: "); __out x; }
#define FUNCTION() __out("udf: %s()\n",__FUNCTION__);
#define FUNCTION_START(x) { __out("udf: %s() ",__FUNCTION__); __out x; }
#define FATAL(x) { __out("udf: "); __out x; }
#define INFORM(x) { __out("udf: "); __out x; }