Home
last modified time | relevance | path

Searched refs:reqLength (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/common/
Dustrtrns.cpp51 int32_t reqLength; in u_strFromUTF32WithSub() local
72 reqLength = 0; in u_strFromUTF32WithSub()
83 ++reqLength; in u_strFromUTF32WithSub()
104 ++reqLength; in u_strFromUTF32WithSub()
112 reqLength += 2; in u_strFromUTF32WithSub()
125 reqLength += (int32_t)(pDest - dest); in u_strFromUTF32WithSub()
127 *pDestLength = reqLength; in u_strFromUTF32WithSub()
134 u_terminateUChars(dest, destCapacity, reqLength, pErrorCode); in u_strFromUTF32WithSub()
166 int32_t reqLength; in u_strToUTF32WithSub() local
187 reqLength = 0; in u_strToUTF32WithSub()
[all …]
Duidna.cpp209 reqLength=0; in _internal_toASCII() local
320 reqLength = b1Len; in _internal_toASCII()
322 reqLength = b1Len; in _internal_toASCII()
358 reqLength = b2Len+ACE_PREFIX_LENGTH; in _internal_toASCII()
360 if(reqLength > destCapacity){ in _internal_toASCII()
377 if(reqLength > MAX_LABEL_LENGTH){ in _internal_toASCII()
390 return u_terminateUChars(dest, destCapacity, reqLength, status); in _internal_toASCII()
415 reqLength=0; in _internal_toUnicode() local
543 reqLength = b2Len; in _internal_toUnicode()
576 reqLength = srcLength; in _internal_toUnicode()
[all …]
Dutext.cpp1431 int32_t reqLength = 0; in utext_strFromUTF8() local
1448 reqLength++; in utext_strFromUTF8()
1458 reqLength++; in utext_strFromUTF8()
1461 reqLength+=U16_LENGTH(ch); in utext_strFromUTF8()
1465 reqLength+=(int32_t)(pDest - dest); in utext_strFromUTF8()
1468 *pDestLength = reqLength; in utext_strFromUTF8()
1472 u_terminateUChars(dest,destCapacity,reqLength,pErrorCode); in utext_strFromUTF8()
/external/icu/icu4c/source/test/intltest/
Didnaref.cpp276 reqLength=0; in idnaref_toASCII() local
356 reqLength = b1Len; in idnaref_toASCII()
358 reqLength = b1Len; in idnaref_toASCII()
389 reqLength = b2Len+ACE_PREFIX_LENGTH; in idnaref_toASCII()
391 if(reqLength > destCapacity){ in idnaref_toASCII()
406 if(reqLength > MAX_LABEL_LENGTH){ in idnaref_toASCII()
421 return u_terminateUChars(dest, destCapacity, reqLength, status); in idnaref_toASCII()
450 reqLength=0; in idnaref_toUnicode() local
589 reqLength = b2Len; in idnaref_toUnicode()
619 reqLength = srcLength; in idnaref_toUnicode()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dnfsprep.c59 reqLength=0; in nfs4_prepare() local
118 reqLength = b3Len; in nfs4_prepare()
119 if(dest!=NULL && reqLength <= destCapacity){ in nfs4_prepare()
120 memmove(dest, b3, reqLength); in nfs4_prepare()
134 return u_terminateChars(dest, destCapacity, reqLength, status); in nfs4_prepare()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DBasicTest.java833 int reqLength=0; in staticTest() local
836 reqLength=Normalizer.normalize(input,output, mode,0); in staticTest()
837 if(reqLength<=output.length ){ in staticTest()
845 if (!expect.equals(new String(output,0,reqLength))) { in staticTest()
878 int reqLength=0; in decomposeTest() local
881 reqLength=Normalizer.decompose(input,output, mode==Normalizer.NFKD,0); in decomposeTest()
882 if(reqLength<=output.length ){ in decomposeTest()
890 if (!expect.equals(new String(output,0,reqLength))) { in decomposeTest()
905 int reqLength=0; in decomposeTest() local
908reqLength=Normalizer.decompose(input,0,input.length,output,0,output.length, mode==Normalizer.NFKD,… in decomposeTest()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java830 int reqLength=0; in staticTest() local
833 reqLength=Normalizer.normalize(input,output, mode,0); in staticTest()
834 if(reqLength<=output.length ){ in staticTest()
842 if (!expect.equals(new String(output,0,reqLength))) { in staticTest()
875 int reqLength=0; in decomposeTest() local
878 reqLength=Normalizer.decompose(input,output, mode==Normalizer.NFKD,0); in decomposeTest()
879 if(reqLength<=output.length ){ in decomposeTest()
887 if (!expect.equals(new String(output,0,reqLength))) { in decomposeTest()
902 int reqLength=0; in decomposeTest() local
905reqLength=Normalizer.decompose(input,0,input.length,output,0,output.length, mode==Normalizer.NFKD,… in decomposeTest()
[all …]
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/
DUtils.java267 public static SimpleRequest makeRequest(Messages.PayloadType payloadType, int reqLength, in makeRequest() argument
269 ByteString body = ByteString.copyFrom(new byte[reqLength]); in makeRequest()