Home
last modified time | relevance | path

Searched refs:coerce (Results 1 – 25 of 57) sorted by relevance

123

/third_party/node/deps/npm/node_modules/semver/bin/
Dsemver20 var coerce = false
72 coerce = true
85 return coerce ? (semver.coerce(v) || { version: v }).version : v
/third_party/node/deps/npm/node_modules/json-schema/lib/
Dvalidate.js148 if (options.coerce)
149 value[i] = options.coerce(value[i], propDef);
219 if(options.coerce && i in instance){
220 value = instance[i] = options.coerce(value, propDef);
242 if(options.coerce){
243 value = instance[i] = options.coerce(value, additionalProp);
/third_party/node/deps/npm/node_modules/debug/src/
Ddebug.js10 exports.coerce = coerce;
86 args[0] = exports.coerce(args[0]);
222 function coerce(val) { function
/third_party/typescript/tests/baselines/reference/user/
Ddebug.log12 …xist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any…
13 …xist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any…
17 …xist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any…
19 …xist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any…
20 …xist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any…
21 …xist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any…
22 …xist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any…
23 …xist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any…
26 …xist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any…
/third_party/node/deps/npm/node_modules/es-to-primitive/
DCHANGELOG.md12 …* [Fix: ES5] fix coercion logic: ES5’s ToPrimitive does not coerce any primitive value, regardless…
27 …* [Fix: ES5] fix coercion logic: ES5’s ToPrimitive does not coerce any primitive value, regardless…
/third_party/flutter/skia/src/sksl/
DSkSLIRGenerator.cpp296 auto size = this->coerce(this->convertExpression(rawSize), *fContext.fInt_Type); in convertVarDeclarations()
340 value = this->coerce(std::move(value), *type); in convertVarDeclarations()
398 std::unique_ptr<Expression> test = this->coerce(this->convertExpression(*(iter++)), in convertIf()
446 test = this->coerce(this->convertExpression(*iter), *fContext.fBool_Type); in convertFor()
474 std::unique_ptr<Expression> test = this->coerce(this->convertExpression(*(iter++)), in convertWhile()
495 std::unique_ptr<Expression> test = this->coerce(this->convertExpression(*(iter++)), in convertDo()
513 value = this->coerce(std::move(value), *fContext.fInt_Type); in convertSwitch()
531 caseValue = this->coerce(std::move(caseValue), value->fType); in convertSwitch()
587 result = this->coerce(std::move(result), fCurrentFunction->fReturnType); in convertReturn()
1244 std::unique_ptr<Expression> IRGenerator::coerce(std::unique_ptr<Expression> expr, in coerce() function in SkSL::IRGenerator
[all …]
DSkSLIRGenerator.h97 std::unique_ptr<Expression> coerce(std::unique_ptr<Expression> expr, const Type& type);
/third_party/typescript/tests/baselines/reference/
DinferSetterParamType.types23 … return 0; // should be an error - can't coerce infered return type to match setter annotated type
DinferSetterParamType.symbols22 … return 0; // should be an error - can't coerce infered return type to match setter annotated type
DinferSetterParamType.errors.txt27 … return 0; // should be an error - can't coerce infered return type to match setter annotated type
/third_party/ejdb/src/bindings/ejdb2_node/
Dejdb2_node.c206 static char *jn_string(napi_env env, napi_value val_, IWPOOL *pool, bool nulls, bool coerce, iwrc *… in jn_string() argument
214 if (coerce) { in jn_string()
247 bool nulls, bool coerce, uint32_t idx, iwrc *rcp) { in jn_string_at() argument
256 return jn_string(env, el, pool, nulls, coerce, rcp); in jn_string_at()
259 static int64_t jn_int(napi_env env, napi_value val_, bool nulls, bool coerce, iwrc *rcp) { in jn_int() argument
266 if (coerce) { in jn_int()
284 static int64_t jn_int_at(napi_env env, napi_value arr, bool nulls, bool coerce, uint32_t idx, iwrc … in jn_int_at() argument
293 return jn_int(env, el, nulls, coerce, rcp); in jn_int_at()
296 static double jn_double(napi_env env, napi_value val_, bool nulls, bool coerce, iwrc *rcp) { in jn_double() argument
303 if (coerce) { in jn_double()
[all …]
/third_party/node/deps/npm/node_modules/yargs-parser/
Dindex.js108 Object.keys(opts.coerce || {}).forEach(function (k) {
109 flags.coercions[k] = opts.coerce[k]
598 var coerce
602 coerce = checkAllAliases(key, flags.coercions)
603 if (typeof coerce === 'function') {
605 var value = maybeCoerceNumber(key, coerce(argv[key]))
DCHANGELOG.md27 * maybeCoerceNumber now takes precedence over coerce return value ([#182](https://github.com/yargs/…
41 * maybeCoerceNumber now takes precedence over coerce return value (#182)
70 * don't coerce number from string with leading '0' or '+' ([#158](https://github.com/yargs/yargs-pa…
420 * coerce should be applied to the final objects and arrays created ([#57](https://github.com/yargs/…
425 * coerce is no longer applied to individual arguments in an implicit array.
435 * coerce full array instead of each element ([#51](https://github.com/yargs/yargs-parser/issues/51)…
452 * added coerce option, for providing specialized argument parsing ([#42](https://github.com/yargs/y…
DREADME.md65 …* `opts.coerce`: provide a custom synchronous function that returns a coerced value from the argum…
67 `{coerce: {foo: function (arg) {return modifiedArg}}}`.
/third_party/node/deps/npm/node_modules/socks-proxy-agent/
DHistory.md84 * socks-proxy-agent: coerce the `secureEndpoint` into a Boolean
/third_party/node/deps/npm/node_modules/yargs/
Dyargs.js289 self.coerce = function (keys, value) {
291 populateParserHintObject(self.coerce, false, 'coerce', keys, value)
653 self.coerce(key, opt.coerce)
/third_party/node/deps/npm/docs/content/using-npm/
Dsemver.md30 semver.valid(semver.coerce('v2')) // '2.0.0'
31 semver.valid(semver.coerce('42.6.7.9.3-alpha')) // '42.6.7'
65 -c --coerce
405 * `coerce(version)`: Coerces a string to semver if possible
/third_party/node/deps/npm/node_modules/semver/
DREADME.md24 semver.valid(semver.coerce('v2')) // '2.0.0'
25 semver.valid(semver.coerce('42.6.7.9.3-alpha')) // '42.6.7'
59 -c --coerce
399 * `coerce(version)`: Coerces a string to semver if possible
Dsemver.js1464 exports.coerce = coerce
1465 function coerce (version) { function
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.cpp826 auto coerce = [](TIntermTyped &to, TIntermTyped &from) -> TIntermTyped & { in ConvertBoolToUint() local
832 return Access{coerce(m, o), m}; in ConvertBoolToUint()
834 return Access{o, coerce(o, m)}; in ConvertBoolToUint()
/third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/lib/dot/
Dvalidate.jst4 {{# def.coerce }}
/third_party/jerryscript/tools/pylint/
Dpylintrc62coerce-builtin,cmp-builtin,buffer-builtin,basestring-builtin,apply-builtin,filter-builtin-not-iter…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVRegisterInfo.td25 // 32-bit sub-register, RISCVAsmParser will need to coerce a register number
/third_party/node/deps/npm/node_modules/node-fetch-npm/
DCHANGELOG.md107 - Fix: coerce Headers prototype function parameters to strings, where applicable
/third_party/node/tools/
Dlint-md.mjs15396 createDebug.coerce = coerce;
15468 args[0] = createDebug.coerce(args[0]);
15640 function coerce(val) { function
16968 const coerce$I = (version, options) => {
16989 // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'
17014 var coerce_1 = coerce$I;
18913 coerce: coerce_1, property
46471 const [severity, options] = coerce$H(ruleId, raw);
46510 function coerce$H(name, value) {
46666 const [severity, options] = coerce$G(ruleId, raw);
[all …]

123