HomeSort by relevance Sort by last modified time
    Searched refs:UChar (Results 276 - 300 of 1459) sorted by null

<<11121314151617181920>>

  /external/icu4c/samples/legacy/
oldcol.cpp 28 int32_t getSortKey_legacy(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, int32_t bLen) {
45 UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1);
84 extern "C" void test_legacy(UChar data[][5], uint32_t size, uint32_t maxlen, uint8_t keys[4][32]) {
101 qsort(data, size, maxlen*sizeof(UChar), compare_legacy);
  /external/valgrind/main/memcheck/tests/
pdb-realloc2.c 13 typedef unsigned char UChar;
34 UChar* v;
35 UChar* p = malloc(size);
52 p[i] &= (UChar)j;
84 if (v[i] != (UChar)j)
  /external/webkit/Source/WebCore/platform/text/
TextCodecUserDefined.cpp 54 UChar* buffer;
65 static CString encodeComplexUserDefined(const UChar* characters, size_t length, UnencodableHandling handling)
91 CString TextCodecUserDefined::encode(const UChar* characters, size_t length, UnencodableHandling handling)
97 UChar ored = 0;
99 UChar c = characters[i];
  /external/icu4c/tools/genrb/
prscmnts.cpp 35 removeText(UChar *source, int32_t srcLen,
59 trim(UChar *src, int32_t srcLen, UErrorCode *status){
67 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status){
75 getText(const UChar* source, int32_t srcLen,
76 UChar** dest, int32_t destCapacity,
112 getDescription( const UChar* source, int32_t srcLen,
113 UChar** dest, int32_t destCapacity,
128 if(stringArray[0].indexOf((UChar)AT_SIGN)==-1){
136 getCount(const UChar* source, int32_t srcLen,
172 getAt(const UChar* source, int32_t srcLen
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/text/
AtomicString.h 45 AtomicString(const UChar* s, unsigned length) : m_string(add(s, length)) { }
46 AtomicString(const UChar* s, unsigned length, unsigned existingHash) : m_string(add(s, length, existingHash)) { }
47 AtomicString(const UChar* s) : m_string(add(s)) { }
56 static AtomicStringImpl* find(const UChar* s, unsigned length, unsigned existingHash);
63 const UChar* characters() const { return m_string.characters(); }
66 UChar operator[](unsigned int i) const { return m_string[i]; }
68 bool contains(UChar c) const { return m_string.contains(c); }
74 size_t find(UChar c, size_t start = 0) const { return m_string.find(c, start); }
120 static PassRefPtr<StringImpl> add(const UChar*, unsigned length);
121 static PassRefPtr<StringImpl> add(const UChar*, unsigned length, unsigned existingHash)
    [all...]
  /external/icu4c/common/
unistr.cpp 46 UChar c;
59 print(const UChar *s,
63 UChar c;
82 us_arrayCopy(const UChar *src, int32_t srcStart,
83 UChar *dst, int32_t dstStart, int32_t count)
90 // u_unescapeAt() callback to get a UChar from a UnicodeString
92 static UChar U_CALLCONV
170 UChar *array = getArrayStart();
177 array[i++] = (UChar)c;
181 UChar units[UTF_MAX_CHAR_LENGTH]
    [all...]
ucnv_cnv.c 88 const UChar *uchars, int32_t length,
89 UChar **target, const UChar *targetLimit,
93 UChar *t=*target;
129 UChar **target, const UChar *targetLimit,
133 UChar *t;
140 *t++=(UChar)c;
146 *t++=(UChar)c;
normalizer2impl.cpp 62 UBool ReorderingBuffer::equals(const UChar *otherStart, const UChar *otherLimit) const {
88 UBool ReorderingBuffer::append(const UChar *s, int32_t length,
104 const UChar *sLimit=s+length;
133 *limit++=(UChar)c;
144 UBool ReorderingBuffer::appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode) {
204 UChar c=*--codePointStart;
220 UChar c2;
233 UChar *q=limit
    [all...]
  /external/valgrind/main/VEX/priv/
host_s390_defs.h 259 UChar size; /* size of the result in bytes */
403 s390_insn *s390_insn_load(UChar size, HReg dst, s390_amode *src);
404 s390_insn *s390_insn_store(UChar size, s390_amode *dst, HReg src);
405 s390_insn *s390_insn_move(UChar size, HReg dst, HReg src);
406 s390_insn *s390_insn_cond_move(UChar size, s390_cc_t cond, HReg dst,
408 s390_insn *s390_insn_load_immediate(UChar size, HReg dst, ULong val);
409 s390_insn *s390_insn_alu(UChar size, s390_alu_t, HReg dst,
411 s390_insn *s390_insn_mul(UChar size, HReg dst_hi, HReg dst_lo,
413 s390_insn *s390_insn_div(UChar size, HReg op1_hi, HReg op1_lo,
415 s390_insn *s390_insn_divs(UChar size, HReg rem, HReg op1, s390_opnd_RMI op2)
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
fastcodemb.cpp 54 UChar Mode = video->headerInfo.Mode[mbnum];
55 UChar *bitmapcol, *bitmaprow = video->bitmaprow;
57 UChar shortHeader = video->vol[video->currLayer]->shortVideoHeader;
64 UChar[], UChar *, UInt *, Int, Int, Int, UChar);
66 UChar *, UInt *, Int, UChar);
67 void (*BlockDCT1x1)(Short *, UChar *, UChar *, Int)
    [all...]
sad_mb_offset.h 27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin)
29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin)
31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin)
130 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8)
132 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8
    [all...]
  /external/icu4c/i18n/
uspoof.cpp 187 const UChar *text, int32_t length,
242 const UChar *nfdText = normalizedInput.getBuffer();
342 UChar stackBuf[USPOOF_STACK_BUFFER_SIZE];
343 UChar* text16 = stackBuf;
351 text16 = static_cast<UChar *>(uprv_malloc(len16 * sizeof(UChar) + 2));
389 static UChar *getSkeleton(const USpoofChecker *sc, uint32_t type, const UChar *s, int32_t inputLength,
390 UChar *dest, int32_t destCapacity, int32_t *outputLength, UErrorCode *status) {
392 UChar *buf = dest
    [all...]
esctrn.cpp 20 static const UChar UNIPRE[] = {85,43,0}; // "U+"
21 static const UChar BS_u[] = {92,117,0}; // "\\u"
22 static const UChar BS_U[] = {92,85,0}; // "\\U"
23 static const UChar XMLPRE[] = {38,35,120,0}; // "&#x"
24 static const UChar XML10PRE[] = {38,35,0}; // "&#"
25 static const UChar PERLPRE[] = {92,120,123,0}; // "\\x{"
26 static const UChar SEMI[] = {59,0}; // ";"
27 static const UChar RBRACE[] = {125,0}; // "}"
28 static const UChar EMPTY[] = {0}; // ""
tznames_impl.h 31 * ZNStringPool Pool of (UChar *) strings. Provides for sharing of repeated
45 const UChar *get(const UChar *s, UErrorCode &status);
50 const UChar *get(const UnicodeString &s, UErrorCode &status);
55 const UChar *adopt(const UChar *s, UErrorCode &status);
84 UChar fCharacter; // UTF-16 code unit.
134 void put(const UChar*, void *value, UErrorCode &status);
150 CharacterNode* addChildNode(CharacterNode *parent, UChar c, UErrorCode &status);
151 CharacterNode* getChildNode(CharacterNode *parent, UChar c) const
    [all...]
quant.cpp 101 return result.append((UChar)63); /*?*/
103 return result.append((UChar)42); /***/
107 return result.append((UChar)43); /*+*/
109 result.append((UChar)123); /*{*/
111 result.append((UChar)44); /*,*/
115 result.append((UChar)125); /*}*/
  /external/icu4c/i18n/unicode/
usearch.h 112 * UChar target[64];
113 * UChar pattern[16];
247 U_STABLE UStringSearch * U_EXPORT2 usearch_open(const UChar *pattern,
249 const UChar *text,
280 const UChar *pattern,
282 const UChar *text,
430 * @param result UChar buffer to store the matched string
442 UChar *result,
497 const UChar *text,
509 U_STABLE const UChar * U_EXPORT2 usearch_getText(const UStringSearch *strsrch,
    [all...]
  /external/icu4c/samples/date/
date.c 46 static void date(const UChar *tz, UDateFormatStyle style, char *format, UErrorCode *status);
53 static const UChar GMT_ID [] = { 0x0047, 0x004d, 0x0054, 0x0000 };
64 const UChar *tz = 0;
166 UChar tzName[256];
192 date(const UChar *tz,
197 UChar *s = 0;
200 UChar uFormat[100];
210 s = (UChar*) malloc(sizeof(UChar) * (len+1));
  /external/icu4c/test/cintltst/
calldata.h 12 const UChar testSourceCases[][16] = {
52 const UChar testTargetCases[][16] = {
70 {0x70, (UChar)0x00E9, 0x63, 0x68, 0x00E9, 0},
75 {(UChar)0x00E4, 0x62, 0x63, 0},
76 {0x61, (UChar)0x00C6, 0x63, 0},
89 {0x70, (UChar)0x00EB,0x30} /* 37 */
92 const UChar testCases[][4] =
102 {(UChar)0x00e6, 0},
103 {(UChar)0x00c6, 0},
  /external/webkit/Source/JavaScriptCore/wtf/unicode/glib/
UnicodeGLib.h 37 typedef uint16_t UChar;
129 int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error);
131 int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error);
143 int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error);
237 int umemcasecmp(const UChar*, const UChar*, int len);
  /external/webkit/Source/WebCore/icu/unicode/
usearch.h 111 * UChar target[64];
112 * UChar pattern[16];
200 U_STABLE UStringSearch * U_EXPORT2 usearch_open(const UChar *pattern,
202 const UChar *text,
233 const UChar *pattern,
235 const UChar *text,
364 * @param result UChar buffer to store the matched string
376 UChar *result,
431 const UChar *text,
443 U_STABLE const UChar * U_EXPORT2 usearch_getText(const UStringSearch *strsrch,
    [all...]
  /external/webkit/Source/WebCore/loader/appcache/
ManifestParser.cpp 60 const UChar* end = s.characters() + s.length();
61 const UChar* p = s.characters() + 14; // "CACHE MANIFEST" is 14 characters.
78 const UChar* lineStart = p;
89 const UChar* tmp = p - 1;
106 const UChar* p = line.characters();
107 const UChar* lineEnd = p + line.length();
139 const UChar* p = line.characters();
140 const UChar* lineEnd = p + line.length();
165 const UChar* fallbackStart = p;
  /external/webkit/Source/WebCore/platform/graphics/
StringTruncator.cpp 43 typedef unsigned TruncationFunction(const String&, unsigned length, unsigned keepCount, UChar* buffer);
60 static unsigned centerTruncateToBuffer(const String& string, unsigned length, unsigned keepCount, UChar* buffer)
73 memcpy(buffer, string.characters(), sizeof(UChar) * omitStart);
75 memcpy(&buffer[omitStart + 1], &string.characters()[omitEnd], sizeof(UChar) * (length - omitEnd));
80 static unsigned rightTruncateToBuffer(const String& string, unsigned length, unsigned keepCount, UChar* buffer)
89 memcpy(buffer, string.characters(), sizeof(UChar) * keepLength);
95 static float stringWidth(const Font& renderer, const UChar* characters, unsigned length)
110 UChar stringBuffer[STRING_BUFFER_SIZE];
120 memcpy(stringBuffer, string.characters(), sizeof(UChar) * length);
  /external/webkit/Source/WebCore/platform/text/mac/
ShapeArabic.c 42 #include <unicode/uchar.h>
65 static const UChar IrrelevantPos[] = {
70 static const UChar araLink[178]=
193 static const UChar presLink[141]=
235 static const UChar convertFEto06[] =
249 static const UChar shapeTable[4][4][4]=
265 static UChar
266 changeLamAlef(UChar ch) {
293 specialChar(UChar ch) {
316 static UChar
    [all...]
  /external/icu4c/test/intltest/
idnaref.cpp 31 static const UChar ACE_PREFIX[] ={ 0x0078,0x006E,0x002d,0x002d } ;
47 startsWithPrefix(const UChar* src , int32_t srcLength){
62 inline static UChar
63 toASCIILower(UChar ch){
71 compareCaseInsensitiveASCII(const UChar* s1, int32_t s1Len,
72 const UChar* s2, int32_t s2Len){
76 UChar c1,c2;
114 static inline int32_t convertASCIIToUChars(const char* src,UChar* dest, int32_t length){
121 static inline int32_t convertUCharsToASCII(const UChar* src,char* dest, int32_t length){
129 static int32_t convertToPuny(const UChar* src, int32_t srcLength
    [all...]
  /external/icu4c/common/unicode/
ucharstriebuilder.h 82 * Builds a UCharsTrie for the add()ed data and UChar-serializes it.
86 * builder's same UChar array, without rebuilding.
93 * @param result A UnicodeString which will be set to the UChar-serialized
125 virtual UChar getElementUnit(int32_t i, int32_t unitIndex) const;
132 virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, UChar unit) const;
142 UCTLinearMatchNode(const UChar *units, int32_t len, Node *nextNode);
146 const UChar *s;
154 int32_t write(const UChar *s, int32_t length);
165 // UChar serialization of the trie.
167 UChar *uchars
    [all...]

Completed in 630 milliseconds

<<11121314151617181920>>