/third_party/cef/libcef/browser/prefs/ |
D | renderer_prefs.cc | 53 PrefService* prefs = profile->GetPrefs(); in SetChromePrefs() local 57 prefs::kWebKitStandardFontFamilyMap, in SetChromePrefs() 59 FontFamilyCache::FillFontFamilyMap(profile, prefs::kWebKitFixedFontFamilyMap, in SetChromePrefs() 61 FontFamilyCache::FillFontFamilyMap(profile, prefs::kWebKitSerifFontFamilyMap, in SetChromePrefs() 64 prefs::kWebKitSansSerifFontFamilyMap, in SetChromePrefs() 67 prefs::kWebKitCursiveFontFamilyMap, in SetChromePrefs() 70 prefs::kWebKitFantasyFontFamilyMap, in SetChromePrefs() 73 web.default_font_size = prefs->GetInteger(prefs::kWebKitDefaultFontSize); in SetChromePrefs() 75 prefs->GetInteger(prefs::kWebKitDefaultFixedFontSize); in SetChromePrefs() 76 web.minimum_font_size = prefs->GetInteger(prefs::kWebKitMinimumFontSize); in SetChromePrefs() [all …]
|
D | browser_prefs.cc | 224 certificate_transparency::prefs::RegisterPrefs(registry.get()); in CreatePrefService() 243 registry->RegisterBooleanPref(prefs::kAllowCrossOriginAuthPrompt, false); in CreatePrefService() 247 registry->RegisterBooleanPref(prefs::kAllowFileSelectionDialogs, true); in CreatePrefService() 250 registry->RegisterBooleanPref(prefs::kPrintPreviewUseSystemDefaultPrinter, in CreatePrefService() 252 registry->RegisterBooleanPref(prefs::kWebRTCAllowLegacyTLSProtocols, false); in CreatePrefService() 256 registry->RegisterStringPref(prefs::kProfileLastUsed, std::string()); in CreatePrefService() 283 registry->RegisterBooleanPref(prefs::kForceGoogleSafeSearch, false); in CreatePrefService() 284 registry->RegisterIntegerPref(prefs::kForceYouTubeRestrict, in CreatePrefService() 286 registry->RegisterStringPref(prefs::kAllowedDomainsForApps, std::string()); in CreatePrefService() 287 registry->RegisterBooleanPref(prefs::kPrintingEnabled, true); in CreatePrefService() [all …]
|
/third_party/lz4/programs/ |
D | lz4io.h | 58 void LZ4IO_freePreferences(LZ4IO_prefs_t* prefs); 66 …ar* input_filename, const char* output_filename, int compressionlevel, const LZ4IO_prefs_t* prefs); 67 …pressFilename(const char* input_filename, const char* output_filename, const LZ4IO_prefs_t* prefs); 70 …ileNamesTable, int ifntSize, const char* suffix, int compressionlevel, const LZ4IO_prefs_t* prefs); 71 …names(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, unsigned blockSizeID); [all …]
|
D | lz4io.c | 169 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, int yes) in LZ4IO_setOverwrite() argument [all …]
|
D | lz4cli.c | 96 …, const char* output_filename, int compressionlevel, const LZ4IO_prefs_t* prefs); /* hidden func… 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, 0); continue; } in main() [all …]
|
/third_party/lz4/tests/ |
D | frametest.c | 233 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 …essFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNBuffer, testSize, &prefs)); in basicTests() 428 prefs.frameInfo.contentChecksumFlag = LZ4F_noContentChecksum; in basicTests() 429 …essFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNBuffer, testSize, &prefs)); in basicTests() 433 prefs.frameInfo.blockSizeID = LZ4F_max256KB; in basicTests() 434 prefs.frameInfo.contentChecksumFlag = LZ4F_contentChecksumEnabled; in basicTests() [all …]
|
/third_party/ffmpeg/libavfilter/x86/ |
D | vf_yadif_init.c | 28 void *next, int w, int prefs, 31 void *next, int w, int prefs, 34 void *next, int w, int prefs, 38 void *next, int w, int prefs, 41 void *next, int w, int prefs, 44 void *next, int w, int prefs, 47 void *next, int w, int prefs, 51 void *next, int w, int prefs, 54 void *next, int w, int prefs, 57 void *next, int w, int prefs,
|
D | vf_bwdif_init.c | 29 int w, int prefs, int mrefs, int prefs2, 33 int w, int prefs, int mrefs, int prefs2, 37 int w, int prefs, int mrefs, int prefs2, 42 int w, int prefs, int mrefs, int prefs2, 46 int w, int prefs, int mrefs, int prefs2, 50 int w, int prefs, int mrefs, int prefs2,
|
/third_party/lz4/lib/ |
D | lz4frame.c | 265 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, 0, sizeof(prefs)); in LZ4F_compressFrame_usingCDict() 436 if (prefs.frameInfo.contentSize != 0) in LZ4F_compressFrame_usingCDict() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_yadif.c | 42 { int score = FFABS(cur[mrefs - 1 + (j)] - cur[prefs - 1 - (j)])\ 43 + FFABS(cur[mrefs +(j)] - cur[prefs -(j)])\ 44 + FFABS(cur[mrefs + 1 + (j)] - cur[prefs + 1 - (j)]);\ 47 spatial_pred= (cur[mrefs +(j)] + cur[prefs -(j)])>>1;\ 56 int e = cur[prefs]; \ 58 int temporal_diff1 =(FFABS(prev[mrefs] - c) + FFABS(prev[prefs] - e) )>>1; \ 59 int temporal_diff2 =(FFABS(next[mrefs] - c) + FFABS(next[prefs] - e) )>>1; \ 64 int spatial_score = FFABS(cur[mrefs - 1] - cur[prefs - 1]) + FFABS(c-e) \ 65 + FFABS(cur[mrefs + 1] - cur[prefs + 1]) - 1; \ 72 int f = (prev2[2 * prefs] + next2[2 * prefs])>>1; \ [all …]
|
D | bwdif.h | 29 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,
|
D | vf_bwdif.c | 62 …interpol = (coef_sp[0] * (cur[mrefs] + cur[prefs]) - coef_sp[1] * (cur[mrefs3] + cur[prefs3])) >> … 73 int e = cur[prefs]; \ 75 int temporal_diff1 =(FFABS(prev[mrefs] - c) + FFABS(prev[prefs] - e)) >> 1; \ 76 int temporal_diff2 =(FFABS(next[mrefs] - c) + FFABS(next[prefs] - e)) >> 1; \ 126 static void filter_intra(void *dst1, void *cur1, int w, int prefs, int mrefs, in filter_intra() argument 137 int w, int prefs, int mrefs, int prefs2, int mrefs2, in filter_line_c() argument 155 int w, int prefs, int mrefs, int prefs2, int mrefs2, in filter_edge() argument 171 static void filter_intra_16bit(void *dst1, void *cur1, int w, int prefs, int mrefs, in filter_intra_16bit() argument 182 int w, int prefs, int mrefs, int prefs2, int mrefs2, in filter_line_c_16bit() argument 200 int w, int prefs, int mrefs, int prefs2, int mrefs2, in filter_edge_16bit() argument
|
/third_party/cef/libcef/browser/native/ |
D | browser_platform_delegate_native_linux.cc | 95 auto prefs = web_contents_->GetMutableRendererPrefs(); in CreateHostWindow() local 96 prefs->focus_ring_color = SkColorSetARGB(255, 229, 151, 0); in CreateHostWindow() 98 prefs->active_selection_bg_color = SkColorSetRGB(30, 144, 255); in CreateHostWindow() 99 prefs->active_selection_fg_color = SK_ColorWHITE; in CreateHostWindow() 100 prefs->inactive_selection_bg_color = SkColorSetRGB(200, 200, 200); in CreateHostWindow() 101 prefs->inactive_selection_fg_color = SkColorSetRGB(50, 50, 50); in CreateHostWindow() 106 prefs->should_antialias_text = params.antialiasing; in CreateHostWindow() 107 prefs->use_subpixel_positioning = params.subpixel_positioning; in CreateHostWindow() 108 prefs->hinting = params.hinting; in CreateHostWindow() 109 prefs->use_autohinter = params.autohinter; in CreateHostWindow() [all …]
|
/third_party/lz4/ossfuzz/ |
D | lz4_helpers.c | 22 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()
|
D | fuzz_data_producer.c | 67 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()
|
D | round_trip_frame_uncompressed_fuzzer.c | 44 FUZZ_dataProducer_t *producer, LZ4F_preferences_t const prefs) { in compress_round_trip() argument 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()
|
D | round_trip_frame_fuzzer.c | 20 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()
|
D | compress_frame_fuzzer.c | 21 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()
|
/third_party/cef/libcef/browser/ |
D | media_capture_devices_dispatcher.cc | 47 registry->RegisterStringPref(prefs::kDefaultAudioCaptureDevice, in RegisterPrefs() 49 registry->RegisterStringPref(prefs::kDefaultVideoCaptureDevice, in RegisterPrefs() 54 PrefService* prefs, in GetDefaultDevices() argument 63 default_device = prefs->GetString(prefs::kDefaultAudioCaptureDevice); in GetDefaultDevices() 68 default_device = prefs->GetString(prefs::kDefaultVideoCaptureDevice); in GetDefaultDevices()
|
/third_party/cef/patch/patches/ |
D | chrome_pref_watcher.patch | 1 diff --git chrome/browser/ui/prefs/pref_watcher.h chrome/browser/ui/prefs/pref_watcher.h 3 --- chrome/browser/ui/prefs/pref_watcher.h 4 +++ chrome/browser/ui/prefs/pref_watcher.h
|
D | services_network_2622.patch | 19 + PrefService* prefs = profile_->GetPrefs(); 22 + prefs->GetFilePath(prefs::kDiskCacheDir); 27 + prefs->GetInteger(prefs::kDiskCacheSize); 36 local_state->GetInteger(prefs::kDiskCacheSize);
|
/third_party/icu/icu4c/source/test/intltest/ |
D | units_data_test.cpp | 139 const UnitPreference *const *prefs; in testGetPreferencesFor() local 141 preferences.getPreferencesFor(t.category, t.usage, t.region, prefs, prefsCount, status); in testGetPreferencesFor() 148 prefs[0]->unit.data()); in testGetPreferencesFor() 150 prefs[prefsCount - 1]->unit.data()); in testGetPreferencesFor()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CalendarUtil.java | 65 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/ |
D | CalendarUtil.java | 67 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/skia/third_party/externals/angle2/src/android_system_settings/src/com/android/angle/common/ |
D | Receiver.java | 149 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in updateAllUseAngle() local 151 boolean allUseAngle = prefs.getBoolean(allUseAngleKey, false); in updateAllUseAngle() 160 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in updateShowAngleInUseDialogBox() local 163 boolean showAngleInUseDialogBox = prefs.getBoolean(showAngleInUseDialogBoxKey, false); in updateShowAngleInUseDialogBox()
|