Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: source/i18n/csrsbcs.h

Issue 1222643002: Update uconv.patch to exactly match upstream SVN r37045. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/i18n/csr2022.cpp ('k') | source/i18n/csrsbcs.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ********************************************************************** 2 **********************************************************************
3 * Copyright (C) 2005-2013, International Business Machines 3 * Copyright (C) 2005-2015, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************** 5 **********************************************************************
6 */ 6 */
7 7
8 #ifndef __CSRSBCS_H 8 #ifndef __CSRSBCS_H
9 #define __CSRSBCS_H 9 #define __CSRSBCS_H
10 10
11 #include "unicode/uobject.h" 11 #include "unicode/uobject.h"
12 12
13 #if !UCONFIG_NO_CONVERSION 13 #if !UCONFIG_NO_CONVERSION
(...skipping 29 matching lines...) Expand all
43 void lookup(int32_t thisNgram); 43 void lookup(int32_t thisNgram);
44 44
45 virtual int32_t nextByte(InputText *det); 45 virtual int32_t nextByte(InputText *det);
46 virtual void parseCharacters(InputText *det); 46 virtual void parseCharacters(InputText *det);
47 47
48 public: 48 public:
49 int32_t parse(InputText *det); 49 int32_t parse(InputText *det);
50 50
51 }; 51 };
52 52
53 #if !UCONFIG_NO_NON_HTML5_CONVERSION 53 #if !UCONFIG_ONLY_HTML_CONVERSION
54 class NGramParser_IBM420 : public NGramParser 54 class NGramParser_IBM420 : public NGramParser
55 { 55 {
56 private: 56 private:
57 int32_t alef; 57 int32_t alef;
58 int32_t isLamAlef(int32_t b); 58 int32_t isLamAlef(int32_t b);
59 int32_t nextByte(InputText *det); 59 int32_t nextByte(InputText *det);
60 void parseCharacters(InputText *det); 60 void parseCharacters(InputText *det);
61 61
62 public: 62 public:
63 NGramParser_IBM420(const int32_t *theNgramList, const uint8_t *theCharMap); 63 NGramParser_IBM420(const int32_t *theNgramList, const uint8_t *theCharMap);
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 public: 224 public:
225 virtual ~CharsetRecog_KOI8_R(); 225 virtual ~CharsetRecog_KOI8_R();
226 226
227 const char *getName() const; 227 const char *getName() const;
228 228
229 const char *getLanguage() const; 229 const char *getLanguage() const;
230 230
231 virtual UBool match(InputText *det, CharsetMatch *results) const; 231 virtual UBool match(InputText *det, CharsetMatch *results) const;
232 }; 232 };
233 233
234 #if !UCONFIG_NO_NON_HTML5_CONVERSION 234 #if !UCONFIG_ONLY_HTML_CONVERSION
235 class CharsetRecog_IBM424_he : public CharsetRecog_sbcs 235 class CharsetRecog_IBM424_he : public CharsetRecog_sbcs
236 { 236 {
237 public: 237 public:
238 virtual ~CharsetRecog_IBM424_he(); 238 virtual ~CharsetRecog_IBM424_he();
239 239
240 const char *getLanguage() const; 240 const char *getLanguage() const;
241 }; 241 };
242 242
243 class CharsetRecog_IBM424_he_rtl : public CharsetRecog_IBM424_he { 243 class CharsetRecog_IBM424_he_rtl : public CharsetRecog_IBM424_he {
244 public: 244 public:
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 const char *getName() const; 282 const char *getName() const;
283 283
284 virtual UBool match(InputText *det, CharsetMatch *results) const; 284 virtual UBool match(InputText *det, CharsetMatch *results) const;
285 }; 285 };
286 #endif 286 #endif
287 287
288 U_NAMESPACE_END 288 U_NAMESPACE_END
289 289
290 #endif /* !UCONFIG_NO_CONVERSION */ 290 #endif /* !UCONFIG_NO_CONVERSION */
291 #endif /* __CSRSBCS_H */ 291 #endif /* __CSRSBCS_H */
OLDNEW
« no previous file with comments | « source/i18n/csr2022.cpp ('k') | source/i18n/csrsbcs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698