Home
last modified time | relevance | path

Searched refs:setting (Results 1 - 25 of 99) sorted by relevance

1234

/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-aat-map.hh66 hb_aat_layout_feature_selector_t setting; member
76 (a->setting & ~1) != (b->setting & ~1)) return (a->setting < b->setting ? -1 : 1); in cmp()
80 /* compares type & setting only, not is_exclusive flag or seq number */
84 (f.setting != setting) ? (f.setting < setting in cmp()
[all...]
H A Dhb-aat-layout-feat-table.hh45 { return (int) key - (int) setting; } in cmp()
48 { return (hb_aat_layout_feature_selector_t) (unsigned) setting; } in get_selector()
54 (hb_aat_layout_feature_selector_t) (unsigned int) setting, in get_info()
56 ? (hb_aat_layout_feature_selector_t) (setting + 1) in get_info()
69 HBUINT16 setting; /* The setting. */ member
70 NameID nameIndex; /* The name table index for the setting's name. */
85 NotDefault = 0x4000, /* If clear, then the setting with an index of 0 in
86 * the setting name array for this feature should
89 * featureFlags field contain the index of the setting
[all...]
H A Dhb-aat-map.cc49 info->setting = (hb_aat_layout_feature_selector_t) value; in add_feature()
75 info->setting = value ? mapping->selectorToEnable : mapping->selectorToDisable; in add_feature()
90 /* Nonexclusive feature selectors come in even/odd pairs to turn a setting on/off in compile()
92 * (selectors referring to the same feature setting) here. */ in compile()
93 (!features[i].is_exclusive && ((features[i].setting & ~1) != (features[j].setting & ~1)))) in compile()
/third_party/backends/backend/genesys/
H A Dtables_sensor.cpp69 for (const CustomSensorSettings& setting : custom_settings) { in genesys_init_sensor_tables()
70 sensor.resolutions = setting.resolutions; in genesys_init_sensor_tables()
71 sensor.register_dpiset = setting.register_dpiset; in genesys_init_sensor_tables()
72 sensor.output_pixel_offset = setting.output_pixel_offset; in genesys_init_sensor_tables()
109 for (const CustomSensorSettings& setting : custom_settings) { in genesys_init_sensor_tables()
110 sensor.resolutions = setting.resolutions; in genesys_init_sensor_tables()
111 sensor.register_dpiset = setting.resolutions.values()[0]; in genesys_init_sensor_tables()
112 sensor.output_pixel_offset = setting.output_pixel_offset; in genesys_init_sensor_tables()
151 for (const CustomSensorSettings& setting : custom_settings) { in genesys_init_sensor_tables()
152 sensor.resolutions = setting in genesys_init_sensor_tables()
[all...]
H A Dcommand_set_common.cpp54 for (const auto& setting : settings) { in is_head_home()
55 if (setting.model_id == dev.model->model_id && in is_head_home()
56 setting.scan_head == scan_head) in is_head_home()
58 auto reg_backup = apply_reg_settings_to_device_with_backup(dev, setting.regs); in is_head_home()
142 for (const auto& setting : settings) { in set_xpa_lamp_power()
143 if (setting.model_id == dev.model->model_id && in set_xpa_lamp_power()
144 setting.scan_method == dev.settings.scan_method) in set_xpa_lamp_power()
146 apply_reg_settings_to_device(dev, set ? setting.regs_on : setting.regs_off); in set_xpa_lamp_power()
220 for (const auto& setting in set_motor_mode()
[all...]
H A Derror.cpp204 auto* setting = std::getenv("SANE_DEBUG_GENESYS_IMAGE"); in dbg_read_log_image_data_setting() local
205 if (!setting) in dbg_read_log_image_data_setting()
207 auto setting_int = std::strtol(setting, nullptr, 10); in dbg_read_log_image_data_setting()
/third_party/rust/crates/clap/src/builder/
H A Darg_settings.rs20 /// methods [`Arg::setting`], [`Arg::unset_setting`], and [`Arg::is_set`]. This is what the
24 /// [`Arg::setting`]: crate::Arg::setting()
105 fn setting() { in setting() functions
106 let m = Arg::new("setting").setting(ArgSettings::Required); in setting()
112 let m = Arg::new("unset_setting").setting(ArgSettings::Required); in unset_setting()
122 .setting(ArgSettings::Required | ArgSettings::Hidden | ArgSettings::Last); in setting_bitor()
132 .setting(ArgSettings::Required) in unset_setting_bitor()
133 .setting(ArgSetting in unset_setting_bitor()
[all...]
H A Darg.rs29 /// There are two methods for constructing [`Arg`]s, using the builder pattern and setting options
43 /// // Using the traditional builder pattern and setting each option manually
50 /// // Using a usage string (setting a similar argument to the one above)
445 /// assigned in order of evaluation. Utilizing the `index` method allows for setting
521 self.setting(ArgSettings::TrailingVarArg) in trailing_var_arg()
539 /// **NOTE:** This setting will imply [`crate::Command::dont_collapse_args_in_usage`] because failing
542 /// **NOTE**: This setting only applies to positional arguments, and has no effect on OPTIONS
546 /// **CAUTION:** Using this setting *and* having child subcommands is not
607 self.setting(ArgSettings::Last) in last()
670 self.setting(ArgSetting in required()
[all...]
H A Dcommand.rs1001 /// **NOTE:** The same thing can be done manually by setting the final positional argument to
1002 /// [`Arg::value_delimiter(None)`]. Using this setting is safer, because it's easier to locate
1063 /// **NOTE:** This setting applies globally and *not* on a per-command basis.
1090 /// **NOTE:** This setting applies globally and *not* on a per-command basis.
1286 /// // Since the setting `help_expected` is activated, this will lead to
1355 /// **CAUTION:** This setting can interfere with [positional/free arguments], take care when
1359 /// conjunction with this setting.
1417 /// subcommands, this setting **should** be used!
1659 /// **NOTE:** Using this setting disables `clap`s "context-aware" usage
1660 /// strings. After this setting i
[all...]
/third_party/protobuf/conformance/
H A Dconformance_test.cc225 const ConformanceRequestSetting& setting, in RunValidInputTest()
227 std::unique_ptr<Message> reference_message(setting.NewTestMessage()); in RunValidInputTest()
230 << "Failed to parse data for test case: " << setting.GetTestName() in RunValidInputTest()
233 RunValidBinaryInputTest(setting, equivalent_wire_format); in RunValidInputTest()
237 const ConformanceRequestSetting& setting, in RunValidBinaryInputTest()
239 const ConformanceRequest& request = setting.GetRequest(); in RunValidBinaryInputTest()
241 RunTest(setting.GetTestName(), request, &response); in RunValidBinaryInputTest()
242 VerifyResponse(setting, equivalent_wire_format, response, true, in RunValidBinaryInputTest()
247 const ConformanceRequestSetting& setting, in VerifyResponse()
250 std::unique_ptr<Message> test_message(setting in VerifyResponse()
224 RunValidInputTest( const ConformanceRequestSetting& setting, const string& equivalent_text_format) RunValidInputTest() argument
236 RunValidBinaryInputTest( const ConformanceRequestSetting& setting, const string& equivalent_wire_format, bool require_same_wire_format) RunValidBinaryInputTest() argument
246 VerifyResponse( const ConformanceRequestSetting& setting, const string& equivalent_wire_format, const ConformanceResponse& response, bool need_report_success, bool require_same_wire_format) VerifyResponse() argument
[all...]
H A Dtext_format_conformance_suite.cc60 const ConformanceRequestSetting& setting, Message* test_message) { in ParseTextFormatResponse()
62 const ConformanceRequest& request = setting.GetRequest(); in ParseTextFormatResponse()
78 const ConformanceRequestSetting& setting, Message* test_message) { in ParseResponse()
79 const ConformanceRequest& request = setting.GetRequest(); in ParseResponse()
81 const string& test_name = setting.GetTestName(); in ParseResponse()
82 ConformanceLevel level = setting.GetLevel(); in ParseResponse()
114 if (!ParseTextFormatResponse(response, setting, test_message)) { in ParseResponse()
138 ConformanceRequestSetting setting( in ExpectParseFailure()
141 const ConformanceRequest& request = setting.GetRequest(); in ExpectParseFailure()
144 StrCat(setting in ExpectParseFailure()
58 ParseTextFormatResponse( const ConformanceResponse& response, const ConformanceRequestSetting& setting, Message* test_message) ParseTextFormatResponse() argument
76 ParseResponse( const ConformanceResponse& response, const ConformanceRequestSetting& setting, Message* test_message) ParseResponse() argument
[all...]
H A Dconformance_test.h262 const ConformanceRequestSetting& setting,
265 void VerifyResponse(const ConformanceRequestSetting& setting,
279 void RunValidInputTest(const ConformanceRequestSetting& setting,
281 void RunValidBinaryInputTest(const ConformanceRequestSetting& setting,
H A Dtext_format_conformance_suite.h59 const ConformanceRequestSetting& setting,
62 const ConformanceRequestSetting& setting,
/third_party/skia/third_party/externals/freetype/src/gxvalid/
H A Dgxvfeat.c55 FT_UShort setting; member
169 FT_UShort setting; in gxv_feat_setting_validate() local
172 GXV_NAME_ENTER( "setting" ); in gxv_feat_setting_validate()
176 setting = FT_NEXT_USHORT( p ); in gxv_feat_setting_validate()
178 /* If we have exclusive setting, the setting should be odd. */ in gxv_feat_setting_validate()
179 if ( exclusive && ( setting & 1 ) == 0 ) in gxv_feat_setting_validate()
184 GXV_FEAT_DATA( setting ) = setting; in gxv_feat_setting_validate()
238 /* If exclusive, check whether default setting i in gxv_feat_name_validate()
[all...]
/third_party/node/test/fixtures/wpt/encoding/streams/
H A Ddecode-attributes.any.js28 }, `setting fatal to '${falseValue}' should set the attribute to false`);
33 }, `setting ignoreBOM to '${falseValue}' should set the attribute to false`);
40 }, `setting fatal to '${trueValue}' should set the attribute to true`);
45 }, `setting ignoreBOM to '${trueValue}' should set the attribute to true`);
/third_party/musl/src/crypt/
H A Dcrypt_blowfish.c605 static char *BF_crypt(const char *key, const char *setting, in BF_crypt() argument
619 if (setting[0] != '$' || in BF_crypt()
620 setting[1] != '2' || in BF_crypt()
621 setting[2] - 'a' > 25U || in BF_crypt()
622 !flags_by_subtype[setting[2] - 'a'] || in BF_crypt()
623 setting[3] != '$' || in BF_crypt()
624 setting[4] - '0' > 1U || in BF_crypt()
625 setting[5] - '0' > 9U || in BF_crypt()
626 setting[6] != '$') { in BF_crypt()
630 count = (BF_word)1 << ((setting[ in BF_crypt()
748 __crypt_blowfish(const char *key, const char *setting, char *output) __crypt_blowfish() argument
[all...]
H A Dcrypt_des.c878 const unsigned char *setting = (const unsigned char *)_setting; in _crypt_extended_r_uut() local
897 if (*setting == _PASSWORD_EFMT1) { in _crypt_extended_r_uut()
900 * setting - underscore, 4 chars of count, 4 chars of salt in _crypt_extended_r_uut()
904 uint32_t value = ascii_to_bin(setting[i]); in _crypt_extended_r_uut()
905 if (ascii64[value] != setting[i]) in _crypt_extended_r_uut()
913 uint32_t value = ascii_to_bin(setting[i]); in _crypt_extended_r_uut()
914 if (ascii64[value] != setting[i]) in _crypt_extended_r_uut()
933 memcpy(output, setting, 9); in _crypt_extended_r_uut()
939 * setting - 2 chars of salt in _crypt_extended_r_uut()
944 if (ascii_is_unsafe(setting[ in _crypt_extended_r_uut()
984 __crypt_des(const char *key, const char *setting, char *output) __crypt_des() argument
[all...]
H A Dcrypt_md5.c197 static char *md5crypt(const char *key, const char *setting, char *output) in md5crypt() argument
210 /* setting: $1$salt$ (closing $ is optional) */ in md5crypt()
211 if (strncmp(setting, "$1$", 3) != 0) in md5crypt()
213 salt = setting + 3; in md5crypt()
227 md5_update(&ctx, setting, 3 + slen); in md5crypt()
258 memcpy(output, setting, 3 + slen); in md5crypt()
271 char *__crypt_md5(const char *key, const char *setting, char *output) in __crypt_md5() argument
279 p = md5crypt(key, setting, output); in __crypt_md5()
/third_party/rust/crates/proc-macro-error/proc-macro-error-attr/src/
H A Dsettings.rs23 format!("unknown setting `{}`, expected one of {}", ident, possible_vals))) in ident_to_setting()
65 pub(crate) fn is_set(&self, setting: Setting) -> bool {
66 self.0.iter().any(|s| *s == setting)
69 pub(crate) fn set(&mut self, setting: Setting) {
70 self.0.push(setting)
/third_party/mbedtls/scripts/
H A Dconfig.py23 """Representation of one Mbed TLS mbedtls_config.h setting.
134 `adapter(name, active, section)` for each setting, where `active` is
140 for setting in self.settings.values():
141 setting.active = adapter(setting.name, setting.active,
142 setting.section)
149 for setting in self.settings.values():
150 if regex.search(setting.name):
151 setting
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-ot-face.c84 hb_aat_layout_feature_selector_info_t setting = {0}; in test_font() local
87 hb_aat_layout_feature_type_get_selector_infos (face, HB_AAT_LAYOUT_FEATURE_TYPE_DESIGN_COMPLEXITY_TYPE, 0, &count, &setting, &default_index); in test_font()
88 result += count + feature + setting.disable + setting.disable + setting.name_id + setting.reserved + default_index; in test_font()
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/
H A Drun.js67 for (const setting of settingOverrides) {
68 const parts = setting.split('=');
145 .option('-s, --setting [setting]', 'Settings overrides.', collect, [])
157 if (program.setting.length > 0) {
158 overrideSettings(settings, program.setting);
/third_party/mesa3d/src/mapi/glapi/gen/
H A Dapi_vtxfmt_init_h.py74 for setting in sorted(settings_by_condition[condition]):
75 print(' {0}'.format(setting))
H A Dapi_exec_init.py126 for setting in sorted(settings_by_condition[condition]):
127 print(' {0}'.format(setting))
/third_party/rust/crates/clap/src/
H A Dmacros.rs548 $setting:ident => $flag:path
572 $settings::$setting => self.0.insert($flag),
582 $settings::$setting => self.0.remove($flag),
592 $settings::$setting => self.0.contains($flag),
608 fn from(setting: $settings) -> Self { in from()
610 flags.set(setting); in from()

Completed in 27 milliseconds

1234