| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| rb_tree.h | 86 * \param field The rb_node field in the containing data structure 88 #define rb_node_data(type, node, field) \ 89 ((type *)(((char *)(node)) - offsetof(type, field))) 237 * \param field The rb_node field in containing data structure 239 #define rb_tree_node_next_if_available(type, node, field) \ 240 (&node->field != NULL) ? rb_node_data(type, rb_node_next(&node->field), field) : nod [all...] |
| /xsrc/external/mit/libxcb/dist/src/ |
| c_client.py | 388 all Field and Type objects. Here is where we figure out most of our 439 for field in self.fields: 440 if field.type.is_event: 441 field.c_field_type = _t(field.field_type + ('event',)) 443 field.c_field_type = _t(field.field_type) 445 field.c_field_const_type = ('' if field.type.nmemb == 1 else 'const ') + field.c_field_typ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/genxml/ |
| gen_pack_header.py | 227 class Field(object): 240 'field {} has end ({}) < start ({})'.format(self.name, self.end, 244 'bool field ({}) is too wide'.format(self.name) 257 ufixed_match = Field.ufixed_pattern.match(self.type) 262 sfixed_match = Field.sfixed_pattern.match(self.type) 333 for field in self.fields: 334 field.emit_template_struct(dim) 343 for field in self.fields: 344 if isinstance(field, Group): 345 if field.count == 1 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/broadcom/cle/ |
| gen_pack_header.py | 93 class Field(object): 106 # packet <field> entries in XML start from the bit after the 108 # Field for the opcode. 116 print("#error Field {} has bool type but more than one bit of size".format(self.name)); 134 ufixed_match = Field.ufixed_pattern.match(self.type) 139 sfixed_match = Field.sfixed_pattern.match(self.type) 181 def overlaps(self, field): 182 return self != field and max(self.start, field.start) <= min(self.end, field.end [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/broadcom/cle/ |
| gen_pack_header.py | 97 class Field(object): 110 # packet <field> entries in XML start from the bit after the 112 # Field for the opcode. 120 print("#error Field {} has bool type but more than one bit of size".format(self.name)); 138 ufixed_match = Field.ufixed_pattern.match(self.type) 143 sfixed_match = Field.sfixed_pattern.match(self.type) 185 def overlaps(self, field): 186 return self != field and max(self.start, field.start) <= min(self.end, field.end [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/genxml/ |
| gen_pack_header.py | 206 class Field(object): 219 'field {} has end ({}) < start ({})'.format(self.name, self.end, 223 'bool field ({}) is too wide'.format(self.name) 236 ufixed_match = Field.ufixed_pattern.match(self.type) 241 sfixed_match = Field.sfixed_pattern.match(self.type) 312 for field in self.fields: 313 field.emit_template_struct(dim) 322 for field in self.fields: 323 if isinstance(field, Group): 324 if field.count == 1 [all...] |
| /xsrc/external/mit/xkbcomp/dist/ |
| action.c | 217 fieldText(unsigned field) 221 switch (field) 302 ReportMismatch(unsigned action, unsigned field, const char *type) 304 ERROR("Value of %s field must be of type %s\n", fieldText(field), type); 311 ReportIllegal(unsigned action, unsigned field) 313 ERROR("Field %s is not defined for an action of type %s\n", 314 fieldText(field), XkbActionTypeText(action, XkbMessage)); 320 ReportActionNotArray(unsigned action, unsigned field) 322 ERROR("The %s field in the %s action is not an array\n" 1376 ExprDef *field, *value, *arrayRtrn; local [all...] |
| indicators.c | 202 SetIndicatorMapField(LEDInfo *led, XkbDescPtr xkb, const char *field, 209 if ((uStrCaseCmp(field, "modifiers") == 0) 210 || (uStrCaseCmp(field, "mods") == 0)) 213 return ReportIndicatorNotArray(xkb->dpy, led, field); 215 return ReportIndicatorBadType(xkb->dpy, led, field, 221 else if (uStrCaseCmp(field, "groups") == 0) 224 return ReportIndicatorNotArray(xkb->dpy, led, field); 227 return ReportIndicatorBadType(xkb->dpy, led, field, "group mask"); 231 else if ((uStrCaseCmp(field, "controls") == 0) || 232 (uStrCaseCmp(field, "ctrls") == 0) 343 ExprResult elem, field; local [all...] |
| expr.c | 52 strcpy(buf, "field reference"); 141 elem_rtrn->str = XkbAtomGetString(NULL, expr->value.field.element); 142 field_rtrn->str = XkbAtomGetString(NULL, expr->value.field.field); 147 field_rtrn->str = XkbAtomGetString(NULL, expr->value.array.field); 161 Atom elem, Atom field, unsigned type, ExprResult *val_rtrn) 166 (field == None) || (elem != None) || 171 str = XkbAtomGetString(NULL, field); 188 Atom elem, Atom field, unsigned type, ExprResult *val_rtrn) 193 if ((field == None) || (elem != None) || (type != TypeInt) [all...] |
| /xsrc/external/mit/xvidtune/dist/ |
| xvidtune.c | 90 ScrollData field[fields_num]; member in struct:_AppResources 120 XtOffsetOf(struct _AppResources, field[HSyncStart].range), 123 XtOffsetOf(struct _AppResources, field[HSyncEnd].range), 126 XtOffsetOf(struct _AppResources, field[HTotal].range), 129 XtOffsetOf(struct _AppResources, field[VSyncStart].range), 132 XtOffsetOf(struct _AppResources, field[VSyncEnd].range), 135 XtOffsetOf(struct _AppResources, field[VTotal].range), 182 AppRes.field[HDisplay].val = mode_line.hdisplay; 183 AppRes.field[HSyncStart].val = mode_line.hsyncstart; 184 AppRes.field[HSyncEnd].val = mode_line.hsyncend [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/ |
| xaawrap.h | 2 #define XAA_SCREEN_PROLOGUE(pScreen, field)\ 3 ((pScreen)->field = \ 4 ((XAAScreenPtr)dixLookupPrivate(&(pScreen)->devPrivates, XAAGetScreenKey()))->field) 6 #define XAA_SCREEN_EPILOGUE(pScreen, field, wrapper)\ 7 ((pScreen)->field = wrapper) 64 #define XAA_RENDER_PROLOGUE(pScreen,field)\ 65 (GetPictureScreen(pScreen)->field = \ 66 ((XAAScreenPtr)dixLookupPrivate(&(pScreen)->devPrivates, XAAGetScreenKey()))->field) 68 #define XAA_RENDER_EPILOGUE(pScreen, field, wrapper)\ 69 (GetPictureScreen(pScreen)->field = wrapper [all...] |
| /xsrc/external/mit/libdrm/dist/radeon/ |
| radeon_surface.h | 35 * mipmap level. 0 value for field than can be hint is always valid. 62 #define RADEON_SURF_GET(v, field) (((v) >> RADEON_SURF_ ## field ## _SHIFT) & RADEON_SURF_ ## field ## _MASK) 63 #define RADEON_SURF_SET(v, field) (((v) & RADEON_SURF_ ## field ## _MASK) << RADEON_SURF_ ## field ## _SHIFT) 64 #define RADEON_SURF_CLR(v, field) ((v) & ~(RADEON_SURF_ ## field ## _MASK << RADEON_SURF_ ## field ## _SHIFT) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/common/ |
| ac_drm_fourcc.h | 74 #define AMD_FMT_MOD_SET(field, value) \ 75 ((uint64_t)(value) << AMD_FMT_MOD_##field##_SHIFT) 76 #define AMD_FMT_MOD_GET(field, value) \ 77 (((value) >> AMD_FMT_MOD_##field##_SHIFT) & AMD_FMT_MOD_##field##_MASK)
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/isaspec/ |
| encode.py | 44 # ... encode field A ... 45 # ... encode field B ... 47 # // Third level - each display field can be potentially resolved 49 # // an if/else ladder for an individual display field 51 # ... encode field C ... 53 # ... encode field C ... 62 # Represents a concrete field, ie. a field can be overriden 63 # by an override, so the exact choice to encode a given field 66 def __init__(self, field, case) [all...] |
| isa.py | 59 def get_bitrange(field): 60 if 'pos' in field.attrib: 61 assert('low' not in field.attrib) 62 assert('high' not in field.attrib) 63 low = int(field.attrib['pos']) 66 low = int(field.attrib['low']) 67 high = int(field.attrib['high']) 102 """Class that encapsulates a field defined in a bitset 166 # field for that to make '1 + high - low' work out 201 for field in xml.findall('field') [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/decode/ |
| pgmdump2.c | 80 #define OFF(field) \ 83 printf("%08x: ", (uint32_t)((char *)&field - state->buf)); \ 86 /* decode field as hex */ 87 #define X(s, field) \ 89 OFF(s->field); \ 90 printf("%s%12s:\t0x%x\n", tab(state->lvl), #field, s->field); \ 93 /* decode field as digit */ 94 #define D(s, field) \ 96 OFF(s->field); \ [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/ |
| vc4_qpu_defines.h | 151 * Non-hardware mux value, stores a small immediate field to be 231 #define QPU_SET_FIELD(value, field) \ 233 uint64_t fieldval = (uint64_t)(value) << field ## _SHIFT; \ 234 assert((fieldval & ~ field ## _MASK) == 0); \ 235 fieldval & field ## _MASK; \ 238 #define QPU_GET_FIELD(word, field) ((uint32_t)(((word) & field ## _MASK) >> field ## _SHIFT)) 240 #define QPU_UPDATE_FIELD(inst, value, field) \ 241 (((inst) & ~(field ## _MASK)) | QPU_SET_FIELD(value, field) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| rb_tree.h | 86 * \param field The rb_node field in the containing data structure 88 #define rb_node_data(type, node, field) \ 89 ((type *)(((char *)(node)) - offsetof(type, field))) 242 * \param field The rb_node field in containing data structure 244 #define rb_tree_foreach(type, iter, T, field) \ 247 (iter = rb_node_data(type, (struct rb_node *)__node, field), true); \ 259 * \param field The rb_node field in containing data structur [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/ |
| vc4_qpu_defines.h | 151 * Non-hardware mux value, stores a small immediate field to be 231 #define QPU_SET_FIELD(value, field) \ 233 uint64_t fieldval = (uint64_t)(value) << field ## _SHIFT; \ 234 assert((fieldval & ~ field ## _MASK) == 0); \ 235 fieldval & field ## _MASK; \ 238 #define QPU_GET_FIELD(word, field) ((uint32_t)(((word) & field ## _MASK) >> field ## _SHIFT)) 240 #define QPU_UPDATE_FIELD(inst, value, field) \ 241 (((inst) & ~(field ## _MASK)) | QPU_SET_FIELD(value, field) [all...] |
| /xsrc/external/mit/libdrm/dist/vc4/ |
| vc4_qpu_defines.h | 148 * Non-hardware mux value, stores a small immediate field to be 211 #define QPU_SET_FIELD(value, field) \ 213 uint64_t fieldval = (uint64_t)(value) << field ## _SHIFT; \ 214 assert((fieldval & ~ field ## _MASK) == 0); \ 215 fieldval & field ## _MASK; \ 218 #define QPU_GET_FIELD(word, field) ((uint32_t)(((word) & field ## _MASK) >> field ## _SHIFT)) 220 #define QPU_UPDATE_FIELD(inst, value, field) \ 221 (((inst) & ~(field ## _MASK)) | QPU_SET_FIELD(value, field) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/common/ |
| intel_decoder.c | 245 * the length of the field to the start position to get the 313 struct intel_field *field; local 315 field = rzalloc(ctx->group, struct intel_field); 316 field->parent = ctx->group; 322 field->name = ralloc_strdup(field, atts[i + 1]); 323 if (strcmp(field->name, "DWord Length") == 0) { 324 field->parent->dword_length_field = field; 327 field->start = strtoul(atts[i + 1], &p, 0) 345 struct intel_field *field; local 376 struct intel_field *field = array ? local 488 struct intel_field *field = ctx->last_field; local 777 struct intel_field *field = group->fields; local 798 struct intel_field *field = group->dword_length_field; local [all...] |
| /xsrc/external/mit/xditview/dist/ |
| XFontName.c | 67 #define GetString(field,bit) do { \ 69 (name, temp.field, sizeof (temp.field),\ 74 #define GetUnsigned(field,bit) do { \ 76 (name, &temp.field, \ 130 #define PutString(field, bit) do { \ 132 fontName->field \ 147 #define PutUnsigned(field, bit) do { \ 149 utoa (fontName->field, number, sizeof (number)) \
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/common/ |
| gen_decoder.c | 245 * the length of the field to the start position to get the 313 struct gen_field *field; local 315 field = rzalloc(ctx->group, struct gen_field); 316 field->parent = ctx->group; 322 field->name = ralloc_strdup(field, atts[i + 1]); 323 if (strcmp(field->name, "DWord Length") == 0) { 324 field->parent->dword_length_field = field; 327 field->start = strtoul(atts[i + 1], &p, 0) 361 struct gen_field *field = create_field(ctx, atts); local 476 struct gen_field *field = ctx->last_field; local 763 struct gen_field *field = group->fields; local 784 struct gen_field *field = group->dword_length_field; local [all...] |
| /xsrc/external/mit/freetype/dist/ |
| autogen.sh | 92 # $5: option field index used to extract the tool version from the 97 field=$5 99 if test "$field"x = x; then 100 field=3 # default to 3 for all GNU autotools, after filtering enclosed string 102 version=`$1 --version | head -1 | sed 's/([^)]*)/()/g' | cut -d ' ' -f $field`
|
| /xsrc/external/mit/xedit/dist/lisp/ |
| struct.c | 105 /* p is invalid as a field name due to `type'-p */ 106 LispDestroy("%s: %s cannot be a field for %s", 112 /* check for repeated field names */ 184 LispObj *definition, *object, *field, *fields, *value = NIL, *cons, *list; local 190 field = cons = NIL; 218 field = CAR(list); 219 if (CONSP(field)) { 221 if (CONSP(CDR(field))) 222 defvalue = CAR(CDR(field)); 223 field = CAR(field) [all...] |