/external/icu/icu4c/source/common/ |
bytesinkutil.h | 9 #include "unicode/edits.h" 16 class Edits; 25 ByteSink &sink, Edits *edits, UErrorCode &errorCode); 30 ByteSink &sink, Edits *edits, UErrorCode &errorCode); 33 static void appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits = nullptr); 37 ByteSink &sink, Edits *edits = nullptr) [all...] |
bytesinkutil.cpp | 9 #include "unicode/edits.h" 21 ByteSink &sink, Edits *edits, UErrorCode &errorCode) { 51 if (edits != nullptr) { 52 edits->addReplace(length, s8Length); 60 ByteSink &sink, Edits *edits, UErrorCode &errorCode) { 66 return appendChange((int32_t)(limit - s), s16, s16Length, sink, edits, errorCode); 70 ByteSinkUtil::appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits) { [all...] |
ustrcase_locale.cpp | 73 UChar *dest, int32_t destCapacity, Edits *edits, 79 ustrcase_internalToLower, edits, errorCode); 85 UChar *dest, int32_t destCapacity, Edits *edits, 91 ustrcase_internalToUpper, edits, errorCode);
|
ucasemap.cpp | 25 #include "unicode/edits.h" 141 ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) { 147 if(edits!=NULL) { 148 edits->addUnchanged(cpLength); 156 return ByteSinkUtil::appendChange(cpLength, s, result, sink, edits, errorCode); 158 ByteSinkUtil::appendCodePoint(cpLength, result, sink, edits); 210 icu::ByteSink &sink, icu::Edits *edits, 223 sink, options, edits, errorCode) 718 ucasemap_internalUTF8ToLower, sink, edits, errorCode); local 728 ucasemap_internalUTF8ToUpper, sink, edits, errorCode); local [all...] |
ucasemap_imp.h | 153 icu::Edits *edits, 161 icu::Edits *edits, 172 icu::Edits *edits, 182 icu::Edits *edits, 194 icu::Edits *edits, [all...] |
ustrcase.cpp | 26 #include "unicode/edits.h" 44 Edits *edits, UErrorCode &errorCode) { 48 } else if (edits != NULL) { 49 edits->copyErrorTo(errorCode); 67 int32_t cpLength, uint32_t options, icu::Edits *edits) { 74 if(edits!=NULL) { 75 edits->addUnchanged(cpLength); 92 if(edits!=NULL) [all...] |
unistr_case.cpp | 24 #include "unicode/edits.h" 157 Edits edits; local 167 oldArray, oldLength, &edits, errorCode); 170 newLength = oldLength + edits.lengthDelta(); 174 for (Edits::Iterator ei = edits.getCoarseChangesIterator(); ei.next(errorCode);) { 184 newLength = oldLength + edits.lengthDelta();
|
ucasemap_titlecase_brkiter.cpp | 36 StringPiece src, ByteSink &sink, Edits *edits, 53 ucasemap_internalUTF8ToTitle, sink, edits, errorCode); local 60 char *dest, int32_t destCapacity, Edits *edits, 78 ucasemap_internalUTF8ToTitle, edits, errorCode);
|
filterednormalizer2.cpp | 23 #include "unicode/edits.h" 92 Edits *edits, UErrorCode &errorCode) const { 96 if (edits != nullptr && (options & U_EDITS_NO_RESET) == 0) { 97 edits->reset(); 100 normalizeUTF8(options, src.data(), src.length(), sink, edits, USET_SPAN_SIMPLE, errorCode); 105 ByteSink &sink, Edits *edits, 112 if (edits != nullptr) { 113 edits->addUnchanged(spanLength) [all...] |
/external/icu/icu4c/source/common/unicode/ |
casemap.h | 25 class Edits; 35 * Lowercases a UTF-16 string and optionally records edits. 50 * @param edits Records edits for index mapping, working with styled text, 52 * The Edits contents is undefined if any error occurs. 53 * This function calls edits->reset() first unless 54 * options includes U_EDITS_NO_RESET. edits can be NULL. 67 char16_t *dest, int32_t destCapacity, Edits *edits, 71 * Uppercases a UTF-16 string and optionally records edits [all...] |
normalizer2.h | 229 * Otherwise currently converts to & from UTF-16 and does not support edits. 235 * @param edits Records edits for index mapping, working with styled text, 237 * The Edits contents is undefined if any error occurs. 238 * This function calls edits->reset() first unless 239 * options includes U_EDITS_NO_RESET. edits can be nullptr. 248 Edits *edits, UErrorCode &errorCode) const; 547 * Otherwise currently converts to & from UTF-16 and does not support edits. 553 * @param edits Records edits for index mapping, working with styled text [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
EnabledTextEditGroup.java | 19 import org.eclipse.text.edits.TextEditGroup;
|
/bionic/libc/kernel/tools/ |
utils.py | 114 """determine changes, returns (adds, deletes, edits)""" 116 edits = set() 123 edits.add(dst) 129 return (adds, deletes, edits) 139 adds, deletes, edits = self.getChanges() 144 for dst in sorted(edits): 151 adds, deletes, edits = self.getChanges() 161 if edits: 162 for dst in sorted(edits): 164 commands.getoutput("git add " + " ".join(edits)) [all...] |
/prebuilts/go/darwin-x86/src/cmd/internal/edit/ |
edit.go | 13 // A Buffer is a queue of edits to apply to a given byte slice. 16 q edits 26 // An edits is a list of edits that is sortable by start offset, breaking ties by end offset. 27 type edits []edit type 29 func (x edits) Len() int { return len(x) } 30 func (x edits) Swap(i, j int) { x[i], x[j] = x[j], x[i] } 31 func (x edits) Less(i, j int) bool { 67 // with the queued edits applied. 69 // Sort edits by starting position and then by ending position [all...] |
/prebuilts/go/linux-x86/src/cmd/internal/edit/ |
edit.go | 13 // A Buffer is a queue of edits to apply to a given byte slice. 16 q edits 26 // An edits is a list of edits that is sortable by start offset, breaking ties by end offset. 27 type edits []edit type 29 func (x edits) Len() int { return len(x) } 30 func (x edits) Swap(i, j int) { x[i], x[j] = x[j], x[i] } 31 func (x edits) Less(i, j int) bool { 67 // with the queued edits applied. 69 // Sort edits by starting position and then by ending position [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
CaseMapImpl.java | 13 import android.icu.text.Edits; 263 * Omit unchanged text when case-mapping with Edits. 352 int cpLength, int options, Edits edits) throws IOException { 356 if (edits != null) { 357 edits.addUnchanged(cpLength); 365 if (edits != null) { 366 edits.addReplace(cpLength, result); 371 if (edits != null) { 372 edits.addReplace(cpLength, length) 423 Edits edits = new Edits(); local 454 Edits edits = new Edits(); local 492 Edits edits = new Edits(); local 621 Edits edits = new Edits(); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
CaseMapImpl.java | 12 import com.ibm.icu.text.Edits; 259 * Omit unchanged text when case-mapping with Edits. 348 int cpLength, int options, Edits edits) throws IOException { 352 if (edits != null) { 353 edits.addUnchanged(cpLength); 361 if (edits != null) { 362 edits.addReplace(cpLength, result); 367 if (edits != null) { 368 edits.addReplace(cpLength, length) 419 Edits edits = new Edits(); local 450 Edits edits = new Edits(); local 488 Edits edits = new Edits(); local 617 Edits edits = new Edits(); local [all...] |
/external/v8/tools/clang/scripts/ |
apply_edits.py | 5 """Applies edits generated by a clang tool that was run on Chromium code. 11 For example - to apply edits only to WTF sources: 15 In addition to filters specified on the command line, the tool also skips edits 58 """Extracts generated list of edits from the tool's stdout. 68 A dictionary mapping filenames to the associated edits. 87 edits = collections.defaultdict(list) 95 edits[path].append(Edit(edit_type, int(offset), int(length), replacement)) 98 return edits 101 def _ApplyEditsToSingleFile(filename, edits): 102 # Sort the edits and iterate through them in reverse order. Sorting allow [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
AndroidTypeMoveParticipant.java | 58 import org.eclipse.text.edits.MultiTextEdit; 59 import org.eclipse.text.edits.ReplaceEdit; 60 import org.eclipse.text.edits.TextEdit; 238 List<TextEdit> edits = new ArrayList<TextEdit>(); local 240 addManifestReplacements(edits, root, document); 242 addLayoutReplacements(edits, root, document); 244 if (!edits.isEmpty()) { 246 rootEdit.addChildren(edits.toArray(new TextEdit[edits.size()])); 273 @NonNull List<TextEdit> edits, [all...] |
AndroidTypeRenameParticipant.java | 70 import org.eclipse.text.edits.MultiTextEdit; 71 import org.eclipse.text.edits.ReplaceEdit; 72 import org.eclipse.text.edits.TextEdit; 375 List<TextEdit> edits = new ArrayList<TextEdit>(); local 378 addManifestReplacements(edits, root, document); 380 addValueReplacements(edits, root, document); 383 addLayoutReplacements(edits, root, document); 385 if (!edits.isEmpty()) { 387 rootEdit.addChildren(edits.toArray(new TextEdit[edits.size()])) [all...] |
AndroidPackageRenameParticipant.java | 69 import org.eclipse.text.edits.MultiTextEdit; 70 import org.eclipse.text.edits.ReplaceEdit; 71 import org.eclipse.text.edits.TextEdit; 398 List<TextEdit> edits = new ArrayList<TextEdit>(); 400 addManifestReplacements(edits, root, document); 402 addLayoutReplacements(edits, root, document); 404 if (!edits.isEmpty()) { 406 rootEdit.addChildren(edits.toArray(new TextEdit[edits.size()])); 439 @NonNull List<TextEdit> edits, [all...] |
/external/icu/icu4c/source/test/intltest/ |
strcase.cpp | 24 #include "unicode/edits.h" 921 Edits edits; local 1229 Edits edits; local 1310 Edits edits; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CaseMap.java | 62 * omits unchanged text when case-mapping with {@link Edits}. 107 * Lowercases a string and optionally records edits (see {@link #omitUnchangedText}). 115 * @param edits Records edits for index mapping, working with styled text, 117 * This function calls edits.reset() first. edits can be null. 124 Locale locale, CharSequence src, A dest, Edits edits) { 125 return CaseMapImpl.toLower(getCaseLocale(locale), internalOptions, src, dest, edits); 167 * Uppercases a string and optionally records edits (see {@link #omitUnchangedText}) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CaseMap.java | 65 * omits unchanged text when case-mapping with {@link Edits}. 114 * Lowercases a string and optionally records edits (see {@link #omitUnchangedText}). 122 * @param edits Records edits for index mapping, working with styled text, 124 * This function calls edits.reset() first. edits can be null. 132 Locale locale, CharSequence src, A dest, Edits edits) { 133 return CaseMapImpl.toLower(getCaseLocale(locale), internalOptions, src, dest, edits); 178 * Uppercases a string and optionally records edits (see {@link #omitUnchangedText}) [all...] |
/external/icu/tools/srcgen/currysrc/libs/ |
org.eclipse.text_3.5.400.v20150505-1044.jar | |