/netbsd/external/gpl2/lvm2/dist/lib/report/ |
H A D | columns.h | 77 FIELD(LVS, lv, STR, "LV Tags", tags, 7, tags, "lv_tags", "Tags, if any.") 81 FIELD(LABEL, pv, STR, "Fmt", id, 3, pvfmt, "pv_fmt", "Type of metadata.") 84 FIELD(LABEL, pv, STR, "PV", dev, 10, dev_name, "pv_name", "Name.") 95 FIELD(PVS, pv, STR, "PV Tags", tags, 7, tags, "pv_tags", "Tags, if any.") 98 FIELD(VGS, vg, STR, "Fmt", cmd, 3, vgfmt, "vg_fmt", "Type of metadata.") 99 FIELD(VGS, vg, STR, "VG UUID", id, 38, uuid, "vg_uuid", "Unique identifier.") 100 FIELD(VGS, vg, STR, "VG", name, 4, string, "vg_name", "Name.") 110 FIELD(VGS, vg, NUM, "#PV", pv_count, 3, uint32, "pv_count", "Number of PVs.") 111 FIELD(VGS, vg, NUM, "#LV", cmd, 3, lvcount, "lv_count", "Number of LVs.") 114 FIELD(VGS, vg, STR, "VG Tags", tags, 7, tags, "vg_tags", "Tags, if any.") [all …]
|
/netbsd/lib/libform/ |
H A D | form.h | 185 typedef struct _form_field FIELD; typedef 305 FIELD *dup_field(FIELD *, int, int); 307 char *field_arg(FIELD *); 308 chtype field_back(FIELD *); 311 chtype field_fore(FIELD *); 315 int field_just(FIELD *); 319 int field_pad(FIELD *); 339 FIELD *link_field(FIELD *, int, int); 345 FORM *new_form(FIELD **); 346 int new_page(FIELD *); [all …]
|
H A D | field.c | 88 static FIELD * 715 new_page(FIELD *field) in new_page() 744 static FIELD * 748 FIELD *new; in _formi_create_field() 774 FIELD * 777 FIELD *new; in new_field() 829 FIELD * 832 FIELD *new; in dup_field() 864 FIELD * 867 FIELD *new; in link_field() [all …]
|
H A D | field_types.c | 40 extern FIELD _formi_default_field; 116 set_field_type(FIELD *fptr, FIELDTYPE *type, ...) in set_field_type() 119 FIELD *field; in set_field_type() 141 field_type(FIELD *fptr) in field_type() 143 FIELD *field; in field_type() 155 field_arg(FIELD *fptr) in field_arg() 157 FIELD *field; in field_arg() 169 new_fieldtype(int (*field_check)(FIELD *, char *), in new_fieldtype() argument 233 set_fieldtype_choice(FIELDTYPE *fieldtype, int (*next_choice)(FIELD *, char *), in set_fieldtype_choice() argument 234 int (*prev_choice)(FIELD *, char *)) in set_fieldtype_choice() argument
|
H A D | form.c | 40 extern FIELD _formi_default_field; 302 set_form_fields(FORM *form, FIELD **fields) in set_form_fields() 362 FIELD ** 387 move_field(FIELD *fptr, int frow, int fcol) in move_field() 389 FIELD *field = (fptr == NULL) ? &_formi_default_field : fptr; in move_field() 447 set_current_field(FORM *form, FIELD *field) in set_current_field() 470 FIELD * 486 new_form(FIELD **fields) in new_form() 541 FIELD *cur; in data_ahead() 562 FIELD *cur; in data_behind() [all …]
|
H A D | internals.h | 103 _formi_add_char(FIELD *cur, unsigned pos, char c); 113 _formi_init_field_xpos(FIELD *field); 131 _formi_validate_char(FIELD *field, char c); 135 _formi_wrap_field(FIELD *field, _FORMI_FIELD_LINES *pos); 137 _formi_sync_buffer(FIELD *field);
|
H A D | internals.c | 112 check_field_size(FIELD *field); 346 check_field_size(FIELD *field) in check_field_size() 375 FIELD *cur; in _formi_pos_first_field() 413 FIELD *cur; in _formi_pos_new_field() 1506 FIELD *cur; in _formi_redraw_field() 2056 FIELD *cur; in _formi_manipulate_field() 2985 FIELD *cur; in _formi_validate_field() 3076 FIELD *field; in _formi_field_choice() 3146 const FIELD *a, *b; in field_sort_compare() 3180 FIELD **sort_area; in _formi_sort_fields() [all …]
|
/netbsd/sys/external/bsd/common/include/linux/ |
H A D | list.h | 271 #define list_entry(PTR, TYPE, FIELD) container_of(PTR, TYPE, FIELD) argument 279 list_entry(list_next(&(ENTRY)->FIELD), typeof(*(ENTRY)), FIELD) 281 list_entry(list_prev(&(ENTRY)->FIELD), typeof(*(ENTRY)), FIELD) 303 &(VAR)->FIELD != (HEAD); \ 305 FIELD)) 325 FIELD)) 392 #define hlist_entry(PTR, TYPE, FIELD) container_of(PTR, TYPE, FIELD) argument 402 FIELD)); \ 406 FIELD))) 411 FIELD)); \ [all …]
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | CXXRecordDeclDefinitionBits.def | 31 #ifndef FIELD 42 FIELD(Aggregate, 1, NO_MERGE) 45 FIELD(PlainOldData, 1, NO_MERGE) 53 FIELD(Empty, 1, NO_MERGE) 57 FIELD(Polymorphic, 1, NO_MERGE) 61 FIELD(Abstract, 1, NO_MERGE) 65 FIELD(IsStandardLayout, 1, NO_MERGE) 97 FIELD(HasPrivateFields, 1, NO_MERGE) 103 FIELD(HasPublicFields, 1, NO_MERGE) 113 FIELD(HasOnlyCMembers, 1, NO_MERGE) [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDKernelCodeTInfo.h | 122 FIELD(gds_segment_byte_size), 125 FIELD(wavefront_sgpr_count), 126 FIELD(workitem_vgpr_count), 127 FIELD(reserved_vgpr_first), 128 FIELD(reserved_vgpr_count), 129 FIELD(reserved_sgpr_first), 130 FIELD(reserved_sgpr_count), 134 FIELD(group_segment_alignment), 136 FIELD(wavefront_size), 137 FIELD(call_convention), [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/test/ |
H A D | cmp_ctx_test.c | 534 return (TYPE *)ctx->FIELD; \ 544 return ctx->FIELD; \ 551 #define DEFINE_SET_CB_TEST(FIELD) \ argument 552 static OSSL_CMP_##FIELD##_t OSSL_CMP_CTX_get_##FIELD(const CMP_CTX *ctx) \ 555 return ctx->FIELD; \ 569 #define DEFINE_SET_INT_TEST(FIELD) \ argument 573 return ctx->FIELD; \ 600 bytes = ctx->FIELD; \ 612 return sk_##T##_value(ctx->FIELD, sk_##T##_num(ctx->FIELD) - 1); \ 643 field_read = ctx->FIELD; \ [all …]
|
/netbsd/sys/arch/ia64/disasm/ |
H A D | disasm_decode.c | 60 switch (FIELD(bits, 34, 2)) { /* x2a */ in asm_decodeA() 62 if (FIELD(bits, 33, 1) == 0) { /* ve */ in asm_decodeA() 63 switch (FIELD(bits, 29, 4)) { /* x4 */ in asm_decodeA() 288 if (FIELD(bits, 33, 1) == 0) /* ve */ in asm_decodeA() 841 if (FIELD(bits, 36, 1) == 0) /* x */ in asm_decodeF() 847 if (FIELD(bits, 36, 1) == 0) /* x */ in asm_decodeF() 853 if (FIELD(bits, 36, 1) == 0) /* x */ in asm_decodeF() 859 if (FIELD(bits, 36, 1) == 0) /* x */ in asm_decodeF() 865 if (FIELD(bits, 36, 1) == 0) /* x */ in asm_decodeF() 871 if (FIELD(bits, 36, 1) == 0) /* x */ in asm_decodeF() [all …]
|
H A D | disasm_extract.c | 80 switch (FIELD(i->i_bits, 34, 2)) { in asm_sf() 116 if (FIELD(bits, 12, 1)) /* ph */ in asm_brhint() 121 if (FIELD(bits, 35, 1)) /* dh */ in asm_brhint() 147 if (FIELD(bits, 5, 1)) /* ph */ in asm_brphint() 179 if (FIELD(bits, 35, 1)) /* ih */ in asm_brphint() 1956 if (FIELD(bits, 13, 7) != 0) in asm_extract() 1987 if (FIELD(bits, 0, 6) != 0) in asm_extract() 2003 if (FIELD(bits, 32, 1) == 0) in asm_extract() 2424 if (FIELD(bits, 15, 1)) in asm_extract() 2459 if (FIELD(bits, 0, 6) != 0) in asm_extract() [all …]
|
/netbsd/sys/external/bsd/drm2/include/linux/ |
H A D | llist.h | 53 #define llist_entry(NODE, TYPE, FIELD) container_of(NODE, TYPE, FIELD) argument 119 #define _llist_next(ENTRY, FIELD) \ argument 121 __typeof__((ENTRY)->FIELD.next) _NODE = \ 122 atomic_load_consume(&(ENTRY)->FIELD.next); \ 124 llist_entry(_NODE, __typeof__(*(ENTRY)), FIELD)); \ 132 #define llist_for_each_entry(ENTRY, NODE, FIELD) \ argument 135 llist_entry(NODE, typeof(*(ENTRY)), FIELD))); \ 137 (ENTRY) = _llist_next(ENTRY, FIELD)) 139 #define llist_for_each_entry_safe(ENTRY, TMP, NODE, FIELD) \ argument 142 llist_entry(NODE, typeof(*(ENTRY)), FIELD))); \ [all …]
|
H A D | rbtree.h | 227 #define rbtree_postorder_for_each_entry_safe(ENTRY, TMP, ROOT, FIELD) \ argument 229 __typeof__(*(ENTRY)), FIELD); \ 232 &(ENTRY)->FIELD), __typeof__(*(ENTRY)), FIELD), \
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | collect2-aix.c | 46 #define READ_FIELD(FIELD) \ argument 47 read_value (FIELD, sizeof (FIELD)) 51 #define OBJECT_FIELD(OBJECT, TYPE, FIELD) \ argument 52 (OBJECT) + offsetof (struct TYPE, FIELD) 55 #define FIELD_SIZE(TYPE, FIELD) \ argument 56 sizeof (((struct TYPE *) (0))->FIELD) 60 #define READ_OBJECT(OBJECT, TYPE, FIELD) \ argument 61 read_value (OBJECT_FIELD (OBJECT, TYPE, FIELD), FIELD_SIZE (TYPE, FIELD)) 65 #define COPY_FIELD(TO, FROM, TYPE, FIELD) \ argument 66 ((TO)->FIELD = READ_OBJECT (FROM, TYPE, FIELD))
|
H A D | collect2-aix.cc | 46 #define READ_FIELD(FIELD) \ argument 47 read_value (FIELD, sizeof (FIELD)) 51 #define OBJECT_FIELD(OBJECT, TYPE, FIELD) \ argument 52 (OBJECT) + offsetof (struct TYPE, FIELD) 55 #define FIELD_SIZE(TYPE, FIELD) \ argument 56 sizeof (((struct TYPE *) (0))->FIELD) 60 #define READ_OBJECT(OBJECT, TYPE, FIELD) \ argument 61 read_value (OBJECT_FIELD (OBJECT, TYPE, FIELD), FIELD_SIZE (TYPE, FIELD)) 65 #define COPY_FIELD(TO, FROM, TYPE, FIELD) \ argument 66 ((TO)->FIELD = READ_OBJECT (FROM, TYPE, FIELD))
|
/netbsd/external/gpl3/gcc.old/dist/gcc/ |
H A D | collect2-aix.c | 46 #define READ_FIELD(FIELD) \ argument 47 read_value (FIELD, sizeof (FIELD)) 51 #define OBJECT_FIELD(OBJECT, TYPE, FIELD) \ argument 52 (OBJECT) + offsetof (struct TYPE, FIELD) 55 #define FIELD_SIZE(TYPE, FIELD) \ argument 56 sizeof (((struct TYPE *) (0))->FIELD) 60 #define READ_OBJECT(OBJECT, TYPE, FIELD) \ argument 61 read_value (OBJECT_FIELD (OBJECT, TYPE, FIELD), FIELD_SIZE (TYPE, FIELD)) 65 #define COPY_FIELD(TO, FROM, TYPE, FIELD) \ argument 66 ((TO)->FIELD = READ_OBJECT (FROM, TYPE, FIELD))
|
/netbsd/sys/lib/libkern/ |
H A D | libkern.h | 349 #define __validate_container_of(PTR, TYPE, FIELD) 0 argument 350 #define __validate_const_container_of(PTR, TYPE, FIELD) 0 argument 352 #define __validate_container_of(PTR, TYPE, FIELD) \ argument 354 offsetof(TYPE, FIELD)))->FIELD)) 355 #define __validate_const_container_of(PTR, TYPE, FIELD) \ argument 357 offsetof(TYPE, FIELD)))->FIELD)) 360 #define container_of(PTR, TYPE, FIELD) \ argument 361 ((TYPE *)(((char *)(PTR)) - offsetof(TYPE, FIELD)) \ 362 + __validate_container_of(PTR, TYPE, FIELD)) 363 #define const_container_of(PTR, TYPE, FIELD) \ argument [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/Headers/ |
H A D | __clang_cuda_builtin_vars.h | 30 #define __CUDA_DEVICE_BUILTIN(FIELD, INTRINSIC) \ argument 31 __declspec(property(get = __fetch_builtin_##FIELD)) unsigned int FIELD; \ 33 __attribute__((device)) unsigned int __fetch_builtin_##FIELD(void) { \
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | mep-tdep.c | 1513 #define SWBH_32_BASE(i) (FIELD (i, 20, 4)) 1514 #define SWBH_32_SOURCE(i) (FIELD (i, 24, 4)) 1519 #define SW_IMMD_SOURCE(i) (FIELD (i, 24, 4)) 1524 #define SW_REG_SOURCE(i) (FIELD (i, 24, 4)) 1525 #define SW_REG_BASE(i) (FIELD (i, 20, 4)) 1534 #define ADD3_32_TARGET(i) (FIELD (i, 24, 4)) 1535 #define ADD3_32_SOURCE(i) (FIELD (i, 20, 4)) 1545 #define ADD_TARGET(i) (FIELD (i, 24, 4)) 1551 #define LDC_IMM(i) ((FIELD (i, 16, 1) << 4) | FIELD (i, 20, 4)) 1562 #define MOV_TARGET(i) (FIELD (i, 24, 4)) [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | mep-tdep.c | 1513 #define SWBH_32_BASE(i) (FIELD (i, 20, 4)) 1514 #define SWBH_32_SOURCE(i) (FIELD (i, 24, 4)) 1519 #define SW_IMMD_SOURCE(i) (FIELD (i, 24, 4)) 1524 #define SW_REG_SOURCE(i) (FIELD (i, 24, 4)) 1525 #define SW_REG_BASE(i) (FIELD (i, 20, 4)) 1534 #define ADD3_32_TARGET(i) (FIELD (i, 24, 4)) 1535 #define ADD3_32_SOURCE(i) (FIELD (i, 20, 4)) 1545 #define ADD_TARGET(i) (FIELD (i, 24, 4)) 1551 #define LDC_IMM(i) ((FIELD (i, 16, 1) << 4) | FIELD (i, 20, 4)) 1562 #define MOV_TARGET(i) (FIELD (i, 24, 4)) [all …]
|
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | ttymodes.c | 293 #define TTYMODE(NAME, FIELD, OP) \ in ssh_tty_make_modes() argument 297 (r = sshbuf_put_u32(buf, ((tio.FIELD & NAME) != 0))) != 0) \ in ssh_tty_make_modes() 376 #define TTYMODE(NAME, FIELD, OP) \ in ssh_tty_parse_modes() argument 381 tio.FIELD |= NAME; \ in ssh_tty_parse_modes() 383 tio.FIELD &= ~NAME; \ in ssh_tty_parse_modes()
|
/netbsd/external/gpl3/gdb/dist/sim/aarch64/ |
H A D | cpustate.c | 421 #define GET_VEC_ELEMENT(REG, ELEMENT, FIELD) \ argument 424 if (ELEMENT >= ARRAY_SIZE (cpu->fr[0].FIELD)) \ 432 return cpu->fr[REG].FIELD [ELEMENT]; \ 497 #define SET_VEC_ELEMENT(REG, ELEMENT, VAL, FIELD, PRINTER) \ argument 500 if (ELEMENT >= ARRAY_SIZE (cpu->fr[0].FIELD)) \ 508 if (VAL != cpu->fr[REG].FIELD [ELEMENT]) \ 510 "VR[%2d]." #FIELD " [%d] changes from " PRINTER \ 512 ELEMENT, cpu->fr[REG].FIELD [ELEMENT], VAL); \ 514 cpu->fr[REG].FIELD [ELEMENT] = VAL; \
|
/netbsd/external/gpl3/gdb.old/dist/sim/aarch64/ |
H A D | cpustate.c | 421 #define GET_VEC_ELEMENT(REG, ELEMENT, FIELD) \ argument 424 if (ELEMENT >= ARRAY_SIZE (cpu->fr[0].FIELD)) \ 432 return cpu->fr[REG].FIELD [ELEMENT]; \ 497 #define SET_VEC_ELEMENT(REG, ELEMENT, VAL, FIELD, PRINTER) \ argument 500 if (ELEMENT >= ARRAY_SIZE (cpu->fr[0].FIELD)) \ 508 if (VAL != cpu->fr[REG].FIELD [ELEMENT]) \ 510 "VR[%2d]." #FIELD " [%d] changes from " PRINTER \ 512 ELEMENT, cpu->fr[REG].FIELD [ELEMENT], VAL); \ 514 cpu->fr[REG].FIELD [ELEMENT] = VAL; \
|