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

Side by Side Diff: Source/platform/text/TextBreakIteratorICU.cpp

Issue 34273002: Remove UnusedParam.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unused variables from signatures Created 7 years 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 /* 1 /*
2 * Copyright (C) 2006 Lars Knoll <lars@trolltech.com> 2 * Copyright (C) 2006 Lars Knoll <lars@trolltech.com>
3 * Copyright (C) 2007, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2007, 2011, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 textFixPointer(source, destination, destination->context); 161 textFixPointer(source, destination, destination->context);
162 textFixPointer(source, destination, destination->p); 162 textFixPointer(source, destination, destination->p);
163 textFixPointer(source, destination, destination->q); 163 textFixPointer(source, destination, destination->q);
164 ASSERT(!destination->r); 164 ASSERT(!destination->r);
165 const void * chunkContents = static_cast<const void*>(destination->chunkCont ents); 165 const void * chunkContents = static_cast<const void*>(destination->chunkCont ents);
166 textFixPointer(source, destination, chunkContents); 166 textFixPointer(source, destination, chunkContents);
167 destination->chunkContents = static_cast<const UChar*>(chunkContents); 167 destination->chunkContents = static_cast<const UChar*>(chunkContents);
168 return destination; 168 return destination;
169 } 169 }
170 170
171 static int32_t textExtract(UText* text, int64_t start, int64_t limit, UChar* des tination, int32_t destinationCapacity, UErrorCode* errorCode) 171 static int32_t textExtract(UText*, int64_t, int64_t, UChar*, int32_t, UErrorCode * errorCode)
172 { 172 {
173 UNUSED_PARAM(text);
174 UNUSED_PARAM(start);
175 UNUSED_PARAM(limit);
176 UNUSED_PARAM(destination);
177 UNUSED_PARAM(destinationCapacity);
178 // In the present context, this text provider is used only with ICU function s 173 // In the present context, this text provider is used only with ICU function s
179 // that do not perform an extract operation. 174 // that do not perform an extract operation.
180 ASSERT_NOT_REACHED(); 175 ASSERT_NOT_REACHED();
181 *errorCode = U_UNSUPPORTED_ERROR; 176 *errorCode = U_UNSUPPORTED_ERROR;
182 return 0; 177 return 0;
183 } 178 }
184 179
185 static void textClose(UText* text) 180 static void textClose(UText* text)
186 { 181 {
187 text->context = 0; 182 text->context = 0;
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 "$Tel1 $TelV $Tel0;" // Telugu Virama (backward) 837 "$Tel1 $TelV $Tel0;" // Telugu Virama (backward)
843 "$Kan1 $KanV $Kan0;" // Kannada Virama (backward) 838 "$Kan1 $KanV $Kan0;" // Kannada Virama (backward)
844 "$Mal1 $MalV $Mal0;" // Malayalam Virama (backward) 839 "$Mal1 $MalV $Mal0;" // Malayalam Virama (backward)
845 "!!safe_reverse;" 840 "!!safe_reverse;"
846 "!!safe_forward;"; 841 "!!safe_forward;";
847 842
848 return setUpIteratorWithRules(kRules, string, length); 843 return setUpIteratorWithRules(kRules, string, length);
849 } 844 }
850 845
851 } 846 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698