/external/webkit/Source/WebCore/platform/text/ |
TextCodec.cpp | 39 int TextCodec::getUnencodableReplacement(unsigned codePoint, UnencodableHandling handling, UnencodableReplacementArray replacement) 43 replacement[0] = '?'; 44 replacement[1] = 0; 47 snprintf(replacement, sizeof(UnencodableReplacementArray), "&#%u;", codePoint); 48 return static_cast<int>(strlen(replacement)); 50 snprintf(replacement, sizeof(UnencodableReplacementArray), "%%26%%23%u%%3B", codePoint); 51 return static_cast<int>(strlen(replacement)); 54 replacement[0] = 0;
|
TextCodecUserDefined.cpp | 79 UnencodableReplacementArray replacement; local 80 int replacementLength = TextCodec::getUnencodableReplacement(c, handling, replacement); 83 memcpy(bytes + resultLength, replacement, replacementLength);
|
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
ASCCharsetTest.java | 43 this.testingCharset.newEncoder().replacement()[0], 44 this.testingCharset.newEncoder().replacement()[0] };
|
ISOCharsetTest.java | 42 this.testingCharset.newEncoder().replacement()[0], 43 this.testingCharset.newEncoder().replacement()[0] };
|
/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/chromium/chrome/common/ |
thumbnail_score.cc | 87 const ThumbnailScore& replacement) { 89 int replacement_type = GetThumbnailType(replacement.good_clipping, 90 replacement.at_top); 94 return replacement.boring_score < 102 double replacement_interesting_score = 1.0 - replacement.boring_score; 110 1.0 / (replacement.redirect_hops_from_dest + 1); 116 replacement.time_at_snapshot - current.time_at_snapshot; 127 // requirements, but the replacement does, always replace the 130 replacement.boring_score < ThumbnailScore::kThumbnailMaximumBoringness;
|
thumbnail_score.h | 94 const ThumbnailScore& replacement);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
compatibility.h | 227 * *ptr=replacement and return @c true, return @c false otherwise. 232 * @param replacement Replacement value. 235 compare_and_swap_32(volatile int32* ptr, int32 comparand, int32 replacement) 238 return _InterlockedCompareExchange((void*)ptr, replacement, 241 return _InterlockedCompareExchange((void*)ptr, replacement, 245 replacement, comparand) == comparand; 247 return __sync_bool_compare_and_swap(ptr, comparand, replacement); 250 replacement) == comparand; 258 *ptr = replacement; [all...] |
/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 99 // decoder instance for this encoder's charset, used for replacement value checking 104 * the replacement byte array {@code { (byte) '?' }}. 112 * <code>Charset</code>, replacement byte array, average number and 123 * @param replacement 124 * the replacement byte array, cannot be null or empty, its 126 * and must be a legal replacement, which can be justified by 131 protected CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement) { 132 this(cs, averageBytesPerChar, maxBytesPerChar, replacement, false) 679 public final byte[] replacement() { method in class:CharsetEncoder [all...] |
CharsetDecoder.java | 63 * replacement string. The replacement string is "\uFFFD" by default and can be 105 * created by this decoder for one input byte, and the default replacement 506 * Notifies that this decoder's replacement has been changed. The default 510 * the new replacement string. 623 * Returns the replacement string, which is never null or empty. 625 public final String replacement() { method in class:CharsetDecoder 630 * Sets the new replacement string. 632 * This method first checks the given replacement's validity, then changes 633 * the replacement value, and at last calls th [all...] |
CharsetEncoderICU.java | 31 // the byte corresponding to '?' in ASCII as the replacement byte for charsets where that 74 byte[] replacement = makeReplacement(icuCanonicalName, address); 75 CharsetEncoderICU result = new CharsetEncoderICU(cs, averageBytesPerChar, maxBytesPerChar, replacement, address); 87 byte[] replacement = DEFAULT_REPLACEMENTS.get(icuCanonicalName); 88 if (replacement != null) { 89 return replacement.clone(); 95 private CharsetEncoderICU(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement, long address) { 96 super(cs, averageBytesPerChar, maxBytesPerChar, replacement, true);
|
/external/chromium/chrome/browser/chromeos/input_method/ |
xkeyboard.h | 35 : original(in_original), replacement(in_replacement) {} 38 return (rhs.original == original) && (rhs.replacement == replacement); 41 ModifierKey replacement; // this key. member in struct:chromeos::input_method::ModifierKeyPair 100 // Returns true if |key| is in |modifier_map| as replacement.
|
/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/icu4c/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);
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 455 String replacement; local 459 replacement = DateUtils.getAMPMString(inDate.get(Calendar.AM_PM)); 464 replacement = DateUtils.getAMPMString(inDate.get(Calendar.AM_PM)); 468 replacement = zeroPad(inDate.get(Calendar.DATE), count); 473 replacement = DateUtils.getDayOfWeekString(temp, 485 replacement = zeroPad(temp, count); 489 replacement = zeroPad(inDate.get(Calendar.HOUR_OF_DAY), count); 493 replacement = zeroPad(inDate.get(Calendar.MINUTE), count); 497 replacement = getMonthString(inDate, count); 501 replacement = zeroPad(inDate.get(Calendar.SECOND), count) [all...] |
/external/chromium/net/base/ |
mock_host_resolver.cc | 133 std::string replacement; member in struct:net::RuleBasedHostResolverProc::Rule 141 const std::string& replacement, 148 replacement(replacement), 158 const std::string& replacement) { 160 replacement); 166 const std::string& replacement) { 167 DCHECK(!replacement.empty()); 171 replacement, "", 0); 195 const std::string& replacement, [all...] |
mock_host_resolver.h | 36 // Replacement doesn't have to be string representing an IP address. It can 101 // a replacement host string. It then uses the system host resolver to return 102 // a socket address. Generally the replacement should be an IPv4 literal so 109 // replacement value. Usually, replacement should be an IP address literal. 111 const std::string& replacement); 116 const std::string& replacement); 118 // Same as AddRule(), but the replacement is expected to be an IPv4 or IPv6 128 const std::string& replacement,
|
/external/guava/src/com/google/common/base/ |
CharMatcher.java | 258 CharSequence sequence, char replacement) { 260 Arrays.fill(array, replacement); 264 CharSequence sequence, CharSequence replacement) { 265 StringBuilder retval = new StringBuilder(sequence.length() * replacement.length()); 267 retval.append(replacement); 271 @Override public String collapseFrom(CharSequence sequence, char replacement) { 272 return (sequence.length() == 0) ? "" : String.valueOf(replacement); 326 CharSequence sequence, char replacement) { 330 CharSequence sequence, CharSequence replacement) { 331 checkNotNull(replacement); [all...] |
/external/valgrind/main/VEX/priv/ |
host_generic_regs.c | 147 ppHReg(map->replacement[i]); 160 void addToHRegRemap ( HRegRemap* map, HReg orig, HReg replacement ) 168 if (hregIsVirtual(replacement)) 169 vpanic("addToHRegMap: replacement is not a vreg"); 173 map->replacement[map->n_used] = replacement; 185 return map->replacement[i];
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/backward/ |
backward_warning.h | 32 listing of replacement headers and interfaces, consult the file \
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/backward/ |
backward_warning.h | 32 listing of replacement headers and interfaces, consult the file \
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/backward/ |
backward_warning.h | 32 listing of replacement headers and interfaces, consult the file \
|
/libcore/luni/src/main/java/libcore/icu/ |
NativeConverter.java | 61 decoder.replacement()); 69 encoder.replacement());
|
/external/skia/src/svg/ |
SkSVGGradient.cpp | 103 SkString replacement; local 104 replacement.set("0x"); 105 replacement.append(color.c_str() + 1, 2); // add stop colors using given color, turning existing stop color into alpha 108 replacement.append(baseColor.c_str() + 1); 109 color.set(replacement);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidSourceViewerConfig.java | 181 String replacement = proposal.getDisplayString(); local 182 if (replacement.charAt(0) == '"' && 183 replacement.charAt(replacement.length() - 1) == '"') { 189 } else if (replacement.contains("Namespace") //$NON-NLS-1$ 190 || replacement.startsWith("XSL ") //$NON-NLS-1$ 191 || replacement.contains("Schema")) { //$NON-NLS-1$
|