OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Computer, Inc. | 2 * Copyright (C) 2007 Apple Computer, Inc. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2.1 of the License, or (at your option) any later version. | 9 * version 2.1 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 range = gUnicodeSubrangeTable[range - cRangeTableBase][(ch & 0x0f00) >> 8]; | 415 range = gUnicodeSubrangeTable[range - cRangeTableBase][(ch & 0x0f00) >> 8]; |
416 if (range < cRangeTableBase) | 416 if (range < cRangeTableBase) |
417 return range; | 417 return range; |
418 if (range < cRangeTertiaryTable) | 418 if (range < cRangeTertiaryTable) |
419 return gUnicodeSubrangeTable[range - cRangeTableBase][(ch & 0x00f0) >> 4
]; | 419 return gUnicodeSubrangeTable[range - cRangeTableBase][(ch & 0x00f0) >> 4
]; |
420 | 420 |
421 // Yet another table to look at : U+0700 - U+16FF : 128 code point blocks | 421 // Yet another table to look at : U+0700 - U+16FF : 128 code point blocks |
422 return gUnicodeTertiaryRangeTable[(ch - 0x0700) >> 7]; | 422 return gUnicodeTertiaryRangeTable[(ch - 0x0700) >> 7]; |
423 } | 423 } |
424 | 424 |
425 } | 425 } // namespace blink |
OLD | NEW |