Searched refs:defval (Results 1 – 7 of 7) sorted by relevance
| /openbmc/qemu/include/qemu/ |
| H A D | option.h | 89 bool qemu_opt_get_bool(QemuOpts *opts, const char *name, bool defval); 90 uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval); 91 uint64_t qemu_opt_get_size(QemuOpts *opts, const char *name, uint64_t defval); 92 bool qemu_opt_get_bool_del(QemuOpts *opts, const char *name, bool defval); 94 uint64_t defval); 96 uint64_t defval);
|
| /openbmc/qemu/util/ |
| H A D | qemu-option.c | 329 bool defval, bool del) in qemu_opt_get_bool_helper() argument 333 bool ret = defval; in qemu_opt_get_bool_helper() 355 bool qemu_opt_get_bool(QemuOpts *opts, const char *name, bool defval) in qemu_opt_get_bool() argument 357 return qemu_opt_get_bool_helper(opts, name, defval, false); in qemu_opt_get_bool() 360 bool qemu_opt_get_bool_del(QemuOpts *opts, const char *name, bool defval) in qemu_opt_get_bool_del() argument 362 return qemu_opt_get_bool_helper(opts, name, defval, true); in qemu_opt_get_bool_del() 366 uint64_t defval, bool del) in qemu_opt_get_number_helper() argument 370 uint64_t ret = defval; in qemu_opt_get_number_helper() 392 uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval) in qemu_opt_get_number() argument 394 return qemu_opt_get_number_helper(opts, name, defval, false); in qemu_opt_get_number() [all …]
|
| /openbmc/u-boot/env/ |
| H A D | flags.c | 543 const char *defval = env_get_default(name); in env_flags_validate() local 545 if (defval == NULL) in env_flags_validate() 546 defval = ""; in env_flags_validate() 547 printf("oldval: %s defval: %s\n", oldval, defval); in env_flags_validate() 548 if (strcmp(oldval, defval) != 0) { in env_flags_validate()
|
| /openbmc/qemu/qom/ |
| H A D | qom-qmp-cmds.c | 232 info->default_value = qobject_ref(prop->defval); in qmp_device_list_properties() 277 info->default_value = qobject_ref(prop->defval); in qmp_qom_list_properties()
|
| /openbmc/u-boot/tools/env/ |
| H A D | fw_env.c | 574 const char *defval = fw_getdefenv(name); in fw_env_write() local 576 if (defval == NULL) in fw_env_write() 577 defval = ""; in fw_env_write() 578 if (strcmp(oldval, defval) in fw_env_write()
|
| /openbmc/qemu/include/qom/ |
| H A D | object.h | 100 QObject *defval; member 2048 QObject *defval, const char *description);
|
| /openbmc/openbmc/poky/scripts/lib/recipetool/ |
| H A D | create_buildsys.py | 440 for define, defval in defines.items(): 441 newvalue = newvalue.replace(define, defval)
|