Home
last modified time | relevance | path

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

/external/icu4c/samples/layout/
DUnicodeReader.cpp36 int32_t signatureLength = 0; in readFile() local
54 signatureLength = 2; in readFile()
58 signatureLength = 4; in readFile()
61 signatureLength = 2; in readFile()
65 signatureLength = 3; in readFile()
68 signatureLength = 3; in readFile()
72 signatureLength = 4; in readFile()
81 fileSize -= signatureLength; in readFile()
82 fseek(f, signatureLength, SEEK_SET); in readFile()
/external/chromium/third_party/icu/source/tools/toolutil/
Ducbuf.c44 int32_t signatureLength; member
52 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U… in ucbuf_autodetect_fs() argument
63 *cp = ucnv_detectUnicodeSignature(start, numRead, signatureLength, error); in ucbuf_autodetect_fs()
67 if (*signatureLength > 0) { in ucbuf_autodetect_fs()
68 numRead = T_FileStream_read(in, start, *signatureLength); in ucbuf_autodetect_fs()
82 ucnv_toUnicode(*conv, &pTarget, target+1, &pStart, start+*signatureLength, NULL, FALSE, error); in ucbuf_autodetect_fs()
83 *signatureLength = (int32_t)(pStart - start); in ucbuf_autodetect_fs()
131 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv, int32_t* signatureLength,… in ucbuf_autodetect() argument
148 if(ucbuf_autodetect_fs(in,cp,conv,signatureLength,error)) { in ucbuf_autodetect()
478 buf->signatureLength=0; in ucbuf_open()
[all …]
Ducbuf.h165 int32_t* signatureLength, UErrorCode* status);
184 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U…
/external/icu4c/tools/toolutil/
Ducbuf.c44 int32_t signatureLength; member
52 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U… in ucbuf_autodetect_fs() argument
63 *cp = ucnv_detectUnicodeSignature(start, numRead, signatureLength, error); in ucbuf_autodetect_fs()
67 if (*signatureLength > 0) { in ucbuf_autodetect_fs()
68 numRead = T_FileStream_read(in, start, *signatureLength); in ucbuf_autodetect_fs()
82 ucnv_toUnicode(*conv, &pTarget, target+1, &pStart, start+*signatureLength, NULL, FALSE, error); in ucbuf_autodetect_fs()
83 *signatureLength = (int32_t)(pStart - start); in ucbuf_autodetect_fs()
131 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv, int32_t* signatureLength,… in ucbuf_autodetect() argument
148 if(ucbuf_autodetect_fs(in,cp,conv,signatureLength,error)) { in ucbuf_autodetect()
478 buf->signatureLength=0; in ucbuf_open()
[all …]
Ducbuf.h165 int32_t* signatureLength, UErrorCode* status);
184 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U…
/external/icu4c/tools/genbrk/
Dgenbrk.cpp226 int32_t signatureLength; in main() local
229 ruleSourceC, ruleFileSize, &signatureLength, &status); in main()
234 ruleSourceC += signatureLength; in main()
235 ruleFileSize -= signatureLength; in main()
/external/icu4c/samples/ugrep/
Dugrep.cpp299 int32_t signatureLength; in readFile() local
303 charDataStart, rawFileLen, &signatureLength, &status); in readFile()
310 charDataStart += signatureLength; in readFile()
311 rawFileLen -= signatureLength; in readFile()
/external/chromium/third_party/icu/source/tools/genbrk/
Dgenbrk.cpp225 int32_t signatureLength; in main() local
228 ruleSourceC, ruleFileSize, &signatureLength, &status); in main()
233 ruleSourceC += signatureLength; in main()
234 ruleFileSize -= signatureLength; in main()
/external/icu4c/tools/genctd/
Dgenctd.cpp224 int32_t signatureLength; in main() local
227 wordSourceC, wordFileSize, &signatureLength, &status); in main()
232 wordSourceC += signatureLength; in main()
233 wordFileSize -= signatureLength; in main()
/external/chromium/third_party/icu/source/tools/genctd/
Dgenctd.cpp237 int32_t signatureLength; in main() local
240 wordSourceC, wordFileSize, &signatureLength, &status); in main()
245 wordSourceC += signatureLength; in main()
246 wordFileSize -= signatureLength; in main()
/external/icu4c/common/
Ducnv.c2753 int32_t* signatureLength, in ucnv_detectUnicodeSignature() argument
2772 if(signatureLength == NULL) { in ucnv_detectUnicodeSignature()
2773 signatureLength = &dummy; in ucnv_detectUnicodeSignature()
2787 *signatureLength=2; in ucnv_detectUnicodeSignature()
2791 *signatureLength=4; in ucnv_detectUnicodeSignature()
2794 *signatureLength=2; in ucnv_detectUnicodeSignature()
2798 *signatureLength=3; in ucnv_detectUnicodeSignature()
2802 *signatureLength=4; in ucnv_detectUnicodeSignature()
2805 *signatureLength=3; in ucnv_detectUnicodeSignature()
2808 *signatureLength=3; in ucnv_detectUnicodeSignature()
[all …]
/external/chromium/third_party/icu/source/common/
Ducnv.c2753 int32_t* signatureLength, in ucnv_detectUnicodeSignature() argument
2772 if(signatureLength == NULL) { in ucnv_detectUnicodeSignature()
2773 signatureLength = &dummy; in ucnv_detectUnicodeSignature()
2787 *signatureLength=2; in ucnv_detectUnicodeSignature()
2791 *signatureLength=4; in ucnv_detectUnicodeSignature()
2794 *signatureLength=2; in ucnv_detectUnicodeSignature()
2798 *signatureLength=3; in ucnv_detectUnicodeSignature()
2802 *signatureLength=4; in ucnv_detectUnicodeSignature()
2805 *signatureLength=3; in ucnv_detectUnicodeSignature()
2808 *signatureLength=3; in ucnv_detectUnicodeSignature()
[all …]
/external/webkit/JavaScriptGlue/icu/unicode/
Ducnv.h1811 int32_t *signatureLength,
/external/webkit/WebCore/icu/unicode/
Ducnv.h1811 int32_t *signatureLength,
/external/webkit/JavaScriptCore/icu/unicode/
Ducnv.h1811 int32_t *signatureLength,
/external/icu4c/test/cintltst/
Dnucnvtst.c1674 int32_t signatureLength = -1; in TestSignatureDetection() local
1680 enc = ucnv_detectUnicodeSignature(source, -1 , &signatureLength, &err); in TestSignatureDetection()
1689 if(signatureLength != expectedLength[i]){ in TestSignatureDetection()
1690 …ce : %s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLengt… in TestSignatureDetection()
1786 int32_t signatureLength = -1; in TestSignatureDetection() local
1794 enc = ucnv_detectUnicodeSignature(source, sourceLength , &signatureLength, &err); in TestSignatureDetection()
1805 if(signatureLength != expectedLength[i]){ in TestSignatureDetection()
1806 …ce : %s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLengt… in TestSignatureDetection()
/external/chromium/third_party/icu/source/test/cintltst/
Dnucnvtst.c1634 int32_t signatureLength = -1; in TestSignatureDetection() local
1640 enc = ucnv_detectUnicodeSignature(source, -1 , &signatureLength, &err); in TestSignatureDetection()
1649 if(signatureLength != expectedLength[i]){ in TestSignatureDetection()
1650 …ce : %s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLengt… in TestSignatureDetection()
1746 int32_t signatureLength = -1; in TestSignatureDetection() local
1754 enc = ucnv_detectUnicodeSignature(source, sourceLength , &signatureLength, &err); in TestSignatureDetection()
1765 if(signatureLength != expectedLength[i]){ in TestSignatureDetection()
1766 …ce : %s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLengt… in TestSignatureDetection()
/external/chromium/third_party/icu/public/common/unicode/
Ducnv.h1943 int32_t *signatureLength,
/external/icu4c/common/unicode/
Ducnv.h1963 int32_t *signatureLength,
/external/chromium/third_party/icu/source/test/intltest/
Dregextst.cpp1950 int32_t signatureLength; in ReadAndConvertFile() local
1956 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile()
1958 fileBufC += signatureLength; in ReadAndConvertFile()
1959 fileSize -= signatureLength; in ReadAndConvertFile()
Drbbitst.cpp2403 int32_t signatureLength; in ReadAndConvertFile() local
2409 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile()
2411 fileBufC += signatureLength; in ReadAndConvertFile()
2412 fileSize -= signatureLength; in ReadAndConvertFile()
/external/chromium/third_party/icu/patches/
Dsegmentation.patch.txt3430 - int32_t signatureLength;
3433 - wordSourceC, wordFileSize, &signatureLength, &status);
3438 - wordSourceC += signatureLength;
3439 - wordFileSize -= signatureLength;
3542 + int32_t signatureLength;
3545 + wordSourceC, wordFileSize, &signatureLength, &status);
3550 + wordSourceC += signatureLength;
3551 + wordFileSize -= signatureLength;
/external/icu4c/test/intltest/
Drbbitst.cpp2096 int32_t signatureLength; in ReadAndConvertFile() local
2102 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile()
2104 fileBufC += signatureLength; in ReadAndConvertFile()
2105 fileSize -= signatureLength; in ReadAndConvertFile()
Dregextst.cpp3449 int32_t signatureLength; in ReadAndConvertFile() local
3455 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile()
3457 fileBufC += signatureLength; in ReadAndConvertFile()
3458 fileSize -= signatureLength; in ReadAndConvertFile()