HomeSort by relevance Sort by last modified time
    Searched refs:srcLength (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/icu4c/common/
ustr_wcs.c 71 int32_t srcLength,
93 if(srcLength == -1){
94 srcLength = u_strlen(pSrc);
97 pSrcLimit = pSrc + srcLength;
113 (_BUFFER_CAPACITY_MULTIPLIER * (srcLength)), count,sizeof(char))){
190 nulVal = (nulLen < srcLength) ? 1 : 0;
234 int32_t srcLength,
242 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
251 if(srcLength == -1)
    [all...]
ubidiwrt.c 61 doWriteForward(const UChar *src, int32_t srcLength,
69 int32_t length=srcLength;
72 return srcLength;
77 return srcLength;
84 if(destSize<srcLength) {
86 return srcLength;
89 UTF_NEXT_CHAR(src, i, srcLength, c);
92 } while(i<srcLength);
93 return srcLength;
106 while(--srcLength>0)
    [all...]
punycode.h 45 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
67 u_strToPunycode(const UChar *src, int32_t srcLength,
78 * @param srcLength Length of puny, or -1 if NUL-terminated
102 u_strFromPunycode(const UChar *src, int32_t srcLength,
uidna.cpp 57 startsWithPrefix(const UChar* src , int32_t srcLength){
60 if(srcLength < ACE_PREFIX_LENGTH){
145 getNextSeparator(UChar *src, int32_t srcLength,
147 if(srcLength == -1){
163 for(i=0;i<srcLength;i++){
170 // if(i==srcLength)
171 *limit = src+srcLength;
194 _internal_toASCII(const UChar* src, int32_t srcLength,
226 if(srcLength == -1){
227 srcLength = u_strlen(src)
    [all...]
unorm.cpp 48 int32_t srcLength,
52 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
56 unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength,
64 src, srcLength, pErrorCode);
66 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
71 unorm_isNormalized(const UChar *src, int32_t srcLength,
75 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode);
79 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength,
87 src, srcLength, pErrorCode);
89 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode)
    [all...]
ustrtrns.c 38 int32_t srcLength,
52 if( (src==NULL && srcLength!=0) || srcLength < -1 ||
69 if(srcLength < 0) {
86 srcLimit = src + srcLength;
138 int32_t srcLength,
142 src, srcLength,
152 int32_t srcLength,
167 if( (src==NULL && srcLength!=0) || srcLength < -1 |
    [all...]
unistr_case.cpp 42 int32_t srcLength,
55 srcStart = srcLength = 0;
66 int32_t result=u_strcmpFold(chars, length, srcChars, srcLength,
72 // get the srcLength if necessary
73 if(srcLength < 0) {
74 srcLength = u_strlen(srcChars + srcStart);
76 if(length != srcLength) {
77 return (int8_t)((length - srcLength) >> 24 | 1);
ucasemap.c 219 * context [0..srcLength[ into account.
272 int32_t srcLength,
280 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode);
301 while(prev<srcLength) {
309 if(idx==UBRK_DONE || idx>srcLength) {
310 idx=srcLength;
410 const uint8_t *src, int32_t srcLength,
421 while(srcIndex<srcLength) {
423 U8_NEXT(src, srcIndex, srcLength, c);
455 const uint8_t *src, int32_t srcLength,
    [all...]
ustrcase.c 119 * context [0..srcLength[ into account.
212 int32_t srcLength,
220 ubrk_setText(csm->iter, src, srcLength, pErrorCode);
223 src, srcLength,
236 while(prev<srcLength) {
244 if(idx==UBRK_DONE || idx>srcLength) {
245 idx=srcLength;
346 const UChar *src, int32_t srcLength,
355 csc.limit=srcLength;
359 src, &csc, 0, srcLength,
    [all...]
punycode.c 179 u_strToPunycode(const UChar *src, int32_t srcLength,
193 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
203 if(srcLength==-1) {
240 for(j=0; j<srcLength; ++j) {
260 } else if(UTF_IS_LEAD(c) && (j+1)<srcLength && UTF_IS_TRAIL(c2=src[j+1])) {
372 u_strFromPunycode(const UChar *src, int32_t srcLength,
385 if(src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
390 if(srcLength==-1) {
391 srcLength=u_strlen(src);
402 for(j=srcLength; j>0;)
    [all...]
ustr_imp.h 112 const UChar *src, int32_t srcLength,
119 const UChar *src, int32_t srcLength,
128 const UChar *src, int32_t srcLength,
141 const UChar *src, int32_t srcLength,
unistr.cpp 344 int32_t srcLength)
349 setTo(that, srcStart, srcLength);
485 int32_t srcLength = src.length();
486 setLength(srcLength);
493 uprv_memcpy(fUnion.fStackBuffer, src.fUnion.fStackBuffer, srcLength * U_SIZEOF_UCHAR);
517 if(allocate(srcLength)) {
518 uprv_memcpy(getArrayStart(), src.getArrayStart(), srcLength * U_SIZEOF_UCHAR);
575 int32_t srcLength) const
587 srcStart = srcLength = 0;
599 // get the srcLength if necessar
    [all...]
  /external/icu4c/test/cintltst/
nfsprep.h 52 nfs4_prepare(const char* src, int32_t srcLength,
68 nfs4_mixed_prepare( const char* src, int32_t srcLength,
83 nfs4_cis_prepare( const char* src, int32_t srcLength,
98 nfs4_cs_prepare( const char* src, int32_t srcLength,
nfsprep.c 40 nfs4_prepare( const char* src, int32_t srcLength,
66 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0)){
73 u_strFromUTF8(b1,b1Capacity,&b1Len,src,srcLength,status);
86 u_strFromUTF8(b1, b1Capacity, &b1Len, src, srcLength, status);
174 getPrefixSuffix(const char *src, int32_t srcLength,
181 while(i<srcLength){
183 if((i+1) == srcLength){
196 *suffixLen = srcLength - i;
206 nfs4_mixed_prepare( const char* src, int32_t srcLength,
224 if((src==NULL) || (srcLength < -1) || (destCapacity<0) || (!dest && destCapacity > 0))
    [all...]
  /external/icu4c/common/unicode/
unistr.h 303 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>).
308 * @param srcLength the number of characters in <TT>src</TT> to compare
320 int32_t srcLength) const;
324 * <TT>srcLength</TT> characters in <TT>srcChars</TT>.
326 * @param srcLength the number of characters in <TT>srcChars</TT> to compare
335 int32_t srcLength) const;
359 * [<TT>srcStart</TT>, <TT>srcStart + srcLength</TT>).
364 * @param srcLength the number of characters in <TT>srcChars</TT> to compare
376 int32_t srcLength) const;
458 * @param srcLength The number of code units from that string to compare
    [all...]
ucasemap.h 258 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated.
270 const UChar *src, int32_t srcLength,
289 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated.
301 const char *src, int32_t srcLength,
318 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated.
330 const char *src, int32_t srcLength,
368 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated.
382 const char *src, int32_t srcLength,
403 * @param srcLength The length of the original string. If -1, then src must be NUL-terminated.
418 const char *src, int32_t srcLength,
    [all...]
ustring.h     [all...]
  /external/icu4c/test/intltest/
idnaref.cpp 47 startsWithPrefix(const UChar* src , int32_t srcLength){
50 if(srcLength < ACE_PREFIX_LENGTH){
129 static int32_t convertToPuny(const UChar* src, int32_t srcLength,
141 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status);
153 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status);
199 static int32_t convertFromPuny( const UChar* src, int32_t srcLength,
206 convertUCharsToASCII(src, b1,srcLength);
211 unsigned char* caseFlags = NULL; //(unsigned char*) uprv_malloc(srcLength * sizeof(unsigned char*));
212 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags);
220 error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags)
    [all...]
idnaref.h 39 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
62 idnaref_toASCII(const UChar* src, int32_t srcLength,
77 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
100 idnaref_toUnicode(const UChar* src, int32_t srcLength,
120 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
143 idnaref_IDNToASCII( const UChar* src, int32_t srcLength,
159 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
182 idnaref_IDNToUnicode( const UChar* src, int32_t srcLength,
nptrans.h 72 * @param srcLength Number of characters in the source label
82 int32_t map(const UChar* src, int32_t srcLength,
93 * @param srcLength Number of characters in the source label
103 int32_t process(const UChar* src, int32_t srcLength,
  /external/webkit/Source/WebCore/icu/unicode/
uidna.h 86 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
116 uidna_toASCII(const UChar* src, int32_t srcLength,
131 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
166 uidna_toUnicode(const UChar* src, int32_t srcLength,
186 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
216 uidna_IDNToASCII( const UChar* src, int32_t srcLength,
232 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
262 uidna_IDNToUnicode( const UChar* src, int32_t srcLength,
  /external/webkit/Source/WebKit/mac/icu/unicode/
uidna.h 86 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
116 uidna_toASCII(const UChar* src, int32_t srcLength,
131 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
166 uidna_toUnicode(const UChar* src, int32_t srcLength,
186 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
216 uidna_IDNToASCII( const UChar* src, int32_t srcLength,
232 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
262 uidna_IDNToUnicode( const UChar* src, int32_t srcLength,
  /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)
74 Vector<char> buffer(srcLength * 3);
77 ConversionResult conversionResult = convertUTF16ToUTF8(&utf16Source, utf16Source + srcLength, &utf8Target, utf8Target + buffer.size(), true);
104 int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
106 return convertCase(result, resultLength, src, srcLength, error, g_utf8_casefold);
109 int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
111 return convertCase(result, resultLength, src, srcLength, error, g_utf8_strdown);
114 int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error)
116 return convertCase(result, resultLength, src, srcLength, error, g_utf8_strup);
  /external/webkit/Source/JavaScriptCore/icu/unicode/
ustring.h     [all...]
  /external/webkit/Source/JavaScriptGlue/icu/unicode/
ustring.h     [all...]

Completed in 671 milliseconds

1 2 3