/external/icu4c/tools/genrb/ |
ustr.c | 54 UChar charToAppend; 59 ustr_ucat(s, (UChar)(uint8_t)(source[i]), status); 61 ustr_ucat(s, (UChar)asciiFromEbcdic[(uint8_t)(*cs++)], status); 95 uprv_memcpy(dst->fChars, src->fChars, sizeof(UChar) * src->fLength); 142 sizeof(UChar) * n); 149 UChar c, 162 sizeof(UChar) * 1); 176 ustr_ucat(dst, (UChar) c, status); 181 const UChar* src,int len, 194 sizeof(UChar) * len) [all...] |
derb.c | 61 static UChar *quotedString(const UChar *string); 63 static void printString(FILE *out, UConverter *converter, const UChar *str, int32_t len); 207 static const UChar sp[] = { 0x0020 }; /* " " */ 330 static const UChar bom[] = { 0xFEFF }; 373 static UChar *quotedString(const UChar *string) { 376 const UChar *sp; 377 UChar *newstr, *np; 388 newstr = (UChar *) uprv_malloc((1 + alen) * sizeof(*newstr)) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/ |
UTF8.cpp | 171 const UChar** sourceStart, const UChar* sourceEnd, 175 const UChar* source = *sourceStart; 182 const UChar* oldSource = source; // In case we have to back up because of target overflow. 299 UChar** targetStart, UChar* targetEnd, bool* sourceAllASCII, bool strict) 303 UChar* target = *targetStart; 304 UChar orAllData = 0; 408 stringHasher.addCharacter(static_cast<UChar>(character)); // normal case 411 stringHasher.addCharacters(static_cast<UChar>(U16_LEAD(character)) [all...] |
/external/icu4c/samples/uresb/ |
uresb.c | 54 const UChar baderror[] = { 0x0042, 0x0041, 0x0044, 0x0000 }; 56 const UChar *getErrorName(UErrorCode errorNumber); 58 static UChar *quotedString(const UChar *string); 185 static UChar *quotedString(const UChar *string) { 188 const UChar *sp; 189 UChar *newstr, *np; 200 newstr = (UChar *) malloc((1 + alen) * sizeof(*newstr)); 229 const UChar*thestr = ures_getString(resource, &len, status) [all...] |
/external/valgrind/main/VEX/priv/ |
host_generic_simd64.c | 90 static inline ULong mk8x8 ( UChar w7, UChar w6, 91 UChar w5, UChar w4, 92 UChar w3, UChar w2, 93 UChar w1, UChar w0 ) { 101 static inline UChar sel8x8_7 ( ULong w64 ) { 105 static inline UChar sel8x8_6 ( ULong w64 ) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGParserUtilities.cpp | 154 template bool parseSVGNumber(UChar* begin, size_t length, double&); 161 bool parseNumber(const UChar*& ptr, const UChar* end, float& number, bool skip) 175 const UChar* ptr = string.characters16(); 176 const UChar* end = ptr + string.length(); 205 bool parseArcFlag(const UChar*& ptr, const UChar* end, bool& flag) 233 const UChar* ptr = string.characters16(); 234 const UChar* end = ptr + string.length(); 261 const UChar* ptr = string.characters16() [all...] |
/external/chromium_org/third_party/icu/source/test/perf/ustrperf/ |
stringperf.h | 26 const UChar uTESTCHAR1 = 'a'; 56 typedef void (*ICUStringPerfFn)(const UChar* src,int32_t srcLen, UnicodeString s0); 179 StringPerfFunction(ICUStringPerfFn func, UChar* source, int32_t sourceLen, UBool uselen) 188 src_ = new UChar[sourceLen]; 201 StringPerfFunction(StdStringPerfFn func, UChar* source, int32_t sourceLen, UBool uselen) 210 src_ = new UChar[sourceLen]; 272 const UChar* uSrc = src_; 326 UChar* src_; 378 UChar* StrBuffer; 384 inline void ctor(const UChar* src,int32_t srcLen, UnicodeString s0 [all...] |
/external/icu4c/test/perf/ustrperf/ |
stringperf.h | 28 const UChar uTESTCHAR1 = 'a'; 58 typedef void (*ICUStringPerfFn)(const UChar* src,int32_t srcLen, UnicodeString s0); 181 StringPerfFunction(ICUStringPerfFn func, UChar* source, int32_t sourceLen, UBool uselen) 190 src_ = new UChar[sourceLen]; 203 StringPerfFunction(StdStringPerfFn func, UChar* source, int32_t sourceLen, UBool uselen) 212 src_ = new UChar[sourceLen]; 274 const UChar* uSrc = src_; 328 UChar* src_; 380 UChar* StrBuffer; 386 inline void ctor(const UChar* src,int32_t srcLen, UnicodeString s0 [all...] |
/external/icu4c/test/cintltst/ |
cldrtest.c | 31 UChar graphme[64]; 197 const UChar *rootStr = ures_getStringByIndex(subRootBundle,idx,&rootStrLen,&errorCode); 198 const UChar *localeStr = ures_getStringByIndex(subBundle,idx,&localeStrLen,&errorCode); 247 if (localeStr[0] == (UChar)0x20) { 254 else if ((localeStr[localeStrLen - 1] == (UChar)0x20) && (strcmp(subBundleKey,"separator") != 0)) { 265 const UChar *localeStrItr = localeStr; 267 if (*localeStrItr == (UChar)0x27 /* ' */) { 273 && (*localeStrItr == (UChar)0x6B /* k */ 274 || *localeStrItr == (UChar)0x48 /* H */ 275 || *localeStrItr == (UChar)0x6D /* m * [all...] |
bocu1tst.c | 706 * @param length number of UChar code units in s 711 writeString(const UChar *s, int32_t length, uint8_t *p) { 732 * @return number of UChar code units output 735 readString(const uint8_t *p, int32_t length, UChar *s) { 880 roundtripBOCU1(UConverter *bocu1, int32_t number, const UChar *text, int32_t length) { 881 UChar *roundtripRef, *roundtripICU; 887 roundtripRef = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar)); 888 roundtripICU = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar)); 934 static const UChar feff[]={ 0xfeff }; 935 static const UChar ascii[]={ 0x61, 0x62, 0x20, 0x63, 0x61 } [all...] |
/external/chromium_org/third_party/icu/source/io/ |
uprntf_p.c | 116 static const UChar gNullStr[] = {0x28, 0x6E, 0x75, 0x6C, 0x6C, 0x29, 0}; /* "(null)" */ 117 static const UChar gSpaceStr[] = {0x20, 0}; /* " " */ 124 UChar *prefixBuffer, 140 UChar plusSymbol[UPRINTF_SYMBOL_BUFFER_SIZE]; 163 UChar *prefixBuffer, 185 static const UChar PERCENT[] = { UP_PERCENT }; 199 UChar *s; 200 UChar buffer[UFMT_DEFAULT_BUFFER_SIZE]; 210 (UChar *)uprv_malloc(MAX_UCHAR_BUFFER_NEEDED(argSize)), 218 sizeof(buffer)/sizeof(UChar)); [all...] |
/external/icu4c/io/ |
uprntf_p.c | 116 static const UChar gNullStr[] = {0x28, 0x6E, 0x75, 0x6C, 0x6C, 0x29, 0}; /* "(null)" */ 117 static const UChar gSpaceStr[] = {0x20, 0}; /* " " */ 124 UChar *prefixBuffer, 140 UChar plusSymbol[UPRINTF_SYMBOL_BUFFER_SIZE]; 163 UChar *prefixBuffer, 185 static const UChar PERCENT[] = { UP_PERCENT }; 199 UChar *s; 200 UChar buffer[UFMT_DEFAULT_BUFFER_SIZE]; 210 (UChar *)uprv_malloc(MAX_UCHAR_BUFFER_NEEDED(argSize)), 218 sizeof(buffer)/sizeof(UChar)); [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
AtomicString.h | 48 AtomicString(const UChar* s, unsigned length) : m_string(add(s, length)) { } 49 AtomicString(const UChar* s, unsigned length, unsigned existingHash) : m_string(add(s, length, existingHash)) { } 50 AtomicString(const UChar* s) : m_string(add(s)) { } 53 explicit AtomicString(const Vector<UChar, inlineCapacity>& characters) 100 const UChar* characters16() const { return m_string.characters16(); } 103 UChar operator[](unsigned int i) const { return m_string[i]; } 105 bool contains(UChar c) const { return m_string.contains(c); } 111 size_t find(UChar c, size_t start = 0) const { return m_string.find(c, start); } 119 bool startsWith(UChar character) const 127 bool endsWith(UChar character) cons [all...] |
/external/chromium_org/third_party/icu/source/tools/genrb/ |
derb.c | 61 static UChar *quotedString(const UChar *string); 63 static void printString(FILE *out, UConverter *converter, const UChar *str, int32_t len); 207 static const UChar sp[] = { 0x0020 }; /* " " */ 330 static const UChar bom[] = { 0xFEFF }; 373 static UChar *quotedString(const UChar *string) { 376 const UChar *sp; 377 UChar *newstr, *np; 388 newstr = (UChar *) uprv_malloc((1 + alen) * sizeof(*newstr)) [all...] |
/external/chromium_org/third_party/icu/source/common/ |
ucnv_cb.c | 55 const UChar** source, 56 const UChar* sourceLimit, 201 const UChar *source = (const UChar *)converter->subChars; 227 const UChar* source, 249 static const UChar kSubstituteChar1 = 0x1A, kSubstituteChar = 0xFFFD; 251 /* could optimize this case, just one uchar */
|
uenum.c | 86 U_CAPI const UChar* U_EXPORT2 91 UChar *ustr = NULL; 96 ustr = (UChar*) _getBuffer(en, (len+1) * sizeof(UChar)); 120 const UChar *tempUCharVal = en->uNext(en, resultLength, status); 138 U_CAPI const UChar* U_EXPORT2
|
servslkf.cpp | 23 #define UNDERSCORE_CHAR ((UChar)0x005f) 24 #define AT_SIGN_CHAR ((UChar)64) 25 #define PERIOD_CHAR ((UChar)46)
|
/external/chromium_org/third_party/icu/source/i18n/ |
ucol_cnt.cpp | 25 #include "unicode/uchar.h" 36 UChar *newCPs = (UChar *)uprv_realloc(tbl->codePoints, 2*tbl->size*sizeof(UChar)); 87 el->codePoints = (UChar *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(UChar)); 96 uprv_memset(el->codePoints, 0, INIT_EXP_TABLE_SIZE*sizeof(UChar)); 170 table->codePoints = (UChar *)uprv_malloc(table->position*sizeof(UChar)); 179 uprv_memset(table->codePoints, '?', table->position*sizeof(UChar)); [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
bocu1tst.c | 705 * @param length number of UChar code units in s 710 writeString(const UChar *s, int32_t length, uint8_t *p) { 731 * @return number of UChar code units output 734 readString(const uint8_t *p, int32_t length, UChar *s) { 879 roundtripBOCU1(UConverter *bocu1, int32_t number, const UChar *text, int32_t length) { 880 UChar *roundtripRef, *roundtripICU; 886 roundtripRef = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar)); 887 roundtripICU = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar)); 933 static const UChar feff[]={ 0xfeff }; 934 static const UChar ascii[]={ 0x61, 0x62, 0x20, 0x63, 0x61 } [all...] |
ncnvtst.c | 40 static void printUSeq(const UChar* a, int len); 41 static void printUSeqErr(const UChar* a, int len); 42 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 44 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, 47 static UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 49 static UBool testConvertToU( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, 90 static void printUSeq(const UChar* a, int len) 107 static void printUSeqErr(const UChar* a, int len) 141 UChar sampleText[] = {0x0031, 0xd801, 0xdc01, 0x0032}; 161 UChar sampleText[] = {0x00a1, 0xd801, 0xdc01, 0x00a4} [all...] |
/external/icu4c/common/ |
ucnv_cb.c | 55 const UChar** source, 56 const UChar* sourceLimit, 201 const UChar *source = (const UChar *)converter->subChars; 227 const UChar* source, 249 static const UChar kSubstituteChar1 = 0x1A, kSubstituteChar = 0xFFFD; 251 /* could optimize this case, just one uchar */
|
uenum.c | 86 U_CAPI const UChar* U_EXPORT2 91 UChar *ustr = NULL; 96 ustr = (UChar*) _getBuffer(en, (len+1) * sizeof(UChar)); 120 const UChar *tempUCharVal = en->uNext(en, resultLength, status); 138 U_CAPI const UChar* U_EXPORT2
|
/external/icu4c/i18n/ |
ucol_cnt.cpp | 25 #include "unicode/uchar.h" 36 UChar *newCPs = (UChar *)uprv_realloc(tbl->codePoints, 2*tbl->size*sizeof(UChar)); 87 el->codePoints = (UChar *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(UChar)); 96 uprv_memset(el->codePoints, 0, INIT_EXP_TABLE_SIZE*sizeof(UChar)); 170 table->codePoints = (UChar *)uprv_malloc(table->position*sizeof(UChar)); 179 uprv_memset(table->codePoints, '?', table->position*sizeof(UChar)); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/text/ |
SuffixTree.h | 36 static int codeWord(UChar c) { return c; } 37 enum { codeSize = 1 << 8 * sizeof(UChar) }; 42 static int codeWord(UChar c) { return c & (codeSize - 1); }
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
dtoa.h | 51 WTF_EXPORT double parseDouble(const UChar* string, size_t length, size_t& parsedLength); 54 double parseDoubleFromLongString(const UChar* string, size_t length, size_t& parsedLength); 62 inline double parseDouble(const UChar* string, size_t length, size_t& parsedLength)
|