/netbsd/usr.sbin/memswitch/ |
H A D | methods.c | 197 warnx("Cannot modify %s.%s", prop->class, prop->node); in parse_dummy() 550 prop->fill(prop); in print_uchar() 566 prop->fill(prop); in print_ucharh() 582 prop->fill(prop); in print_ushorth() 598 prop->fill(prop); in print_ulong() 614 prop->fill(prop); in print_ulongh() 626 prop->fill(prop); in print_magic() 644 prop->fill(prop); in print_timesec() 661 prop->fill(prop); in print_bootdev() 698 prop->fill(prop); in print_serial() [all …]
|
/netbsd/external/gpl2/dtc/dist/ |
H A D | checks.c | 76 if (prop && prop->srcpos) in check_msg() 95 if (prop) in check_msg() 207 if (!prop) in check_is_string() 227 if (!prop) in check_is_string_list() 254 if (!prop) in check_is_cell() 348 if (prop && !prop->val.len) in check_unit_address_vs_reg() 413 ((prop) ? (prop)->name : ""), \ 478 prop->val.len, prop->name); in check_phandle_prop() 816 if (!prop || !streq(prop->val.val, "pci")) in check_pci_bridge() 972 if (prop && prop->val.len) in check_simple_bus_reg() [all …]
|
H A D | livetree.c | 272 prop->next = NULL; in add_property() 278 *p = prop; in add_property() 285 while (prop) { in delete_property_by_name() 290 prop = prop->next; in delete_property_by_name() 296 prop->deleted = 1; in delete_property() 432 return prop; in get_property() 462 return prop; in get_property_by_label() 467 if (prop) in get_property_by_label() 468 return prop; in get_property_by_label() 485 *prop = p; in get_marker_label() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_mode_config.c | 236 if (!prop) in drm_mode_create_standard_properties() 242 if (!prop) in drm_mode_create_standard_properties() 248 if (!prop) in drm_mode_create_standard_properties() 254 if (!prop) in drm_mode_create_standard_properties() 260 if (!prop) in drm_mode_create_standard_properties() 266 if (!prop) in drm_mode_create_standard_properties() 272 if (!prop) in drm_mode_create_standard_properties() 278 if (!prop) in drm_mode_create_standard_properties() 284 if (!prop) in drm_mode_create_standard_properties() 290 if (!prop) in drm_mode_create_standard_properties() [all …]
|
H A D | drm_blend.c | 211 struct drm_property *prop; in drm_plane_create_alpha_property() local 215 if (!prop) in drm_plane_create_alpha_property() 274 struct drm_property *prop; in drm_plane_create_rotation_property() local 283 if (!prop) in drm_plane_create_rotation_property() 363 struct drm_property *prop; in drm_plane_create_zpos_property() local 366 if (!prop) in drm_plane_create_zpos_property() 371 plane->zpos_property = prop; in drm_plane_create_zpos_property() 401 struct drm_property *prop; in drm_plane_create_zpos_immutable_property() local 405 if (!prop) in drm_plane_create_zpos_immutable_property() 566 struct drm_property *prop; in drm_plane_create_blend_mode_property() local [all …]
|
/netbsd/external/cddl/osnet/dist/common/zfs/ |
H A D | zprop_common.c | 83 pd = &prop_tbl[prop]; in zprop_register_impl() 196 prop = ZPROP_CONT; in zprop_iter_common() 210 return (prop); in zprop_iter_common() 252 return (prop); in zprop_name_to_prop_cb() 260 int prop; in zprop_name_to_prop() local 269 return (prop == ZPROP_CONT ? ZPROP_INVAL : prop); in zprop_name_to_prop() 280 if (prop == ZPROP_INVAL || prop == ZPROP_CONT) in zprop_string_to_index() 306 if (prop == ZPROP_INVAL || prop == ZPROP_CONT) in zprop_index_to_string() 348 ASSERT(prop != ZPROP_INVAL && prop != ZPROP_CONT); in zprop_values() 364 if (prop == ZPROP_INVAL || prop == ZPROP_CONT) in zprop_valid_for_type() [all …]
|
H A D | zpool_prop.c | 149 zpool_prop_to_name(zpool_prop_t prop) in zpool_prop_to_name() argument 151 return (zpool_prop_table[prop].pd_name); in zpool_prop_to_name() 155 zpool_prop_get_type(zpool_prop_t prop) in zpool_prop_get_type() argument 157 return (zpool_prop_table[prop].pd_proptype); in zpool_prop_get_type() 161 zpool_prop_readonly(zpool_prop_t prop) in zpool_prop_readonly() argument 167 zpool_prop_default_string(zpool_prop_t prop) in zpool_prop_default_string() argument 221 zpool_prop_values(zpool_prop_t prop) in zpool_prop_values() argument 223 return (zpool_prop_table[prop].pd_values); in zpool_prop_values() 227 zpool_prop_column_name(zpool_prop_t prop) in zpool_prop_column_name() argument 229 return (zpool_prop_table[prop].pd_colname); in zpool_prop_column_name() [all …]
|
H A D | zfs_prop.c | 472 zfs_prop_delegatable(zfs_prop_t prop) in zfs_prop_delegatable() argument 477 if (prop == ZFS_PROP_MLSLABEL) in zfs_prop_delegatable() 536 zfs_userquota_prop_t prop; in zfs_prop_userquota() local 538 for (prop = 0; prop < ZFS_NUM_USERQUOTA_PROPS; prop++) { in zfs_prop_userquota() 592 zfs_prop_get_type(zfs_prop_t prop) in zfs_prop_get_type() argument 601 zfs_prop_readonly(zfs_prop_t prop) in zfs_prop_readonly() argument 611 zfs_prop_setonce(zfs_prop_t prop) in zfs_prop_setonce() argument 633 zfs_prop_to_name(zfs_prop_t prop) in zfs_prop_to_name() argument 642 zfs_prop_inheritable(zfs_prop_t prop) in zfs_prop_inheritable() argument 655 zfs_prop_values(zfs_prop_t prop) in zfs_prop_values() argument [all …]
|
/netbsd/games/adventure/ |
H A D | subr.c | 99 i = prop[bottle]; in liq() 464 prop[chasm] = 1; in trbridge() 465 prop[troll] = 2; in trbridge() 468 prop[bear] = 3; in trbridge() 536 if (prop[emerald] != -1 && prop[pyramid] == -1) in checkhints() 638 prop[bird] = 0; in dropper() 842 prop[rug] = 0; in trkill() 910 prop[axe] = 1; in trtoss() 957 prop[axe] = 0; in trfeed() 1006 prop[grate] = prop[fissure] = 0; in closing() [all …]
|
H A D | main.c | 139 prop[obj] = 0; in main() 141 prop[obj] = 1; in main() 165 prop[i] = -1 - prop[i]; in main() 204 prop[batter] = 1; in main() 213 prop[lamp] = 0; in main() 515 prop[lamp] = 1; in main() 524 prop[lamp] = 0; in main() 535 prop[fissure] = 1 - prop[fissure]; in main() 588 prop[plant] = (prop[plant] + 2) % 6; in main() 589 prop[plant2] = prop[plant] / 2; in main() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/property/ |
H A D | property_query.c | 39 return prop->type; in ossl_property_get_type() 47 if (prop != NULL && prop->type == OSSL_PROPERTY_TYPE_STRING) in ossl_property_get_string_value() 48 value = ossl_property_value_str(libctx, prop->v.str_val); in ossl_property_get_string_value() 56 if (prop != NULL && prop->type == OSSL_PROPERTY_TYPE_NUMBER) in ossl_property_get_number_value() 57 value = prop->v.int_val; in ossl_property_get_number_value() 70 const OSSL_PROPERTY_DEFINITION *prop; in ossl_property_is_enabled() local 74 if (prop == NULL || prop->optional || prop->oper == OSSL_PROPERTY_OVERRIDE) in ossl_property_is_enabled() 76 return (prop->type == OSSL_PROPERTY_TYPE_STRING in ossl_property_is_enabled() 77 && ((prop->oper == OSSL_PROPERTY_OPER_EQ in ossl_property_is_enabled() 78 && prop->v.str_val == OSSL_PROPERTY_TRUE) in ossl_property_is_enabled() [all …]
|
H A D | property_parse.c | 330 prop = OPENSSL_malloc(sizeof(*prop)); in ossl_parse_property() 331 if (prop == NULL) in ossl_parse_property() 333 memset(&prop->v, 0, sizeof(prop->v)); in ossl_parse_property() 334 prop->optional = 0; in ossl_parse_property() 357 prop = NULL; in ossl_parse_property() 368 OPENSSL_free(prop); in ossl_parse_property() 387 prop = OPENSSL_malloc(sizeof(*prop)); in ossl_parse_query() 388 if (prop == NULL) in ossl_parse_query() 390 memset(&prop->v, 0, sizeof(prop->v)); in ossl_parse_query() 420 prop = NULL; in ossl_parse_query() [all …]
|
H A D | defn_cache.c | 26 const char *prop; member 35 return OPENSSL_LH_strhash(a->prop); in property_defn_hash() 41 return strcmp(a->prop, b->prop); in property_defn_cmp() 71 OSSL_PROPERTY_LIST *ossl_prop_defn_get(OSSL_LIB_CTX *ctx, const char *prop) in ossl_prop_defn_get() argument 82 elem.prop = prop; in ossl_prop_defn_get() 95 int ossl_prop_defn_set(OSSL_LIB_CTX *ctx, const char *prop, in ossl_prop_defn_set() argument 109 if (prop == NULL) in ossl_prop_defn_set() 114 elem.prop = prop; in ossl_prop_defn_set() 125 len = strlen(prop); in ossl_prop_defn_set() 128 p->prop = p->body; in ossl_prop_defn_set() [all …]
|
/netbsd/sys/dev/fdt/ |
H A D | fdt_subr.c | 375 const char *prop; in fdtbus_get_stdout_path() local 380 if (prop != NULL) in fdtbus_get_stdout_path() 381 return prop; in fdtbus_get_stdout_path() 395 if (prop == NULL) in fdtbus_get_stdout_phandle() 399 len = p == NULL ? strlen(prop) : (p - prop); in fdtbus_get_stdout_phandle() 400 if (*prop != '/') { in fdtbus_get_stdout_phandle() 402 prop = fdt_get_alias_namelen(fdtbus_get_data(), prop, len); in fdtbus_get_stdout_phandle() 403 if (prop == NULL) in fdtbus_get_stdout_phandle() 420 if (prop == NULL) in fdtbus_get_stdout_speed() 438 if (prop == NULL) in fdtbus_get_stdout_flags() [all …]
|
/netbsd/sys/dev/ofw/ |
H A D | ofw_subr.c | 202 char *prop, propbuf[OFW_MAX_STACK_BUF_SIZE]; in of_compatible() local 224 kmem_tmpbuf_free(prop, proplen, propbuf); in of_compatible() 260 char *prop, propbuf[OFW_MAX_STACK_BUF_SIZE]; in of_compatible_match() local 277 kmem_tmpbuf_free(prop, proplen, propbuf); in of_compatible_match() 325 kmem_tmpbuf_free(prop, proplen, propbuf); in of_compatible_lookup() 472 uint32_t prop; in of_to_uint32_prop() local 474 if (OF_getprop(node, ofname, &prop, sizeof(prop)) != sizeof(prop)) in of_to_uint32_prop() 489 uint8_t prop[256]; in of_to_dataprop() local 491 len = OF_getprop(node, ofname, prop, 256); in of_to_dataprop() 564 of_hasprop(int node, const char *prop) in of_hasprop() argument [all …]
|
/netbsd/games/monop/ |
H A D | monop.c | 149 PROP prop[N_PROP] = { /* typical properties */ variable 181 {"Baltic Ave. (P)", -1, PRPTY, &prop[1], 60 }, 184 {"Oriental Ave. (L)", -1, PRPTY, &prop[2], 100 }, 186 {"Vermont Ave. (L)", -1, PRPTY, &prop[3], 100 }, 191 {"States Ave. (V)", -1, PRPTY, &prop[6], 140 }, 192 {"Virginia Ave. (V)", -1, PRPTY, &prop[7], 160 }, 194 {"St. James Pl. (O)", -1, PRPTY, &prop[8], 180 }, 201 {"Indiana Ave. (R)", -1, PRPTY, &prop[12], 220 }, 205 {"Ventnor Ave. (Y)", -1, PRPTY, &prop[15], 260 }, 215 {"Park Place (D)", -1, PRPTY, &prop[20], 350 }, [all …]
|
/netbsd/sys/external/bsd/libfdt/dist/ |
H A D | fdt_rw.c | 179 if (!*prop) in fdt_resize_property_() 186 (*prop)->len = cpu_to_fdt32(len); in fdt_resize_property_() 218 (*prop)->len = cpu_to_fdt32(len); in fdt_add_property_() 248 struct fdt_property *prop; in fdt_setprop_placeholder() local 259 *prop_data = prop->data; in fdt_setprop_placeholder() 281 struct fdt_property *prop; in fdt_appendprop() local 287 if (prop) { in fdt_appendprop() 294 prop->len = cpu_to_fdt32(newlen); in fdt_appendprop() 300 memcpy(prop->data, val, len); in fdt_appendprop() 307 struct fdt_property *prop; in fdt_delprop() local [all …]
|
/netbsd/external/gpl3/binutils/dist/gprof/ |
H A D | cg_arcs.c | 170 if (parent->cg.prop.fract == 0.0) in propagate_time() 266 cyc->cg.prop.self = cyc->cg.prop.fract * cyc->hist.time; in cycle_time() 370 child->cg.prop.fract = 0.0; in inherit_flags() 386 child->cg.prop.fract += parent->cg.prop.fract in inherit_flags() 398 head->cg.prop.fract = 0.0; in inherit_flags() 416 head->cg.prop.fract += parent->cg.prop.fract in inherit_flags() 424 member->cg.prop.fract = head->cg.prop.fract; in inherit_flags() 518 child->cg.prop.self = child->hist.time * child->cg.prop.fract; in propagate_flags() 544 diff = (left->cg.prop.self + left->cg.prop.child) in cmp_total() 545 - (right->cg.prop.self + right->cg.prop.child); in cmp_total() [all …]
|
/netbsd/external/gpl3/binutils.old/dist/gprof/ |
H A D | cg_arcs.c | 170 if (parent->cg.prop.fract == 0.0) in propagate_time() 266 cyc->cg.prop.self = cyc->cg.prop.fract * cyc->hist.time; in cycle_time() 370 child->cg.prop.fract = 0.0; in inherit_flags() 386 child->cg.prop.fract += parent->cg.prop.fract in inherit_flags() 398 head->cg.prop.fract = 0.0; in inherit_flags() 416 head->cg.prop.fract += parent->cg.prop.fract in inherit_flags() 424 member->cg.prop.fract = head->cg.prop.fract; in inherit_flags() 518 child->cg.prop.self = child->hist.time * child->cg.prop.fract; in propagate_flags() 544 diff = (left->cg.prop.self + left->cg.prop.child) in cmp_total() 545 - (right->cg.prop.self + right->cg.prop.child); in cmp_total() [all …]
|
/netbsd/external/gpl3/gdb/dist/gprof/ |
H A D | cg_arcs.c | 170 if (parent->cg.prop.fract == 0.0) in propagate_time() 266 cyc->cg.prop.self = cyc->cg.prop.fract * cyc->hist.time; in cycle_time() 370 child->cg.prop.fract = 0.0; in inherit_flags() 386 child->cg.prop.fract += parent->cg.prop.fract in inherit_flags() 398 head->cg.prop.fract = 0.0; in inherit_flags() 416 head->cg.prop.fract += parent->cg.prop.fract in inherit_flags() 424 member->cg.prop.fract = head->cg.prop.fract; in inherit_flags() 518 child->cg.prop.self = child->hist.time * child->cg.prop.fract; in propagate_flags() 544 diff = (left->cg.prop.self + left->cg.prop.child) in cmp_total() 545 - (right->cg.prop.self + right->cg.prop.child); in cmp_total() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gprof/ |
H A D | cg_arcs.c | 170 if (parent->cg.prop.fract == 0.0) in propagate_time() 266 cyc->cg.prop.self = cyc->cg.prop.fract * cyc->hist.time; in cycle_time() 370 child->cg.prop.fract = 0.0; in inherit_flags() 386 child->cg.prop.fract += parent->cg.prop.fract in inherit_flags() 398 head->cg.prop.fract = 0.0; in inherit_flags() 416 head->cg.prop.fract += parent->cg.prop.fract in inherit_flags() 424 member->cg.prop.fract = head->cg.prop.fract; in inherit_flags() 518 child->cg.prop.self = child->hist.time * child->cg.prop.fract; in propagate_flags() 544 diff = (left->cg.prop.self + left->cg.prop.child) in cmp_total() 545 - (right->cg.prop.self + right->cg.prop.child); in cmp_total() [all …]
|
/netbsd/external/mpl/bind/dist/bin/python/isc/ |
H A D | dnskey.py.in | 147 self._original[prop] = self._timestamps[prop] 169 if prop in self._delete and self._delete[prop]: 195 self._original[prop] = self._timestamps[prop] 333 raise TimePast(self, prop, self._original[prop]) 336 self._changed[prop] = False if self._original[prop] is None else True 346 self._times[prop] = t 348 self._changed[prop] = ( 349 False if self._original[prop] == self._timestamps[prop] else True 352 def gettime(self, prop): argument 353 return self._times[prop] [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/i915/display/ |
H A D | intel_connector.c | 229 struct drm_property *prop; in intel_attach_force_audio_property() local 231 prop = dev_priv->force_audio_property; in intel_attach_force_audio_property() 232 if (prop == NULL) { in intel_attach_force_audio_property() 233 prop = drm_property_create_enum(dev, 0, in intel_attach_force_audio_property() 237 if (prop == NULL) in intel_attach_force_audio_property() 240 dev_priv->force_audio_property = prop; in intel_attach_force_audio_property() 256 struct drm_property *prop; in intel_attach_broadcast_rgb_property() local 258 prop = dev_priv->broadcast_rgb_property; in intel_attach_broadcast_rgb_property() 259 if (prop == NULL) { in intel_attach_broadcast_rgb_property() 264 if (prop == NULL) in intel_attach_broadcast_rgb_property() [all …]
|
/netbsd/usr.sbin/ofctl/ |
H A D | ofctl.c | 114 prop = malloc(sizeof(*prop) + strlen(name) + 1); in of_tree_mkprop() 115 if (prop == NULL) in of_tree_mkprop() 118 memset(prop, 0, sizeof(*prop)); in of_tree_mkprop() 119 prop->prop_name = (char *) (prop + 1); in of_tree_mkprop() 121 memcpy(prop->prop_name, name, prop->prop_namelen+1); in of_tree_mkprop() 135 prop->prop_data = malloc(prop->prop_length); in of_tree_mkprop() 136 prop_data_copy_value(obj, prop->prop_data, prop->prop_length); in of_tree_mkprop() 442 return prop; in of_tree_getprop() 449 return (prop != NULL) ? (int)prop->prop_length : -1; in OF_getproplen() 456 if (prop == NULL) in OF_getprop() [all …]
|
/netbsd/external/gpl2/dtc/dist/tests/ |
H A D | test_tree1_label_noderef.dts | 8 prop-int = <0xdeadbeef>; 9 prop-int64 = /bits/ 64 <0xdeadbeef01abcdef>; 10 prop-str = "hello world"; 17 prop-int = [deadbeef]; 22 prop-int = <0xdeadbeef>; 32 prop-int = <123456789>; 38 prop-int = <0xbad>; 49 prop-int = <123456789>; 54 prop-int = <0726746425>;
|