Home
last modified time | relevance | path

Searched refs:valid_values (Results 1 – 16 of 16) sorted by relevance

/third_party/node/tools/
Dmk-ca-bundle.pl145 my @valid_values = @_;
154 my @invalid = grep { !is_in_list($_,"ALL",@valid_values) } @values;
162 @values = @valid_values if ( is_in_list("ALL",@values) );
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cFramebufferNoAttachmentsTests.cpp228 GLint valid_values[] = { 103, 104, 4, GL_TRUE }; in iterate() local
274 valid_values[2] = max_values[2]; in iterate()
295 gl.framebufferParameteri(target, pnames[j], valid_values[j]); in iterate()
316 gl.framebufferParameteri(target, pname, valid_values[j]); in iterate()
413 gl.framebufferParameteri(target, pnames[k], valid_values[k]); in iterate()
421 TCU_CHECK_MSG(get_value == valid_values[k], in iterate()
/third_party/mindspore/mindspore/ops/operations/
Dinner_ops.py123 valid_values = (mstype.int8, mstype.int16, mstype.int32, mstype.int64,
125 validator.check_type_name("dtype", self.dtype, valid_values, self.name)
201 valid_values = (mstype.float16, mstype.float32, mstype.float64)
202 validator.check_type_name("log_type", log_type, valid_values, self.name)
Drandom_ops.py486 valid_values = (mstype.int32, mstype.int16, mstype.int64)
487 Validator.check_type_name("dtype", dtype, valid_values, self.name)
Dmath_ops.py2190 valid_values = ['int32']
2191 self.dtype = validator.check_string(dtype, valid_values, "dtype", self.name)
Dnn_ops.py2881 valid_values = ['NHWC', 'NCHW']
2882 self.src_format = validator.check_string(src_format, valid_values, "src_format", self.name)
2883 self.dst_format = validator.check_string(dst_format, valid_values, "dst_format", self.name)
/third_party/curl/lib/
Dmk-ca-bundle.pl218 my @valid_values = @_;
227 my @invalid = grep { !is_in_list($_,"ALL",@valid_values) } @values;
235 @values = @valid_values if ( is_in_list("ALL",@values) );
/third_party/mindspore/mindspore/
D_checkparam.py431 def check_string(arg_value, valid_values, arg_name=None, prim_name=None): argument
438 if isinstance(arg_value, str) and arg_value in valid_values:
512 def check_types_same_and_valid(args, valid_values, prim_name): argument
518 Validator.check_subclass(arg_key, elem_type, valid_values, prim_name)
548 def check_scalar_or_tensor_types_same(args, valid_values, prim_name, allow_mix=False): argument
558 if not arg_val in valid_values:
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cTextureSwizzleTests.cpp1190 static const glw::GLint valid_values[] = { GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_ONE, GL_ZERO }; variable
1191 static const size_t n_valid_values = sizeof(valid_values) / sizeof(valid_values[0]);
2212 const glw::GLint value = valid_values[j]; in iterate()
2237 const glw::GLint value = valid_values[j]; in iterate()
2519 valid_values[r], in iterate()
2520 valid_values[g], in iterate()
2521 valid_values[b], in iterate()
2522 valid_values[a], in iterate()
3861 valid_values[r], in iterate()
3862 valid_values[g], in iterate()
[all …]
Dgl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp7028 static const glw::GLenum valid_values[] = { GL_FRONT, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK, in PrepareObjects() local
7031 static const glw::GLuint valid_values_count = sizeof(valid_values) / sizeof(valid_values[0]); in PrepareObjects()
7035 if (valid_values[i] == m_default_attachment_invalid) in PrepareObjects()
/third_party/alsa-utils/topology/
Dpre-process-object.c246 static void tplg_attribute_print_valid_values(snd_config_t *valid_values, const char *name) in tplg_attribute_print_valid_values() argument
253 snd_config_for_each(i, next, valid_values) { in tplg_attribute_print_valid_values()
268 static bool tplg_is_attribute_valid_value(snd_config_t *valid_values, const char *value) in tplg_is_attribute_valid_value() argument
273 snd_config_for_each(i, next, valid_values) { in tplg_is_attribute_valid_value()
/third_party/mindspore/mindspore/core/utils/
Dcheck_convert_utils.cc575 const std::set<TypePtr> &valid_values, in CheckScalarOrTensorTypesSame() argument
578 return CheckTypeValid(args.begin()->first, arg_, valid_values, prim_name); in CheckScalarOrTensorTypesSame()
Dcheck_convert_utils.h291 … const std::set<TypePtr> &valid_values, const std::string &prim_name,
/third_party/python/Lib/test/
Dtest_time.py820 valid_values = convert_values(ns_timestamps)
825 for value in valid_values:
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUCharacterTest.java2886 int[] valid_values =
2902 if(valid_values.length != results.length){
2906 for(int i = 0; i < valid_values.length; i++){
2908 if(UCharacter.getNumericValue(valid_values[i]) != results[i]){
2911 "Got " + UCharacter.getNumericValue(valid_values[i]) +
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterTest.java2883 int[] valid_values =
2899 if(valid_values.length != results.length){
2903 for(int i = 0; i < valid_values.length; i++){
2905 if(UCharacter.getNumericValue(valid_values[i]) != results[i]){
2908 "Got " + UCharacter.getNumericValue(valid_values[i]) +