Home
last modified time | relevance | path

Searched refs:prefs (Results 1 - 25 of 31) sorted by relevance

12

/third_party/lz4/programs/
H A Dlz4io.h58 void LZ4IO_freePreferences(LZ4IO_prefs_t* prefs);
66 int LZ4IO_compressFilename(const char* input_filename, const char* output_filename, int compressionlevel, const LZ4IO_prefs_t* prefs);
67 int LZ4IO_decompressFilename(const char* input_filename, const char* output_filename, const LZ4IO_prefs_t* prefs);
70 int LZ4IO_compressMultipleFilenames(const char** inFileNamesTable, int ifntSize, const char* suffix, int compressionlevel, const LZ4IO_prefs_t* prefs);
71 int LZ4IO_decompressMultipleFilenames(const char** inFileNamesTable, int ifntSize, const char* suffix, const LZ4IO_prefs_t* prefs);
78 int LZ4IO_setDictionaryFilename(LZ4IO_prefs_t* const prefs, const char* dictionaryFilename);
82 int LZ4IO_setPassThrough(LZ4IO_prefs_t* const prefs, int yes);
86 int LZ4IO_setOverwrite(LZ4IO_prefs_t* const prefs, int yes);
90 int LZ4IO_setTestMode(LZ4IO_prefs_t* const prefs, int yes);
94 size_t LZ4IO_setBlockSizeID(LZ4IO_prefs_t* const prefs, unsigne
[all...]
H A Dlz4cli.c96 int LZ4IO_compressFilename_Legacy(const char* input_filename, const char* output_filename, int compressionlevel, const LZ4IO_prefs_t* prefs); /* hidden function */
100 int compressionLevel, const LZ4IO_prefs_t* prefs);
329 LZ4IO_prefs_t* const prefs = LZ4IO_defaultPreferences(); in main() local
332 size_t blockSize = LZ4IO_setBlockSizeID(prefs, LZ4_BLOCKSIZEID_DEFAULT); in main()
345 LZ4IO_setOverwrite(prefs, 0); in main()
350 LZ4IO_setOverwrite(prefs, 1); in main()
351 LZ4IO_setPassThrough(prefs, 1); in main()
352 LZ4IO_setRemoveSrcFile(prefs, 0); in main()
388 if (!strcmp(argument, "--force")) { LZ4IO_setOverwrite(prefs, 1); continue; } in main()
389 if (!strcmp(argument, "--no-force")) { LZ4IO_setOverwrite(prefs, in main()
[all...]
H A Dlz4io.c169 void LZ4IO_freePreferences(LZ4IO_prefs_t* prefs) in LZ4IO_freePreferences() argument
171 free(prefs); in LZ4IO_freePreferences()
175 int LZ4IO_setDictionaryFilename(LZ4IO_prefs_t* const prefs, const char* dictionaryFilename) in LZ4IO_setDictionaryFilename() argument
177 prefs->dictionaryFilename = dictionaryFilename; in LZ4IO_setDictionaryFilename()
178 prefs->useDictionary = dictionaryFilename != NULL; in LZ4IO_setDictionaryFilename()
179 return prefs->useDictionary; in LZ4IO_setDictionaryFilename()
183 int LZ4IO_setPassThrough(LZ4IO_prefs_t* const prefs, int yes) in LZ4IO_setPassThrough() argument
185 prefs->passThrough = (yes!=0); in LZ4IO_setPassThrough()
186 return prefs->passThrough; in LZ4IO_setPassThrough()
191 int LZ4IO_setOverwrite(LZ4IO_prefs_t* const prefs, in argument
198 LZ4IO_setTestMode(LZ4IO_prefs_t* const prefs, int yes) LZ4IO_setTestMode() argument
205 LZ4IO_setBlockSizeID(LZ4IO_prefs_t* const prefs, unsigned bsid) LZ4IO_setBlockSizeID() argument
216 LZ4IO_setBlockSize(LZ4IO_prefs_t* const prefs, size_t blockSize) LZ4IO_setBlockSize() argument
234 LZ4IO_setBlockMode(LZ4IO_prefs_t* const prefs, LZ4IO_blockMode_t blockMode) LZ4IO_setBlockMode() argument
241 LZ4IO_setBlockChecksumMode(LZ4IO_prefs_t* const prefs, int enable) LZ4IO_setBlockChecksumMode() argument
248 LZ4IO_setStreamChecksumMode(LZ4IO_prefs_t* const prefs, int enable) LZ4IO_setStreamChecksumMode() argument
262 LZ4IO_setSparseFile(LZ4IO_prefs_t* const prefs, int enable) LZ4IO_setSparseFile() argument
269 LZ4IO_setContentSize(LZ4IO_prefs_t* const prefs, int enable) LZ4IO_setContentSize() argument
276 LZ4IO_favorDecSpeed(LZ4IO_prefs_t* const prefs, int favor) LZ4IO_favorDecSpeed() argument
281 LZ4IO_setRemoveSrcFile(LZ4IO_prefs_t* const prefs, unsigned flag) LZ4IO_setRemoveSrcFile() argument
340 LZ4IO_openDstFile(const char* dstFileName, const LZ4IO_prefs_t* const prefs) LZ4IO_openDstFile() argument
412 LZ4IO_compressFilename_Legacy(const char* input_filename, const char* output_filename, int compressionlevel, const LZ4IO_prefs_t* prefs) LZ4IO_compressFilename_Legacy() argument
498 LZ4IO_compressMultipleFilenames_Legacy( const char** inFileNamesTable, int ifntSize, const char* suffix, int compressionLevel, const LZ4IO_prefs_t* prefs) LZ4IO_compressMultipleFilenames_Legacy() argument
611 LZ4IO_createCDict(const LZ4IO_prefs_t* const prefs) LZ4IO_createCDict() argument
624 LZ4IO_createCResources(const LZ4IO_prefs_t* const prefs) LZ4IO_createCResources() argument
675 LZ4F_preferences_t prefs; LZ4IO_compressFilename_extRess() local
786 LZ4IO_compressFilename(const char* srcFileName, const char* dstFileName, int compressionLevel, const LZ4IO_prefs_t* prefs) LZ4IO_compressFilename() argument
810 LZ4IO_compressMultipleFilenames( const char** inFileNamesTable, int ifntSize, const char* suffix, int compressionLevel, const LZ4IO_prefs_t* prefs) LZ4IO_compressMultipleFilenames() argument
962 LZ4IO_decodeLegacyStream(FILE* finput, FILE* foutput, const LZ4IO_prefs_t* prefs) LZ4IO_decodeLegacyStream() argument
1023 LZ4IO_loadDDict(dRess_t* ress, const LZ4IO_prefs_t* const prefs) LZ4IO_loadDDict() argument
1036 LZ4IO_createDResources(const LZ4IO_prefs_t* const prefs) LZ4IO_createDResources() argument
1068 LZ4IO_decompressLZ4F(dRess_t ress, FILE* const srcFile, FILE* const dstFile, const LZ4IO_prefs_t* const prefs) LZ4IO_decompressLZ4F() argument
1209 selectDecoder(dRess_t ress, FILE* finput, FILE* foutput, const LZ4IO_prefs_t* const prefs) selectDecoder() argument
1274 LZ4IO_decompressSrcFile(dRess_t ress, const char* input_filename, const char* output_filename, const LZ4IO_prefs_t* const prefs) LZ4IO_decompressSrcFile() argument
1313 LZ4IO_decompressDstFile(dRess_t ress, const char* input_filename, const char* output_filename, const LZ4IO_prefs_t* const prefs) LZ4IO_decompressDstFile() argument
1348 LZ4IO_decompressFilename(const char* input_filename, const char* output_filename, const LZ4IO_prefs_t* prefs) LZ4IO_decompressFilename() argument
1364 LZ4IO_decompressMultipleFilenames( const char** inFileNamesTable, int ifntSize, const char* suffix, const LZ4IO_prefs_t* prefs) LZ4IO_decompressMultipleFilenames() argument
[all...]
/third_party/lz4/tests/
H A Dframetest.c233 LZ4F_preferences_t prefs; in basicTests() local
234 memset(&prefs, 0, sizeof(prefs)); in basicTests()
263 { size_t const cBound = LZ4F_compressBound(1 KB, &prefs); in basicTests()
422 prefs.frameInfo.blockSizeID = LZ4F_max64KB; in basicTests()
423 prefs.frameInfo.contentChecksumFlag = LZ4F_contentChecksumEnabled; in basicTests()
424 CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNBuffer, testSize, &prefs)); in basicTests()
428 prefs.frameInfo.contentChecksumFlag = LZ4F_noContentChecksum; in basicTests()
429 CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNBuffe in basicTests()
1032 LZ4F_preferences_t prefs; fuzzerTests() local
[all...]
/third_party/lz4/lib/
H A Dlz4frame.c265 LZ4F_preferences_t prefs; member
400 LZ4F_preferences_t prefs; in LZ4F_compressFrameBound() local
403 if (preferencesPtr!=NULL) prefs = *preferencesPtr; in LZ4F_compressFrameBound()
404 else MEM_INIT(&prefs, 0, sizeof(prefs)); in LZ4F_compressFrameBound()
405 prefs.autoFlush = 1; in LZ4F_compressFrameBound()
407 return headerSize + LZ4F_compressBound_internal(srcSize, &prefs, 0);; in LZ4F_compressFrameBound()
426 LZ4F_preferences_t prefs; in LZ4F_compressFrame_usingCDict() local
433 prefs = *preferencesPtr; in LZ4F_compressFrame_usingCDict()
435 MEM_INIT(&prefs, in LZ4F_compressFrame_usingCDict()
[all...]
/third_party/ffmpeg/libavfilter/x86/
H A Dvf_yadif_init.c27 void *next, int w, int prefs,
30 void *next, int w, int prefs,
34 void *next, int w, int prefs,
37 void *next, int w, int prefs,
40 void *next, int w, int prefs,
44 void *next, int w, int prefs,
47 void *next, int w, int prefs,
H A Dvf_bwdif_init.c28 int w, int prefs, int mrefs, int prefs2,
32 int w, int prefs, int mrefs, int prefs2,
37 int w, int prefs, int mrefs, int prefs2,
41 int w, int prefs, int mrefs, int prefs2,
H A Dvf_bwdif.asm231 cglobal bwdif_filter_line, 4, 9, 12, 0, dst, prev, cur, next, w, prefs, \
235 cglobal bwdif_filter_line, 4, 6, 8, 64, dst, prev, cur, next, w, prefs, \
244 prefs, mrefs, prefs2, mrefs2, \
251 prefs, mrefs, prefs2, mrefs2, \
/third_party/lz4/ossfuzz/
H A Dlz4_helpers.c22 LZ4F_preferences_t prefs = LZ4F_INIT_PREFERENCES; in FUZZ_randomPreferences() local
23 prefs.frameInfo = FUZZ_randomFrameInfo(seed); in FUZZ_randomPreferences()
24 prefs.compressionLevel = FUZZ_rand32(seed, 0, LZ4HC_CLEVEL_MAX + 3) - 3; in FUZZ_randomPreferences()
25 prefs.autoFlush = FUZZ_rand32(seed, 0, 1); in FUZZ_randomPreferences()
26 prefs.favorDecSpeed = FUZZ_rand32(seed, 0, 1); in FUZZ_randomPreferences()
27 return prefs; in FUZZ_randomPreferences()
H A Dfuzz_data_producer.c67 LZ4F_preferences_t prefs = LZ4F_INIT_PREFERENCES; in FUZZ_dataProducer_preferences() local
68 prefs.frameInfo = FUZZ_dataProducer_frameInfo(producer); in FUZZ_dataProducer_preferences()
69 prefs.compressionLevel = FUZZ_dataProducer_range32(producer, 0, LZ4HC_CLEVEL_MAX + 3) - 3; in FUZZ_dataProducer_preferences()
70 prefs.autoFlush = FUZZ_dataProducer_range32(producer, 0, 1); in FUZZ_dataProducer_preferences()
71 prefs.favorDecSpeed = FUZZ_dataProducer_range32(producer, 0, 1); in FUZZ_dataProducer_preferences()
72 return prefs; in FUZZ_dataProducer_preferences()
H A Dround_trip_frame_uncompressed_fuzzer.c44 FUZZ_dataProducer_t *producer, LZ4F_preferences_t const prefs) { in compress_round_trip()
61 LZ4F_compressFrameBound(LZ4_compressBound(size), &prefs) + in compress_round_trip()
75 size_t const headerSize = LZ4F_compressBegin(ctx, dst, dstCapacity, &prefs); in compress_round_trip()
125 LZ4F_preferences_t prefs = FUZZ_dataProducer_preferences(producer); in compress_independent_block_mode() local
126 prefs.frameInfo.blockMode = LZ4F_blockIndependent; in compress_independent_block_mode()
127 compress_round_trip(data, size, producer, prefs); in compress_independent_block_mode()
43 compress_round_trip(const uint8_t *data, size_t size, FUZZ_dataProducer_t *producer, LZ4F_preferences_t const prefs) compress_round_trip() argument
H A Dcompress_frame_fuzzer.c21 LZ4F_preferences_t const prefs = FUZZ_dataProducer_preferences(producer); in LLVMFuzzerTestOneInput() local
25 size_t const compressBound = LZ4F_compressFrameBound(size, &prefs); in LLVMFuzzerTestOneInput()
36 LZ4F_compressFrame(dst, dstCapacity, data, size, &prefs); in LLVMFuzzerTestOneInput()
H A Dround_trip_frame_fuzzer.c20 LZ4F_preferences_t const prefs = FUZZ_dataProducer_preferences(producer); in LLVMFuzzerTestOneInput() local
23 size_t const dstCapacity = LZ4F_compressFrameBound(LZ4_compressBound(size), &prefs); in LLVMFuzzerTestOneInput()
32 LZ4F_compressFrame(dst, dstCapacity, data, size, &prefs); in LLVMFuzzerTestOneInput()
/third_party/ffmpeg/libavfilter/
H A Dvf_yadif.c40 { int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\
41 + FFABS(cur[mrefs +(j)] - cur[prefs -(j)])\
42 + FFABS(cur[mrefs + 1 + (j)] - cur[prefs + 1 - (j)]);\
45 spatial_pred= (cur[mrefs +(j)] + cur[prefs -(j)])>>1;\
54 int e = cur[prefs]; \
56 int temporal_diff1 =(FFABS(prev[mrefs] - c) + FFABS(prev[prefs] - e) )>>1; \
57 int temporal_diff2 =(FFABS(next[mrefs] - c) + FFABS(next[prefs] - e) )>>1; \
62 int spatial_score = FFABS(cur[mrefs - 1] - cur[prefs - 1]) + FFABS(c-e) \
63 + FFABS(cur[mrefs + 1] - cur[prefs + 1]) - 1; \
70 int f = (prev2[2 * prefs]
92 filter_line_c(void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int parity, int mode) filter_line_c() argument
112 filter_edges(void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int parity, int mode) filter_edges() argument
143 filter_line_c_16bit(void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int parity, int mode) filter_line_c_16bit() argument
161 filter_edges_16bit(void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int parity, int mode) filter_edges_16bit() argument
[all...]
H A Dbwdif.h29 void (*filter_intra)(void *dst1, void *cur1, int w, int prefs, int mrefs,
32 int w, int prefs, int mrefs, int prefs2, int mrefs2,
36 int w, int prefs, int mrefs, int prefs2, int mrefs2,
H A Dvf_bwdif.c61 interpol = (coef_sp[0] * (cur[mrefs] + cur[prefs]) - coef_sp[1] * (cur[mrefs3] + cur[prefs3])) >> 13; \
72 int e = cur[prefs]; \
74 int temporal_diff1 =(FFABS(prev[mrefs] - c) + FFABS(prev[prefs] - e)) >> 1; \
75 int temporal_diff2 =(FFABS(next[mrefs] - c) + FFABS(next[prefs] - e)) >> 1; \
125 static void filter_intra(void *dst1, void *cur1, int w, int prefs, int mrefs, in filter_intra() argument
136 int w, int prefs, int mrefs, int prefs2, int mrefs2, in filter_line_c()
154 int w, int prefs, int mrefs, int prefs2, int mrefs2, in filter_edge()
170 static void filter_intra_16bit(void *dst1, void *cur1, int w, int prefs, int mrefs, in filter_intra_16bit() argument
181 int w, int prefs, int mrefs, int prefs2, int mrefs2, in filter_line_c_16bit()
199 int w, int prefs, in in filter_edge_16bit()
135 filter_line_c(void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int prefs2, int mrefs2, int prefs3, int mrefs3, int prefs4, int mrefs4, int parity, int clip_max) filter_line_c() argument
153 filter_edge(void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int prefs2, int mrefs2, int parity, int clip_max, int spat) filter_edge() argument
180 filter_line_c_16bit(void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int prefs2, int mrefs2, int prefs3, int mrefs3, int prefs4, int mrefs4, int parity, int clip_max) filter_line_c_16bit() argument
198 filter_edge_16bit(void *dst1, void *prev1, void *cur1, void *next1, int w, int prefs, int mrefs, int prefs2, int mrefs2, int parity, int clip_max, int spat) filter_edge_16bit() argument
[all...]
H A Dyadif.h71 int w, int prefs, int mrefs, int parity, int mode);
73 int w, int prefs, int mrefs, int parity, int mode);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DCalendarUtil.java65 Map<String, String> prefs = new TreeMap<String, String>(); field in CalendarUtil.CalendarPreferences
78 String type = prefs.get(region); in getCalendarTypeForRegion()
91 prefs.put(key.toString(), type); in put()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DCalendarUtil.java67 Map<String, String> prefs = new TreeMap<String, String>(); field in CalendarUtil.CalendarPreferences
80 String type = prefs.get(region); in getCalendarTypeForRegion()
93 prefs.put(key.toString(), type); in put()
/third_party/python/Lib/idlelib/
H A Dmacosx.py107 prefs = readSystemPreferences()
108 if prefs and prefs.get('AppleWindowTabbingMode') == 'always':
/third_party/skia/third_party/externals/angle2/src/android_system_settings/src/com/android/angle/common/
H A DReceiver.java149 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in updateAllUseAngle()
151 boolean allUseAngle = prefs.getBoolean(allUseAngleKey, false); in updateAllUseAngle()
160 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in updateShowAngleInUseDialogBox()
163 boolean showAngleInUseDialogBox = prefs.getBoolean(showAngleInUseDialogBoxKey, false); in updateShowAngleInUseDialogBox()
/third_party/icu/icu4c/source/i18n/
H A Dunits_router.cpp66 UnitPreferences prefs(status); in init()
77 prefs.getPreferencesFor(category.toStringPiece(), usage, locale, status); in init()
/third_party/node/deps/icu-small/source/i18n/
H A Dunits_router.cpp66 UnitPreferences prefs(status); in init()
77 prefs.getPreferencesFor(category.toStringPiece(), usage, locale, status); in init()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dunits_router.cpp66 UnitPreferences prefs(status); in init()
78 prefs.getPreferencesFor(category.toStringPiece(), usage, region, unitPreferences, preferencesCount, in init()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
H A DUnitsTest.java792 UnitPreferences.UnitPreference prefs[] = data.getPreferencesFor(t.category, t.usage, in testGetPreferencesFor()
794 if (prefs.length > 0) { in testGetPreferencesFor()
795 assertEquals(t.name + " - max unit", t.expectedBiggest, prefs[0].getUnit()); in testGetPreferencesFor()
796 assertEquals(t.name + " - min unit", t.expectedSmallest, prefs[prefs.length - 1].getUnit()); in testGetPreferencesFor()

Completed in 14 milliseconds

12