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

Side by Side Diff: source/test/letest/cmaps.cpp

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 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/test/letest/cletest.vcxproj.filters ('k') | source/test/letest/gendata.vcxproj » ('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 * Copyright (C) 1998-2013, International Business Machines 3 * Copyright (C) 1998-2014, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 * 5 *
6 ************************************************************************/ 6 ************************************************************************/
7 7
8 #include "layout/LETypes.h" 8 #include "layout/LETypes.h"
9 #include "layout/LESwaps.h" 9 #include "layout/LESwaps.h"
10 10
11 #include "sfnt.h" 11 #include "sfnt.h"
12 #include "cmaps.h" 12 #include "cmaps.h"
13 #include <stdio.h> 13 #include <stdio.h>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 //default: 114 //default:
115 //printf("Skipping platform id %d\n", platformID); 115 //printf("Skipping platform id %d\n", platformID);
116 } 116 }
117 } 117 }
118 118
119 119
120 if (found) 120 if (found)
121 { 121 {
122 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffs et); 122 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffs et);
123 //printf("%s:%d: using subtable #%d/%d type %d:%d\n", __FILE__, __LINE__, foundTable, nSubtables, foundPlatformID, foundPlatformSpecificID); 123 //printf("%s:%d: using subtable #%d/%d type %d:%d\n", __FILE__, __LINE__, foundTable, nSubtables, foundPlatformID, foundPlatformSpecificID);
124 (void)foundPlatformID; // Suppress unused variable compiler warnings.
125 (void)foundTable;
126 (void)foundPlatformSpecificID;
124 } else { 127 } else {
125 printf("%s:%d: could not find subtable.\n", __FILE__, __LINE__); 128 printf("%s:%d: could not find subtable.\n", __FILE__, __LINE__);
126 return NULL; 129 return NULL;
127 } 130 }
128 131
129 le_uint16 tableFormat = SWAPW(subtable->format); 132 le_uint16 tableFormat = SWAPW(subtable->format);
130 //printf("%s:%d: table format %d\n", __FILE__, __LINE__, tableFormat); 133 //printf("%s:%d: table format %d\n", __FILE__, __LINE__, tableFormat);
131 134
132 switch (tableFormat) { 135 switch (tableFormat) {
133 case 4: 136 case 4:
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 } 241 }
239 242
240 return 0; 243 return 0;
241 } 244 }
242 245
243 CMAPGroupMapper::~CMAPGroupMapper() 246 CMAPGroupMapper::~CMAPGroupMapper()
244 { 247 {
245 // parent destructor does it all 248 // parent destructor does it all
246 } 249 }
247 250
OLDNEW
« no previous file with comments | « source/test/letest/cletest.vcxproj.filters ('k') | source/test/letest/gendata.vcxproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698