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

Side by Side Diff: third_party/WebKit/Source/platform/text/UnicodeRange.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 cRangePrivate, // uf5xx 305 cRangePrivate, // uf5xx
306 cRangePrivate, // uf6xx 306 cRangePrivate, // uf6xx
307 cRangePrivate, // uf7xx 307 cRangePrivate, // uf7xx
308 cRangePrivate, // uf8xx 308 cRangePrivate, // uf8xx
309 cRangeSetCJK, // uf9xx 309 cRangeSetCJK, // uf9xx
310 cRangeSetCJK, // ufaxx 310 cRangeSetCJK, // ufaxx
311 cRangeArabic, // ufbxx, includes alphabic presentation form 311 cRangeArabic, // ufbxx, includes alphabic presentation form
312 cRangeArabic, // ufcxx 312 cRangeArabic, // ufcxx
313 cRangeArabic, // ufdxx 313 cRangeArabic, // ufdxx
314 cRangeArabic, // ufexx, includes Combining half marks, 314 cRangeArabic, // ufexx, includes Combining half marks,
315 // CJK compatibility forms, 315 // CJK compatibility forms,
316 // CJK compatibility forms, 316 // CJK compatibility forms,
317 // small form variants 317 // small form variants
318 cRangeTableBase + 318 cRangeTableBase +
319 8, // uffxx, halfwidth and fullwidth forms, includes Specials 319 8, // uffxx, halfwidth and fullwidth forms, includes Specials
320 }, 320 },
321 { 321 {
322 // table for 0x0500 - 0x05ff 322 // table for 0x0500 - 0x05ff
323 cRangeCyrillic, // u050x 323 cRangeCyrillic, // u050x
324 cRangeCyrillic, // u051x 324 cRangeCyrillic, // u051x
325 cRangeCyrillic, // u052x 325 cRangeCyrillic, // u052x
326 cRangeArmenian, // u053x 326 cRangeArmenian, // u053x
327 cRangeArmenian, // u054x 327 cRangeArmenian, // u054x
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 if (range < cRangeTableBase) 427 if (range < cRangeTableBase)
428 return range; 428 return range;
429 if (range < cRangeTertiaryTable) 429 if (range < cRangeTertiaryTable)
430 return gUnicodeSubrangeTable[range - cRangeTableBase][(ch & 0x00f0) >> 4]; 430 return gUnicodeSubrangeTable[range - cRangeTableBase][(ch & 0x00f0) >> 4];
431 431
432 // Yet another table to look at : U+0700 - U+16FF : 128 code point blocks 432 // Yet another table to look at : U+0700 - U+16FF : 128 code point blocks
433 return gUnicodeTertiaryRangeTable[(ch - 0x0700) >> 7]; 433 return gUnicodeTertiaryRangeTable[(ch - 0x0700) >> 7];
434 } 434 }
435 435
436 } // namespace blink 436 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698