Home
last modified time | relevance | path

Searched refs:signatureLength (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/samples/layout/
DUnicodeReader.cpp40 int32_t signatureLength = 0; in readFile() local
58 signatureLength = 2; in readFile()
62 signatureLength = 4; in readFile()
65 signatureLength = 2; in readFile()
69 signatureLength = 3; in readFile()
72 signatureLength = 3; in readFile()
76 signatureLength = 4; in readFile()
85 fileSize -= signatureLength; in readFile()
86 fseek(f, signatureLength, SEEK_SET); in readFile()
/external/icu/icu4c/source/tools/toolutil/
Ducbuf.cpp47 int32_t signatureLength; member
55 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U… in ucbuf_autodetect_fs() argument
66 *cp = ucnv_detectUnicodeSignature(start, numRead, signatureLength, error); in ucbuf_autodetect_fs()
70 if (*signatureLength > 0) { in ucbuf_autodetect_fs()
71 T_FileStream_read(in, start, *signatureLength); in ucbuf_autodetect_fs()
85 ucnv_toUnicode(*conv, &pTarget, target+1, &pStart, start+*signatureLength, NULL, FALSE, error); in ucbuf_autodetect_fs()
86 *signatureLength = (int32_t)(pStart - start); in ucbuf_autodetect_fs()
134 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv, int32_t* signatureLength,… in ucbuf_autodetect() argument
151 if(ucbuf_autodetect_fs(in,cp,conv,signatureLength,error)) { in ucbuf_autodetect()
480 buf->signatureLength=0; in ucbuf_open()
[all …]
Ducbuf.h186 int32_t* signatureLength, UErrorCode* status);
205 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U…
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestConversion.java1049 int signatureLength = 0; // number of bytes of the signature in detectUnicodeSignature() local
1067 signatureLength = 2; in detectUnicodeSignature()
1069 source.position(signatureLength); in detectUnicodeSignature()
1073 signatureLength = 4; in detectUnicodeSignature()
1075 source.position(signatureLength); in detectUnicodeSignature()
1078 signatureLength = 2; in detectUnicodeSignature()
1080 source.position(signatureLength); in detectUnicodeSignature()
1085 signatureLength = 3; in detectUnicodeSignature()
1087 source.position(signatureLength); in detectUnicodeSignature()
1091 signatureLength = 4; in detectUnicodeSignature()
[all …]
/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp305 int32_t signatureLength; in readFile() local
309 charDataStart, rawFileLen, &signatureLength, &status); in readFile()
316 charDataStart += signatureLength; in readFile()
317 rawFileLen -= signatureLength; in readFile()
/external/icu/icu4c/source/tools/genbrk/
Dgenbrk.cpp230 int32_t signatureLength; in main() local
233 ruleSourceC, ruleFileSize, &signatureLength, &status); in main()
238 ruleSourceC += signatureLength; in main()
239 ruleFileSize -= signatureLength; in main()
/external/icu/icu4c/source/common/
Ducnv.cpp2757 int32_t* signatureLength, in ucnv_detectUnicodeSignature() argument
2776 if(signatureLength == NULL) { in ucnv_detectUnicodeSignature()
2777 signatureLength = &dummy; in ucnv_detectUnicodeSignature()
2791 *signatureLength=2; in ucnv_detectUnicodeSignature()
2795 *signatureLength=4; in ucnv_detectUnicodeSignature()
2798 *signatureLength=2; in ucnv_detectUnicodeSignature()
2802 *signatureLength=3; in ucnv_detectUnicodeSignature()
2806 *signatureLength=4; in ucnv_detectUnicodeSignature()
2809 *signatureLength=3; in ucnv_detectUnicodeSignature()
2812 *signatureLength=3; in ucnv_detectUnicodeSignature()
[all …]
/external/doclava/src/com/google/doclava/
DMethodInfo.java598 int signatureLength = signatureParam.length(); in matchesType() local
600 return ((signatureParam.equals(callerParam) || ((callerLength + 1) < signatureLength in matchesType()
601 && signatureParam.charAt(signatureLength - callerLength - 1) == '.' in matchesType()
/external/icu/icu4c/source/samples/ucnv/
Dconvsamp.cpp1087 int32_t signatureLength = 0; in convsample_50() local
1088 const char *encoding = ucnv_detectUnicodeSignature(input,sizeof(input),&signatureLength,&err); in convsample_50()
/external/icu/icu4c/source/test/cintltst/
Dnucnvtst.c1680 int32_t signatureLength = -1; in TestSignatureDetection() local
1686 enc = ucnv_detectUnicodeSignature(source, -1 , &signatureLength, &err); in TestSignatureDetection()
1695 if(signatureLength != expectedLength[i]){ in TestSignatureDetection()
1696 …ce : %s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLengt… in TestSignatureDetection()
1792 int32_t signatureLength = -1; in TestSignatureDetection() local
1800 enc = ucnv_detectUnicodeSignature(source, sourceLength , &signatureLength, &err); in TestSignatureDetection()
1811 if(signatureLength != expectedLength[i]){ in TestSignatureDetection()
1812 …ce : %s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLengt… in TestSignatureDetection()
/external/icu/icu4c/source/common/unicode/
Ducnv.h1991 int32_t *signatureLength,
/external/icu/icu4c/source/test/intltest/
Drbbitst.cpp1585 int32_t signatureLength; in ReadAndConvertFile() local
1591 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile()
1593 fileBufC += signatureLength; in ReadAndConvertFile()
1594 fileSize -= signatureLength; in ReadAndConvertFile()
Dregextst.cpp3872 int32_t signatureLength; in ReadAndConvertFile() local
3878 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile()
3880 fileBufC += signatureLength; in ReadAndConvertFile()
3881 fileSize -= signatureLength; in ReadAndConvertFile()