/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...] |
cintltst.h | 44 U_CFUNC UChar* CharsToUChars(const char* chars); 47 * Convert a const UChar* into a char* 54 U_CFUNC char *austrdup(const UChar* unichars); 55 U_CFUNC char *aescstrdup(const UChar* unichars, int32_t length);
|
nccbtst.h | 45 UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 50 UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, 54 UBool testConvertFromUnicodeWithContext(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, 58 UBool testConvertToUnicodeWithContext( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, 63 static void printUSeq(const UChar* a, int len); 65 static void printUSeqErr(const UChar* a, int len);
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
StringImpl.h | 61 typedef OwnFastMallocPtr<const UChar> SharableUChar; 63 typedef bool (*CharacterMatchFunctionPtr)(UChar); 77 StringImpl(const UChar* characters, unsigned length, StaticStringConstructType) 92 , m_data(reinterpret_cast<const UChar*>(this + 1)) 101 StringImpl(const UChar* characters, unsigned length) 112 StringImpl(const UChar* characters, unsigned length, PassRefPtr<StringImpl> base) 124 StringImpl(const UChar* characters, unsigned length, PassRefPtr<SharedUChar> sharedBuffer) 146 static PassRefPtr<StringImpl> create(const UChar*, unsigned length); 149 static PassRefPtr<StringImpl> create(const UChar*, unsigned length, PassRefPtr<SharedUChar> sharedBuffer); 162 static PassRefPtr<StringImpl> createUninitialized(unsigned length, UChar*& data) [all...] |
StringImpl.cpp | 62 fastFree(const_cast<UChar*>(m_data)); 74 PassRefPtr<StringImpl> StringImpl::createUninitialized(unsigned length, UChar*& data) 84 if (length > ((std::numeric_limits<unsigned>::max() - sizeof(StringImpl)) / sizeof(UChar))) 86 size_t size = sizeof(StringImpl) + length * sizeof(UChar); 89 data = reinterpret_cast<UChar*>(string + 1); 93 PassRefPtr<StringImpl> StringImpl::create(const UChar* characters, unsigned length) 98 UChar* data; 100 memcpy(data, characters, length * sizeof(UChar)); 109 UChar* data; 128 PassRefPtr<StringImpl> StringImpl::create(const UChar* characters, unsigned length, PassRefPtr<SharedUChar> sharedBuffer [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...] |
/external/icu4c/i18n/unicode/ |
unum.h | 45 * UChar myString[20]; 50 * printf(" Example 1: %s\n", austrdup(myString) ); //austrdup( a function used to convert UChar* to char*) 65 * UChar* result = NULL; 75 * result=(UChar*)malloc(sizeof(UChar) * resultlength); 296 const UChar* pattern, 367 UChar* result, 396 UChar* result, 425 UChar* result, 459 UChar* result [all...] |
/external/webkit/Source/WebCore/platform/ |
LinkHash.cpp | 34 static inline size_t findSlashDotDotSlash(const UChar* characters, size_t length, size_t position) 46 static inline size_t findSlashSlash(const UChar* characters, size_t length, size_t position) 58 static inline size_t findSlashDotSlash(const UChar* characters, size_t length, size_t position) 70 static inline bool containsColonSlashSlash(const UChar* characters, unsigned length) 82 static inline void squeezeOutNullCharacters(Vector<UChar, 512>& string) 94 if (UChar character = string[i]) 101 static void cleanSlashDotDotSlashes(Vector<UChar, 512>& path, size_t firstSlash) 120 static void mergeDoubleSlashes(Vector<UChar, 512>& path, size_t firstSlash) 138 static void cleanSlashDotSlashes(Vector<UChar, 512>& path, size_t firstSlash) 149 static inline void cleanPath(Vector<UChar, 512>& path [all...] |
/external/webkit/Source/WebKit/android/content/ |
PhoneEmailDetector.cpp | 47 FoundState FindPartialNumber(const UChar* chars, unsigned length, 51 static FoundState FindPartialEMail(const UChar* , unsigned length, FindState* ); 52 static bool IsDomainChar(UChar ch); 53 static bool IsMailboxChar(UChar ch); 123 FoundState FindPartialNumber(const UChar* chars, unsigned length, 127 UChar* store = s->mStorePtr; 128 const UChar* start = chars; 129 const UChar* end = chars + length; 130 const UChar* lastDigit = 0; 140 UChar ch = s->mCurrent = *chars [all...] |
/external/icu4c/common/unicode/ |
rep.h | 94 inline UChar charAt(int32_t offset) const; 231 virtual UChar getCharAt(int32_t offset) const = 0; 245 inline UChar
|
ucnv_cb.h | 112 * This function will write out the error character(s) to the target UChar buffer. 115 * @param source pointer to pointer to first UChar to write [on exit: 1 after last UChar processed] 116 * @param sourceLimit pointer after last UChar to write 123 const UChar** source, 124 const UChar* sourceLimit, 131 * UChar buffer. 142 const UChar* source,
|
/external/icu4c/samples/cal/ |
uprint.c | 24 uprint(const UChar *s, 32 const UChar *mySource; 33 const UChar *mySourceEnd;
|
/external/icu4c/samples/date/ |
uprint.c | 25 uprint(const UChar *s, 33 const UChar *mySource; 34 const UChar *mySourceEnd;
|
/external/webkit/Source/JavaScriptCore/wtf/unicode/glib/ |
UnicodeGLib.cpp | 69 static int convertCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error, UTF8CaseFunction caseFunction) 76 const UChar* utf16Source = src; 95 UChar* utf16Target = result; 104 int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) 109 int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error) 114 int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error [all...] |
/external/webkit/Source/JavaScriptCore/wtf/wx/ |
StringWx.cpp | 47 const UChar* str = wxstr.wc_str(); 70 const UChar* str = (const UChar*)utf16buf.data();
|
/external/webkit/Source/JavaScriptCore/yarr/ |
YarrJIT.h | 50 typedef int (*YarrJITCode)(const UChar* input, unsigned start, unsigned length, int* output) YARR_CALL; 66 int execute(const UChar* input, unsigned start, unsigned length, int* output) 81 int execute(YarrCodeBlock& jitObject, const UChar* input, unsigned start, unsigned length, int* output);
|
/external/webkit/Source/WebCore/icu/unicode/ |
ucnv_cb.h | 112 * This function will write out the error character(s) to the target UChar buffer. 115 * @param source pointer to pointer to first UChar to write [on exit: 1 after last UChar processed] 116 * @param sourceLimit pointer after last UChar to write 123 const UChar** source, 124 const UChar* sourceLimit, 131 * UChar buffer. 142 const UChar* source,
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
ComplexTextController.h | 72 static PassRefPtr<ComplexTextRun> create(CTRunRef ctRun, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange) 78 static PassRefPtr<ComplexTextRun> create(ATSUTextLayout atsuTextLayout, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride) 83 static PassRefPtr<ComplexTextRun> create(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) 90 const UChar* characters() const { return m_characters; } 103 ComplexTextRun(CTRunRef, const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange); 107 ComplexTextRun(ATSUTextLayout, const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride); 110 ComplexTextRun(const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr); 121 const UChar* m_characters; 147 void collectComplexTextRunsForCharacters(const UChar*, unsigned length, unsigned stringLocation, const SimpleFontData*); 148 void collectComplexTextRunsForCharactersATSUI(const UChar*, unsigned length, unsigned stringLocation, const SimpleFontData*) [all...] |
/external/webkit/Source/WebCore/platform/text/ |
TextCheckerClient.h | 62 virtual void checkSpellingOfString(const UChar*, int length, int* misspellingLocation, int* misspellingLength) = 0; 64 virtual void checkGrammarOfString(const UChar*, int length, Vector<GrammarDetail>&, int* badGrammarLocation, int* badGrammarLength) = 0; 67 virtual void checkTextOfParagraph(const UChar* text, int length, TextCheckingTypeMask checkingTypes, Vector<TextCheckingResult>& results) = 0;
|
TextCodecICU.h | 50 virtual CString encode(const UChar*, size_t length, UnencodableHandling); 57 int decodeToBuffer(UChar* buffer, UChar* bufferLimit, const char*& source,
|
/external/webkit/Source/WebCore/platform/text/brew/ |
TextBoundariesBrew.cpp | 37 int findNextWordFromIndex(const UChar* buffer, int len, int position, bool forward) 43 void findWordBoundary(const UChar* buffer, int len, int position, int* start, int* end) 56 UChar c = str[currentPosition];
|
/external/webkit/Source/WebCore/svg/ |
SVGLengthList.cpp | 36 const UChar* ptr = value.characters(); 37 const UChar* end = ptr + value.length(); 39 const UChar* start = ptr;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
mp4enc_api.h | 25 typedef unsigned char UChar; 103 UChar MTB; 104 UChar LayerID; 105 UChar CodeType; 106 UChar RefSelCode; 118 UChar *yChan; /* pointer to Y */ 119 UChar *uChan; /* pointer to U */ 120 UChar *vChan; /* pointer to V */ 276 OSCL_IMPORT_REF Bool PVGetVolHeader(VideoEncControls *encCtrl, UChar *volHeader, Int *size, Int layer); 338 ULong *nextModTime, UChar *bstream, Int *size, Int *nLayer) [all...] |
/external/icu4c/test/thaitest/ |
thaitest.cpp | 13 #include "unicode/uchar.h" 41 SpaceBreakIterator(const UChar *text, int32_t count); 62 // address of the UChar array 63 const UChar *fText; 88 // spaces - pointer to a UChar array for the text with spaces 90 // noSpaces - pointer to a UChar array for the text without spaces 93 ThaiWordbreakTest(const UChar *spaces, int32_t spaceCount, const UChar *noSpaces, int32_t noSpaceCount, UBool verbose); 110 // returns - the address of the UChar array containing the characters 111 static const UChar *readFile(char *fileName, int32_t &charCount) [all...] |
/external/icu4c/common/ |
patternprops.cpp | 165 const UChar * 166 PatternProps::skipWhiteSpace(const UChar *s, int32_t length) { 174 const UChar * 175 PatternProps::trimWhiteSpace(const UChar *s, int32_t &length) { 196 PatternProps::isIdentifier(const UChar *s, int32_t length) { 200 const UChar *limit=s+length; 209 const UChar * 210 PatternProps::skipIdentifier(const UChar *s, int32_t length) {
|