Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/flutter/skia/third_party/externals/icu/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…
/third_party/node/deps/icu-small/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…
/third_party/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…
/third_party/skia/third_party/externals/icu/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…
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestConversion.java986 int signatureLength = 0; // number of bytes of the signature in detectUnicodeSignature() local
1004 signatureLength = 2; in detectUnicodeSignature()
1006 source.position(signatureLength); in detectUnicodeSignature()
1010 signatureLength = 4; in detectUnicodeSignature()
1012 source.position(signatureLength); in detectUnicodeSignature()
1015 signatureLength = 2; in detectUnicodeSignature()
1017 source.position(signatureLength); in detectUnicodeSignature()
1022 signatureLength = 3; in detectUnicodeSignature()
1024 source.position(signatureLength); in detectUnicodeSignature()
1028 signatureLength = 4; in detectUnicodeSignature()
[all …]
/third_party/skia/third_party/externals/icu/source/samples/ugrep/
Dugrep.cpp306 int32_t signatureLength; in readFile() local
310 charDataStart, rawFileLen, &signatureLength, &status); in readFile()
317 charDataStart += signatureLength; in readFile()
318 rawFileLen -= signatureLength; in readFile()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/icu/icu4c/source/samples/ugrep/
Dugrep.cpp306 int32_t signatureLength; in readFile() local
310 charDataStart, rawFileLen, &signatureLength, &status); in readFile()
317 charDataStart += signatureLength; in readFile()
318 rawFileLen -= signatureLength; in readFile()
/third_party/skia/third_party/externals/icu/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()
/third_party/flutter/skia/third_party/externals/icu/source/samples/ugrep/
Dugrep.cpp306 int32_t signatureLength; in readFile() local
310 charDataStart, rawFileLen, &signatureLength, &status); in readFile()
317 charDataStart += signatureLength; in readFile()
318 rawFileLen -= signatureLength; in readFile()
/third_party/skia/third_party/externals/icu/source/common/
Ducnv.cpp2749 int32_t* signatureLength, in ucnv_detectUnicodeSignature() argument
2768 if(signatureLength == NULL) { in ucnv_detectUnicodeSignature()
2769 signatureLength = &dummy; in ucnv_detectUnicodeSignature()
2783 *signatureLength=2; in ucnv_detectUnicodeSignature()
2787 *signatureLength=4; in ucnv_detectUnicodeSignature()
2790 *signatureLength=2; in ucnv_detectUnicodeSignature()
2794 *signatureLength=3; in ucnv_detectUnicodeSignature()
2798 *signatureLength=4; in ucnv_detectUnicodeSignature()
2801 *signatureLength=3; in ucnv_detectUnicodeSignature()
2804 *signatureLength=3; in ucnv_detectUnicodeSignature()
[all …]
/third_party/node/deps/icu-small/source/common/
Ducnv.cpp2749 int32_t* signatureLength, in ucnv_detectUnicodeSignature() argument
2768 if(signatureLength == NULL) { in ucnv_detectUnicodeSignature()
2769 signatureLength = &dummy; in ucnv_detectUnicodeSignature()
2783 *signatureLength=2; in ucnv_detectUnicodeSignature()
2787 *signatureLength=4; in ucnv_detectUnicodeSignature()
2790 *signatureLength=2; in ucnv_detectUnicodeSignature()
2794 *signatureLength=3; in ucnv_detectUnicodeSignature()
2798 *signatureLength=4; in ucnv_detectUnicodeSignature()
2801 *signatureLength=3; in ucnv_detectUnicodeSignature()
2804 *signatureLength=3; in ucnv_detectUnicodeSignature()
[all …]
/third_party/icu/icu4c/source/common/
Ducnv.cpp2749 int32_t* signatureLength, in ucnv_detectUnicodeSignature() argument
2768 if(signatureLength == NULL) { in ucnv_detectUnicodeSignature()
2769 signatureLength = &dummy; in ucnv_detectUnicodeSignature()
2783 *signatureLength=2; in ucnv_detectUnicodeSignature()
2787 *signatureLength=4; in ucnv_detectUnicodeSignature()
2790 *signatureLength=2; in ucnv_detectUnicodeSignature()
2794 *signatureLength=3; in ucnv_detectUnicodeSignature()
2798 *signatureLength=4; in ucnv_detectUnicodeSignature()
2801 *signatureLength=3; in ucnv_detectUnicodeSignature()
2804 *signatureLength=3; in ucnv_detectUnicodeSignature()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducnv.cpp2749 int32_t* signatureLength, in ucnv_detectUnicodeSignature() argument
2768 if(signatureLength == NULL) { in ucnv_detectUnicodeSignature()
2769 signatureLength = &dummy; in ucnv_detectUnicodeSignature()
2783 *signatureLength=2; in ucnv_detectUnicodeSignature()
2787 *signatureLength=4; in ucnv_detectUnicodeSignature()
2790 *signatureLength=2; in ucnv_detectUnicodeSignature()
2794 *signatureLength=3; in ucnv_detectUnicodeSignature()
2798 *signatureLength=4; in ucnv_detectUnicodeSignature()
2801 *signatureLength=3; in ucnv_detectUnicodeSignature()
2804 *signatureLength=3; in ucnv_detectUnicodeSignature()
[all …]
/third_party/node/deps/npm/node_modules/tweetnacl/
Dnacl.d.ts80 readonly signatureLength: number; property
/third_party/icu/icu4c/source/samples/ucnv/
Dconvsamp.cpp1084 int32_t signatureLength = 0; in convsample_50() local
1085 const char *encoding = ucnv_detectUnicodeSignature(input,sizeof(input),&signatureLength,&err); in convsample_50()
/third_party/flutter/skia/third_party/externals/icu/source/samples/ucnv/
Dconvsamp.cpp1084 int32_t signatureLength = 0; in convsample_50() local
1085 const char *encoding = ucnv_detectUnicodeSignature(input,sizeof(input),&signatureLength,&err); in convsample_50()

12