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

Side by Side Diff: source/io/ustdio.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/uscanf_p.c ('k') | source/io/ustream.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 * 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 ustdio.c 9 * File ustdio.c
10 * 10 *
11 * Modification History: 11 * Modification History:
12 * 12 *
13 * Date Name Description 13 * Date Name Description
14 * 11/18/98 stephen Creation. 14 * 11/18/98 stephen Creation.
15 * 03/12/99 stephen Modified for new C API. 15 * 03/12/99 stephen Modified for new C API.
16 * 07/19/99 stephen Fixed read() and gets() 16 * 07/19/99 stephen Fixed read() and gets()
17 ****************************************************************************** 17 ******************************************************************************
18 */ 18 */
19 19
20 #include "unicode/ustdio.h" 20 #include "unicode/ustdio.h"
21
22 #if !UCONFIG_NO_CONVERSION
23
21 #include "unicode/putil.h" 24 #include "unicode/putil.h"
22 #include "cmemory.h" 25 #include "cmemory.h"
23 #include "cstring.h" 26 #include "cstring.h"
24 #include "ufile.h" 27 #include "ufile.h"
25 #include "ufmt_cmn.h" 28 #include "ufmt_cmn.h"
26 #include "unicode/ucnv.h" 29 #include "unicode/ucnv.h"
27 #include "unicode/ustring.h" 30 #include "unicode/ustring.h"
28 31
29 #include <string.h> 32 #include <string.h>
30 33
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 /* update number of items read */ 720 /* update number of items read */
718 read += dataSize; 721 read += dataSize;
719 722
720 /* update the current buffer position */ 723 /* update the current buffer position */
721 str->fPos += dataSize; 724 str->fPos += dataSize;
722 } 725 }
723 while (dataSize != 0 && read < count); 726 while (dataSize != 0 && read < count);
724 727
725 return read; 728 return read;
726 } 729 }
730 #endif
OLDNEW
« no previous file with comments | « source/io/uscanf_p.c ('k') | source/io/ustream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698