/third_party/cef/tools/ |
D | make_ctocpp_impl.py | 121 arg_name = arg.get_type().get_name() 125 if not optional_params is None and arg_name in optional_params: 126 optional.append(arg_name) 129 comment = '\n // Verify param: ' + arg_name + '; type: ' + arg_type 133 '\n DCHECK('+arg_name+');'\ 134 '\n if (!'+arg_name+')'\ 139 '\n DCHECK('+arg_name+'.get());'\ 140 '\n if (!'+arg_name+'.get())'\ 144 '\n DCHECK('+arg_name+');'\ 145 '\n if (!'+arg_name+')'\ [all …]
|
D | make_cpptoc_impl.py | 93 arg_name = arg.get_type().get_name() 97 if not optional_params is None and arg_name in optional_params: 98 optional.append(arg_name) 101 comment = '\n // Verify param: ' + arg_name + '; type: ' + arg_type 117 '\n DCHECK('+arg_name+');'\ 118 '\n if (!'+arg_name+')'\ 125 '\n DCHECK('+arg_name+'Count && (*'+arg_name+'Count == 0 || '+arg_name+'));'\ 126 '\n if (!'+arg_name+'Count || (*'+arg_name+'Count > 0 && !'+arg_name+'))'\ 133 '\n DCHECK('+arg_name+'Count == 0 || '+arg_name+');'\ 134 '\n if ('+arg_name+'Count > 0 && !'+arg_name+')'\ [all …]
|
/third_party/mindspore/mindspore/dataset/core/ |
D | validator_helpers.py | 65 def pad_arg_name(arg_name): argument 72 if arg_name != "": 73 arg_name = arg_name + " " 74 return arg_name 77 def check_value(value, valid_range, arg_name="", left_open_interval=False, right_open_interval=Fals… argument 88 arg_name = pad_arg_name(arg_name) 92 … "Input {0}is not within the required interval of [{1}, {2}].".format(arg_name, valid_range[0], 97 … "Input {0}is not within the required interval of ({1}, {2}].".format(arg_name, valid_range[0], 102 … "Input {0}is not within the required interval of [{1}, {2}).".format(arg_name, valid_range[0], 107 … "Input {0}is not within the required interval of ({1}, {2}).".format(arg_name, valid_range[0], [all …]
|
/third_party/mindspore/mindspore/offline_debug/ |
D | mi_validator_helpers.py | 27 def pad_arg_name(arg_name): argument 28 if arg_name != "": 29 arg_name = arg_name + " " 30 return arg_name 33 def check_value(arg, valid_range, arg_name=""): argument 34 arg_name = pad_arg_name(arg_name) 37 "Input {0}is not within the required interval of ({1} to {2}).".format(arg_name, 41 def check_uint32(arg, arg_name=""): argument 42 type_check(arg, (int,), arg_name) 46 def check_uint64(arg, arg_name=""): argument [all …]
|
/third_party/mindspore/mindspore/ |
D | _checkparam.py | 99 def _check_3d_int_or_tuple(arg_name, arg_value, prim_name, allow_five=False, ret_five=False, argument 127 Validator.check_value_type(arg_name, arg_value, (int, tuple), prim_name) 147 def check_number(arg_value, value, rel, arg_type=int, arg_name=None, prim_name=None): argument 156 arg_name = f'`{arg_name}`' if arg_name else '' 174 def check_is_number(arg_value, arg_type, arg_name=None, prim_name=None): argument 184 arg_name = f"\'{arg_name}\'" if arg_name else 'input value' 192 def check_number_range(arg_value, lower_limit, upper_limit, rel, value_type, arg_name=None, prim_na… argument 202 arg_name = f'`{arg_name}`' if arg_name else '' 206 arg_name, prim_name, value_type.__name__, type(arg_value).__name__)) 210 arg_name, prim_name, rel_str, arg_value, type(arg_value).__name__)) [all …]
|
/third_party/glib/gio/ |
D | gdbus-daemon-generated.h | 42 const gchar *arg_name); 47 const gchar *arg_name); 52 const gchar *arg_name); 61 const gchar *arg_name); 78 const gchar *arg_name); 83 const gchar *arg_name); 88 const gchar *arg_name); 102 const gchar *arg_name, 108 const gchar *arg_name, 118 const gchar *arg_name); [all …]
|
D | gdbus-daemon-generated.c | 1524 const gchar *arg_name, in _g_freedesktop_dbus_emit_name_owner_changed() argument 1528 g_signal_emit_by_name (object, "name-owner-changed", arg_name, arg_old_owner, arg_new_owner); in _g_freedesktop_dbus_emit_name_owner_changed() 1541 const gchar *arg_name) in _g_freedesktop_dbus_emit_name_lost() argument 1543 g_signal_emit_by_name (object, "name-lost", arg_name); in _g_freedesktop_dbus_emit_name_lost() 1556 const gchar *arg_name) in _g_freedesktop_dbus_emit_name_acquired() argument 1558 g_signal_emit_by_name (object, "name-acquired", arg_name); in _g_freedesktop_dbus_emit_name_acquired() 1677 const gchar *arg_name, in _g_freedesktop_dbus_call_request_name() argument 1686 arg_name, in _g_freedesktop_dbus_call_request_name() 1743 const gchar *arg_name, in _g_freedesktop_dbus_call_request_name_sync() argument 1753 arg_name, in _g_freedesktop_dbus_call_request_name_sync() [all …]
|
D | gdbusdaemon.c | 952 const gchar *arg_name) in handle_get_connection_selinux_security_context() argument 964 const gchar *arg_name) in handle_get_connection_unix_process_id() argument 975 const gchar *arg_name) in handle_get_connection_unix_user() argument 996 const gchar *arg_name) in handle_get_name_owner() argument 1001 if (strcmp (arg_name, DBUS_SERVICE_NAME) == 0) in handle_get_name_owner() 1007 if (arg_name[0] == ':') in handle_get_name_owner() 1009 if (g_hash_table_lookup (daemon->clients, arg_name) == NULL) in handle_get_name_owner() 1012 "Could not get owner of name '%s': no such name", arg_name); in handle_get_name_owner() 1014 _g_freedesktop_dbus_complete_get_name_owner (object, invocation, arg_name); in handle_get_name_owner() 1018 name = name_lookup (daemon, arg_name); in handle_get_name_owner() [all …]
|
/third_party/mindspore/mindspore/core/utils/ |
D | check_convert_utils.h | 155 …static std::vector<int64_t> CheckPositiveVector(const std::string &arg_name, const std::vector<int… 157 static std::string CheckString(const std::string &arg_name, const std::string &arg_value, 161 …static int64_t CheckInteger(const std::string &arg_name, int64_t arg_value, CompareEnum compare_op… 165 …static T CheckValue(const std::string &arg_name, T arg_value, CompareEnum compare_operator, T matc… in CheckValue() argument 176 buffer << "The attribute[" << arg_name << "] must "; in CheckValue() 178 buffer << "The primitive[" << prim_name << "]'s " << arg_name << " must "; in CheckValue() 190 static void CheckInRange(const std::string &arg_name, T arg_value, CompareRange compare_operator, in CheckInRange() argument 205 buffer << "The attribute[" << arg_name << "] must "; in CheckInRange() 207 buffer << "The primitive[" << prim_name << "] " << arg_name << " must "; in CheckInRange() 223 static void Check(const std::string &arg_name, int64_t arg_value, CompareEnum compare_type, [all …]
|
D | check_convert_utils.cc | 309 std::vector<int64_t> CheckAndConvertUtils::CheckPositiveVector(const std::string &arg_name, in CheckPositiveVector() argument 313 buffer << "The primitive[" << prim_name << "]'s attribute[" << arg_name in CheckPositiveVector() 326 std::string CheckAndConvertUtils::CheckString(const std::string &arg_name, const std::string &arg_v… in CheckString() argument 332 buffer << "The primitive[" << prim_name << "]'s attribute[" << arg_name << "]"; in CheckString() 347 int64_t CheckAndConvertUtils::CheckInteger(const std::string &arg_name, int64_t arg_value, CompareE… in CheckInteger() argument 358 buffer << "The argument[" << arg_name << "] must "; in CheckInteger() 360 buffer << "The primitive[" << prim_name << "]'s " << arg_name << " must "; in CheckInteger() 432 void CheckAndConvertUtils::Check(const string &arg_name, int64_t arg_value, CompareEnum compare_typ… in Check() argument 443 buffer << "The attribute[" << arg_name << "] must "; in Check() 445 buffer << "The primitive[" << prim_name << "]'s attribute[" << arg_name << "] must "; in Check() [all …]
|
/third_party/mindspore/mindspore/core/ir/ |
D | signature.h | 61 …Signature(const std::string &arg_name, const SignatureEnumRW &rw_tag, const SignatureEnumKind &arg… in Signature() 63 : name(arg_name), rw(rw_tag), kind(arg_kind), default_value(arg_default), dtype(arg_dtype) {} in Signature() 64 …Signature(const std::string &arg_name, const SignatureEnumRW &rw_tag, const SignatureEnumKind &arg… in Signature() 65 … : Signature(arg_name, rw_tag, arg_kind, nullptr, SignatureEnumDType::kDTypeEmptyDefaultValue) {} in Signature()
|
/third_party/mindspore/mindspore/ops/composite/ |
D | array_ops.py | 27 def _check_is_int(arg_value, arg_name, op_name): argument 28 arg_value = validator.check_is_int(arg_value, arg_name, op_name) 33 def _check_positive_int(arg_value, arg_name, op_name): argument 34 arg_value = validator.check_positive_int(arg_value, arg_name, op_name) 39 def _check_axis_range(arg_value, limit, arg_name, op_name): argument 40 arg_value = validator.check_int_range(arg_value, -limit, limit, Rel.INC_LEFT, arg_name, op_name)
|
/third_party/mindspore/mindspore/mindrecord/ |
D | shardutils.py | 71 def check_filename(path, arg_name=""): argument 85 if arg_name == "": 86 arg_name = "File path" 88 arg_name = "'{}'".format(arg_name) 90 raise ParamValueError('{} is not allowed None or empty!'.format(arg_name))
|
/third_party/mindspore/mindspore/train/ |
D | _utils.py | 80 def _make_directory(path, arg_name='path'): argument 83 logger.error("The %s is invalid, the type should be string.", arg_name) 84 raise TypeError("The {} is invalid, the type should be string.".format(arg_name)) 86 logger.error("The %s is invalid, it should be non-blank.", arg_name) 87 raise ValueError("The {} is invalid, it should be non-blank.".format(arg_name)) 92 … logger.error("The %s length is too long, it should be limited in %s.", arg_name, MAX_PATH_LENGTH) 93 …raise ValueError("The {} length is too long, it should be limited in {}.".format(arg_name, MAX_PAT… 210 def check_value_type(arg_name, arg_value, valid_types): argument
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
D | binary.hpp | 64 arg_info(const std::string &arg_name, const std::string &type_name, in arg_info() 68 arg_name(arg_name), type_name(type_name), in arg_info() 72 arg_info() : arg_name(""), type_name(""), type_qualifier(0), in arg_info() 75 std::string arg_name; member
|
/third_party/grpc/test/core/util/ |
D | cmdline.cc | 239 char* arg_name = nullptr; in normal_state() local 278 tmp = arg_name = in normal_state() 280 memcpy(arg_name, str, static_cast<size_t>(eq - str)); in normal_state() 281 arg_name[eq - str] = 0; in normal_state() 283 arg_name = str; in normal_state() 285 cl->cur_arg = find_arg(cl, arg_name); in normal_state()
|
/third_party/benchmark/src/ |
D | benchmark_api_internal.cc | 39 const auto& arg_name = benchmark_.arg_names_[arg_i]; in BenchmarkInstance() local 40 if (!arg_name.empty()) { in BenchmarkInstance() 41 name_.args += StrFormat("%s:", arg_name.c_str()); in BenchmarkInstance()
|
/third_party/mindspore/mindspore/nn/probability/bnn_layers/ |
D | _util.py | 20 def check_prior(prior_fn, arg_name): argument 35 def check_posterior(posterior_fn, shape, param_name, arg_name): argument
|
D | conv_variational.py | 80 arg_name="weight_posterior_fn") 86 arg_name="bias_posterior_fn")
|
/third_party/glib/gio/gdbus-2.0/codegen/ |
D | parser.py | 200 arg_name = None 202 arg_name = attrs["name"] 203 arg = dbustypes.Arg(arg_name, attrs["type"]) 234 arg_name = None 236 arg_name = attrs["name"] 237 arg = dbustypes.Arg(arg_name, attrs["type"])
|
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_context.c | 1245 char arg_name[64]; in hud_parse_env_var() local 1276 else if (sscanf(name, "nic-rx-%s", arg_name) == 1) { in hud_parse_env_var() 1277 hud_nic_graph_install(pane, arg_name, NIC_DIRECTION_RX); in hud_parse_env_var() 1279 else if (sscanf(name, "nic-tx-%s", arg_name) == 1) { in hud_parse_env_var() 1280 hud_nic_graph_install(pane, arg_name, NIC_DIRECTION_TX); in hud_parse_env_var() 1282 else if (sscanf(name, "nic-rssi-%s", arg_name) == 1) { in hud_parse_env_var() 1283 hud_nic_graph_install(pane, arg_name, NIC_RSSI_DBM); in hud_parse_env_var() 1286 else if (sscanf(name, "diskstat-rd-%s", arg_name) == 1) { in hud_parse_env_var() 1287 hud_diskstat_graph_install(pane, arg_name, DISKSTAT_RD); in hud_parse_env_var() 1290 else if (sscanf(name, "diskstat-wr-%s", arg_name) == 1) { in hud_parse_env_var() [all …]
|
/third_party/mindspore/mindspore/explainer/benchmark/_attribution/ |
D | metric.py | 33 def verify_argument(inputs, arg_name): argument 35 check_value_type(arg_name, inputs, Tensor) 37 raise ValueError('Argument {} must be a 4D Tensor.'.format(arg_name))
|
/third_party/mindspore/mindspore/core/ops/grad/ |
D | pool_grad.cc | 22 std::vector<int64_t> PoolGrad::_grad_check_vector(const std::string &arg_name, std::vector<int64_t>… in _grad_check_vector() argument 25 std::string error_msg = "For '" + op_name + "'" + " the '" + arg_name + in _grad_check_vector()
|
/third_party/mindspore/mindspore/train/summary/ |
D | summary_record.py | 177 …Validator.check_value_type(arg_name='raise_exception', arg_value=raise_exception, valid_types=bool) 323 Validator.check_value_type(arg_name='step', arg_value=step, valid_types=int) 324 …Validator.check_value_type(arg_name='train_network', arg_value=train_network, valid_types=[Cell, t…
|
/third_party/gstreamer/gstplugins_good/gst/deinterlace/x86/ |
D | x86inc.asm | 312 CAT_UNDEF arg_name %+ %%i, q 313 CAT_UNDEF arg_name %+ %%i, d 314 CAT_UNDEF arg_name %+ %%i, w 315 CAT_UNDEF arg_name %+ %%i, h 316 CAT_UNDEF arg_name %+ %%i, b 317 CAT_UNDEF arg_name %+ %%i, m 318 CAT_UNDEF arg_name %+ %%i, mp 319 CAT_UNDEF arg_name, %%i
|