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

Side by Side Diff: base/third_party/icu/icu_utf.cc

Issue 6410105: run iwyu on base! Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « base/third_party/dmg_fp/g_fmt.cc ('k') | base/third_party/nspr/prtime.cc » ('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 * 3 *
4 * Copyright (C) 1999-2006, International Business Machines 4 * Copyright (C) 1999-2006, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ****************************************************************************** 7 ******************************************************************************
8 * file name: utf_impl.c 8 * file name: utf_impl.c
9 * encoding: US-ASCII 9 * encoding: US-ASCII
10 * tab size: 8 (not used) 10 * tab size: 8 (not used)
11 * indentation:4 11 * indentation:4
12 * 12 *
13 * created on: 1999sep13 13 * created on: 1999sep13
14 * created by: Markus W. Scherer 14 * created by: Markus W. Scherer
15 * 15 *
16 * This file provides implementation functions for macros in the utfXX.h 16 * This file provides implementation functions for macros in the utfXX.h
17 * that would otherwise be too long as macros. 17 * that would otherwise be too long as macros.
18 */ 18 */
19 19
20 #include "base/basictypes.h"
20 #include "base/third_party/icu/icu_utf.h" 21 #include "base/third_party/icu/icu_utf.h"
21 22
22 namespace base_icu { 23 namespace base_icu {
23 24
24 /** 25 /**
25 * UTF8_ERROR_VALUE_1 and UTF8_ERROR_VALUE_2 are special error values for UTF-8, 26 * UTF8_ERROR_VALUE_1 and UTF8_ERROR_VALUE_2 are special error values for UTF-8,
26 * which need 1 or 2 bytes in UTF-8: 27 * which need 1 or 2 bytes in UTF-8:
27 * \code 28 * \code
28 * U+0015 = NAK = Negative Acknowledge, C0 control character 29 * U+0015 = NAK = Negative Acknowledge, C0 control character
29 * U+009f = highest C1 control character 30 * U+009f = highest C1 control character
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 c=utf8_errorValue[i-i0]; 220 c=utf8_errorValue[i-i0];
220 } else { 221 } else {
221 c=CBU_SENTINEL; 222 c=CBU_SENTINEL;
222 } 223 }
223 } 224 }
224 *pi=i; 225 *pi=i;
225 return c; 226 return c;
226 } 227 }
227 228
228 } // namespace base_icu 229 } // namespace base_icu
OLDNEW
« no previous file with comments | « base/third_party/dmg_fp/g_fmt.cc ('k') | base/third_party/nspr/prtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698