/third_party/typescript/tests/baselines/reference/ |
D | logicalAssignment4(target=es2015).types | 76 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 77 >doSomethingWithAlias : (thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | un… 79 >defaultValue : ThingWithOriginal | undefined 104 if (thing &&= defaultValue) { 105 >thing &&= defaultValue : ThingWithOriginal | undefined 107 >defaultValue : ThingWithOriginal | undefined 114 defaultValue.name 115 >defaultValue.name : string 116 >defaultValue : ThingWithOriginal 125 if (thing ||= defaultValue) { [all …]
|
D | logicalAssignment4(target=es2020).types | 76 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 77 >doSomethingWithAlias : (thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | un… 79 >defaultValue : ThingWithOriginal | undefined 104 if (thing &&= defaultValue) { 105 >thing &&= defaultValue : ThingWithOriginal | undefined 107 >defaultValue : ThingWithOriginal | undefined 114 defaultValue.name 115 >defaultValue.name : string 116 >defaultValue : ThingWithOriginal 125 if (thing ||= defaultValue) { [all …]
|
D | logicalAssignment4(target=es2021).types | 76 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 77 >doSomethingWithAlias : (thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | un… 79 >defaultValue : ThingWithOriginal | undefined 104 if (thing &&= defaultValue) { 105 >thing &&= defaultValue : ThingWithOriginal | undefined 107 >defaultValue : ThingWithOriginal | undefined 114 defaultValue.name 115 >defaultValue.name : string 116 >defaultValue : ThingWithOriginal 125 if (thing ||= defaultValue) { [all …]
|
D | logicalAssignment4(target=esnext).types | 76 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 77 >doSomethingWithAlias : (thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | un… 79 >defaultValue : ThingWithOriginal | undefined 104 if (thing &&= defaultValue) { 105 >thing &&= defaultValue : ThingWithOriginal | undefined 107 >defaultValue : ThingWithOriginal | undefined 114 defaultValue.name 115 >defaultValue.name : string 116 >defaultValue : ThingWithOriginal 125 if (thing ||= defaultValue) { [all …]
|
D | logicalAssignment4(target=es2021).js | 25 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 32 if (thing &&= defaultValue) { 34 defaultValue.name 38 if (thing ||= defaultValue) { 40 defaultValue.name; 44 if (thing ??= defaultValue) { 46 defaultValue.name; 68 function doSomethingWithAlias(thing, defaultValue) { 75 if (thing &&= defaultValue) { 77 defaultValue.name; [all …]
|
D | logicalAssignment4(target=esnext).js | 25 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 32 if (thing &&= defaultValue) { 34 defaultValue.name 38 if (thing ||= defaultValue) { 40 defaultValue.name; 44 if (thing ??= defaultValue) { 46 defaultValue.name; 68 function doSomethingWithAlias(thing, defaultValue) { 75 if (thing &&= defaultValue) { 77 defaultValue.name; [all …]
|
D | logicalAssignment4(target=es2020).js | 25 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 32 if (thing &&= defaultValue) { 34 defaultValue.name 38 if (thing ||= defaultValue) { 40 defaultValue.name; 44 if (thing ??= defaultValue) { 46 defaultValue.name; 68 function doSomethingWithAlias(thing, defaultValue) { 75 if (thing && (thing = defaultValue)) { 77 defaultValue.name; [all …]
|
D | logicalAssignment4(target=es2015).js | 25 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 32 if (thing &&= defaultValue) { 34 defaultValue.name 38 if (thing ||= defaultValue) { 40 defaultValue.name; 44 if (thing ??= defaultValue) { 46 defaultValue.name; 68 function doSomethingWithAlias(thing, defaultValue) { 75 if (thing && (thing = defaultValue)) { 77 defaultValue.name; [all …]
|
D | switchCaseNarrowsMatchingClausesEvenWhenNonMatchingClausesExist.types | 3 >narrowToLiterals : (str: string) => "abc" | "defaultValue" 4 …urn str; } default: return 'defaultValue'; } } : (str: string) => "abc" | "de… 18 return 'defaultValue'; 19 >'defaultValue' : "defaultValue" 25 … // `string` return str; } default: return 'defaultValue'; } } : (st… 47 return 'defaultValue'; 48 >'defaultValue' : "defaultValue" 53 …rowToStringOrNumber : (str: string | number, someNumber: number) => number | "abc" | "defaultValue" 54 … default: return 'defaultValue'; } } : (str: string | number, someNumber: number) => n… 76 return 'defaultValue'; [all …]
|
D | logicalAssignment4(target=es2021).symbols | 61 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 65 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 86 if (thing &&= defaultValue) { 88 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 95 defaultValue.name 96 >defaultValue.name : Symbol(ThingWithOriginal.name, Decl(logicalAssignment4.ts, 18, 29)) 97 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 104 if (thing ||= defaultValue) { 106 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 113 defaultValue.name; [all …]
|
D | logicalAssignment4(target=es2015).symbols | 61 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 65 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 86 if (thing &&= defaultValue) { 88 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 95 defaultValue.name 96 >defaultValue.name : Symbol(ThingWithOriginal.name, Decl(logicalAssignment4.ts, 18, 29)) 97 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 104 if (thing ||= defaultValue) { 106 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 113 defaultValue.name; [all …]
|
D | logicalAssignment4(target=es2020).symbols | 61 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 65 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 86 if (thing &&= defaultValue) { 88 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 95 defaultValue.name 96 >defaultValue.name : Symbol(ThingWithOriginal.name, Decl(logicalAssignment4.ts, 18, 29)) 97 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 104 if (thing ||= defaultValue) { 106 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 113 defaultValue.name; [all …]
|
D | logicalAssignment4(target=esnext).symbols | 61 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 65 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 86 if (thing &&= defaultValue) { 88 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 95 defaultValue.name 96 >defaultValue.name : Symbol(ThingWithOriginal.name, Decl(logicalAssignment4.ts, 18, 29)) 97 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 104 if (thing ||= defaultValue) { 106 >defaultValue : Symbol(defaultValue, Decl(logicalAssignment4.ts, 23, 67)) 113 defaultValue.name; [all …]
|
D | logicalAssignment4(target=es2020).errors.txt | 1 …s2021/logicalAssignment/logicalAssignment4.ts(39,13): error TS18048: 'defaultValue' is possibly 'u… 2 …s2021/logicalAssignment/logicalAssignment4.ts(45,13): error TS18048: 'defaultValue' is possibly 'u… 29 …function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOrigina… 36 if (thing &&= defaultValue) { 38 defaultValue.name 42 if (thing ||= defaultValue) { 44 defaultValue.name; 46 !!! error TS18048: 'defaultValue' is possibly 'undefined'. 50 if (thing ??= defaultValue) { 52 defaultValue.name; [all …]
|
D | logicalAssignment4(target=es2021).errors.txt | 1 …s2021/logicalAssignment/logicalAssignment4.ts(39,13): error TS18048: 'defaultValue' is possibly 'u… 2 …s2021/logicalAssignment/logicalAssignment4.ts(45,13): error TS18048: 'defaultValue' is possibly 'u… 29 …function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOrigina… 36 if (thing &&= defaultValue) { 38 defaultValue.name 42 if (thing ||= defaultValue) { 44 defaultValue.name; 46 !!! error TS18048: 'defaultValue' is possibly 'undefined'. 50 if (thing ??= defaultValue) { 52 defaultValue.name; [all …]
|
D | logicalAssignment4(target=es2015).errors.txt | 1 …s2021/logicalAssignment/logicalAssignment4.ts(39,13): error TS18048: 'defaultValue' is possibly 'u… 2 …s2021/logicalAssignment/logicalAssignment4.ts(45,13): error TS18048: 'defaultValue' is possibly 'u… 29 …function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOrigina… 36 if (thing &&= defaultValue) { 38 defaultValue.name 42 if (thing ||= defaultValue) { 44 defaultValue.name; 46 !!! error TS18048: 'defaultValue' is possibly 'undefined'. 50 if (thing ??= defaultValue) { 52 defaultValue.name; [all …]
|
D | logicalAssignment4(target=esnext).errors.txt | 1 …s2021/logicalAssignment/logicalAssignment4.ts(39,13): error TS18048: 'defaultValue' is possibly 'u… 2 …s2021/logicalAssignment/logicalAssignment4.ts(45,13): error TS18048: 'defaultValue' is possibly 'u… 29 …function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOrigina… 36 if (thing &&= defaultValue) { 38 defaultValue.name 42 if (thing ||= defaultValue) { 44 defaultValue.name; 46 !!! error TS18048: 'defaultValue' is possibly 'undefined'. 50 if (thing ??= defaultValue) { 52 defaultValue.name; [all …]
|
/third_party/skia/tools/flags/ |
D | CommandLineFlags.h | 195 #define DEFINE_bool(name, defaultValue, helpString) \ argument 198 TO_STRING(name), nullptr, &FLAGS_##name, defaultValue, helpString) 202 #define DEFINE_bool2(name, shortName, defaultValue, helpString) \ argument 205 TO_STRING(name), TO_STRING(shortName), &FLAGS_##name, defaultValue, helpString) 209 #define DEFINE_string(name, defaultValue, helpString) \ argument 212 TO_STRING(name), nullptr, &FLAGS_##name, defaultValue, helpString, nullptr) 213 #define DEFINE_extended_string(name, defaultValue, helpString, extendedHelpString) \ argument 216 TO_STRING(name), nullptr, &FLAGS_##name, defaultValue, helpString, extendedHelpString) 220 #define DEFINE_string2(name, shortName, defaultValue, helpString) … argument 225 defaultValue, \ [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | FieldCodec.cs | 220 public static FieldCodec<string> ForString(uint tag, string defaultValue) in ForString() argument 222 …, string value) => ctx.WriteString(value), CodedOutputStream.ComputeStringSize, tag, defaultValue); in ForString() 231 public static FieldCodec<ByteString> ForBytes(uint tag, ByteString defaultValue) in ForBytes() argument 233 …ByteString value) => ctx.WriteBytes(value), CodedOutputStream.ComputeBytesSize, tag, defaultValue); in ForBytes() 242 public static FieldCodec<bool> ForBool(uint tag, bool defaultValue) in ForBool() argument 244 …teContext ctx, bool value) => ctx.WriteBool(value), CodedOutputStream.BoolSize, tag, defaultValue); in ForBool() 253 public static FieldCodec<int> ForInt32(uint tag, int defaultValue) in ForInt32() argument 255 …ut, int value) => output.WriteInt32(value), CodedOutputStream.ComputeInt32Size, tag, defaultValue); in ForInt32() 264 public static FieldCodec<int> ForSInt32(uint tag, int defaultValue) in ForSInt32() argument 266 …, int value) => output.WriteSInt32(value), CodedOutputStream.ComputeSInt32Size, tag, defaultValue); in ForSInt32() [all …]
|
/third_party/node/deps/undici/src/lib/websocket/ |
D | events.js | 205 defaultValue: false property 210 defaultValue: false property 215 defaultValue: false property 224 defaultValue: null property 229 defaultValue: '' property 234 defaultValue: '' property 241 defaultValue: null property 246 get defaultValue () { getter 257 defaultValue: false property 262 defaultValue: 0 property [all …]
|
/third_party/typescript/tests/cases/conformance/es2021/logicalAssignment/ |
D | logicalAssignment4.ts | 28 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal… 35 if (thing &&= defaultValue) { 37 defaultValue.name 41 if (thing ||= defaultValue) { 43 defaultValue.name; 47 if (thing ??= defaultValue) { 49 defaultValue.name;
|
/third_party/protobuf/js/experimental/runtime/testing/binary/ |
D | test_message.js | 59 getBoolWithDefault(fieldNumber, defaultValue = false) { argument 60 return this.kernel_.getBoolWithDefault(fieldNumber, defaultValue); 68 getBytesWithDefault(fieldNumber, defaultValue = ByteString.EMPTY) { argument 69 return this.kernel_.getBytesWithDefault(fieldNumber, defaultValue); 77 getDoubleWithDefault(fieldNumber, defaultValue = 0) { argument 78 return this.kernel_.getDoubleWithDefault(fieldNumber, defaultValue); 86 getFixed32WithDefault(fieldNumber, defaultValue = 0) { argument 87 return this.kernel_.getFixed32WithDefault(fieldNumber, defaultValue); 95 getFixed64WithDefault(fieldNumber, defaultValue = Int64.getZero()) { argument 96 return this.kernel_.getFixed64WithDefault(fieldNumber, defaultValue); [all …]
|
/third_party/node/deps/undici/src/lib/cookies/ |
D | index.js | 113 defaultValue: null property 118 defaultValue: null property 140 defaultValue: null property 145 defaultValue: null property 150 defaultValue: null property 155 defaultValue: null property 160 defaultValue: null property 165 defaultValue: null property 175 defaultValue: [] property
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | LongHashtable.java | 20 public LongHashtable (int defaultValue) { in LongHashtable() argument 21 this.defaultValue = defaultValue; in LongHashtable() 25 if (value == defaultValue) { in put() 34 if (value == null) return defaultValue; in get() 38 private int defaultValue; field in LongHashtable
|
D | IntHashtable.java | 21 public IntHashtable (int defaultValue) { in IntHashtable() argument 22 this.defaultValue = defaultValue; in IntHashtable() 26 if (value == defaultValue) { in put() 35 if (value == null) return defaultValue; in get() 39 private int defaultValue; field in IntHashtable
|