/external/icu/android_icu4j/src/main/java/android/icu/impl/breakiter/ |
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/impl/breakiter/ |
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 | 242 static void DiB_saveDict(const char* dictFileName, in DiB_saveDict() argument 245 FILE* const f = fopen(dictFileName, "wb"); in DiB_saveDict() 246 if (f==NULL) EXM_THROW(3, "cannot open %s ", dictFileName); in DiB_saveDict() 249 if (n!=buffSize) EXM_THROW(4, "%s : write error", dictFileName) } in DiB_saveDict() 252 if (n!=0) EXM_THROW(5, "%s : flush error", dictFileName) } in DiB_saveDict() 308 int DiB_trainFromFiles(const char* dictFileName, size_t maxDictSize, in DiB_trainFromFiles() argument 425 … DISPLAYLEVEL(2, "Save dictionary of size %u into file %s \n", (unsigned)dictSize, dictFileName); in DiB_trainFromFiles() 426 DiB_saveDict(dictFileName, dictBuffer, dictSize); in DiB_trainFromFiles()
|
D | fileio.h | 125 const char* dictFileName, int compressionLevel, 131 … const char* outfilename, const char* infilename, const char* dictFileName); 147 const char* dictFileName, int compressionLevel, 158 const char* dictFileName);
|
D | zstdcli.c | 657 static void printDefaultCParams(const char* filename, const char* dictFileName, int cLevel) { in printDefaultCParams() argument 659 const size_t dictSize = dictFileName != NULL ? (size_t)UTIL_getFileSize(dictFileName) : 0; in printDefaultCParams() 673 static void printActualCParams(const char* filename, const char* dictFileName, int cLevel, const ZS… in printActualCParams() argument 675 const size_t dictSize = dictFileName != NULL ? (size_t)UTIL_getFileSize(dictFileName) : 0; in printActualCParams() 826 const char* dictFileName = NULL; in main() local 1096 case 'D': argument++; NEXT_FIELD(dictFileName); break; in main() 1302 …BMK_benchFilesAdvanced(&filenames->fileNames[i], 1, dictFileName, c, &compressionParams, g_display… in main() 1306 …chFilesAdvanced(filenames->fileNames, (unsigned)filenames->tableSize, dictFileName, cLevel, &compr… in main() 1392 if (dictFileName != NULL && patchFromDictFileName != NULL) { in main() 1421 dictFileName = patchFromDictFileName; in main() [all …]
|
D | benchzstd.h | 96 const char* dictFileName, 131 const char* dictFileName,
|
D | benchzstd.c | 786 const char* dictFileName, int cLevel, in BMK_benchFilesAdvanced() argument 814 if (dictFileName != NULL) { in BMK_benchFilesAdvanced() 815 U64 const dictFileSize = UTIL_getFileSize(dictFileName); in BMK_benchFilesAdvanced() 817 DISPLAYLEVEL(1, "error loading %s : %s \n", dictFileName, strerror(errno)); in BMK_benchFilesAdvanced() 823 RETURN_ERROR(10, BMK_benchOutcome_t, "dictionary file %s too large", dictFileName); in BMK_benchFilesAdvanced() 834 fileSizes, &dictFileName /*?*/, in BMK_benchFilesAdvanced() 886 const char* dictFileName, in BMK_benchFiles() argument 891 …return BMK_benchFilesAdvanced(fileNamesTable, nbFiles, dictFileName, cLevel, compressionParams, di… in BMK_benchFiles()
|
D | fileio.c | 943 const char* dictFileName; member 983 … const char* dictFileName, unsigned long long const maxSrcFileSize, in FIO_createCResources() argument 1001 …FIO_adjustParamsForPatchFromMode(prefs, &comprParams, UTIL_getFileSize(dictFileName), ssSize > 0 ?… in FIO_createCResources() 1004 …ress.dictBufferSize = FIO_createDictBuffer(&ress.dictBuffer, dictFileName, prefs); /* works with… in FIO_createCResources() 1009 if (dictFileName && (ress.dictBuffer==NULL)) in FIO_createCResources() 1011 ress.dictFileName = dictFileName; in FIO_createCResources() 1764 if (ress.dictFileName != NULL && UTIL_isSameFile(srcFileName, ress.dictFileName)) { in FIO_compressFilename_srcFile() 1844 const char* srcFileName, const char* dictFileName, in FIO_compressFilename() argument 1847 …cRess_t const ress = FIO_createCResources(prefs, dictFileName, UTIL_getFileSize(srcFileName), comp… in FIO_compressFilename() 1919 const char* dictFileName, int compressionLevel, in FIO_compressMultipleFilenames() argument [all …]
|
D | dibio.h | 34 int DiB_trainFromFiles(const char* dictFileName, size_t 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 | 727 const char* dictFileName, int cLevel, int cLevelLast) in BMK_benchFileTable() argument 740 if (dictFileName != NULL) { in BMK_benchFileTable() 741 U64 const dictFileSize = UTIL_getFileSize(dictFileName); in BMK_benchFileTable() 743 EXM_THROW(10, "dictionary file %s too large", dictFileName); in BMK_benchFileTable() 748 BMK_loadFiles(dictBuffer, dictBufferSize, fileSizes, &dictFileName, 1); in BMK_benchFileTable() 800 const char* dictFileName, int cLevel, int cLevelLast) in BMK_benchFiles() argument 807 BMK_benchFileTable(fileNamesTable, nbFiles, dictFileName, cLevel, cLevelLast); in BMK_benchFiles() 885 const char* dictFileName = NULL; in main() local 991 dictFileName = argument; in main() 1009 …BMK_benchFiles(filenames->fileNames, (unsigned)filenames->tableSize, dictFileName, cLevel, cLevelL… in main()
|
/external/lz4/programs/ |
D | bench.h | 42 const char* dictFileName);
|
D | bench.c | 776 const char* dictFileName) in BMK_benchFiles() argument 797 if (dictFileName) { in BMK_benchFiles() 799 U64 const dictFileSize = UTIL_getFileSize(dictFileName); in BMK_benchFiles() 805 dictFile = fopen(dictFileName, "rb"); in BMK_benchFiles()
|
/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 …]
|