/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | LimitsTests.cpp | 57 dawn_native::Limits defaults; in TEST() local 58 dawn_native::GetDefaultLimits(&defaults); in TEST() 62 dawn_native::Limits required = defaults; in TEST() 63 EXPECT_TRUE(ValidateLimits(defaults, required).IsSuccess()); in TEST() 68 dawn_native::Limits supported = defaults; in TEST() 69 dawn_native::Limits required = defaults; in TEST() 78 EXPECT_TRUE(ValidateLimits(defaults, required).IsSuccess()); in TEST() 84 required.maxTextureDimension3D = defaults.maxTextureDimension3D + 1; in TEST() 85 dawn_native::MaybeError err = ValidateLimits(defaults, required); in TEST() 93 required.maxComputeWorkgroupSizeX = defaults in TEST() [all...] |
/third_party/node/lib/internal/crypto/ |
H A D | scrypt.js | 34 const defaults = { 41 function scrypt(password, salt, keylen, options, callback = defaults) { 42 if (callback === defaults) { 44 options = defaults; 69 function scryptSync(password, salt, keylen, options = defaults) { 93 let { N, r, p, maxmem } = defaults; 94 if (options && options !== defaults) { 129 if (N === 0) N = defaults.N; 130 if (r === 0) r = defaults.r; 131 if (p === 0) p = defaults [all...] |
/third_party/pulseaudio/src/tests/ |
H A D | ladspa-dbus.py | 51 defaults = [] 62 defaults.append(True) 65 defaults.append(False) 71 print(" defaults: " + str(defaults)) 74 return sinkname, arguments, defaults 76 def print_arguments(arguments, defaults): 79 if defaults[i]: 84 sinkname, arguments, defaults = parse_arguments(sys.argv) 103 ladspa.Set("org.PulseAudio.Ext.Ladspa1", "AlgorithmParameters", (dbus.Array(arguments), dbus.Array(defaults))) [all...] |
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/Util/ |
H A D | Pod.pm | 98 my %defaults = ( debug => 0, section => 0, %$defaults_ref ); 107 print STDERR "DEBUG: Reading $input\n" if $defaults{debug}; 118 my %podinfo = ( section => $defaults{section}); 130 if $defaults{debug}; 142 if $defaults{debug}; 144 if $defaults{debug}; 154 if $defaults{debug}; 162 if $defaults{debug}; 170 print STDERR "DEBUG: Done reading $filename\n" if $defaults{debug}; 185 if $defaults{debu [all...] |
/third_party/openssl/util/perl/OpenSSL/Util/ |
H A D | Pod.pm | 98 my %defaults = ( debug => 0, section => 0, %$defaults_ref ); 107 print STDERR "DEBUG: Reading $input\n" if $defaults{debug}; 118 my %podinfo = ( section => $defaults{section}); 130 if $defaults{debug}; 142 if $defaults{debug}; 144 if $defaults{debug}; 154 if $defaults{debug}; 162 if $defaults{debug}; 170 print STDERR "DEBUG: Done reading $filename\n" if $defaults{debug}; 185 if $defaults{debu [all...] |
/third_party/node/deps/npm/node_modules/gauge/lib/ |
H A D | theme-set.js | 50 if (!this.defaults[platform]) { 51 this.defaults[platform] = { true: {}, false: {} } 53 this.defaults[platform][hasUnicode][hasColor] = name 61 var platform = this.defaults[platformName] || this.defaults.fallback 79 } else if (platform === this.defaults.fallback) { 120 defaults: JSON.parse(JSON.stringify(this.defaults || {})),
|
/third_party/node/deps/npm/node_modules/defaults/ |
H A D | test.js | 1 var defaults = require('./'), variable 5 var options = defaults(false, { a : true }); 10 test("ensure defaults override keys", function(t) { 11 var result = defaults({}, { a: false, b: true }); 18 var result = defaults({ b: false }, { a: false, b: true }); 24 test("ensure defaults clone nested objects", function(t) { 26 var result = defaults({}, d);
|
H A D | index.js | 3 module.exports = function(options, defaults) { 6 Object.keys(defaults).forEach(function(key) { 8 options[key] = clone(defaults[key]);
|
/third_party/node/deps/npm/node_modules/diff/lib/util/ |
H A D | params.js | 10 function generateOptions(options, defaults) { 12 defaults.callback = options; 17 defaults[name] = options[name]; 22 return defaults;
|
/third_party/libdrm/tests/modeprint/ |
H A D | modeprint.c | 310 int defaults = 1; in args() local 328 defaults = 0; in args() 331 defaults = 0; in args() 335 defaults = 0; in args() 339 defaults = 0; in args() 344 defaults = 0; in args() 348 defaults = 0; in args() 352 defaults = 0; in args() 355 defaults = 0; in args() 365 defaults in args() [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-use-table.py | 79 defaults = ('Other', 'Not_Applicable', 'jt_X', '', 'Cn', 'No_Block', 'Unknown') variable 82 data[0][0x1B61] = defaults[0] 83 data[0][0x1B63] = defaults[0] 84 data[0][0x1B64] = defaults[0] 85 data[0][0x1B65] = defaults[0] 86 data[0][0x1B66] = defaults[0] 87 data[0][0x1B67] = defaults[0] 88 data[0][0x1B69] = defaults[0] 89 data[0][0x1B6A] = defaults[0] 90 data[0][0x2060] = defaults[ 419 defaults = ('O', 'No_Block') global() variable [all...] |
/third_party/python/Objects/ |
H A D | funcobject.c | 194 PyFunction_SetDefaults(PyObject *op, PyObject *defaults) in PyFunction_SetDefaults() argument 200 if (defaults == Py_None) in PyFunction_SetDefaults() 201 defaults = NULL; in PyFunction_SetDefaults() 202 else if (defaults && PyTuple_Check(defaults)) { in PyFunction_SetDefaults() 203 Py_INCREF(defaults); in PyFunction_SetDefaults() 210 Py_XSETREF(((PyFunctionObject *)op)->func_defaults, defaults); in PyFunction_SetDefaults() 225 PyFunction_SetKwDefaults(PyObject *op, PyObject *defaults) in PyFunction_SetKwDefaults() argument 231 if (defaults == Py_None) in PyFunction_SetKwDefaults() 232 defaults in PyFunction_SetKwDefaults() 611 func_new_impl(PyTypeObject *type, PyCodeObject *code, PyObject *globals, PyObject *name, PyObject *defaults, PyObject *closure) func_new_impl() argument [all...] |
/third_party/node/deps/npm/node_modules/cssesc/ |
H A D | cssesc.js | 6 var merge = function merge(options, defaults) { 8 return defaults; 11 for (var key in defaults) { 12 // `if (defaults.hasOwnProperty(key) { … }` is not needed here, since 14 result[key] = hasOwnProperty.call(options, key) ? options[key] : defaults[key];
|
/third_party/python/Objects/clinic/ |
H A D | funcobject.c.h | 24 PyObject *name, PyObject *defaults, PyObject *closure); 39 PyObject *defaults = Py_None; in func_new() local 66 defaults = fastargs[3]; in func_new() 73 return_value = func_new_impl(type, code, globals, name, defaults, closure); in func_new()
|
/third_party/decimal.js/test/modules/ |
H A D | clone.js | 109 // defaults: true 116 defaults: true 123 t(Decimal.defaults === undefined); 125 D1 = Decimal.clone({ defaults: true }); 131 t(D1.defaults === undefined); 133 D2 = Decimal.clone({ defaults: true, rounding: 5 }); 140 D3 = Decimal.clone({ defaults: false });
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | Preferences.java | 153 Properties defaults = new Properties(); in init() 156 defaults.put("username", Resources.getTranslation("unknown_user")); in init() 157 defaults.put("locale", "en"); in init() 158 defaults.put("lookandfeel", ""); in init() 160 prop = new Properties(defaults); in init()
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | environment.py | 25 from .defaults import BLOCK_END_STRING 26 from .defaults import BLOCK_START_STRING 27 from .defaults import COMMENT_END_STRING 28 from .defaults import COMMENT_START_STRING 29 from .defaults import DEFAULT_FILTERS 30 from .defaults import DEFAULT_NAMESPACE 31 from .defaults import DEFAULT_POLICIES 32 from .defaults import DEFAULT_TESTS 33 from .defaults import KEEP_TRAILING_NEWLINE 34 from .defaults impor [all...] |
H A D | ext.py | 13 from .defaults import BLOCK_END_STRING 14 from .defaults import BLOCK_START_STRING 15 from .defaults import COMMENT_END_STRING 16 from .defaults import COMMENT_START_STRING 17 from .defaults import KEEP_TRAILING_NEWLINE 18 from .defaults import LINE_COMMENT_PREFIX 19 from .defaults import LINE_STATEMENT_PREFIX 20 from .defaults import LSTRIP_BLOCKS 21 from .defaults import NEWLINE_SEQUENCE 22 from .defaults impor [all...] |
/third_party/skia/third_party/externals/jinja2/ |
H A D | environment.py | 25 from .defaults import BLOCK_END_STRING 26 from .defaults import BLOCK_START_STRING 27 from .defaults import COMMENT_END_STRING 28 from .defaults import COMMENT_START_STRING 29 from .defaults import DEFAULT_FILTERS 30 from .defaults import DEFAULT_NAMESPACE 31 from .defaults import DEFAULT_POLICIES 32 from .defaults import DEFAULT_TESTS 33 from .defaults import KEEP_TRAILING_NEWLINE 34 from .defaults impor [all...] |
H A D | ext.py | 13 from .defaults import BLOCK_END_STRING 14 from .defaults import BLOCK_START_STRING 15 from .defaults import COMMENT_END_STRING 16 from .defaults import COMMENT_START_STRING 17 from .defaults import KEEP_TRAILING_NEWLINE 18 from .defaults import LINE_COMMENT_PREFIX 19 from .defaults import LINE_STATEMENT_PREFIX 20 from .defaults import LSTRIP_BLOCKS 21 from .defaults import NEWLINE_SEQUENCE 22 from .defaults impor [all...] |
/third_party/skia/experimental/docs/ |
H A D | animationCommon.js | 6 this.defaults = {}; 70 paint = animationState.defaults.paint; 89 animationState.defaults[prop] = obj; 91 animationState.defaults[prop] = action[prop]; 96 var targetSpec = 'target' in action ? action.target : animationState.defaults.target; 157 for (var p in animationState.defaults) { 163 action[p] = animationState.defaults[p];
|
/third_party/python/Lib/ |
H A D | optparse.py | 290 default_value = self.parser.defaults.get(option.dest) 825 def __init__(self, defaults=None): 826 if defaults: 827 for (attr, val) in defaults.items(): 911 defaults : { string : any } 924 # option_list, _short_opt, _long_opt, defaults. 937 self.defaults = {} # maps option dest -> default value 945 self.defaults = parser.defaults 963 del self.defaults [all...] |
/third_party/jinja2/ |
H A D | ext.py | 8 from . import defaults namespace 828 options.get("block_start_string", defaults.BLOCK_START_STRING), 829 options.get("block_end_string", defaults.BLOCK_END_STRING), 830 options.get("variable_start_string", defaults.VARIABLE_START_STRING), 831 options.get("variable_end_string", defaults.VARIABLE_END_STRING), 832 options.get("comment_start_string", defaults.COMMENT_START_STRING), 833 options.get("comment_end_string", defaults.COMMENT_END_STRING), 834 options.get("line_statement_prefix") or defaults.LINE_STATEMENT_PREFIX, 835 options.get("line_comment_prefix") or defaults.LINE_COMMENT_PREFIX, 836 getbool(options, "trim_blocks", defaults [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | asiInES6Classes.js | 6 defaults = { 28 this.defaults = {
|
/third_party/mesa3d/src/panfrost/bifrost/valhall/ |
H A D | valhall.py | 58 defaults = [x.value for x in values if x.default] 59 if len(defaults) > 0: 60 assert(len(defaults) == 1) 61 self.default = defaults[0] 89 defaults = [x for x in enums[self.enum].values if x.default] 90 assert(len(defaults) <= 1) 92 if len(defaults) > 0: 93 self.default = self.bare_values.index(defaults[0].value)
|