/external/chromium_org/third_party/icu/source/test/intltest/ |
idnaref.cpp | 133 int32_t b1Len = 0, b1Capacity = MAX_LABEL_BUFFER_SIZE; 141 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status); 145 b1 = (uint32_t*) uprv_malloc(b1Len * sizeof(uint32_t)); 153 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status); 159 //caseFlags = (unsigned char*) uprv_malloc(b1Len *sizeof(unsigned char)); 161 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); 174 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); 260 int32_t b1Len=0, b2Len=0, 286 b1[b1Len++] = src[j] [all...] |
nptrans.cpp | 202 int32_t b1Len; 208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); 209 b1String.releaseBuffer(b1Len); 214 b1 = b1String.getBuffer(b1Len); 216 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); 217 b1String.releaseBuffer(b1Len); 221 b1Len = 0; 226 for(; b1Index<b1Len; ){ 230 U16_NEXT(b1, b1Index, b1Len, ch); 234 b1Len = 0 [all...] |
/external/icu4c/test/intltest/ |
idnaref.cpp | 133 int32_t b1Len = 0, b1Capacity = MAX_LABEL_BUFFER_SIZE; 141 u_strToUTF32((UChar32*)b1,b1Capacity,&b1Len,src,srcLength,&status); 145 b1 = (uint32_t*) uprv_malloc(b1Len * sizeof(uint32_t)); 153 u_strToUTF32((UChar32*)b1,b1Len,&b1Len,src,srcLength,&status); 159 //caseFlags = (unsigned char*) uprv_malloc(b1Len *sizeof(unsigned char)); 161 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); 174 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); 260 int32_t b1Len=0, b2Len=0, 286 b1[b1Len++] = src[j] [all...] |
nptrans.cpp | 202 int32_t b1Len; 208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); 209 b1String.releaseBuffer(b1Len); 214 b1 = b1String.getBuffer(b1Len); 216 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); 217 b1String.releaseBuffer(b1Len); 221 b1Len = 0; 226 for(; b1Index<b1Len; ){ 230 U16_NEXT(b1, b1Index, b1Len, ch); 234 b1Len = 0 [all...] |
/external/chromium_org/third_party/icu/source/common/ |
uidna.cpp | 206 int32_t b1Len=0, b2Len, 244 b1[b1Len++] = src[j]; 251 b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, status); 259 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 267 b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); 274 if(b1Len == 0){ 281 for( j=0;j<b1Len;j++){ 298 || b1[0] == HYPHEN || b1[b1Len-1] == HYPHEN){ 304 uprv_syntaxError(b1,failPos, b1Len,parseError) [all...] |
usprep.cpp | 686 int32_t b1Len, b2Len=0, 700 b1Len = usprep_map(profile, src, srcLength, b1, b1Capacity, options, parseError, status); 705 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 713 b1Len = usprep_map(profile, src, srcLength, b1, b1Len, options, parseError, status); 719 b2Len = usprep_normalize(b1,b1Len, b2,b2Capacity,status); 732 b2Len = usprep_normalize(b1,b1Len, b2,b2Len,status); 738 b2Len = b1Len;
|
/external/icu4c/common/ |
uidna.cpp | 206 int32_t b1Len=0, b2Len, 244 b1[b1Len++] = src[j]; 251 b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, status); 259 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 267 b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); 274 if(b1Len == 0){ 281 for( j=0;j<b1Len;j++){ 298 || b1[0] == HYPHEN || b1[b1Len-1] == HYPHEN){ 304 uprv_syntaxError(b1,failPos, b1Len,parseError) [all...] |
usprep.cpp | 683 int32_t b1Len, b2Len=0, 697 b1Len = usprep_map(profile, src, srcLength, b1, b1Capacity, options, parseError, status); 702 b1 = (UChar*) uprv_malloc(b1Len * U_SIZEOF_UCHAR); 710 b1Len = usprep_map(profile, src, srcLength, b1, b1Len, options, parseError, status); 716 b2Len = usprep_normalize(b1,b1Len, b2,b2Capacity,status); 729 b2Len = usprep_normalize(b1,b1Len, b2,b2Len,status); 735 b2Len = b1Len;
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
nfsprep.c | 53 int32_t b1Len=0, b2Len=0, b3Len=0, 73 u_strFromUTF8(b1,b1Capacity,&b1Len,src,srcLength,status); 79 b1 = (UChar*) malloc(b1Len * U_SIZEOF_UCHAR); 85 b1Capacity = b1Len; 86 u_strFromUTF8(b1, b1Capacity, &b1Len, src, srcLength, status); 92 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Capacity, USPREP_DEFAULT, parseError, status); 100 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Len, USPREP_DEFAULT, parseError, status);
|
spreptst.c | 301 b1Len = 0, 306 b1Len = u_unescape(src,b1,b1Capacity); 308 u_strToUTF8(dest, destCapacity, &destLen, b1, b1Len, status);
|
/external/icu4c/test/cintltst/ |
nfsprep.c | 53 int32_t b1Len=0, b2Len=0, b3Len=0, 73 u_strFromUTF8(b1,b1Capacity,&b1Len,src,srcLength,status); 79 b1 = (UChar*) malloc(b1Len * U_SIZEOF_UCHAR); 85 b1Capacity = b1Len; 86 u_strFromUTF8(b1, b1Capacity, &b1Len, src, srcLength, status); 92 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Capacity, USPREP_DEFAULT, parseError, status); 100 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Len, USPREP_DEFAULT, parseError, status);
|
spreptst.c | 301 b1Len = 0, 306 b1Len = u_unescape(src,b1,b1Capacity); 308 u_strToUTF8(dest, destCapacity, &destLen, b1, b1Len, status);
|