/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DictionaryData.java | 49 String dictFileName = rb.getStringWithFallback("dictionaries/" + dictType); in loadDictionaryFor() local 50 dictFileName = ICUData.ICU_BRKITR_NAME + '/' + dictFileName; in loadDictionaryFor() 51 ByteBuffer bytes = ICUBinary.getRequiredData(dictFileName); in loadDictionaryFor()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DictionaryData.java | 48 String dictFileName = rb.getStringWithFallback("dictionaries/" + dictType); in loadDictionaryFor() local 49 dictFileName = ICUData.ICU_BRKITR_NAME + '/' + dictFileName; in loadDictionaryFor() 50 ByteBuffer bytes = ICUBinary.getRequiredData(dictFileName); in loadDictionaryFor()
|
/external/zstd/programs/ |
D | dibio.c | 213 static void DiB_saveDict(const char* dictFileName, in DiB_saveDict() argument 216 FILE* const f = fopen(dictFileName, "wb"); in DiB_saveDict() 217 if (f==NULL) EXM_THROW(3, "cannot open %s ", dictFileName); in DiB_saveDict() 220 if (n!=buffSize) EXM_THROW(4, "%s : write error", dictFileName) } in DiB_saveDict() 223 if (n!=0) EXM_THROW(5, "%s : flush error", dictFileName) } in DiB_saveDict() 270 int DiB_trainFromFiles(const char* dictFileName, unsigned maxDictSize, in DiB_trainFromFiles() argument 362 … DISPLAYLEVEL(2, "Save dictionary of size %u into file %s \n", (unsigned)dictSize, dictFileName); in DiB_trainFromFiles() 363 DiB_saveDict(dictFileName, dictBuffer, dictSize); in DiB_trainFromFiles()
|
D | fileio.h | 120 const char* dictFileName, int compressionLevel, 126 … const char* outfilename, const char* infilename, const char* dictFileName); 142 const char* dictFileName, int compressionLevel, 153 const char* dictFileName);
|
D | benchzstd.h | 96 const char* dictFileName, 130 const char* dictFileName,
|
D | zstdcli.c | 734 const char* dictFileName = NULL; in main() local 988 case 'D': argument++; NEXT_FIELD(dictFileName); break; in main() 1187 …BMK_benchFilesAdvanced(&filenames->fileNames[i], 1, dictFileName, c, &compressionParams, g_display… in main() 1191 …chFilesAdvanced(filenames->fileNames, (unsigned)filenames->tableSize, dictFileName, cLevel, &compr… in main() 1275 if (dictFileName != NULL && patchFromDictFileName != NULL) { in main() 1303 dictFileName = patchFromDictFileName; in main() 1336 … const size_t dictSize = dictFileName != NULL ? (size_t)UTIL_getFileSize(dictFileName) : 0; in main() 1352 …O_compressFilename(fCtx, prefs, outFileName, filenames->fileNames[0], dictFileName, cLevel, compre… in main() 1354 …ames->fileNames, outMirroredDirName, outDirName, outFileName, suffix, dictFileName, cLevel, compre… in main() 1362 …onResult = FIO_decompressFilename(fCtx, prefs, outFileName, filenames->fileNames[0], dictFileName); in main() [all …]
|
D | benchzstd.c | 786 const char* dictFileName, int cLevel, in BMK_benchFilesAdvanced() argument 810 if (dictFileName != NULL) { in BMK_benchFilesAdvanced() 811 U64 const dictFileSize = UTIL_getFileSize(dictFileName); in BMK_benchFilesAdvanced() 813 DISPLAYLEVEL(1, "error loading %s : %s \n", dictFileName, strerror(errno)); in BMK_benchFilesAdvanced() 819 RETURN_ERROR(10, BMK_benchOutcome_t, "dictionary file %s too large", dictFileName); in BMK_benchFilesAdvanced() 830 fileSizes, &dictFileName /*?*/, in BMK_benchFilesAdvanced() 882 const char* dictFileName, in BMK_benchFiles() argument 887 …return BMK_benchFilesAdvanced(fileNamesTable, nbFiles, dictFileName, cLevel, compressionParams, di… in BMK_benchFiles()
|
D | fileio.c | 896 const char* dictFileName; member 927 … const char* dictFileName, unsigned long long const maxSrcFileSize, in FIO_createCResources() argument 945 …FIO_adjustParamsForPatchFromMode(prefs, &comprParams, UTIL_getFileSize(dictFileName), ssSize > 0 ?… in FIO_createCResources() 948 …ress.dictBufferSize = FIO_createDictBuffer(&ress.dictBuffer, dictFileName, prefs); /* works with… in FIO_createCResources() 953 if (dictFileName && (ress.dictBuffer==NULL)) in FIO_createCResources() 955 ress.dictFileName = dictFileName; in FIO_createCResources() 1681 if (ress.dictFileName != NULL && UTIL_isSameFile(srcFileName, ress.dictFileName)) { in FIO_compressFilename_srcFile() 1717 const char* srcFileName, const char* dictFileName, in FIO_compressFilename() argument 1720 …cRess_t const ress = FIO_createCResources(prefs, dictFileName, UTIL_getFileSize(srcFileName), comp… in FIO_compressFilename() 1792 const char* dictFileName, int compressionLevel, in FIO_compressMultipleFilenames() argument [all …]
|
D | dibio.h | 34 int DiB_trainFromFiles(const char* dictFileName, unsigned maxDictSize,
|
/external/zstd/examples/ |
D | dictionary_decompression.c | 19 static ZSTD_DDict* createDict_orDie(const char* dictFileName) in createDict_orDie() argument 22 printf("loading dictionary %s \n", dictFileName); in createDict_orDie() 23 void* const dictBuffer = mallocAndLoadFile_orDie(dictFileName, &dictSize); in createDict_orDie()
|
D | dictionary_compression.c | 18 static ZSTD_CDict* createCDict_orDie(const char* dictFileName, int cLevel) in createCDict_orDie() argument 21 printf("loading dictionary %s \n", dictFileName); in createCDict_orDie() 22 void* const dictBuffer = mallocAndLoadFile_orDie(dictFileName, &dictSize); in createCDict_orDie()
|
/external/zstd/zlibWrapper/examples/ |
D | zwrapbench.c | 712 const char* dictFileName, int cLevel, int cLevelLast) in BMK_benchFileTable() argument 725 if (dictFileName != NULL) { in BMK_benchFileTable() 726 U64 const dictFileSize = UTIL_getFileSize(dictFileName); in BMK_benchFileTable() 728 EXM_THROW(10, "dictionary file %s too large", dictFileName); in BMK_benchFileTable() 733 BMK_loadFiles(dictBuffer, dictBufferSize, fileSizes, &dictFileName, 1); in BMK_benchFileTable() 785 const char* dictFileName, int cLevel, int cLevelLast) in BMK_benchFiles() argument 792 BMK_benchFileTable(fileNamesTable, nbFiles, dictFileName, cLevel, cLevelLast); in BMK_benchFiles() 870 const char* dictFileName = NULL; in main() local 976 dictFileName = argument; in main() 994 …BMK_benchFiles(filenames->fileNames, (unsigned)filenames->tableSize, dictFileName, cLevel, cLevelL… in main()
|
/external/zstd/tests/ |
D | paramgrill.c | 1313 static int createContexts(contexts_t* ctx, const char* dictFileName) { in createContexts() argument 1321 if(dictFileName == NULL) { in createContexts() 1326 { U64 const dictFileSize = UTIL_getFileSize(dictFileName); in createContexts() 1333 f = fopen(dictFileName, "rb"); in createContexts() 2116 const char* dictFileName, int cLevel) in benchFiles() argument 2127 if (createContexts(&ctx, dictFileName)) { in benchFiles() 2364 const char* dictFileName, in optimizeForSize() argument 2371 const size_t varLen = variableParams(paramTarget, varArray, dictFileName != NULL); in optimizeForSize() 2384 if (createContexts(&ctx, dictFileName)) { in optimizeForSize() 2707 const char* dictFileName = NULL; in main() local [all …]
|