Home
last modified time | relevance | path

Searched refs:defVal (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestFmwk.java213 protected static boolean getBooleanProperty(String key, boolean defVal) { in getBooleanProperty() argument
214 return getParams().getBooleanProperty(key, defVal); in getBooleanProperty()
217 protected static int getIntProperty(String key, int defVal) { in getIntProperty() argument
218 return getParams().getIntProperty(key, defVal); in getIntProperty()
221 protected static int getIntProperty(String key, int defVal, int maxVal) { in getIntProperty() argument
222 return getParams().getIntProperty(key, defVal, maxVal); in getIntProperty()
389 public boolean getBooleanProperty(String key, boolean defVal) { in getBooleanProperty() argument
392 return defVal; in getBooleanProperty()
400 public int getIntProperty(String key, int defVal) { in getIntProperty() argument
401 return getIntProperty(key, defVal, -1); in getIntProperty()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DTestFmwk.java214 protected static boolean getBooleanProperty(String key, boolean defVal) { in getBooleanProperty() argument
215 return getParams().getBooleanProperty(key, defVal); in getBooleanProperty()
218 protected static int getIntProperty(String key, int defVal) { in getIntProperty() argument
219 return getParams().getIntProperty(key, defVal); in getIntProperty()
222 protected static int getIntProperty(String key, int defVal, int maxVal) { in getIntProperty() argument
223 return getParams().getIntProperty(key, defVal, maxVal); in getIntProperty()
390 public boolean getBooleanProperty(String key, boolean defVal) { in getBooleanProperty() argument
393 return defVal; in getBooleanProperty()
401 public int getIntProperty(String key, int defVal) { in getIntProperty() argument
402 return getIntProperty(key, defVal, -1); in getIntProperty()
[all …]
/external/golang-protobuf/internal/impl/
Dconvert.go90 defVal := func(fd protoreflect.FieldDescriptor, zero protoreflect.Value) protoreflect.Value {
100 return &boolConverter{t, defVal(fd, boolZero)}
104 return &int32Converter{t, defVal(fd, int32Zero)}
108 return &int64Converter{t, defVal(fd, int64Zero)}
112 return &uint32Converter{t, defVal(fd, uint32Zero)}
116 return &uint64Converter{t, defVal(fd, uint64Zero)}
120 return &float32Converter{t, defVal(fd, float32Zero)}
124 return &float64Converter{t, defVal(fd, float64Zero)}
128 return &stringConverter{t, defVal(fd, stringZero)}
132 return &bytesConverter{t, defVal(fd, bytesZero)}
/external/kotlinx.atomicfu/gradle/
Dpublish-npm-js.gradle5 def prop(name, defVal) {
7 if (value == null) return defVal
/external/kotlinx.coroutines/gradle/
Dpublish-npm-js.gradle5 def prop(name, defVal) {
7 if (value == null) return defVal
/external/oboe/apps/fxlab/app/src/main/cpp/effects/descrip/
DEffectDescription.h33 constexpr ParamType(std::string_view name, float minVal, float maxVal, float defVal) : in ParamType() argument
37 kDefVal(defVal) {} in ParamType()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DCLDRConfig.java482 public boolean getProperty(String k, boolean defVal) { in getProperty() argument
483 String val = getProperty(k, defVal ? "true" : null); in getProperty()
498 public int getProperty(String k, int defVal) { in getProperty() argument
499 String val = getProperty(k, Integer.toString(defVal)); in getProperty()
501 return defVal; in getProperty()
506 return defVal; in getProperty()
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DProcessorKey.java136 String defVal = attrDef.getDefault(); in setPropertiesFromAttributes() local
138 if (null != defVal) in setPropertiesFromAttributes()
DXSLTElementProcessor.java375 String defVal = attrDef.getDefault(); in setPropertiesFromAttributes() local
377 if (null != defVal) in setPropertiesFromAttributes()
/external/libxml2/include/libxml/
DschemasInternals.h267 xmlSchemaValPtr defVal; /* The compiled value constraint */ member
792 xmlSchemaValPtr defVal; /* The compiled value constraint. */ member
/external/cronet/third_party/libxml/src/include/libxml/
DschemasInternals.h267 xmlSchemaValPtr defVal; /* The compiled value constraint */ member
792 xmlSchemaValPtr defVal; /* The compiled value constraint. */ member
/external/golang-protobuf/cmd/protoc-gen-go/internal_gengo/
Dmain.go445 defVal := field.Desc.Default()
448 consts = append(consts, fmt.Sprintf("%s = %s(%q)", name, goType, defVal.String()))
450 vars = append(vars, fmt.Sprintf("%s = %s(%q)", name, goType, defVal.Bytes()))
464 if f := defVal.Float(); math.IsNaN(f) || math.IsInf(f, 0) {
466 switch f := defVal.Float(); {
479 consts = append(consts, fmt.Sprintf("%s = %s(%v)", name, goType, defVal.Interface()))
/external/cronet/third_party/icu/source/common/
Duresbund.cpp2982 char defVal[1024] = ""; /* default value for given locale */ in ures_getFunctionalEquivalent() local
3050 u_UCharsToChars(defUstr, defVal, u_strlen(defUstr)); in ures_getFunctionalEquivalent()
3053 path?path:"ICUDATA", parent, keyword, defVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3057 uprv_strcpy(kwVal, defVal); in ures_getFunctionalEquivalent()
3075 } while(!defVal[0] && *found && uprv_strcmp(found, "root") != 0 && U_SUCCESS(*status)); in ures_getFunctionalEquivalent()
3125 u_UCharsToChars(defUstr, defVal, u_strlen(defUstr)); in ures_getFunctionalEquivalent()
3128 … path?path:"ICUDATA", full, keyword, defVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3154 if((full[0]==0) && uprv_strcmp(kwVal, defVal)) { in ures_getFunctionalEquivalent()
3156 fprintf(stderr, "Failed to locate kw %s - try default %s\n", kwVal, defVal); in ures_getFunctionalEquivalent()
3158 uprv_strcpy(kwVal, defVal); in ures_getFunctionalEquivalent()
[all …]
/external/icu/icu4c/source/common/
Duresbund.cpp2982 char defVal[1024] = ""; /* default value for given locale */ in ures_getFunctionalEquivalent() local
3050 u_UCharsToChars(defUstr, defVal, u_strlen(defUstr)); in ures_getFunctionalEquivalent()
3053 path?path:"ICUDATA", parent, keyword, defVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3057 uprv_strcpy(kwVal, defVal); in ures_getFunctionalEquivalent()
3075 } while(!defVal[0] && *found && uprv_strcmp(found, "root") != 0 && U_SUCCESS(*status)); in ures_getFunctionalEquivalent()
3125 u_UCharsToChars(defUstr, defVal, u_strlen(defUstr)); in ures_getFunctionalEquivalent()
3128 … path?path:"ICUDATA", full, keyword, defVal, u_errorName(subStatus)); in ures_getFunctionalEquivalent()
3154 if((full[0]==0) && uprv_strcmp(kwVal, defVal)) { in ures_getFunctionalEquivalent()
3156 fprintf(stderr, "Failed to locate kw %s - try default %s\n", kwVal, defVal); in ures_getFunctionalEquivalent()
3158 uprv_strcpy(kwVal, defVal); in ures_getFunctionalEquivalent()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir.cpp152 ValueDef::set(Value *defVal) in set() argument
154 if (value == defVal) in set()
158 if (defVal) in set()
159 defVal->defs.push_back(this); in set()
161 value = defVal; in set()
/external/cldr/tools/cldr-code/src/main/java/com/ibm/icu/dev/test/
DTestFmwk.java903 public boolean getBooleanProperty(String key, boolean defVal) { in getBooleanProperty() argument
913 return defVal; in getBooleanProperty()
/external/libxml2/
Dxmlschemas.c551 xmlSchemaValPtr defVal; member
3822 if (attr->defVal != NULL) in xmlSchemaFreeAttribute()
3823 xmlSchemaFreeValue(attr->defVal); in xmlSchemaFreeAttribute()
3840 if (use->defVal != NULL) in xmlSchemaFreeAttributeUse()
3841 xmlSchemaFreeValue(use->defVal); in xmlSchemaFreeAttributeUse()
4010 if (elem->defVal != NULL) in xmlSchemaFreeElement()
4011 xmlSchemaFreeValue(elem->defVal); in xmlSchemaFreeElement()
14153 *val = attruse->defVal; in xmlSchemaGetEffectiveValueConstraint()
14161 *val = attruse->attrDecl->defVal; in xmlSchemaGetEffectiveValueConstraint()
19686 attr->defValue, &(attr->defVal), in xmlSchemaCheckAttrPropsCorrect()
[all …]
/external/libxml2/os400/libxmlrpg/
DschemasInternals.rpgle373 d defVal like(xmlSchemaValPtr) Compiled constraint