/external/webkit/Source/WebCore/platform/text/ |
D | TextCodec.cpp | 39 …lacement(unsigned codePoint, UnencodableHandling handling, UnencodableReplacementArray replacement) in getUnencodableReplacement() argument 43 replacement[0] = '?'; in getUnencodableReplacement() 44 replacement[1] = 0; in getUnencodableReplacement() 47 snprintf(replacement, sizeof(UnencodableReplacementArray), "&#%u;", codePoint); in getUnencodableReplacement() 48 return static_cast<int>(strlen(replacement)); in getUnencodableReplacement() 50 snprintf(replacement, sizeof(UnencodableReplacementArray), "%%26%%23%u%%3B", codePoint); in getUnencodableReplacement() 51 return static_cast<int>(strlen(replacement)); in getUnencodableReplacement() 54 replacement[0] = 0; in getUnencodableReplacement()
|
D | TextCodecUserDefined.cpp | 79 UnencodableReplacementArray replacement; in encodeComplexUserDefined() local 80 int replacementLength = TextCodec::getUnencodableReplacement(c, handling, replacement); in encodeComplexUserDefined() 83 memcpy(bytes + resultLength, replacement, replacementLength); in encodeComplexUserDefined()
|
D | TextCodecLatin1.cpp | 177 UnencodableReplacementArray replacement; in encodeComplexWindowsLatin1() local 178 int replacementLength = TextCodec::getUnencodableReplacement(c, handling, replacement); in encodeComplexWindowsLatin1() 181 memcpy(bytes + resultLength, replacement, replacementLength); in encodeComplexWindowsLatin1()
|
D | RegularExpression.cpp | 158 void replace(String& string, const RegularExpression& target, const String& replacement) in replace() argument 166 string.replace(index, matchLength, replacement); in replace() 167 index += replacement.length(); in replace()
|
/external/smack/src/org/xbill/DNS/ |
D | NAPTRRecord.java | 20 private Name replacement; field in NAPTRRecord 44 String flags, String service, String regexp, Name replacement) in NAPTRRecord() argument 57 this.replacement = checkName("replacement", replacement); in NAPTRRecord() 67 replacement = new Name(in); in rrFromWire() 82 replacement = st.getName(origin); in rdataFromString() 99 sb.append(replacement); in rrToString() 136 return replacement; in getReplacement() 146 replacement.toWire(out, null, canonical); in rrToWire() 151 return replacement; in getAdditionalName()
|
/external/chromium/chrome/common/ |
D | thumbnail_score.cc | 87 const ThumbnailScore& replacement) { in ShouldReplaceThumbnailWith() argument 89 int replacement_type = GetThumbnailType(replacement.good_clipping, in ShouldReplaceThumbnailWith() 90 replacement.at_top); in ShouldReplaceThumbnailWith() 94 return replacement.boring_score < in ShouldReplaceThumbnailWith() 102 double replacement_interesting_score = 1.0 - replacement.boring_score; in ShouldReplaceThumbnailWith() 110 1.0 / (replacement.redirect_hops_from_dest + 1); in ShouldReplaceThumbnailWith() 116 replacement.time_at_snapshot - current.time_at_snapshot; in ShouldReplaceThumbnailWith() 130 replacement.boring_score < ThumbnailScore::kThumbnailMaximumBoringness; in ShouldReplaceThumbnailWith()
|
/external/chromium/net/base/ |
D | mock_host_resolver.cc | 133 std::string replacement; member 141 const std::string& replacement, in Rule() 148 replacement(replacement), in Rule() 158 const std::string& replacement) { in AddRule() argument 160 replacement); in AddRule() 166 const std::string& replacement) { in AddRuleForAddressFamily() argument 167 DCHECK(!replacement.empty()); in AddRuleForAddressFamily() 171 replacement, "", 0); in AddRuleForAddressFamily() 195 const std::string& replacement, in AddRuleWithLatency() argument 197 DCHECK(!replacement.empty()); in AddRuleWithLatency() [all …]
|
D | mock_host_resolver.h | 111 const std::string& replacement); 116 const std::string& replacement); 128 const std::string& replacement,
|
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
D | testbase.py | 14 def replacement(*args, **kwargs): function 21 replacement.__doc__ = test_method.__doc__ 22 replacement.__name__ = 'XXX_' + test_method.__name__ 23 replacement.todo = reason 24 return replacement
|
/external/guava/guava/src/com/google/common/base/ |
D | CharMatcher.java | 251 @Override public String replaceFrom(CharSequence sequence, char replacement) { 253 Arrays.fill(array, replacement); 257 @Override public String replaceFrom(CharSequence sequence, CharSequence replacement) { 258 StringBuilder retval = new StringBuilder(sequence.length() * replacement.length()); 260 retval.append(replacement); 265 @Override public String collapseFrom(CharSequence sequence, char replacement) { 266 return (sequence.length() == 0) ? "" : String.valueOf(replacement); 332 @Override public String replaceFrom(CharSequence sequence, char replacement) { 336 @Override public String replaceFrom(CharSequence sequence, CharSequence replacement) { 337 checkNotNull(replacement); [all …]
|
/external/v8/test/preparser/ |
D | duplicate-property.pyt | 35 replacement = {"id1": propa, "id2": propb, "name": name} 38 def StrictTest(name, source, replacement, expectation): 41 "\"use strict\";\n" + source)(replacement, expectation) 42 Template(name, source)(replacement, expectation) 49 """)(replacement, "strict_duplicate_property") 53 """)(replacement, None) 57 """, replacement, "accessor_data_property") 61 """, replacement, "accessor_data_property") 65 """, replacement, "accessor_data_property") 69 """, replacement, "accessor_data_property") [all …]
|
D | testcfg.py | 112 def MkTest(replacement, expectation): argument 115 for key in replacement.keys(): 116 testname = testname.replace("$"+key, replacement[key]); 117 testsource = testsource.replace("$"+key, replacement[key]);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/ |
D | RSSFeedUpdateEntryTask.java | 72 private String replacement; field in RSSFeedUpdateEntryTask 98 public void setReplacement(String replacement) { this.replacement = replacement; } in setReplacement() argument 103 …P + xpath + (!isNullString(replacement)?", " + Messages.getString("RSSFeedUpdateEntryTask.Replacin… in execute() 137 if (!isNullString(replacement)) { in updateFeedXML() 151 if (!isNullString(replacement) && newNode != null) { in updateFeedXML() 214 …if (debug==0) { System.out.print(xpath + (isNullString(replacement)?" = ":" :: ")); } //$NON-NLS-1… in findAndReplace() 245 if (!isNullString(replacement)) { aNode.setTextContent(replacement); } in findAndReplace() 246 … System.out.println(isNullString(replacement)?NS:" => " + replacement); //$NON-NLS-1$ //$NON-NLS-2$ in findAndReplace() 260 if (!isNullString(replacement)) { in findAndReplace()
|
/external/icu4c/common/ |
D | locresdata.cpp | 93 const char* replacement = NULL; in uloc_getTableStringWithFallback() local 98 replacement = uloc_getCurrentCountryID(itemKey); in uloc_getTableStringWithFallback() 100 replacement = uloc_getCurrentLanguageID(itemKey); in uloc_getTableStringWithFallback() 103 if(replacement!=NULL && itemKey != replacement){ in uloc_getTableStringWithFallback() 104 … item = ures_getStringByKeyWithFallback(&table, replacement, pLength, &errorCode); in uloc_getTableStringWithFallback()
|
/external/chromium/chrome/browser/chromeos/input_method/ |
D | xkeyboard.h | 35 : original(in_original), replacement(in_replacement) {} in ModifierKeyPair() 38 return (rhs.original == original) && (rhs.replacement == replacement); 41 ModifierKey replacement; // this key. member
|
/external/valgrind/main/VEX/priv/ |
D | host_generic_regs.c | 147 ppHReg(map->replacement[i]); in ppHRegRemap() 160 void addToHRegRemap ( HRegRemap* map, HReg orig, HReg replacement ) in addToHRegRemap() argument 168 if (hregIsVirtual(replacement)) in addToHRegRemap() 173 map->replacement[map->n_used] = replacement; in addToHRegRemap() 185 return map->replacement[i]; in lookupHRegRemap()
|
/external/skia/src/svg/ |
D | SkSVGGradient.cpp | 95 SkString replacement; in write() local 96 replacement.set("0x"); in write() 97 …replacement.append(color.c_str() + 1, 2); // add stop colors using given color, turning existing s… in write() 100 replacement.append(baseColor.c_str() + 1); in write() 101 color.set(replacement); in write()
|
D | SkSVGPaintState.cpp | 151 SkString replacement("url(#mask"); in flush() local 152 replacement.append(current.f_fill.c_str() + 1); in flush() 153 replacement.appendUnichar(')'); in flush() 154 current.f_fill.set(replacement); in flush() 158 SkString replacement("url(#mask"); in flush() local 159 replacement.append(current.f_stroke.c_str() + 1); in flush() 160 replacement.appendUnichar(')'); in flush() 161 current.f_stroke.set(replacement); in flush()
|
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
D | ASCCharsetTest.java | 43 this.testingCharset.newEncoder().replacement()[0], in testEncode_Normal() 44 this.testingCharset.newEncoder().replacement()[0] }; in testEncode_Normal()
|
D | ISOCharsetTest.java | 42 this.testingCharset.newEncoder().replacement()[0], in testEncode_Normal() 43 this.testingCharset.newEncoder().replacement()[0] }; in testEncode_Normal()
|
/external/skia/src/utils/ |
D | SkParseColor.cpp | 184 int replacement = 0; in CreateTable() local 199 replacement += sizeof(int); in CreateTable() 214 replacement += sizeof(int); in CreateTable() 219 SkDebugf("// original = %d : replacement = %d\n", originalSize, replacement); in CreateTable()
|
/external/skia/legacy/src/utils/ |
D | SkParseColor.cpp | 184 int replacement = 0; in CreateTable() local 199 replacement += sizeof(int); in CreateTable() 214 replacement += sizeof(int); in CreateTable() 219 SkDebugf("// original = %d : replacement = %d\n", originalSize, replacement); in CreateTable()
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | StringPrototype.cpp | 156 static NEVER_INLINE UString substituteBackreferencesSlow(const UString& replacement, const UString&… in substituteBackreferencesSlow() argument 161 if (i + 1 == replacement.length()) in substituteBackreferencesSlow() 164 UChar ref = replacement[i + 1]; in substituteBackreferencesSlow() 168 substitutedReplacement.append(replacement.characters() + offset, i - offset); in substituteBackreferencesSlow() 190 if (replacement.length() > i + 2) { in substituteBackreferencesSlow() 191 ref = replacement[i + 2]; in substituteBackreferencesSlow() 208 substitutedReplacement.append(replacement.characters() + offset, i - offset); in substituteBackreferencesSlow() 213 } while ((i = replacement.find('$', i + 1)) != notFound); in substituteBackreferencesSlow() 215 if (replacement.length() - offset) in substituteBackreferencesSlow() 216 … substitutedReplacement.append(replacement.characters() + offset, replacement.length() - offset); in substituteBackreferencesSlow() [all …]
|
/external/icu4c/tools/toolutil/ |
D | xmlparser.cpp | 587 UnicodeString replacement; in replaceCharRefs() local 596 replacement.setTo((UChar)x_AMP); in replaceCharRefs() 598 replacement.setTo((UChar)x_LT); in replaceCharRefs() 600 replacement.setTo((UChar)x_GT); in replaceCharRefs() 602 replacement.setTo((UChar)x_APOS); in replaceCharRefs() 604 replacement.setTo((UChar)x_QUOT); in replaceCharRefs() 612 replacement.setTo(val); in replaceCharRefs() 620 replacement.setTo(val); in replaceCharRefs() 625 replacement = mAmps.group((int32_t)0, status); in replaceCharRefs() 627 mAmps.appendReplacement(result, replacement, status); in replaceCharRefs()
|
/external/llvm/utils/llvm-build/llvmbuild/ |
D | configutil.py | 34 for regex_string,replacement in substitutions: 36 data = regex.sub(replacement, data)
|