Home
last modified time | relevance | path

Searched refs:defaultValue (Results 1 - 25 of 152) sorted by relevance

1234567

/third_party/typescript/tests/baselines/reference/
H A DlogicalAssignment4(target=es2015).js25 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) {
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
[all...]
H A DlogicalAssignment4(target=es2020).js25 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) {
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
[all...]
H A DlogicalAssignment4(target=es2021).js25 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) {
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
[all...]
H A DlogicalAssignment4(target=esnext).js25 function doSomethingWithAlias(thing: ThingWithOriginal | undefined, defaultValue: ThingWithOriginal | undefined) {
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
[all...]
H A DobjectAssignLikeNonUnionResult.js5 const defaultValue: Interface = { field: 1 };
11 const data1 = assign(defaultValue, Date.now() > 3 ? { field: 2 } : {});
22 var defaultValue = { field: 1 };
25 var data1 = assign(defaultValue, Date.now() > 3 ? { field: 2 } : {});
/third_party/skia/tools/flags/
H A DCommandLineFlags.h20 * DEFINE_bool(name, defaultValue, helpString);
21 * DEFINE_string(name, defaultValue, helpString);
22 * DEFINE_int(name, defaultValue, helpString);
23 * DEFINE_double(name, defaultValue, helpString);
195 #define DEFINE_bool(name, defaultValue, helpString) \
198 TO_STRING(name), nullptr, &FLAGS_##name, defaultValue, helpString)
202 #define DEFINE_bool2(name, shortName, defaultValue, helpString) \
205 TO_STRING(name), TO_STRING(shortName), &FLAGS_##name, defaultValue, helpString)
209 #define DEFINE_string(name, defaultValue, helpString) \
212 TO_STRING(name), nullptr, &FLAGS_##name, defaultValue, helpStrin
273 CreateBoolFlag(const char* name, const char* shortName, bool* pBool, bool defaultValue, const char* helpString) CreateBoolFlag() argument
300 CreateIntFlag(const char* name, int* pInt, int defaultValue, const char* helpString) CreateIntFlag() argument
310 CreateIntFlag(const char* name, const char* shortName, int* pInt, int defaultValue, const char* helpString) CreateIntFlag() argument
324 CreateDoubleFlag(const char* name, double* pDouble, double defaultValue, const char* helpString) CreateDoubleFlag() argument
400 SkString defaultValue() const { defaultValue() function in SkFlagInfo
[all...]
H A DCommandLineFlags.cpp19 const char* defaultValue, in CreateStringFlag()
24 info->fDefaultString.set(defaultValue); in CreateStringFlag()
27 SetDefaultStrings(pStrings, defaultValue); in CreateStringFlag()
32 const char* defaultValue) { in SetDefaultStrings()
34 if (nullptr == defaultValue) { in SetDefaultStrings()
38 size_t defaultLength = strlen(defaultValue); in SetDefaultStrings()
40 const char* const defaultEnd = defaultValue + defaultLength; in SetDefaultStrings()
41 const char* begin = defaultValue; in SetDefaultStrings()
194 if (flag->defaultValue().size() > 0) { in print_help_for_flag()
195 SkDebugf("\tdefault: %s", flag->defaultValue() in print_help_for_flag()
16 CreateStringFlag(const char* name, const char* shortName, CommandLineFlags::StringArray* pStrings, const char* defaultValue, const char* helpString, const char* extendedHelpString) CreateStringFlag() argument
31 SetDefaultStrings(CommandLineFlags::StringArray* pStrings, const char* defaultValue) SetDefaultStrings() argument
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DFieldCodec.cs218 /// <param name="defaultValue">The default value.</param>
220 public static FieldCodec<string> ForString(uint tag, string defaultValue) in ForString() argument
222 return new FieldCodec<string>((ref ParseContext ctx) => ctx.ReadString(), (ref WriteContext ctx, string value) => ctx.WriteString(value), CodedOutputStream.ComputeStringSize, tag, defaultValue); in ForString()
229 /// <param name="defaultValue">The default value.</param>
231 public static FieldCodec<ByteString> ForBytes(uint tag, ByteString defaultValue) in ForBytes() argument
233 return new FieldCodec<ByteString>((ref ParseContext ctx) => ctx.ReadBytes(), (ref WriteContext ctx, ByteString value) => ctx.WriteBytes(value), CodedOutputStream.ComputeBytesSize, tag, defaultValue); in ForBytes()
240 /// <param name="defaultValue">The default value.</param>
242 public static FieldCodec<bool> ForBool(uint tag, bool defaultValue) in ForBool() argument
244 return new FieldCodec<bool>((ref ParseContext ctx) => ctx.ReadBool(), (ref WriteContext ctx, bool value) => ctx.WriteBool(value), CodedOutputStream.BoolSize, tag, defaultValue); in ForBool()
251 /// <param name="defaultValue">Th
253 ForInt32(uint tag, int defaultValue) ForInt32() argument
264 ForSInt32(uint tag, int defaultValue) ForSInt32() argument
275 ForFixed32(uint tag, uint defaultValue) ForFixed32() argument
286 ForSFixed32(uint tag, int defaultValue) ForSFixed32() argument
297 ForUInt32(uint tag, uint defaultValue) ForUInt32() argument
308 ForInt64(uint tag, long defaultValue) ForInt64() argument
319 ForSInt64(uint tag, long defaultValue) ForSInt64() argument
330 ForFixed64(uint tag, ulong defaultValue) ForFixed64() argument
341 ForSFixed64(uint tag, long defaultValue) ForSFixed64() argument
352 ForUInt64(uint tag, ulong defaultValue) ForUInt64() argument
363 ForFloat(uint tag, float defaultValue) ForFloat() argument
374 ForDouble(uint tag, double defaultValue) ForDouble() argument
390 ForEnum(uint tag, Func<T, int> toInt32, Func<int, T> fromInt32, T defaultValue) ForEnum() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
H A DLongHashtable.java23 public LongHashtable (int defaultValue) { in LongHashtable() argument
24 this.defaultValue = defaultValue; in LongHashtable()
28 if (value == defaultValue) { in put()
37 if (value == null) return defaultValue; in get()
41 private int defaultValue; field in LongHashtable
H A DIntStringHashtable.java24 public IntStringHashtable (String defaultValue) { in IntStringHashtable() argument
25 this.defaultValue = defaultValue; in IntStringHashtable()
29 if (value == defaultValue) { in put()
38 if (value == null) return defaultValue; in get()
42 private String defaultValue; field in IntStringHashtable
H A DIntHashtable.java24 public IntHashtable (int defaultValue) { in IntHashtable() argument
25 this.defaultValue = defaultValue; in IntHashtable()
29 if (value == defaultValue) { in put()
38 if (value == null) return defaultValue; in get()
42 private int defaultValue; field in IntHashtable
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DLongHashtable.java20 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
H A DIntStringHashtable.java21 public IntStringHashtable (String defaultValue) { in IntStringHashtable() argument
22 this.defaultValue = defaultValue; in IntStringHashtable()
26 if (value == defaultValue) { in put()
35 if (value == null) return defaultValue; in get()
39 private String defaultValue; field in IntStringHashtable
H A DIntHashtable.java21 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
/third_party/node/deps/undici/src/lib/cookies/
H A Dindex.js113 defaultValue: null
118 defaultValue: null
140 defaultValue: null
145 defaultValue: null
150 defaultValue: null
155 defaultValue: null
160 defaultValue: null
165 defaultValue: null
175 defaultValue: []
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DICUResourceTableAccess.java24 String itemName, String defaultValue) { in getTableString()
27 return getTableString(bundle, tableName, null, itemName, defaultValue); in getTableString()
35 String subtableName, String item, String defaultValue) { in getTableString()
41 return defaultValue; in getTableString()
74 return defaultValue; in getTableString()
82 return defaultValue; in getTableString()
94 return ((result != null && result.length() > 0) ? result : defaultValue); in getTableString()
23 getTableString(String path, ULocale locale, String tableName, String itemName, String defaultValue) getTableString() argument
34 getTableString(ICUResourceBundle bundle, String tableName, String subtableName, String item, String defaultValue) getTableString() argument
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DICUResourceTableAccess.java26 String itemName, String defaultValue) { in getTableString()
29 return getTableString(bundle, tableName, null, itemName, defaultValue); in getTableString()
37 String subtableName, String item, String defaultValue) { in getTableString()
43 return defaultValue; in getTableString()
76 return defaultValue; in getTableString()
84 return defaultValue; in getTableString()
96 return ((result != null && result.length() > 0) ? result : defaultValue); in getTableString()
25 getTableString(String path, ULocale locale, String tableName, String itemName, String defaultValue) getTableString() argument
36 getTableString(ICUResourceBundle bundle, String tableName, String subtableName, String item, String defaultValue) getTableString() argument
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DMapEntryLite.java51 public final V defaultValue; field in MapEntryLite.Metadata
57 V defaultValue) { in Metadata()
61 this.defaultValue = defaultValue; in Metadata()
74 WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) { in MapEntryLite()
75 this.metadata = new Metadata<K, V>(keyType, defaultKey, valueType, defaultValue); in MapEntryLite()
77 this.value = defaultValue; in MapEntryLite()
103 WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) { in newDefaultInstance()
104 return new MapEntryLite<K, V>(keyType, defaultKey, valueType, defaultValue); in newDefaultInstance()
175 V value = metadata.defaultValue; in parseEntry()
53 Metadata( WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) Metadata() argument
73 MapEntryLite( WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) MapEntryLite() argument
102 newDefaultInstance( WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) newDefaultInstance() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DConfigurator.cpp206 string Configurator::getValue(string keyName, string valueName, string defaultValue) const in getValue()
209 if(keyID == -1) return defaultValue; in getValue()
211 if(valueID == -1) return defaultValue; in getValue()
216 int Configurator::getInteger(string keyName, string valueName, int defaultValue) const in getInteger()
220 sprintf(svalue, "%d", defaultValue); in getInteger()
225 bool Configurator::getBoolean(string keyName, string valueName, bool defaultValue) const in getBoolean()
227 return getInteger(keyName, valueName, (int)defaultValue) != 0; in getBoolean()
230 double Configurator::getFloat(string keyName, string valueName, double defaultValue) const in getFloat()
234 sprintf(svalue, "%f", defaultValue); in getFloat()
H A DConfigurator.hpp32 std::string getValue(std::string sectionName, std::string valueName, std::string defaultValue = "") const;
33 int getInteger(std::string sectionName, std::string valueName, int defaultValue = 0) const;
34 bool getBoolean(std::string sectionName, std::string valueName, bool defaultValue = false) const;
35 double getFloat(std::string sectionName, std::string valueName, double defaultValue = 0.0) const;
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DConfigurator.cpp207 string Configurator::getValue(string keyName, string valueName, string defaultValue) const in getValue()
210 if(keyID == -1) return defaultValue; in getValue()
212 if(valueID == -1) return defaultValue; in getValue()
217 int Configurator::getInteger(string keyName, string valueName, int defaultValue) const in getInteger()
221 sprintf(svalue, "%d", defaultValue); in getInteger()
226 bool Configurator::getBoolean(string keyName, string valueName, bool defaultValue) const in getBoolean()
228 return getInteger(keyName, valueName, (int)defaultValue) != 0; in getBoolean()
231 double Configurator::getFloat(string keyName, string valueName, double defaultValue) const in getFloat()
235 sprintf(svalue, "%f", defaultValue); in getFloat()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fInternalFormatQueryTests.cpp227 const glw::GLint defaultValue = -123; // queries always return positive values in iterate() local
233 glw::GLint buffer[2] = { defaultValue, defaultValue }; in iterate()
239 if (buffer[1] != defaultValue) in iterate()
248 glw::GLint buffer[1] = { defaultValue }; in iterate()
254 if (buffer[0] != defaultValue) in iterate()
286 const glw::GLint defaultValue = -123; // queries always return positive values in iterate() local
309 std::vector<glw::GLint> buffer(numSampleCounts + 1, defaultValue); in iterate()
315 if (buffer.back() != defaultValue) in iterate()
325 glw::GLint buffer[3] = { defaultValue, defaultValu in iterate()
[all...]
/third_party/skia/tests/
H A DTest.cpp58 const char* defaultValue = "/data/local/tmp"; in GetTmpDir() local
61 const char* defaultValue = "/tmp"; in GetTmpDir() local
64 const char* defaultValue = nullptr; in GetTmpDir() local
67 const char* defaultValue = nullptr; in GetTmpDir() local
70 return SkString(tmpdir ? tmpdir : defaultValue); in GetTmpDir()
/third_party/protobuf/js/experimental/runtime/kernel/
H A Dkernel.js433 * @param {?T} defaultValue
441 fieldNumber, defaultValue, readFunc, encoder = undefined) {
446 return defaultValue;
550 * @param {boolean=} defaultValue
553 getBoolWithDefault(fieldNumber, defaultValue = false) {
555 fieldNumber, defaultValue,
564 * @param {!ByteString=} defaultValue
567 getBytesWithDefault(fieldNumber, defaultValue = ByteString.EMPTY) {
569 fieldNumber, defaultValue,
578 * @param {number=} defaultValue
[all...]
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeCommandLine.hpp61 const char* defaultValue; //!< Default value (parsed from string), or null if should not be set member
73 , defaultValue (defaultValue_) in Option()
85 , defaultValue (defaultValue_) in Option()
97 , defaultValue (defaultValue_) in Option()
110 , defaultValue (defaultValue_) in Option()
272 const char* defaultValue; member
288 , defaultValue (DE_NULL) in OptInfo()
380 opt.defaultValue = option.defaultValue; in addOption()

Completed in 9 milliseconds

1234567