/external/webkit/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;
|
/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...] |
/external/chromium/net/base/ |
mock_host_resolver.cc | 116 std::string replacement; member in struct:net::RuleBasedHostResolverProc::Rule 122 const std::string& replacement, 127 replacement(replacement), 139 const std::string& replacement) { 141 replacement); 147 const std::string& replacement) { 148 DCHECK(!replacement.empty()); 150 address_family, replacement, 0); 163 const std::string& replacement, [all...] |
mock_host_resolver.h | 35 // Replacement doesn't have to be string representing an IP address. It can 95 // a replacement host string. It then uses the system host resolver to return 96 // a socket address. Generally the replacement should be an IPv4 literal so 103 // replacement value. Usually, replacement should be an IP address literal. 105 const std::string& replacement); 110 const std::string& replacement); 112 // Same as AddRule(), but the replacement is expected to be an IPV6 literal. 120 const std::string& replacement,
|
/cts/tests/tests/text/src/android/text/method/cts/ |
ReplacementTransformationMethodTest.java | 39 private final char[] REPLACEMENT = new char[] { '3', '4' }; 61 new MyReplacementTransformationMethod(ORIGINAL, REPLACEMENT); 81 REPLACEMENT); 99 // replacement has same chars 108 // replacement has more chars than original 125 + "when threre is more chars in the original than replacement.") 129 new MyReplacementTransformationMethod(ORIGINAL_WITH_SAME_CHARS, REPLACEMENT); 136 // original has more chars than replacement 137 method = new MyReplacementTransformationMethod(ORIGINAL_WITH_MORE_CHARS, REPLACEMENT); 140 fail("Threre is more chars in the original than replacement.") [all...] |
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetEncoder.java | 60 * the problematic input with the byte sequence returned by {@link #replacement}. The disposition 64 * <p>The default replacement bytes depend on the charset but can be overridden using the 101 // replacement byte array 113 // decoder instance for this encoder's charset, used for replacement value 119 * the replacement byte array {@code { (byte) '?' }}. 127 * <code>Charset</code>, replacement byte array, average number and 138 * @param replacement 139 * the replacement byte array, cannot be null or empty, its 141 * and must be a legal replacement, which can be justified by 147 float maxBytesPerChar, byte[] replacement) { 698 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...] |
HideReturnsTransformationMethod.java | 34 private static char[] REPLACEMENT = new char[] { '\uFEFF' }; 47 return REPLACEMENT;
|
SingleLineTransformationMethod.java | 36 private static char[] REPLACEMENT = new char[] { ' ', '\uFEFF' }; 50 return REPLACEMENT;
|
/libcore/luni/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
|
/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;
|
/libcore/luni/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/v8/test/mjsunit/regress/ |
regress-317.js | 28 // Ensure replacement with string allows $ in replacement string.
|
/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);
|
/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);
|
/external/kernel-headers/original/asm-x86/ |
alternative_32.h | 10 u8 *replacement; member in struct:alt_instr 11 u8 cpuid; /* cpuid bit set for replacement */ 58 "663:\n\t" newinstr "\n664:\n" /* replacement */\ 69 * replacement maake sure to pad to the worst case length. 82 "663:\n\t" newinstr "\n664:\n" /* replacement */\ 97 "663:\n\t" newinstr "\n664:\n" /* replacement */ \ 123 * separate table which is a pure address list without replacement ptr
|
/external/genext2fs/m4/ |
ac_func_snprintf.m4 | 8 dnl or vsnprintf is found, request a replacement and warn the user 9 dnl about it. Note: the mentioned replacement is freely available and 72 AC_DEFINE(PREFER_PORTABLE_SNPRINTF, 1, "enable replacement (v)snprintf if system (v)snprintf is broken")
|
/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/bison/m4/ |
strnlen.m4 | 21 [Define to rpl_strnlen if the replacement function should be used.])
|
/external/chromium/sdch/open-vcdiff/vsprojects/ |
stdint.h | 16 // Replacement for the standard <stdint.h>, to be used only when the
|
/external/qemu/ |
dcache.h | 17 // Define constants for the replacement policies
|
/libcore/luni/src/main/java/org/apache/xml/res/ |
XMLMessages.java | 68 * Creates a message from the specified key and replacement 72 * @param args The arguments to be used as replacement text 86 * Creates a message from the specified key and replacement 91 * @param args The arguments to be used as replacement text
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
IGraphicalLayoutEditor.java | 42 * Resets the editor with a replacement file. 43 * @param file the replacement file. 48 * Resets the editor with a replacement file coming from a config change in the config 50 * @param file the replacement file.
|
/external/iptables/include/libipq/ |
ip_queue_64.h | 36 u_int64_t data_len; /* Length of replacement data */ 37 unsigned char payload[0]; /* Optional replacement packet */
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
ip_queue.h | 46 size_t data_len; /* Length of replacement data */ 47 unsigned char payload[0]; /* Optional replacement packet */
|