Home
last modified time | relevance | path

Searched refs:_field (Results 1 – 17 of 17) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/phantom/
Dnx_bitops.h55 #define NX_BIT_OFFSET( _ptr, _field ) \ argument
56 offsetof ( NX_PSEUDO_STRUCT ( _ptr ), _field )
59 #define NX_BIT_WIDTH( _ptr, _field ) \ argument
60 sizeof ( ( ( NX_PSEUDO_STRUCT ( _ptr ) * ) NULL )->_field )
63 #define NX_QWORD_OFFSET( _ptr, _field ) \ argument
64 ( NX_BIT_OFFSET ( _ptr, _field ) / 64 )
71 #define NX_QWORD_BIT_OFFSET( _ptr, _index, _field ) \ argument
72 ( NX_BIT_OFFSET ( _ptr, _field ) - ( 64 * (_index) ) )
75 #define NX_BIT_MASK( _ptr, _field ) \ argument
77 ( 64 - NX_BIT_WIDTH ( _ptr, _field ) ) )
[all …]
/external/syslinux/gpxe/src/drivers/infiniband/
Dmlx_bitops.h57 #define MLX_BIT_OFFSET( _structure_st, _field ) \ argument
58 offsetof ( _structure_st, _field )
61 #define MLX_DWORD_OFFSET( _structure_st, _field ) \ argument
62 ( MLX_BIT_OFFSET ( _structure_st, _field ) / 32 )
69 #define MLX_DWORD_BIT_OFFSET( _structure_st, _index, _field ) \ argument
70 ( MLX_BIT_OFFSET ( _structure_st, _field ) - ( 32 * (_index) ) )
73 #define MLX_BIT_WIDTH( _structure_st, _field ) \ argument
74 sizeof ( ( ( _structure_st * ) NULL )->_field )
77 #define MLX_BIT_MASK( _structure_st, _field ) \ argument
79 ( 32 - MLX_BIT_WIDTH ( _structure_st, _field ) ) )
[all …]
/external/syslinux/gpxe/src/include/gpxe/
Dbitops.h76 #define BIT_OFFSET( _ptr, _field ) \ argument
77 offsetof ( PSEUDO_BIT_STRUCT_TYPE ( _ptr ), _field )
80 #define BIT_WIDTH( _ptr, _field ) \ argument
81 sizeof ( ( ( PSEUDO_BIT_STRUCT_TYPE ( _ptr ) * ) NULL )->_field )
84 #define QWORD_OFFSET( _ptr, _field ) \ argument
85 ( BIT_OFFSET ( _ptr, _field ) / 64 )
88 #define QWORD_BIT_OFFSET( _ptr, _index, _field ) \ argument
89 ( BIT_OFFSET ( _ptr, _field ) - ( 64 * (_index) ) )
92 #define BIT_MASK( _ptr, _field ) \ argument
94 ( 64 - BIT_WIDTH ( _ptr, _field ) ) )
[all …]
/external/kmod/testsuite/
Dtest-modinfo.c30 #define DEFINE_MODINFO_TEST(_field, ...) \ argument
31 static noreturn int test_modinfo_##_field(const struct test *t) \
34 progname, "-F", #_field ,\
41 DEFINE_TEST(test_modinfo_##_field, \
42 .description = "check " #_field " output of modinfo for different architectures", \
47 .out = TESTSUITE_ROOTFS "test-modinfo/correct-" #_field ".txt", \
50 #define DEFINE_MODINFO_GENERIC_TEST(_field) \ argument
51 DEFINE_MODINFO_TEST(_field, \
56 #define DEFINE_MODINFO_SIGN_TEST(_field) \ argument
57 DEFINE_MODINFO_TEST(_field, \
/external/tensorflow/tensorflow/contrib/py2tf/pyct/
Dpretty_printer.py41 def _field(self, name): member in PrettyPrinter
64 self._print('%s%s=%s%s' % (self._indent(), self._field(name),
77 self._print('%s%s=[' % (self._indent(), self._field(f)))
84 self._print('%s%s=[]' % (self._indent(), self._field(f)))
87 self._print('%s%s=(' % (self._indent(), self._field(f)))
94 self._print('%s%s=()' % (self._indent(), self._field(f)))
98 self._print('%s%s=%s' % (self._indent(), self._field(f),
101 self._print('%s%s=%s' % (self._indent(), self._field(f),
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-xen.c372 #define PRE_XEN_XSM_OP_READ(_xsm_op, _union, _field) \ in PRE() argument
373 PRE_MEM_READ("FLASK_" #_xsm_op " u." #_union "." #_field, \ in PRE()
374 (Addr)&op->u._union._field, \ in PRE()
375 sizeof(op->u._union._field)) in PRE()
397 #define __PRE_XEN_SCHEDOP_READ(_schedop, _type, _field) \ in PRE() argument
398 PRE_MEM_READ("XEN_SCHEDOP_" # _schedop " " #_field, \ in PRE()
399 (Addr)&((_type*)arg)->_field, \ in PRE()
400 sizeof(((_type*)arg)->_field)) in PRE()
401 #define PRE_XEN_SCHEDOP_READ(_schedop, _field) \ in PRE() argument
402 __PRE_XEN_SCHEDOP_READ(_schedop, vki_xen_ ## _schedop ## _t, _field) in PRE()
[all …]
/external/syslinux/gpxe/src/interface/smbios/
Dsmbios_settings.c47 #define SMBIOS_RAW_TAG( _type, _structure, _field ) \ argument
50 ( offsetof ( _structure, _field ) << 8 ) | \
51 ( sizeof ( ( ( _structure * ) 0 )->_field ) ) )
61 #define SMBIOS_STRING_TAG( _type, _structure, _field ) \ argument
64 ( offsetof ( _structure, _field ) << 8 ) )
/external/icu/icu4c/source/i18n/
Dnumber_stringbuilder.cpp391 Field _field = UNUM_FIELD_COUNT; in populateFieldPosition() local
393 _field = getFieldPtr()[i]; in populateFieldPosition()
395 if (seenStart && field != _field) { in populateFieldPosition()
397 if (field == UNUM_INTEGER_FIELD && _field == UNUM_GROUPING_SEPARATOR_FIELD) { in populateFieldPosition()
402 } else if (!seenStart && field == _field) { in populateFieldPosition()
406 if (_field == UNUM_INTEGER_FIELD || _field == UNUM_DECIMAL_SEPARATOR_FIELD) { in populateFieldPosition()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DNumberStringBuilder.java455 Field _field = (i < zero + length) ? fields[i] : null;
456 if (seenStart && field != _field) {
458 … if (field == NumberFormat.Field.INTEGER && _field == NumberFormat.Field.GROUPING_SEPARATOR) {
463 } else if (!seenStart && field == _field) {
467 … if (_field == NumberFormat.Field.INTEGER || _field == NumberFormat.Field.DECIMAL_SEPARATOR) {
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DNumberStringBuilder.java457 Field _field = (i < zero + length) ? fields[i] : null;
458 if (seenStart && field != _field) {
460 … if (field == NumberFormat.Field.INTEGER && _field == NumberFormat.Field.GROUPING_SEPARATOR) {
465 } else if (!seenStart && field == _field) {
469 … if (_field == NumberFormat.Field.INTEGER || _field == NumberFormat.Field.DECIMAL_SEPARATOR) {
/external/syslinux/gpxe/src/net/
Ddhcppkt.c90 #define DHCP_PACKET_FIELD( _tag, _field, _used_len ) { \ argument
92 .offset = offsetof ( struct dhcphdr, _field ), \
93 .len = sizeof ( ( ( struct dhcphdr * ) 0 )->_field ), \
/external/scapy/scapy/
Dasn1fields.py406 self._field = field
408 return getattr(self._field, attr)
411 return self._field.m2i(pkt, s)
417 return self._field.dissect(pkt, s)
419 self._field.set_val(pkt, None)
422 if self._field.is_empty(pkt):
424 return self._field.build(pkt)
426 return self._field.any2i(pkt, x)
428 return self._field.i2repr(pkt, x)
/external/kernel-headers/original/uapi/linux/genwqe/
Dgenwqe_card.h391 #define ATS_SET_FLAGS(_struct, _field, _flags) \ argument
392 (((_flags) & 0xf) << (44 - (4 * (offsetof(_struct, _field) / 8))))
/external/strace/
Dperf.c142 #define _PERF_CHECK_FIELD(_field) \ in print_perf_event_attr() argument
144 if (offsetof(struct perf_event_attr, _field) >= size) \ in print_perf_event_attr()
/external/iproute2/lib/
Djson_print.c114 jsonw_##type_name##_field(_jw, key, value); \
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py1421 self._field = field
1426 self._parent_message_weakref._UpdateOneofState(self._field)
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c4212 struct wpa_supplicant *wpa_s, const char *_field, char *buf, in wpa_supplicant_ctrl_iface_get_capability() argument
4222 len = os_strlcpy(field, _field, sizeof(field)); in wpa_supplicant_ctrl_iface_get_capability()