/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 921011-2.c | 47 register frotz *prop; local 49 for (i = ncmaps, map = cmaps, prop = data; i > 0; i--, map++, prop++) 51 map->colormap = prop->colormap; 52 map->red_max = prop->red_max; 53 map->red_mult = prop->red_mult; 54 map->green_max = prop->green_max; 55 map->green_mult = prop->green_mult; 56 map->blue_max = prop->blue_max; 57 map->blue_mult = prop [all...] |
/openbsd-current/games/monop/ |
H A D | morg.c | 78 int prop; local 94 prop = getinp("Which property do you want to mortgage? ", names); 95 if (prop == num_good) 97 m(square[prop]); 127 m(int prop) argument 131 price = board[prop].cost/2; 132 board[prop].desc->morg = TRUE; 144 int prop; local 157 prop = getinp("Which property do you want to unmortgage? ", names); 158 if (prop 185 unm(int prop) argument [all...] |
/openbsd-current/sys/dev/pci/drm/ |
H A D | drm_mode_config.c | 223 struct drm_property *prop; local 230 prop = drm_property_create_enum(dev, DRM_MODE_PROP_IMMUTABLE, 233 if (!prop) 235 dev->mode_config.plane_type_property = prop; 237 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, 239 if (!prop) 241 dev->mode_config.prop_src_x = prop; 243 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, 245 if (!prop) 247 dev->mode_config.prop_src_y = prop; [all...] |
H A D | drm_blend.c | 221 struct drm_property *prop; local 223 prop = drm_property_create_range(plane->dev, 0, "alpha", 225 if (!prop) 228 drm_object_attach_property(&plane->base, prop, DRM_BLEND_ALPHA_OPAQUE); 229 plane->alpha_property = prop; 284 struct drm_property *prop; local 290 prop = drm_property_create_bitmask(plane->dev, 0, "rotation", 293 if (!prop) 296 drm_object_attach_property(&plane->base, prop, rotation); 301 plane->rotation_property = prop; 373 struct drm_property *prop; local 411 struct drm_property *prop; local 575 struct drm_property *prop; local [all...] |
H A D | drm_atomic_state_helper.c | 495 struct drm_property *prop; local 498 prop = dev->mode_config.tv_mode_property; 499 if (prop) 501 prop, &val)) 507 prop = dev->mode_config.tv_select_subconnector_property; 508 if (prop) 510 prop, &val)) 513 prop = dev->mode_config.tv_subconnector_property; 514 if (prop) 516 prop, [all...] |
H A D | drm_mode_object.c | 415 struct drm_property *prop = obj->properties->properties[i]; local 418 if ((prop->flags & DRM_MODE_PROP_ATOMIC) && !atomic) 422 ret = __drm_object_property_get_value(obj, prop, &val); 426 if (put_user(prop->base.id, prop_ptr + count)) 503 struct drm_property *prop, 506 struct drm_device *dev = prop->dev; 511 if (!drm_property_change_valid_get(prop, prop_value, &ref)) 517 ret = drm_connector_set_obj_prop(obj, prop, prop_value); 520 ret = drm_mode_crtc_set_obj_prop(obj, prop, prop_value); 524 prop, prop_valu 502 set_property_legacy(struct drm_mode_object *obj, struct drm_property *prop, uint64_t prop_value) argument 533 set_property_atomic(struct drm_mode_object *obj, struct drm_file *file_priv, struct drm_property *prop, uint64_t prop_value) argument [all...] |
/openbsd-current/usr.sbin/ldomctl/ |
H A D | mdesc.c | 128 struct md_prop *prop; local 130 TAILQ_FOREACH(prop, &node->prop_list, link) { 131 if (prop->tag == MD_PROP_ARC && 132 strcmp(prop->name->str, "fwd") == 0 && 133 strcmp(prop->d.arc.node->name->str, name) == 0) 134 return prop->d.arc.node; 163 struct md_prop *prop; local 165 TAILQ_FOREACH(prop, &node->prop_list, link) { 166 if (strcmp(prop->name->str, name) == 0) 167 return prop; 176 struct md_prop *prop; local 189 struct md_prop *prop; local 202 struct md_prop *prop; local 215 struct md_prop *prop; local 228 struct md_prop *prop; local 238 md_delete_prop(struct md *md, struct md_node *node, struct md_prop *prop) argument 251 struct md_prop *prop; local 265 struct md_prop *prop; local 279 struct md_prop *prop; local 293 struct md_prop *prop; local 308 struct md_prop *prop; local 323 struct md_prop *prop, *prop2; local 378 struct md_prop *prop; local 392 struct md_prop *prop; local 426 struct md_prop *prop; local 510 struct md_prop *prop; local [all...] |
H A D | config.c | 147 struct md_prop *prop; local 151 TAILQ_FOREACH(prop, &node->prop_list, link) { 152 if (prop->tag == MD_PROP_ARC && 153 strcmp(prop->name->str, "back") == 0) { 154 node2 = prop->d.arc.node; 425 struct md_prop *prop; local 453 TAILQ_FOREACH(prop, &node->prop_list, link) { 454 if (prop->tag == MD_PROP_ARC && 455 strcmp(prop->name->str, "fwd") == 0) { 456 node2 = prop 518 struct md_prop *prop; local 599 struct md_prop *prop; local 653 struct md_prop *prop; local 691 struct md_prop *prop; local 795 struct md_prop *prop; local 895 struct md_prop *prop; local 1674 struct md_prop *prop; local 1750 struct md_prop *prop; local 1823 struct md_prop *prop; local 2110 struct md_prop *prop; local 2216 struct md_prop *prop, *prop2; local 2262 struct md_prop *prop, *prop2; local 2333 struct md_prop *prop, *prop2; local 2397 struct md_prop *prop; local 2417 struct md_prop *prop; local 2690 struct md_prop *prop, *prop2; local [all...] |
/openbsd-current/games/adventure/ |
H A D | subr.c | 83 i = prop[bottle]; 120 if ((cond[loc] % 2) == 0 && (prop[lamp] == 0 || !here(lamp))) 201 if (loc == chloc || prop[chest] >= 0) 214 && here(lamp) && prop[lamp] == 1) 347 if (prop[k] != (newloc / 100) - 3) 423 if (prop[troll] == 1) { 425 prop[troll] = 0; 435 if (prop[troll] == 0) 436 prop[troll] = 1; 440 prop[chas [all...] |
H A D | main.c | 90 int place[101], prop[101], linkx[201]; variable 187 if (prop[obj] < 0) { 190 prop[obj] = 0; 192 prop[obj] = 1; 198 ll = prop[obj]; /* 2006 */ 212 if (prop[oyster] < 0 && toting(oyster)) 215 if (toting(i) && prop[i] < 0) /* 2604 */ 216 prop[i] = -1 - prop[i]; 251 if (prop[lam [all...] |
H A D | done.c | 60 if (prop[i] >= 0) 62 if (place[i] == 3 && prop[i] == 0) 155 prop[lamp] = 0;
|
/openbsd-current/sys/arch/sparc64/include/ |
H A D | openfirm.h | 52 int OF_getproplen (int handle, char *prop); 61 int OF_searchprop (int node, char *prop, void *buf, int buflen);
|
/openbsd-current/sys/arch/macppc/stand/ |
H A D | openfirm.h | 42 int OF_getprop(int handle, char *prop, void *buf, int buflen); 44 int OF_setprop(int handle, char *prop, void *buf, int len);
|
/openbsd-current/sys/arch/macppc/macppc/ |
H A D | openfirm.c | 127 OF_getproplen(int handle, char *prop) argument 134 char *prop; member in struct:__anon14 146 args.prop = prop; 156 OF_getprop(int handle, char *prop, void *buf, int buflen) argument 163 char *prop; member in struct:__anon15 179 args.prop = prop; 194 OF_setprop(int handle, char *prop, const void *buf, int buflen) argument 201 char *prop; member in struct:__anon16 230 OF_nextprop(int handle, char *prop, void *nextprop) argument 237 const char *prop; member in struct:__anon17 [all...] |
/openbsd-current/sys/dev/pci/drm/amd/amdkfd/ |
H A D | kfd_kernel_queue.c | 44 struct queue_properties prop; local 54 memset(&prop, 0, sizeof(prop)); 78 prop.doorbell_ptr = kfd_get_kernel_doorbell(dev->kfd, &prop.doorbell_off); 80 if (!prop.doorbell_ptr) { 128 prop.queue_size = queue_size; 129 prop.is_interop = false; 130 prop.is_gws = false; 131 prop [all...] |
/openbsd-current/gnu/llvm/libcxx/utils/ |
H A D | generate_extended_grapheme_cluster_table.py | 28 prop: str = None 35 prop: int = -1 39 r"^(?P<lower>[0-9A-F]{4,5})(?:\.\.(?P<upper>[0-9A-F]{4,5}))?\s*;\s*(?P<prop>\w+)" 46 lower_str, upper_str, result.prop = m.group("lower", "upper", "prop") 68 and result[-1].prop == x.prop 250 e = Entry(range.lower, range.upper - range.lower, props.index(range.prop)) 265 prop_values = sorted(set(x.prop for x in ranges)) 277 cpp_entrytemplate.format(x.lower << 11 | x.offset << 4 | x.prop) [all...] |
/openbsd-current/sys/dev/pci/drm/i915/display/ |
H A D | intel_connector.c | 227 struct drm_property *prop; local 229 prop = dev_priv->display.properties.force_audio; 230 if (prop == NULL) { 231 prop = drm_property_create_enum(dev, 0, 235 if (prop == NULL) 238 dev_priv->display.properties.force_audio = prop; 240 drm_object_attach_property(&connector->base, prop, 0); 254 struct drm_property *prop; local 256 prop = dev_priv->display.properties.broadcast_rgb; 257 if (prop [all...] |
/openbsd-current/gnu/usr.bin/binutils/gprof/ |
H A D | cg_arcs.c | 178 if (parent->cg.prop.fract == 0.0) 188 if (arc->count == 0 || child == parent || child->cg.prop.fract == 0) 225 /* (1 - cg.prop.fract) gets lost along the way: */ 226 prop_share = parent->cg.prop.fract * share; 229 parent->cg.prop.child += prop_share; 230 arc->time *= parent->cg.prop.fract; 231 arc->child_time *= parent->cg.prop.fract; 237 parent->cg.cyc.head->cg.prop.child += prop_share; 264 if (member->cg.prop.fract == 0.0) 274 cyc->cg.prop [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/gprof/ |
H A D | cg_arcs.c | 170 if (parent->cg.prop.fract == 0.0) 180 if (arc->count == 0 || child == parent || child->cg.prop.fract == 0) 217 /* (1 - cg.prop.fract) gets lost along the way: */ 218 prop_share = parent->cg.prop.fract * share; 221 parent->cg.prop.child += prop_share; 222 arc->time *= parent->cg.prop.fract; 223 arc->child_time *= parent->cg.prop.fract; 229 parent->cg.cyc.head->cg.prop.child += prop_share; 256 if (member->cg.prop.fract == 0.0) 266 cyc->cg.prop [all...] |
/openbsd-current/sys/arch/sparc64/stand/ofwboot/ |
H A D | openfirm.h | 44 u_int OF_getprop(u_int handle, char *prop, void *buf, int buflen); 46 int OF_setprop(u_int handle, char *prop, void *buf, int len);
|
/openbsd-current/regress/usr.bin/ssh/unittests/kex/ |
H A D | test_proposal.c | 87 char *prop[PROPOSAL_MAX], *kexalgs, *ciphers, *macs, *hkalgs; local 103 kex_proposal_populate_entries(&ssh, prop, NULL, NULL, 105 kex_proposal_free_entries(prop); 106 kex_proposal_populate_entries(&ssh, prop, kexalgs, 108 kex_proposal_free_entries(prop);
|
/openbsd-current/usr.sbin/ldomd/ |
H A D | var-config.c | 75 struct md_prop *prop; local 86 prop = md_add_prop_str(md, node, name, value); 87 if (prop == NULL) 99 struct md_prop *prop; local 105 prop = md_find_prop(md, node, name); 106 if (prop == NULL) 109 md_delete_prop(md, node, prop);
|
/openbsd-current/sbin/iked/ |
H A D | config.c | 277 config_free_proposal(struct iked_proposals *head, struct iked_proposal *prop) argument 279 TAILQ_REMOVE(head, prop, prop_entry); 280 if (prop->prop_nxforms) 281 free(prop->prop_xforms); 282 free(prop); 288 struct iked_proposal *prop, *proptmp; local 290 TAILQ_FOREACH_SAFE(prop, head, prop_entry, proptmp) { 292 if (proto != 0 && prop->prop_protoid != proto) 295 log_debug("%s: free %p", __func__, prop); 297 config_free_proposal(head, prop); 352 config_add_transform(struct iked_proposal *prop, unsigned int type, unsigned int id, unsigned int length, unsigned int keylength) argument 430 struct iked_proposal *prop; local 728 struct iked_proposal *prop; local 802 struct iked_proposal pp, *prop; local [all...] |
/openbsd-current/sys/arch/riscv64/riscv64/ |
H A D | machdep.c | 593 char *prop; local 596 len = fdt_node_property(node, "timebase-frequency", &prop); 598 tb_freq = bemtoh32((uint32_t *)prop); 603 char *prop; local 607 len = fdt_node_property(node, "boot-hartid", &prop); 609 boot_hart = bemtoh32((uint32_t *)prop); 611 len = fdt_node_property(node, "bootargs", &prop); 613 collect_kernel_args(prop); 615 len = fdt_node_property(node, "openbsd,boothowto", &prop); 617 boothowto = bemtoh32((uint32_t *)prop); [all...] |
/openbsd-current/sys/dev/ofw/ |
H A D | openfirm.h | 51 int OF_getproplen(int handle, char *prop); 52 int OF_getprop(int handle, char *prop, void *buf, int buflen);
|