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

Side by Side Diff: source/io/uprntf_p.c

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 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/io/uprintf.cpp ('k') | source/io/uscanf.h » ('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) 1998-2011, International Business Machines 4 * Copyright (C) 1998-2014, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ****************************************************************************** 7 ******************************************************************************
8 * 8 *
9 * File uprntf_p.c 9 * File uprntf_p.c
10 * 10 *
11 * Modification History: 11 * Modification History:
12 * 12 *
13 * Date Name Description 13 * Date Name Description
14 * 11/23/98 stephen Creation. 14 * 11/23/98 stephen Creation.
15 * 03/12/99 stephen Modified for new C API. 15 * 03/12/99 stephen Modified for new C API.
16 * 08/07/2003 george Reunify printf implementations 16 * 08/07/2003 george Reunify printf implementations
17 ****************************************************************************** 17 ******************************************************************************
18 */ 18 */
19 19
20 #include "unicode/utypes.h" 20 #include "unicode/utypes.h"
21 21
22 #if !UCONFIG_NO_FORMATTING 22 #if !UCONFIG_NO_FORMATTING && !UCONFIG_NO_CONVERSION
23 23
24 #include "unicode/ustring.h" 24 #include "unicode/ustring.h"
25 #include "unicode/utf16.h" 25 #include "unicode/utf16.h"
26 #include "uprintf.h" 26 #include "uprintf.h"
27 #include "ufmt_cmn.h" 27 #include "ufmt_cmn.h"
28 #include "cmemory.h" 28 #include "cmemory.h"
29 #include "putilimp.h" 29 #include "putilimp.h"
30 30
31 /* ANSI style formatting */ 31 /* ANSI style formatting */
32 /* Use US-ASCII characters only for formatting */ 32 /* Use US-ASCII characters only for formatting */
(...skipping 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 } 1580 }
1581 /* delete parsed argument list */ 1581 /* delete parsed argument list */
1582 if (arglist != NULL) { 1582 if (arglist != NULL) {
1583 uprv_free(arglist); 1583 uprv_free(arglist);
1584 } 1584 }
1585 /* return # of characters in this format that have been parsed. */ 1585 /* return # of characters in this format that have been parsed. */
1586 return (int32_t)(alias - fmt); 1586 return (int32_t)(alias - fmt);
1587 } 1587 }
1588 1588
1589 #endif /* #if !UCONFIG_NO_FORMATTING */ 1589 #endif /* #if !UCONFIG_NO_FORMATTING */
OLDNEW
« no previous file with comments | « source/io/uprintf.cpp ('k') | source/io/uscanf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698