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

Side by Side Diff: core/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp

Issue 2376153004: Move core/fpdfapi/include to core/fpdfapi (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "core/fpdfapi/fpdf_cmaps/cmap_int.h" 7 #include "core/fpdfapi/fpdf_cmaps/cmap_int.h"
8 8
9 #include "core/fpdfapi/cpdf_modulemgr.h"
9 #include "core/fpdfapi/fpdf_font/font_int.h" 10 #include "core/fpdfapi/fpdf_font/font_int.h"
10 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h" 11 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h"
11 #include "core/fpdfapi/include/cpdf_modulemgr.h"
12 12
13 extern "C" { 13 extern "C" {
14 14
15 static int compareWord(const void* p1, const void* p2) { 15 static int compareWord(const void* p1, const void* p2) {
16 return (*(uint16_t*)p1) - (*(uint16_t*)p2); 16 return (*(uint16_t*)p1) - (*(uint16_t*)p2);
17 } 17 }
18 18
19 static int compareWordRange(const void* key, const void* element) { 19 static int compareWordRange(const void* key, const void* element) {
20 if (*(uint16_t*)key < *(uint16_t*)element) 20 if (*(uint16_t*)key < *(uint16_t*)element)
21 return -1; 21 return -1;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 pCur += 3; 146 pCur += 3;
147 } 147 }
148 } 148 }
149 if (pMap->m_UseOffset == 0) 149 if (pMap->m_UseOffset == 0)
150 return 0; 150 return 0;
151 151
152 pMap = pMap + pMap->m_UseOffset; 152 pMap = pMap + pMap->m_UseOffset;
153 } 153 }
154 } 154 }
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp ('k') | core/fpdfapi/fpdf_font/cpdf_cidfont.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698