HomeSort by relevance Sort by last modified time
    Searched full:replacement (Results 26 - 50 of 2053) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/guava/guava/src/com/google/common/escape/
ArrayBasedEscaperMap.java 32 * same character replacement mapping to allow the underlying (implementation
37 * has a replacement. For example a replacement map containing the single
59 // The underlying replacement array we can share between multiple escaper
72 // Creates a replacement array from the given map. The returned array is a
73 // linear lookup table of replacement character sequences indexed by the
Escapers.java 69 * <li>There are no replacement mappings<li>
106 * range that have no explicit replacement are considered 'safe' and remain
121 * Sets the replacement string for any characters outside the 'safe' range
122 * that have no explicit replacement. If {@code unsafeReplacement} is
123 * {@code null} then no replacement will occur, if it is {@code ""} then
135 * Adds a replacement string for the given input character. The specified
141 * @param replacement the string to replace the given character
143 * @throws NullPointerException if {@code replacement} is null
145 public Builder addEscape(char c, String replacement) {
146 checkNotNull(replacement);
    [all...]
  /external/v8/src/
hydrogen-redundant-phi.cc 49 HValue* replacement = phi->GetRedundantReplacement(); local
50 if (replacement != NULL) {
54 value->SetOperandAt(it.index(), replacement);
  /ndk/sources/android/support/src/stdio/
stdio_impl.h 34 // Replacement for out() in vfprintf.c
37 // Replacement for out() in fvwprintf.c
40 // Fake replacement for stdio functions of similar names.
  /external/apache-xml/src/main/java/org/apache/xalan/res/
XSLMessages.java 39 * Creates a message from the specified key and replacement
43 * @param args The arguments to be used as replacement text
57 * Creates a message from the specified key and replacement
61 * @param args The arguments to be used as replacement text
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/
RSSFeedUpdateEntryTask.java 51 * replacement - string to use as replacement
72 private String replacement; field in class:RSSFeedUpdateEntryTask
98 public void setReplacement(String replacement) { this.replacement = replacement; }
103 System.out.println(Messages.getString("RSSFeedUpdateEntryTask.SearchingFor") + SP + xpath + (!isNullString(replacement)?", " + Messages.getString("RSSFeedUpdateEntryTask.ReplacingWith") + " '" + replacement + "'":NS)); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$
137 if (!isNullString(replacement)) {
151 if (!isNullString(replacement) && newNode != null)
246 System.out.println(isNullString(replacement)?NS:" => " + replacement); \/\/$NON-NLS-1$ \/\/$NON-NLS-2\$ local
    [all...]
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
FileUtilities.java 49 * Replaces all occurances of piece with replacement, and returns new String
51 public static String replace(String source, String piece, String replacement) {
57 source = source.substring(0,pos) + replacement + source.substring(pos + piece.length());
58 pos += replacement.length();
  /external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/line/
TrivialMatcher.java 42 SingleConversionRule cr = new SingleConversionRule(Pattern.compile("import org.slf4j.converter"), "simple replacement with an unique capturing group");
47 // replacement for the first
49 // no replacement for the second group it will remains the same
52 // no replacement for the third group it will remains the same
  /external/valgrind/tests/
malloc.h 0 // Replacement for malloc.h which factors out platform differences.
  /libcore/luni/src/main/java/org/apache/harmony/xml/dom/
CDATASectionImpl.java 79 * @return the replacement node.
82 TextImpl replacement = new TextImpl(document, getData()); local
83 parent.insertBefore(replacement, this);
85 return replacement;
  /external/v8/src/compiler/
machine-operator-reducer-unittest.cc 254 EXPECT_THAT(reduction.replacement(), IsFloat64Constant(x));
270 EXPECT_EQ(value, reduction.replacement());
279 EXPECT_THAT(reduction.replacement(), IsInt32Constant(x));
295 EXPECT_EQ(value, reduction.replacement());
304 EXPECT_THAT(reduction.replacement(), IsInt32Constant(bit_cast<int32_t>(x)));
318 EXPECT_THAT(reduction.replacement(), IsFloat64Constant(FastI2D(x)));
332 EXPECT_THAT(reduction.replacement(), IsInt64Constant(x));
347 EXPECT_THAT(reduction.replacement(), IsFloat64Constant(FastUI2D(x)));
362 EXPECT_THAT(reduction.replacement(),
379 EXPECT_EQ(value, reduction.replacement());
    [all...]
change-lowering-unittest.cc 131 Node* phi = reduction.replacement();
148 EXPECT_THAT(reduction.replacement(), IsWordEqual(val, IsTrueConstant()));
158 Node* finish = reduction.replacement();
202 Node* phi = reduction.replacement();
232 Node* phi = reduction.replacement();
261 Node* phi = reduction.replacement();
287 Node* phi = reduction.replacement();
313 Node* phi = reduction.replacement();
354 EXPECT_THAT(reduction.replacement(),
369 Node* phi = reduction.replacement();
    [all...]
simplified-operator-reducer-unittest.cc 185 EXPECT_EQ(param0, reduction.replacement());
193 EXPECT_THAT(reduction0.replacement(), IsTrueConstant());
201 EXPECT_THAT(reduction1.replacement(), IsFalseConstant());
215 EXPECT_EQ(param0, reduction.replacement());
223 EXPECT_THAT(reduction.replacement(), IsFalseConstant());
231 EXPECT_THAT(reduction.replacement(), IsTrueConstant());
243 EXPECT_THAT(reduction.replacement(), IsInt32Constant(0));
251 EXPECT_THAT(reduction.replacement(), IsInt32Constant(1));
261 EXPECT_EQ(param0, reduction.replacement());
274 EXPECT_THAT(reduction.replacement(), IsNumberConstant(n))
    [all...]
  /external/v8/test/mjsunit/regress/
regress-317.js 28 // Ensure replacement with string allows $ in replacement string.
  /frameworks/base/core/java/android/text/method/
HideReturnsTransformationMethod.java 27 private static char[] REPLACEMENT = new char[] { '\uFEFF' };
40 return REPLACEMENT;
SingleLineTransformationMethod.java 27 private static char[] REPLACEMENT = new char[] { ' ', '\uFEFF' };
41 return REPLACEMENT;
  /external/skia/src/svg/parser/
SkSVGGradient.cpp 95 SkString replacement; local
96 replacement.set("0x");
97 replacement.append(color.c_str() + 1, 2); // add stop colors using given color, turning existing stop color into alpha
100 replacement.append(baseColor.c_str() + 1);
101 color.set(replacement);
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/
InplaceFileConverter.java 95 String[] replacement = lineConverter.getReplacement(line); local
96 writeReplacement(baos, replacement);
104 private void writeReplacement(OutputStream os, String[] replacement) throws IOException {
105 for (int i = 0; i < replacement.length; i++) {
106 os.write(replacement[i].getBytes());
  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
CharMatcher.java 284 @Override public String replaceFrom(CharSequence sequence, char replacement) {
286 Arrays.fill(array, replacement);
290 @Override public String replaceFrom(CharSequence sequence, CharSequence replacement) {
291 StringBuilder retval = new StringBuilder(sequence.length() * replacement.length());
293 retval.append(replacement);
298 @Override public String collapseFrom(CharSequence sequence, char replacement) {
299 return (sequence.length() == 0) ? "" : String.valueOf(replacement);
361 @Override public String replaceFrom(CharSequence sequence, char replacement) {
365 @Override public String replaceFrom(CharSequence sequence, CharSequence replacement) {
366 checkNotNull(replacement);
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
UnicodeSetSpanner.java 15 * <p><b>Note:</b> The counting, deletion, and replacement depend on alternating a {@link SpanCondition} with
235 * Replace all matching spans in sequence by the replacement,
240 * @param replacement
241 * replacement sequence. To delete, use ""
247 public String replaceFrom(CharSequence sequence, CharSequence replacement) {
248 return replaceFrom(sequence, replacement, CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE);
252 * Replace all matching spans in sequence by replacement, according to the CountMethod, using SpanCondition.SIMPLE.
257 * @param replacement
258 * replacement sequence. To delete, use ""
266 public String replaceFrom(CharSequence sequence, CharSequence replacement, CountMethod countMethod)
    [all...]
  /art/compiler/optimizing/
boolean_simplifier.cc 120 // if so, generate a suitable replacement instruction.
122 HInstruction* replacement; local
124 replacement = GetOppositeCondition(if_condition);
125 if (replacement->GetBlock() == nullptr) {
126 block->InsertInstructionBefore(replacement, if_instruction);
129 replacement = if_condition;
135 phi->ReplaceWith(replacement);
  /external/icu/icu4c/source/common/
locresdata.cpp 93 const char* replacement = NULL; local
98 replacement = uloc_getCurrentCountryID(itemKey);
100 replacement = uloc_getCurrentLanguageID(itemKey);
102 /*pointer comparison is ok since uloc_getCurrentCountryID & uloc_getCurrentLanguageID return the key itself is replacement is not found*/
103 if(replacement!=NULL && itemKey != replacement){
104 item = ures_getStringByKeyWithFallback(&table, replacement, pLength, &errorCode);
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/
MultiGroupConversionRule.java 32 * each capturing group of this Pattern a replacement text
59 public void addReplacement(int groupIndex, String replacement) {
63 replacementTable[groupIndex] = replacement;
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
CharMatcher.java 270 CharSequence sequence, char replacement) {
272 Arrays.fill(array, replacement);
276 CharSequence sequence, CharSequence replacement) {
277 StringBuilder retval = new StringBuilder(sequence.length() * replacement.length());
279 retval.append(replacement);
283 @Override public String collapseFrom(CharSequence sequence, char replacement) {
284 return (sequence.length() == 0) ? "" : String.valueOf(replacement);
338 CharSequence sequence, char replacement) {
342 CharSequence sequence, CharSequence replacement) {
343 checkNotNull(replacement);
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
SpannableStringBuilderSpanTest.java 41 String replacements[] = { "", "X", "test", "longer replacement" };
44 for (String replacement: replacements) {
45 replace(original, replacement);
50 private void replace(String original, String replacement) {
59 replPositionSet.addPosition(replacement.length() / 3);
60 replPositionSet.addPosition(2 * replacement.length() / 3);
61 replPositionSet.addPosition(replacement.length());
69 replacement,
78 String replacement, int replacementStart, int replacementEnd) {
85 replacement, replacementStart, replacementEnd, flag)
    [all...]

Completed in 3658 milliseconds

12 3 4 5 6 7 8 91011>>