/external/icu4c/test/perf/normperf/ |
normperf.h | 24 inline int FoldStringW(DWORD dwMapFlags, const UChar* lpSrcStr,int cchSrc, UChar* lpDestStr,int cchDest); 28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* status); 29 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status); 39 const UChar* src; 87 QuickCheckPerfFunction(QuickCheckFn func, const UChar* source,int32_t sourceLen, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { 104 UChar dest[DEST_BUFFER_CAPACITY]; 105 UChar* pDest; 110 const UChar* src [all...] |
/external/webkit/WebCore/platform/text/ |
SegmentedString.h | 41 SegmentedSubstring(const UChar* str, int length) : m_length(length), m_current(length == 0 ? 0 : str), m_doNotExcludeLineNumbers(true) {} 64 const UChar* m_current; 75 SegmentedString(const UChar* str, int length) : m_pushedChar1(0), m_pushedChar2(0) 92 void push(UChar c) 154 const UChar& operator*() const { return *current(); } 155 const UChar* operator->() const { return current(); } 164 const UChar* current() const { return m_currentChar; } 166 UChar m_pushedChar1; 167 UChar m_pushedChar2; 169 const UChar* m_currentChar [all...] |
TextCodecUTF16.cpp | 77 UChar* q = buffer.characters(); 80 UChar c; 93 UChar c = p[0] | (p[1] << 8); 99 UChar c = (p[0] << 8) | p[1]; 116 CString TextCodecUTF16::encode(const UChar* characters, size_t length, UnencodableHandling) 125 UChar c = characters[i]; 131 UChar c = characters[i];
|
StringImpl.cpp | 50 static inline UChar* newUCharVector(unsigned n) 52 return static_cast<UChar*>(fastMalloc(sizeof(UChar) * n)); 55 static inline void deleteUCharVector(const UChar* p) 57 fastFree(const_cast<UChar*>(p)); 93 inline StringImpl::StringImpl(const UChar* characters, unsigned length) 104 : m_data(reinterpret_cast<const UChar*>(this + 1)) 169 UChar ored = 0; 171 const UChar *end = m_data + m_length; 172 for (const UChar* chp = m_data; chp != end; chp++) [all...] |
/external/icu4c/common/ |
unorm.cpp | 30 #include "unicode/uchar.h" 124 isHangulWithoutJamoT(UChar c) { 409 _getNorm32(UChar c) { 414 _getNorm32FromSurrogatePair(UChar c, UChar c2) { 424 _getNorm32(const UChar *p, uint32_t mask) { 425 UChar c=*p; 435 _getFCD16(UChar c) { 440 _getFCD16FromSurrogatePair(UChar c, UChar c2) [all...] |
uidna.cpp | 31 static const UChar ACE_PREFIX[] ={ 0x0078,0x006E,0x002d,0x002d } ; 48 inline static UChar 49 toASCIILower(UChar ch){ 57 startsWithPrefix(const UChar* src , int32_t srcLength){ 74 compareCaseInsensitiveASCII(const UChar* s1, int32_t s1Len, 75 const UChar* s2, int32_t s2Len){ 95 UChar c1,c2; 129 static inline UBool isLabelSeparator(UChar ch){ 145 getNextSeparator(UChar *src, int32_t srcLength, 146 UChar **limit, UBool *done) [all...] |
unormimp.h | 223 unorm_internalNormalize(UChar *dest, int32_t destCapacity, 224 const UChar *src, int32_t srcLength, 237 unorm_internalNormalizeWithNX(UChar *dest, int32_t destCapacity, 238 const UChar *src, int32_t srcLength, 249 unorm_decompose(UChar *dest, int32_t destCapacity, 250 const UChar *src, int32_t srcLength, 259 unorm_compose(UChar *dest, int32_t destCapacity, 260 const UChar *src, int32_t srcLength, 271 unorm_internalQuickCheck(const UChar *src, 342 unorm_getFCD16(const uint16_t *fcdTrieIndex, UChar c) [all...] |
/external/webkit/JavaScriptCore/runtime/ |
UStringImpl.h | 41 typedef CrossThreadRefCounted<OwnFastMallocPtr<UChar> > SharedUChar; 88 static PassRefPtr<UStringImpl> adopt(Vector<UChar, inlineCapacity>& vector) 99 static PassRefPtr<UStringImpl> create(const UChar* buffer, int length); 108 static PassRefPtr<UStringImpl> create(PassRefPtr<SharedUChar> sharedBuffer, UChar* buffer, int length) 113 static PassRefPtr<UStringImpl> createUninitialized(unsigned length, UChar*& output) 120 if (length > ((std::numeric_limits<size_t>::max() - sizeof(UStringImpl)) / sizeof(UChar))) 122 UStringImpl* resultImpl = static_cast<UStringImpl*>(fastMalloc(sizeof(UChar) * length + sizeof(UStringImpl))); 123 output = reinterpret_cast<UChar*>(resultImpl + 1); 127 static PassRefPtr<UStringImpl> tryCreateUninitialized(unsigned length, UChar*& output) 134 if (length > ((std::numeric_limits<size_t>::max() - sizeof(UStringImpl)) / sizeof(UChar))) [all...] |
UString.cpp | 151 static UChar sharedEmptyChar; 175 UString::UString(const UChar* c, int length) 185 UChar buf[1 + sizeof(i) * 3]; 186 UChar* end = buf + sizeof(buf) / sizeof(UChar); 187 UChar* p = end; 214 UChar buf[1 + sizeof(i) * 3]; 215 UChar* end = buf + sizeof(buf) / sizeof(UChar); 216 UChar* p = end [all...] |
/external/webkit/JavaScriptCore/wtf/unicode/glib/ |
UnicodeGLib.cpp | 46 int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) 62 GOwnPtr<UChar> utf16result; 73 memcpy(result, utf16result.get(), utf16resultLength * sizeof(UChar)); 78 int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) 94 GOwnPtr<UChar> utf16result; 105 memcpy(result, utf16result.get(), utf16resultLength * sizeof(UChar)); 110 int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error [all...] |
/external/icu4c/extra/scrptrun/ |
scrptrun.h | 38 ScriptRun(const UChar chars[], int32_t length); 40 ScriptRun(const UChar chars[], int32_t start, int32_t length); 46 void reset(const UChar chars[], int32_t start, int32_t length); 76 const UChar *charArray; 105 inline ScriptRun::ScriptRun(const UChar chars[], int32_t length) 110 inline ScriptRun::ScriptRun(const UChar chars[], int32_t start, int32_t length) 146 inline void ScriptRun::reset(const UChar chars[], int32_t start, int32_t length)
|
/external/icu4c/samples/case/ |
ucase.c | 14 #include "unicode/uchar.h" 25 static const UChar upper[] = {0x61, 0x42, 0x49, 0}; /* upper = "aBI" */ 26 static const UChar lower[] = {0x61, 0x42, 0x69, 0}; /* lower = "abi" */ 28 static const UChar unfold[] = {0x61, 0x42, 0x131, 0} ; 29 UChar buffer[32]; 30 const UChar char_k = 0x006b; /* 'k' */ 31 const UChar char_K = 0x004b; /* 'K' */ 37 /* uchar.h APIs, single character case mapping */ 45 u_fprintf(out, "u_foldCase(%C, U_FOLD_CASE_DEFAULT) = %C\n", char_K, (UChar) ch); 47 /* ustring.h APIs, UChar * string case mapping with a Turkish locale * [all...] |
/external/webkit/WebCore/svg/ |
SVGTransformable.cpp | 58 static int parseTransformParamList(const UChar*& ptr, const UChar* end, float* values, int required, int optional) 114 bool SVGTransformable::parseTransformValue(unsigned type, const UChar*& ptr, const UChar* end, SVGTransform& t) 157 static const UChar skewXDesc[] = {'s', 'k', 'e', 'w', 'X'}; 158 static const UChar skewYDesc[] = {'s', 'k', 'e', 'w', 'Y'}; 159 static const UChar scaleDesc[] = {'s', 'c', 'a', 'l', 'e'}; 160 static const UChar translateDesc[] = {'t', 'r', 'a', 'n', 's', 'l', 'a', 't', 'e'}; 161 static const UChar rotateDesc[] = {'r', 'o', 't', 'a', 't', 'e'}; 162 static const UChar matrixDesc[] = {'m', 'a', 't', 'r', 'i', 'x'} [all...] |
/external/icu4c/i18n/ |
rbt_pars.h | 108 UChar variableNext; 115 UChar variableLimit; 131 UChar dotStandIn; 273 UChar parseSet(const UnicodeString& rule, 283 UChar generateStandInFor(UnicodeFunctor* adopted, UErrorCode& status); 290 UChar getSegmentStandin(int32_t seg, UErrorCode& status); 304 UChar getDotStandIn(UErrorCode& status); 351 utrans_stripRules(const UChar *source, int32_t sourceLen, UChar *target, UErrorCode *status);
|
ucol_cnt.h | 40 UChar *codePoints; 50 UChar *codePoints; 72 uprv_cnttab_addContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status); 75 uprv_cnttab_setContraction(CntTable *table, uint32_t element, uint32_t offset, UChar codePoint, uint32_t value, UErrorCode *status); 78 uprv_cnttab_insertContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status); 84 uprv_cnttab_findCP(CntTable *table, uint32_t element, UChar codePoint, UErrorCode *status); 90 uprv_cnttab_changeContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t newCE, UErrorCode *status); 93 uprv_cnttab_findCE(CntTable *table, uint32_t element, UChar codePoint, UErrorCode *status); 96 uprv_cnttab_isTailored(CntTable *table, uint32_t element, UChar *ztString, UErrorCode *status);
|
zonemeta.h | 20 const UChar *id; // const because it's a reference to a resource bundle string. 21 const UChar *country; // const because it's a reference to a resource bundle string. 25 const UChar *mzid; // const because it's a reference to a resource bundle string. 31 const UChar *id; // const because it's a reference to a resource bundle string. 32 UChar *territory;
|
/external/webkit/WebCore/loader/ |
TextDocument.cpp | 57 m_buffer = static_cast<UChar*>(fastRealloc(m_buffer, newSize * sizeof(UChar))); 70 UChar* m_buffer; 71 UChar* m_dest; 81 m_buffer = static_cast<UChar*>(fastMalloc(sizeof(UChar) * m_size)); 93 m_buffer = static_cast<UChar*>(fastMalloc(sizeof(UChar) * m_size)); 111 UChar c = *str;
|
/external/icu4c/samples/legacy/ |
newcol.cpp | 27 int32_t getSortKey_current(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, int32_t bLen) { 44 UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); 68 extern "C" void test_current(UChar data[][5], uint32_t size, uint32_t maxlen, uint8_t keys[][32]) { 84 qsort(data, size, maxlen*sizeof(UChar), compare_current);
|
/external/icu4c/test/intltest/ |
convtest.h | 33 UChar subString[16]; 40 const UChar *unicode; 53 const UChar *invalidUChars; 58 UChar resultUnicode[200]; 86 const UChar *result, int32_t resultLength,
|
idnaconf.cpp | 25 static const UChar C_TAG[] = {0x3D, 0x3D, 0x3D, 0x3D, 0x3D, 0}; // ===== 26 static const UChar C_NAMEZONE[] = {0x6E, 0x61, 0x6D, 0x65, 0x7A, 0x6F, 0x6E, 0x65, 0}; // namezone 27 static const UChar C_NAMEBASE[] = {0x6E, 0x61, 0x6D, 0x65, 0x62, 0x61, 0x73, 0x65, 0}; // namebase 28 static const UChar C_NAMEUTF8[] = {0x6E, 0x61, 0x6D, 0x65, 0x75, 0x74, 0x66, 0x38, 0}; // nameutf8 30 static const UChar C_TYPE[] = {0x74, 0x79, 0x70, 0x65, 0}; // type 31 static const UChar C_TOASCII[] = {0x74, 0x6F, 0x61, 0x73, 0x63, 0x69, 0x69, 0}; // toascii 32 static const UChar C_TOUNICODE[] = {0x74, 0x6F, 0x75, 0x6E, 0x69, 0x63, 0x6F, 0x64, 0x65, 0}; // tounicode 34 static const UChar C_PASSFAIL[] = {0x70, 0x61, 0x73, 0x73, 0x66, 0x61, 0x69, 0x6C, 0}; // passfail 35 static const UChar C_PASS[] = {0x70, 0x61, 0x73, 0x73, 0}; // pass 36 static const UChar C_FAIL[] = {0x66, 0x61, 0x69, 0x6C, 0}; // fai [all...] |
/external/opencore/codecs_v2/video/m4v_h263/enc/src/ |
findhalfpel.cpp | 34 void GenerateSearchRegion(UChar *searchPadding, UChar *ref, Int width, Int height, 37 void InterpDiag(UChar *prev, Int lx, UChar *pred_block); 38 void InterpHorz(UChar *prev, Int lx, UChar *pred_block); 39 void InterpVert(UChar *prev, Int lx, UChar *pred_block); 65 void FindHalfPelMB(VideoEncData *video, UChar *cur, MOT *mot, UChar *ncand [all...] |
/external/webkit/WebCore/loader/appcache/ |
ApplicationCacheResource.cpp | 58 m_estimatedSizeInStorage += (it->first.length() + it->second.length() + 2) * sizeof(UChar); 60 m_estimatedSizeInStorage += url().string().length() * sizeof(UChar); 62 m_estimatedSizeInStorage += response().url().string().length() * sizeof(UChar); 64 m_estimatedSizeInStorage += response().mimeType().length() * sizeof(UChar); 65 m_estimatedSizeInStorage += response().textEncodingName().length() * sizeof(UChar);
|
/external/icu4c/test/cintltst/ |
cnmdptst.c | 62 UChar upat[5]; 63 UChar unewpat[5]; 64 UChar unum[5]; 65 UChar *unewp=NULL; 66 UChar *str=NULL; 87 unewp=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 101 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 124 UChar pat[15] [all...] |
/external/webkit/WebKit/android/nav/ |
CacheBuilder.h | 92 static FoundState FindAddress(const UChar* , unsigned length, int* start, 139 const UChar* mCurrentStart; 140 const UChar* mEnd; 146 const UChar* mFirstLower; 147 const UChar* mZipStart; 148 const UChar* mBases[16]; // FIXME: random guess, maybe too small, maybe too big 149 const UChar* mWords[16]; 150 const UChar* mEnds[16]; 151 const UChar* mStarts[16]; // text is not necessarily contiguous 159 UChar mStore[NAVIGATION_MAX_PHONE_LENGTH + 1] [all...] |
/external/icu4c/extra/uconv/ |
uwmsg.c | 35 uprint(const UChar *s, 43 const UChar *mySource; 44 const UChar *mySourceEnd; 125 const UChar *msg; 131 UChar result[4096]; 200 UChar **gInfoMessages = NULL; 202 UChar **gErrMessages = NULL; 204 static const UChar *fetchErrorName(UErrorCode err) 207 gInfoMessages = (UChar **)malloc((U_ERROR_WARNING_LIMIT-U_ERROR_WARNING_START)*sizeof(UChar*)); [all...] |