equal
deleted
inserted
replaced
1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1998-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
150 { |
150 { |
151 return aCode == 0x0000 || aCode == 0x0009 || aCode == 0x000A || aCode == 0x000D || |
151 return aCode == 0x0000 || aCode == 0x0009 || aCode == 0x000A || aCode == 0x000D || |
152 (aCode >= 0x0020 && aCode <= 0x007F); |
152 (aCode >= 0x0020 && aCode <= 0x007F); |
153 } |
153 } |
154 |
154 |
|
155 #pragma BullseyeCoverage off |
|
156 |
155 void TUnicodeCompressionState::Panic(TPanic aPanic) |
157 void TUnicodeCompressionState::Panic(TPanic aPanic) |
156 { |
158 { |
157 User::Panic(_L("ucmp"),aPanic); |
159 User::Panic(_L("ucmp"),aPanic); |
158 } |
160 } |
|
161 |
|
162 #pragma BullseyeCoverage on |
159 |
163 |
160 EXPORT_C TUnicodeCompressor::TUnicodeCompressor(): |
164 EXPORT_C TUnicodeCompressor::TUnicodeCompressor(): |
161 iInputBufferStart(0), |
165 iInputBufferStart(0), |
162 iInputBufferSize(0), |
166 iInputBufferSize(0), |
163 iOutputBufferStart(0), |
167 iOutputBufferStart(0), |