/external/clang/lib/Tooling/Core/ |
CMakeLists.txt | 4 Replacement.cpp
|
Replacement.cpp | 1 //===--- Replacement.cpp - Framework for clang refactoring tools ----------===// 21 #include "clang/Tooling/Core/Replacement.h" 31 Replacement::Replacement() 34 Replacement::Replacement(StringRef FilePath, unsigned Offset, unsigned Length, 39 Replacement::Replacement(const SourceManager &Sources, SourceLocation Start, 44 Replacement::Replacement(const SourceManager &Sources [all...] |
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
testbase.py | 14 def replacement(*args, **kwargs): function in function:broken.wrapper 21 replacement.__doc__ = test_method.__doc__ 22 replacement.__name__ = 'XXX_' + test_method.__name__ 23 replacement.todo = reason 24 return replacement
|
/external/clang/unittests/Tooling/ |
RefactoringTest.cpp | 36 Replacement createReplacement(SourceLocation Start, unsigned Length, 38 return Replacement(Context.Sources, Start, Length, ReplacementText); 47 Replacement Replace(createReplacement(Location, 4, "")); 55 Replacement Replace(createReplacement(Location, 17, "")); 63 Replacement Replace(createReplacement(Location, 0, "result")); 72 Replacement Replace(createReplacement(Location, 12, "x")); 81 Replacement Replace1(createReplacement(Location1, 12, "x\ny\n")); 88 Replacement Replace2(createReplacement(Location2, 1, "f")); 94 Replacement Replace("nonexistent-file.cpp", 0, 1, ""); 99 Replacement Replace("/path/to/file.cpp", 0, 1, "") [all...] |
ReplacementsYamlTest.cpp | 27 .push_back(Replacement("/path/to/file1.h", 232, 56, "replacement #1")); 29 .push_back(Replacement("/path/to/file2.h", 301, 2, "replacement #2")); 45 " ReplacementText: 'replacement #1'\n" 49 " ReplacementText: 'replacement #2'\n" 62 " ReplacementText: 'replacement #1'\n" 66 " ReplacementText: 'replacement #2'\n" 78 ASSERT_EQ("replacement #1", DocActual.Replacements[0].getReplacementText()); 82 ASSERT_EQ("replacement #2", DocActual.Replacements[1].getReplacementText()) [all...] |
/external/clang/include/clang/Tooling/Core/ |
Replacement.h | 1 //===--- Replacement.h - Framework for clang refactoring tools --*- C++ -*-===// 65 /// \brief A text replacement. 67 /// Represents a SourceManager independent replacement of a range of text in a 69 class Replacement { 71 /// \brief Creates an invalid (not applicable) replacement. 72 Replacement(); 74 /// \brief Creates a replacement of the range [Offset, Offset+Length) in 80 Replacement(StringRef FilePath, unsigned Offset, 83 /// \brief Creates a Replacement of the range [Start, Start+Length) with 85 Replacement(const SourceManager &Sources, SourceLocation Start, unsigned Length [all...] |
/external/v8/src/compiler/ |
phi-reducer.h | 25 Node* replacement = NULL; 29 if (input != node && input != replacement) { 30 if (replacement != NULL) return NoChange(); 31 replacement = input; 34 DCHECK_NE(node, replacement); 35 return Replace(replacement);
|
graph-reducer.cc | 36 Node* replacement = reduction.replacement(); local 37 if (replacement == NULL) { 39 } else if (replacement == node) { 40 // {replacement == node} represents an in-place reduction. 47 if (node == graph_->start()) graph_->SetStart(replacement); 48 if (node == graph_->end()) graph_->SetEnd(replacement); 50 // {replacement} was already reduced and finish. 51 if (replacement->id() < before) { 52 node->ReplaceUses(replacement); [all...] |
graph-reducer.h | 22 explicit Reduction(Node* replacement = NULL) : replacement_(replacement) {} 24 Node* replacement() const { return replacement_; } function in class:v8::internal::compiler::FINAL 25 bool Changed() const { return replacement() != NULL; }
|
/cts/tests/tests/text/src/android/text/method/cts/ |
ReplacementTransformationMethodTest.java | 34 private final char[] REPLACEMENT = new char[] { '3', '4' }; 51 new MyReplacementTransformationMethod(ORIGINAL, REPLACEMENT); 62 REPLACEMENT); 75 // replacement has same chars 84 // replacement has more chars than original 96 new MyReplacementTransformationMethod(ORIGINAL_WITH_SAME_CHARS, REPLACEMENT); 103 // original has more chars than replacement 104 method = new MyReplacementTransformationMethod(ORIGINAL_WITH_MORE_CHARS, REPLACEMENT); 107 fail("Threre is more chars in the original than replacement."); 115 REPLACEMENT); [all...] |
/external/llvm/utils/llvm-build/llvmbuild/ |
configutil.py | 16 replacement), where the regex and replacement will be used as in 're.sub' to 17 execute the variable replacement. 34 for regex_string,replacement in substitutions: 36 data = regex.sub(replacement, data)
|
/external/guava/guava/src/com/google/common/escape/ |
ArrayBasedCharEscaper.java | 27 * A {@link CharEscaper} that uses an array to quickly look up replacement 34 * where the replacement array contains information about special ASCII 40 * For example a replacement map containing the single character 43 * replacement mapping consider using {@link ArrayBasedEscaperMap}. 52 // The replacement array (see ArrayBasedEscaperMap). 54 // The number of elements in the replacement array. 62 * Creates a new ArrayBasedCharEscaper instance with the given replacement map 66 * <p>If a character has no mapped replacement then it is checked against the 81 * Creates a new ArrayBasedCharEscaper instance with the given replacement map 84 * ArrayBasedEscaperMap are used to allow the sharing of large replacement [all...] |
ArrayBasedUnicodeEscaper.java | 29 * A {@link UnicodeEscaper} that uses an array to quickly look up replacement 35 * replacement array contains information about the named HTML entities 41 * For example a replacement map containing the single character 44 * replacement mapping consider using {@link ArrayBasedEscaperMap}. 52 // The replacement array (see ArrayBasedEscaperMap). 54 // The number of elements in the replacement array. 66 * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement 70 * <p>If a code point has no mapped replacement then it is checked against the 77 * @param unsafeReplacement the default replacement for unsafe characters or 78 * null if no default replacement is require [all...] |
/external/harfbuzz_ng/src/ |
hb-utf-private.hh | 44 hb_codepoint_t replacement) 48 * Generates one "replacement" for each ill-formed byte. */ 105 *unicode = replacement; 113 hb_codepoint_t replacement) 119 if (likely (next (text, end, unicode, replacement) == end)) 122 *unicode = replacement; 143 hb_codepoint_t replacement) 167 *unicode = replacement; 175 hb_codepoint_t replacement) 189 if (likely (next (text, end, unicode, replacement) == end) [all...] |
/external/clang/include/clang/Tooling/ |
ReplacementsYaml.h | 24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Replacement) 29 /// \brief Specialized MappingTraits to describe how a Replacement is 31 template <> struct MappingTraits<clang::tooling::Replacement> { 32 /// \brief Helper to (de)serialize a Replacement since we don't have direct 38 NormalizedReplacement(const IO &, const clang::tooling::Replacement &R) 42 clang::tooling::Replacement denormalize(const IO &) { 43 return clang::tooling::Replacement(FilePath, Offset, Length, 53 static void mapping(IO &Io, clang::tooling::Replacement &R) { 54 MappingNormalization<NormalizedReplacement, clang::tooling::Replacement>
|
/external/doclava/res/assets/templates/ |
components.cs | 2 <?cs # Use the -tempatedir arg to javadoc to set your own directory with a replacement for this file in it. ?>
|
/external/libxml2/result/ |
isolat3 | 7 then the replacement text for the entity "<code>book</code>" is:
|
/external/libxml2/result/noent/ |
isolat3 | 7 then the replacement text for the entity "<code>book</code>" is:
|
/external/libxml2/test/ |
isolat3 | 7 then the replacement text for the entity "<code>book</code>" is:
|
/external/llvm/test/Transforms/ScalarRepl/ |
2003-09-12-IncorrectPromote.ll | 1 ; Scalar replacement was incorrectly promoting this alloca!!
|
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailUpgradeBroadcastReceiver.java | 8 * {@link BroadcastReceiver} for app upgrade. This listens to package replacement (for unbundled
|
/external/v8/src/ |
hydrogen-escape-analysis.h | 55 // Number of captured objects on which scalar replacement was done. 58 // Number of scalar values tracked during scalar replacement phase. 63 // scalar replacement phase.
|
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetEncoder.java | 59 * the problematic input with the byte sequence returned by {@link #replacement}. The disposition 63 * <p>The default replacement bytes depend on the charset but can be overridden using the 96 // decoder instance for this encoder's charset, used for replacement value checking 101 * the replacement byte array {@code { (byte) '?' }}. 109 * <code>Charset</code>, replacement byte array, average number and 120 * @param replacement 121 * the replacement byte array, cannot be null or empty, its 123 * and must be a legal replacement, which can be justified by 128 protected CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement) { 129 this(cs, averageBytesPerChar, maxBytesPerChar, replacement, false) 626 public final byte[] replacement() { method in class:CharsetEncoder [all...] |
/frameworks/base/core/java/android/text/method/ |
ReplacementTransformationMethod.java | 42 * Returns a parallel array of replacement characters for the ones 54 char[] replacement = getReplacement(); local 85 original, replacement)); 89 replacement).toString(); 96 original, replacement); 98 return new ReplacementCharSequence(source, original, replacement); 113 char[] replacement) { 116 mReplacement = replacement; 174 char[] replacement) { 175 super(source, original, replacement); [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/res/ |
XPATHMessages.java | 41 * Creates a message from the specified key and replacement 45 * @param args The arguments to be used as replacement text 59 * Creates a message from the specified key and replacement 63 * @param args The arguments to be used as replacement text 77 * Creates a message from the specified key and replacement 82 * @param args The arguments to be used as replacement text
|