diff options
author | huangh <huangh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2013-04-11 18:07:48 +0000 |
---|---|---|
committer | huangh <huangh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2013-04-11 18:07:48 +0000 |
commit | b73cdef9288bfcb88b45c1d320d377b03007d1b3 (patch) | |
tree | 991b03a4a95b1ed7c995b43398f71b7a7cd2c2f7 /TAO/tao/Codeset | |
parent | 5be31b75376b2a62e9dbb60b2c179bea44f5e10e (diff) | |
download | ATCD-b73cdef9288bfcb88b45c1d320d377b03007d1b3.tar.gz |
Thu Apr 11 18:03:24 UTC 2013 Huang-Ming Huang <huangh@ociweb.com>
Diffstat (limited to 'TAO/tao/Codeset')
-rw-r--r-- | TAO/tao/Codeset/Codeset_Descriptor.cpp | 2 | ||||
-rw-r--r-- | TAO/tao/Codeset/Codeset_Manager_i.cpp | 28 | ||||
-rw-r--r-- | TAO/tao/Codeset/Codeset_Translator_Factory_T.cpp | 2 | ||||
-rw-r--r-- | TAO/tao/Codeset/UTF16_BOM_Factory.cpp | 4 | ||||
-rw-r--r-- | TAO/tao/Codeset/UTF16_BOM_Translator.cpp | 2 | ||||
-rw-r--r-- | TAO/tao/Codeset/UTF8_Latin1_Factory.cpp | 2 |
6 files changed, 20 insertions, 20 deletions
diff --git a/TAO/tao/Codeset/Codeset_Descriptor.cpp b/TAO/tao/Codeset/Codeset_Descriptor.cpp index 990a20182c2..143cbcaba40 100644 --- a/TAO/tao/Codeset/Codeset_Descriptor.cpp +++ b/TAO/tao/Codeset/Codeset_Descriptor.cpp @@ -68,7 +68,7 @@ TAO_Codeset_Descriptor::ncs (ACE_CDR::ULong n) if (this->max_bytes_ == 0) { if (TAO_debug_level > 0) - ACE_ERROR((LM_ERROR, + TAOLIB_ERROR((LM_ERROR, ACE_TEXT("(%P|%t) TAO_Codeset_Descriptor::ncs, ") ACE_TEXT("unknown codeset id 0x%x\n"), n)); diff --git a/TAO/tao/Codeset/Codeset_Manager_i.cpp b/TAO/tao/Codeset/Codeset_Manager_i.cpp index 1264a62973e..62d1fc2b67b 100644 --- a/TAO/tao/Codeset/Codeset_Manager_i.cpp +++ b/TAO/tao/Codeset/Codeset_Manager_i.cpp @@ -110,13 +110,13 @@ TAO_Codeset_Manager_i::set_tcs (TAO_Profile &theProfile, if (trans.is_tcs_set ()) { if(TAO_debug_level > 2) - ACE_DEBUG ((LM_DEBUG, + TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) - Codeset_Manager_i::set_tcs, ") ACE_TEXT ("transport already set\n"))); return; } if (TAO_debug_level > 2) - ACE_DEBUG ((LM_DEBUG, + TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) - Codeset_Manager_i::set_tcs, ") ACE_TEXT ("No codeset component in profile\n"))); @@ -140,7 +140,7 @@ TAO_Codeset_Manager_i::set_tcs (TAO_Profile &theProfile, computeTCS (remote.ForCharData, this->codeset_info_.ForCharData); if (TAO_debug_level > 2) - ACE_DEBUG ((LM_DEBUG, + TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT("TAO (%P|%t) - Codeset_Manager_i::set_tcs, ") ACE_TEXT("setting char translator (%08x)\n"), tcs)); @@ -150,7 +150,7 @@ TAO_Codeset_Manager_i::set_tcs (TAO_Profile &theProfile, this->codeset_info_.ForWcharData); if (TAO_debug_level > 2) - ACE_DEBUG ((LM_DEBUG, + TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT("TAO (%P|%t) - Codeset_Manager_i::set_tcs, ") ACE_TEXT("setting wchar translator (%08x)\n"), tcs)); @@ -193,7 +193,7 @@ TAO_Codeset_Manager_i::process_service_context (TAO_ServerRequest &request) if (request.transport()->is_tcs_set()) return; if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, + TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT("TAO (%P|%t) - ") ACE_TEXT("Codeset_Manager_i::process_service_context ") ACE_TEXT("no codeset context in request, using defaults\n") @@ -207,7 +207,7 @@ TAO_Codeset_Manager_i::process_service_context (TAO_ServerRequest &request) ACE_CString tcs_w_locale; ACE_Codeset_Registry::registry_to_locale (tcs_c, tcs_c_locale, 0, 0); ACE_Codeset_Registry::registry_to_locale (tcs_w, tcs_w_locale, 0, 0); - ACE_DEBUG ((LM_DEBUG, + TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) - Codeset_Manager_i::") ACE_TEXT ("process_service_context, ") ACE_TEXT ("using tcsc <%C> (%08x), tcsw <%C> (%08x)\n"), @@ -245,7 +245,7 @@ TAO_Codeset_Manager_i::generate_service_context (TAO_Operation_Details &opd, ACE_CString tcs_w_locale; ACE_Codeset_Registry::registry_to_locale (codeset_cntx.char_data, tcs_c_locale, 0, 0); ACE_Codeset_Registry::registry_to_locale (codeset_cntx.wchar_data, tcs_w_locale, 0, 0); - ACE_DEBUG ((LM_DEBUG, + TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) - Codeset_Manager_i::") ACE_TEXT ("generate_service_context, ") ACE_TEXT ("using tcs_c <%C> (%08x), tcs_w <%C> (%08x)\n"), @@ -360,7 +360,7 @@ TAO_Codeset_Manager_i::open(TAO_ORB_Core& core) else { if (TAO_debug_level > 2) - ACE_DEBUG ((LM_DEBUG, + TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT("TAO (%P|%t) - Codeset_Manager_i::open skipping ") ACE_TEXT("redundant load of UTF8_Latin1_Factory\n") )); @@ -378,7 +378,7 @@ TAO_Codeset_Manager_i::open(TAO_ORB_Core& core) else { if (TAO_debug_level > 2) - ACE_DEBUG ((LM_DEBUG, + TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT("TAO (%P|%t) - Codeset_Manager_i::open skipping ") ACE_TEXT("redundant load of UTF16_BOM_Factory\n") )); @@ -401,7 +401,7 @@ TAO_Codeset_Manager_i::open(TAO_ORB_Core& core) this->codeset_info_.ForCharData) == -1) { if (TAO_debug_level) - ACE_ERROR ((LM_ERROR, + TAOLIB_ERROR ((LM_ERROR, ACE_TEXT ("TAO (%P|%t) - Codeset_Manager_i::") ACE_TEXT ("configure_codeset_factories, failed to init ") ACE_TEXT ("char codeset factories\n"))); @@ -411,7 +411,7 @@ TAO_Codeset_Manager_i::open(TAO_ORB_Core& core) this->codeset_info_.ForWcharData) == -1) { if (TAO_debug_level) - ACE_ERROR ((LM_ERROR, + TAOLIB_ERROR ((LM_ERROR, ACE_TEXT ("TAO (%P|%t) - Codeset_Manager_i::") ACE_TEXT ("configure_codeset_factories, failed to init ") ACE_TEXT ("wchar codeset factories\n"))); @@ -438,7 +438,7 @@ TAO_Codeset_Manager_i::init_ccs (TAO_Codeset_Descriptor& cd, if (tlist->translator_factory_ == 0) { if (TAO_debug_level) - ACE_ERROR ((LM_ERROR, + TAOLIB_ERROR ((LM_ERROR, ACE_TEXT ("TAO (%P|%t) - Codeset_Manager_i::") ACE_TEXT ("init_ccs, Unable to load ") ACE_TEXT ("code set translator <%s>, %m\n"), @@ -449,7 +449,7 @@ TAO_Codeset_Manager_i::init_ccs (TAO_Codeset_Descriptor& cd, if (tlist->translator_factory_->ncs() != cs_comp.native_code_set) { if (TAO_debug_level) - ACE_ERROR ((LM_ERROR, + TAOLIB_ERROR ((LM_ERROR, ACE_TEXT ("TAO (%P|%t) - Codeset_Manager_i::") ACE_TEXT ("init_ccs, codeset translator <%s> ") ACE_TEXT ("has wrong ncs (%d), %m\n"), @@ -467,7 +467,7 @@ TAO_Codeset_Manager_i::init_ccs (TAO_Codeset_Descriptor& cd, tlist->translator_factory_->tcs(); if (TAO_debug_level > 2) { - ACE_DEBUG ((LM_DEBUG, + TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) - Codeset_Manager_i::") ACE_TEXT ("init_ccs, Loaded Codeset translator ") ACE_TEXT ("<%s>, ncs = %08x tcs = %08x\n"), diff --git a/TAO/tao/Codeset/Codeset_Translator_Factory_T.cpp b/TAO/tao/Codeset/Codeset_Translator_Factory_T.cpp index 83571c9d6bb..bf8f141653a 100644 --- a/TAO/tao/Codeset/Codeset_Translator_Factory_T.cpp +++ b/TAO/tao/Codeset/Codeset_Translator_Factory_T.cpp @@ -41,7 +41,7 @@ TAO_Codeset_Translator_Factory_T<NCS_TO_TCS>::init (int argc, ACE_TCHAR* argv[]) this->TAO_Codeset_Translator_Factory::init (argc,argv); ACE_NEW_RETURN (translator_,NCS_TO_TCS,-1); if( TAO_debug_level > 0 ) - ACE_DEBUG((LM_DEBUG, "TAO_Codeset_Translator_Factory_T<NCS_TO_TCS>::init() entered\n")); + TAOLIB_DEBUG((LM_DEBUG, "TAO_Codeset_Translator_Factory_T<NCS_TO_TCS>::init() entered\n")); return 0; } diff --git a/TAO/tao/Codeset/UTF16_BOM_Factory.cpp b/TAO/tao/Codeset/UTF16_BOM_Factory.cpp index 64123cd9130..0ce8840b917 100644 --- a/TAO/tao/Codeset/UTF16_BOM_Factory.cpp +++ b/TAO/tao/Codeset/UTF16_BOM_Factory.cpp @@ -58,7 +58,7 @@ TAO_UTF16_BOM_Factory::init (int argc, ACE_TCHAR *argv[]) } else { - ACE_ERROR ((LM_ERROR, + TAOLIB_ERROR ((LM_ERROR, ACE_TEXT ("(%P|%t)TAO_UTF16_BOM_Factory parameter error: %s\n") ACE_TEXT ("Usage: TAO_UTF16_BOM_Factory \"-forceBE\"\n") , argv[narg] @@ -129,7 +129,7 @@ TAO_UTF16_BOM_Factory::create_translator () const if (this->translator_ == 0) { if (TAO_debug_level) - ACE_ERROR ((LM_ERROR, + TAOLIB_ERROR ((LM_ERROR, ACE_TEXT ("TAO (%P|%t) - UTF16_BOM_Factory: ") ACE_TEXT ("Cannot create translator\n") )); diff --git a/TAO/tao/Codeset/UTF16_BOM_Translator.cpp b/TAO/tao/Codeset/UTF16_BOM_Translator.cpp index 4c0d0c04755..1751a364c5c 100644 --- a/TAO/tao/Codeset/UTF16_BOM_Translator.cpp +++ b/TAO/tao/Codeset/UTF16_BOM_Translator.cpp @@ -34,7 +34,7 @@ TAO_UTF16_BOM_Translator::TAO_UTF16_BOM_Translator (bool forceBE) : forceBE_(forceBE) { if (TAO_debug_level > 1) - ACE_DEBUG((LM_DEBUG, + TAOLIB_DEBUG((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) - UTF16_BOM_Translator: ") ACE_TEXT("forceBE %d\n"), this->forceBE_ ? 1:0 )); } diff --git a/TAO/tao/Codeset/UTF8_Latin1_Factory.cpp b/TAO/tao/Codeset/UTF8_Latin1_Factory.cpp index 604167f74b4..5e8a3ee1b09 100644 --- a/TAO/tao/Codeset/UTF8_Latin1_Factory.cpp +++ b/TAO/tao/Codeset/UTF8_Latin1_Factory.cpp @@ -81,7 +81,7 @@ TAO_UTF8_Latin1_Factory::create_translator () const if (this->translator_ == 0) { if (TAO_debug_level) - ACE_ERROR ((LM_ERROR, + TAOLIB_ERROR ((LM_ERROR, ACE_TEXT ("(%P|%t) TAO_UTF8_Latin1_Factory cannot ") ACE_TEXT("create TAO_UTF8_Latin1_Translator\n") )); |