/external/icu/icu4c/source/samples/layout/ |
D | UnicodeReader.cpp | 40 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/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ |
D | ArchiveStreamFactory.java | 497 int signatureLength = -1; 499 signatureLength = IOUtils.readFully(in, signature); 505 if (ZipArchiveInputStream.matches(signature, signatureLength)) { 507 } else if (JarArchiveInputStream.matches(signature, signatureLength)) { 509 } else if (ArArchiveInputStream.matches(signature, signatureLength)) { 511 } else if (CpioArchiveInputStream.matches(signature, signatureLength)) { 513 } else if (ArjArchiveInputStream.matches(signature, signatureLength)) { 515 } else if (SevenZFile.matches(signature, signatureLength)) { 523 signatureLength = IOUtils.readFully(in, dumpsig); 528 if (DumpArchiveInputStream.matches(dumpsig, signatureLength)) { [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | ucbuf.cpp | 47 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 …]
|
D | ucbuf.h | 186 int32_t* signatureLength, UErrorCode* status); 205 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U…
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/ |
D | CompressorStreamFactory.java | 477 int signatureLength = -1; 479 signatureLength = IOUtils.readFully(in, signature); 485 if (BZip2CompressorInputStream.matches(signature, signatureLength)) { 489 if (GzipCompressorInputStream.matches(signature, signatureLength)) { 493 if (Pack200CompressorInputStream.matches(signature, signatureLength)) { 497 if (FramedSnappyCompressorInputStream.matches(signature, signatureLength)) { 501 if (ZCompressorInputStream.matches(signature, signatureLength)) { 505 if (DeflateCompressorInputStream.matches(signature, signatureLength)) { 509 if (XZUtils.matches(signature, signatureLength)) { 513 if (LZMAUtils.matches(signature, signatureLength)) { [all …]
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
D | TestConversion.java | 1049 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/ |
D | ugrep.cpp | 306 int32_t signatureLength; in readFile() local 310 charDataStart, rawFileLen, &signatureLength, &status); in readFile() 317 charDataStart += signatureLength; in readFile() 318 rawFileLen -= signatureLength; in readFile()
|
/external/icu/icu4c/source/tools/genbrk/ |
D | genbrk.cpp | 230 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/ |
D | ucnv.cpp | 2749 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 …]
|
/external/doclava/src/com/google/doclava/ |
D | MethodInfo.java | 598 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/ |
D | convsamp.cpp | 1084 int32_t signatureLength = 0; in convsample_50() local 1085 const char *encoding = ucnv_detectUnicodeSignature(input,sizeof(input),&signatureLength,&err); in convsample_50()
|
/external/icu/icu4c/source/test/cintltst/ |
D | nucnvtst.c | 1680 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/libandroidicu/include/unicode/ |
D | ucnv.h | 1990 int32_t *signatureLength,
|
/external/icu/icu4c/source/common/unicode/ |
D | ucnv.h | 1990 int32_t *signatureLength,
|
/external/icu/icu4c/source/test/intltest/ |
D | rbbitst.cpp | 1187 int32_t signatureLength; in ReadAndConvertFile() local 1193 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile() 1195 fileBufC += signatureLength; in ReadAndConvertFile() 1196 fileSize -= signatureLength; in ReadAndConvertFile()
|
D | regextst.cpp | 3873 int32_t signatureLength; in ReadAndConvertFile() local 3879 fileBuf, fileSize, &signatureLength, &status); in ReadAndConvertFile() 3881 fileBufC += signatureLength; in ReadAndConvertFile() 3882 fileSize -= signatureLength; in ReadAndConvertFile()
|
/external/icu/libandroidicu/static_shim/ |
D | shim.cpp | 940 …gnature_android(const char * source, int32_t sourceLength, int32_t * signatureLength, UErrorCode *… in ucnv_detectUnicodeSignature_android() argument 941 return ucnv_detectUnicodeSignature(source, sourceLength, signatureLength, pErrorCode); in ucnv_detectUnicodeSignature_android()
|