UString UOptions::operator[](uint32_t i) { U_TRACE(0, "UOptions::operator[](%u)", i) U_CHECK_MEMORY U_INTERNAL_ASSERT_MINOR(i,length) UString str(item[i].value); U_RETURN_STRING(str); }
void UObjectIO::output() { U_INTERNAL_TRACE("UObjectIO::output()") U_INTERNAL_ASSERT_POINTER(os) buffer_output_len = os->pcount(); U_INTERNAL_PRINT("os->pcount() = %d", buffer_output_len) U_INTERNAL_ASSERT_MINOR(buffer_output_len, buffer_output_sz) buffer_output[buffer_output_len] = '\0'; U_INTERNAL_PRINT("buffer_output = %.*s", U_min(buffer_output_len,128), buffer_output) #ifdef DEBUG_DEBUG off_t pos = os->rdbuf()->pubseekpos(0, U_openmode); #else (void) os->rdbuf()->pubseekpos(0, U_openmode); #endif U_INTERNAL_PRINT("pos = %ld, os->pcount() = %d", pos, os->pcount()) }