Home
last modified time | relevance | path

Searched refs:ATTR (Results 1 – 25 of 99) sorted by relevance

1234

/third_party/alsa-utils/alsactl/init/
Dinfo14 ATTR{bus}=="*", PRINT=" ATTR{bus}=\"$ATTR{bus}\"\n"
15 ATTR{class}=="*", PRINT=" ATTR{class}=\"$ATTR{class}\"\n"
16 ATTR{driver}=="*", PRINT=" ATTR{driver}=\"$ATTR{driver}\"\n"
17 ATTR{vendor}=="*", PRINT=" ATTR{vendor}=\"$ATTR{vendor}\"\n"
18 ATTR{device}=="*", PRINT=" ATTR{device}=\"$ATTR{device}\"\n"
19 ATTR{subsystem_vendor}=="*", \
20 PRINT=" ATTR{subsystem_vendor}=\"$ATTR{subsystem_vendor}\"\n"
21 ATTR{subsystem_device}=="*", \
22 PRINT=" ATTR{subsystem_device}=\"$ATTR{subsystem_device}\"\n"
Dhda4 ATTR{subsystem_vendor}=="0x1025", ATTR{subsystem_device}=="0x0070", \
7 ATTR{subsystem_vendor}=="0x17aa", ATTR{subsystem_device}=="0x20ac", \
/third_party/libnl/include/netlink-private/
Dobject-api.h210 #define AVAILABLE(A, B, ATTR) (((A)->ce_mask & (B)->ce_mask) & (ATTR)) argument
221 #define AVAILABLE_MISMATCH(A, B, ATTR) (((A)->ce_mask ^ (B)->ce_mask) & (ATTR)) argument
238 #define ATTR_MISMATCH(A, B, ATTR, EXPR) (AVAILABLE_MISMATCH(A, B, ATTR) || \ argument
239 (AVAILABLE(A, B, ATTR) && (EXPR)))
262 #define ATTR_DIFF(LIST, ATTR, A, B, EXPR) \ argument
264 if (((LIST) & (ATTR)) && ATTR_MISMATCH(A, B, ATTR, EXPR)) \
265 diff = ATTR; \
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dcpu_kernel_factory.h63 #define MS_REG_CPU_KERNEL(OPNAME, ATTR, OPCLASS) MS_REG_CPU_KERNEL_(__COUNTER__, OPNAME, ATTR, OPCL… argument
64 #define MS_REG_CPU_KERNEL_(COUNT, OPNAME, ATTR, OPCLASS) _MS_REG_CPU_KERNEL_(COUNT, OPNAME, ATTR, O… argument
65 #define _MS_REG_CPU_KERNEL_(COUNT, OPNAME, ATTR, OPCLASS) \ argument
67 static const CPUKernelRegistrar g_cpu_kernel_##COUNT##_reg(#OPNAME, ATTR, \
70 #define MS_REG_CPU_KERNEL_T(OPNAME, ATTR, OPCLASS, T) MS_REG_CPU_KERNEL_T_(__COUNTER__, OPNAME, ATT… argument
71 #define MS_REG_CPU_KERNEL_T_(COUNT, OPNAME, ATTR, OPCLASS, T) _MS_REG_CPU_KERNEL_T_(COUNT, OPNAME, argument
72 #define _MS_REG_CPU_KERNEL_T_(COUNT, OPNAME, ATTR, OPCLASS, T) \ argument
75 #OPNAME, ATTR, []() { return std::make_shared<OPCLASS<T>>(); });
77 #define MS_REG_CPU_KERNEL_T_S(OPNAME, ATTR, OPCLASS, T, S) \ argument
80 #OPNAME, ATTR, []() { return std::make_shared<OPCLASS<T, S>>(); });
/third_party/python/Python/
Dpreconfig.c131 #define COPY_ATTR(ATTR) \ in precmdline_get_preconfig() argument
132 if (config->ATTR != -1) { \ in precmdline_get_preconfig()
133 cmdline->ATTR = config->ATTR; \ in precmdline_get_preconfig()
147 #define COPY_ATTR(ATTR) \ in precmdline_set_preconfig() argument
148 config->ATTR = cmdline->ATTR in precmdline_set_preconfig()
161 #define COPY_ATTR(ATTR) \ in _PyPreCmdline_SetConfig() argument
162 config->ATTR = cmdline->ATTR in _PyPreCmdline_SetConfig()
389 #define COPY_ATTR(ATTR) config->ATTR = config2->ATTR in preconfig_copy() argument
419 #define SET_ITEM_INT(ATTR) \ in _PyPreConfig_AsDict() argument
421 PyObject *obj = PyLong_FromLong(config->ATTR); \ in _PyPreConfig_AsDict()
[all …]
Dinitconfig.c648 #define CLEAR(ATTR) \ in PyConfig_Clear() argument
650 PyMem_RawFree(ATTR); \ in PyConfig_Clear()
651 ATTR = NULL; \ in PyConfig_Clear()
861 #define COPY_ATTR(ATTR) config->ATTR = config2->ATTR in _PyConfig_Copy() argument
862 #define COPY_WSTR_ATTR(ATTR) \ in _PyConfig_Copy() argument
864 status = PyConfig_SetString(config, &config->ATTR, config2->ATTR); \ in _PyConfig_Copy()
968 #define SET_ITEM_INT(ATTR) \ in _PyConfig_AsDict() argument
969 SET_ITEM(#ATTR, PyLong_FromLong(config->ATTR)) in _PyConfig_AsDict()
970 #define SET_ITEM_UINT(ATTR) \ in _PyConfig_AsDict() argument
971 SET_ITEM(#ATTR, PyLong_FromUnsignedLong(config->ATTR)) in _PyConfig_AsDict()
[all …]
Dpathconfig.c48 #define CLEAR(ATTR) \ in pathconfig_clear() argument
50 PyMem_RawFree(ATTR); \ in pathconfig_clear()
51 ATTR = NULL; \ in pathconfig_clear()
75 #define COPY_ATTR(ATTR) \ in pathconfig_copy() argument
77 if (copy_wstr(&config->ATTR, config2->ATTR) < 0) { \ in pathconfig_copy()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/
Dgpu_kernel_factory.h92 #define MS_REG_GPU_KERNEL_REGULAR(OPNAME, ATTR, OPCLASS) \ argument
94 …static const GpuKernelRegister UNIQUE_KERNEL_NAME(OPNAME)(#OPNAME, ATTR, []() { return new OPCLASS…
97 #define MS_REG_GPU_KERNEL_SAME(OPNAME, ATTR, OPCLASS, T) \ argument
99 …static const GpuKernelRegister UNIQUE_KERNEL_NAME(OPNAME)(#OPNAME, ATTR, []() { return new OPCLASS…
102 #define MS_REG_GPU_KERNEL_ONE(OPNAME, ATTR, OPCLASS, T) \ argument
104 …static const GpuKernelRegister UNIQUE_KERNEL_NAME(OPNAME)(#OPNAME, ATTR, []() { return new OPCLASS…
107 #define MS_REG_GPU_KERNEL_TWO(OPNAME, ATTR, OPCLASS, T, S) \ argument
109 …static const GpuKernelRegister UNIQUE_KERNEL_NAME(OPNAME)(#OPNAME, ATTR, []() { return new OPCLASS…
112 #define MS_REG_GPU_KERNEL_THREE(OPNAME, ATTR, OPCLASS, T, S, G) … argument
114 …static const GpuKernelRegister UNIQUE_KERNEL_NAME(OPNAME)(#OPNAME, ATTR, []() { return new OPCLASS…
/third_party/ltp/testcases/kernel/syscalls/statx/
Dstatx04.c56 #define ATTR(x) {.attr = x, .name = #x} macro
62 ATTR(STATX_ATTR_COMPRESSED),
63 ATTR(STATX_ATTR_APPEND),
64 ATTR(STATX_ATTR_IMMUTABLE),
65 ATTR(STATX_ATTR_NODUMP)
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-metrics.cc72 #define GET_METRIC_X(TABLE, ATTR) \ in _hb_ot_metrics_get_position_common() argument
75 face->table.TABLE->ATTR + GET_VAR, metrics_tag))), true)) in _hb_ot_metrics_get_position_common()
76 #define GET_METRIC_Y(TABLE, ATTR) \ in _hb_ot_metrics_get_position_common() argument
79 face->table.TABLE->ATTR + GET_VAR, metrics_tag))), true)) in _hb_ot_metrics_get_position_common()
150 #define GET_METRIC_X(TABLE, ATTR) \ in hb_ot_metrics_get_position() argument
152 (position && (*position = font->em_scalef_x (face->table.TABLE->ATTR + GET_VAR)), true)) in hb_ot_metrics_get_position()
153 #define GET_METRIC_Y(TABLE, ATTR) \ in hb_ot_metrics_get_position() argument
155 (position && (*position = font->em_scalef_y (face->table.TABLE->ATTR + GET_VAR)), true)) in hb_ot_metrics_get_position()
/third_party/harfbuzz/src/
Dhb-ot-metrics.cc72 #define GET_METRIC_X(TABLE, ATTR) \ in _hb_ot_metrics_get_position_common() argument
75 face->table.TABLE->ATTR + GET_VAR, metrics_tag))), true)) in _hb_ot_metrics_get_position_common()
76 #define GET_METRIC_Y(TABLE, ATTR) \ in _hb_ot_metrics_get_position_common() argument
79 face->table.TABLE->ATTR + GET_VAR, metrics_tag))), true)) in _hb_ot_metrics_get_position_common()
150 #define GET_METRIC_X(TABLE, ATTR) \ in hb_ot_metrics_get_position() argument
152 (position && (*position = font->em_scalef_x (face->table.TABLE->ATTR + GET_VAR)), true)) in hb_ot_metrics_get_position()
153 #define GET_METRIC_Y(TABLE, ATTR) \ in hb_ot_metrics_get_position() argument
155 (position && (*position = font->em_scalef_y (face->table.TABLE->ATTR + GET_VAR)), true)) in hb_ot_metrics_get_position()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_vertprog.h145 #define VSF_ATTR_UNITY(reg) EASY_VSF_SOURCE(reg, ONE, ONE, ONE, ONE, ATTR, NONE)
149 #define VSF_REG(reg) EASY_VSF_SOURCE(reg, X, Y, Z, W, ATTR, NONE)
158 #define VSF_ATTR_X(reg) EASY_VSF_SOURCE(reg, X, X, X, X, ATTR, NONE)
159 #define VSF_ATTR_Y(reg) EASY_VSF_SOURCE(reg, Y, Y, Y, Y, ATTR, NONE)
160 #define VSF_ATTR_Z(reg) EASY_VSF_SOURCE(reg, Z, Z, Z, Z, ATTR, NONE)
161 #define VSF_ATTR_W(reg) EASY_VSF_SOURCE(reg, W, W, W, W, ATTR, NONE)
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_tes.cpp64 if (inst->src[i].file != ATTR) in setup_payload()
135 swizzle(src_reg(ATTR, 1, glsl_type::vec4_type), in nir_emit_intrinsic()
139 swizzle(src_reg(ATTR, 1, glsl_type::vec4_type), in nir_emit_intrinsic()
146 swizzle(src_reg(ATTR, 0, glsl_type::vec4_type), in nir_emit_intrinsic()
150 src_reg(ATTR, 1, glsl_type::float_type))); in nir_emit_intrinsic()
186 src_reg src = src_reg(ATTR, imm_offset, glsl_type::ivec4_type); in nir_emit_intrinsic()
/third_party/eudev/rules/
D50-udev-default.rules7 SUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}"
10 SUBSYSTEM=="rtc", ATTR{hctosys}=="1", SYMLINK+="rtc"
47 SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x00010*", GROUP="video"
48 SUBSYSTEM=="firewire", ATTR{units}=="*0x00b09d:0x00010*", GROUP="video"
49 SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", GROUP="video"
50 SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", GROUP="video"
84 SUBSYSTEM=="ptp", ATTR{clock_name}=="KVM virtual PTP", SYMLINK += "ptp_kvm"
D60-block.rules4 ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_poll_msecs}=="0", \
5 ATTR{parameters/events_dfl_poll_msecs}="2000"
8 ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", ATTR{block/*/ueven…
/third_party/e2fsprogs/resize/
Dtest_extent.c120 #define ATTR(x) __attribute__(x) macro
122 #define ATTR(x) macro
125 int main(int argc ATTR((unused)), char **argv ATTR((unused))) in main()
/third_party/python/Modules/
D_localemodule.c194 #define GET_LOCALE_STRING(ATTR) PyUnicode_DecodeLocale(lc->ATTR, NULL) in locale_decode_monetary() argument
197 #define GET_LOCALE_STRING(ATTR) PyUnicode_FromWideChar(lc->_W_ ## ATTR, -1) in locale_decode_monetary()
202 #define RESULT_STRING(ATTR) \ in locale_decode_monetary() argument
205 obj = GET_LOCALE_STRING(ATTR); \ in locale_decode_monetary()
209 if (PyDict_SetItemString(dict, Py_STRINGIFY(ATTR), obj) < 0) { \ in locale_decode_monetary()
273 #define GET_LOCALE_STRING(ATTR) PyUnicode_FromWideChar(lc->_W_ ## ATTR, -1) in _locale_localeconv_impl() argument
275 #define GET_LOCALE_STRING(ATTR) PyUnicode_DecodeLocale(lc->ATTR, NULL) in _locale_localeconv_impl() argument
/third_party/e2fsprogs/lib/uuid/
Dtst_uuid.c66 #define ATTR(x) __attribute__(x) macro
68 #define ATTR(x) macro
72 main(int argc ATTR((unused)) , char **argv ATTR((unused))) in main()
/third_party/libnl/lib/netfilter/
Dexp_obj.c312 #define EXP_DIFF(ATTR, EXPR) ATTR_DIFF(attrs, EXP_ATTR_##ATTR, a, b, EXPR) in exp_compare() argument
313 #define EXP_DIFF_VAL(ATTR, FIELD) EXP_DIFF(ATTR, a->FIELD != b->FIELD) in exp_compare() argument
314 #define EXP_DIFF_STRING(ATTR, FIELD) EXP_DIFF(ATTR, (strcmp(a->FIELD, b->FIELD) != 0)) in exp_compare() argument
315 #define EXP_DIFF_ADDR(ATTR, FIELD) \ in exp_compare() argument
317 ? EXP_DIFF(ATTR, nl_addr_cmp_prefix(a->FIELD, b->FIELD)) \ in exp_compare()
318 : EXP_DIFF(ATTR, nl_addr_cmp(a->FIELD, b->FIELD))) in exp_compare()
319 #define EXP_DIFF_L4PROTO_PORTS(ATTR, FIELD) \ in exp_compare() argument
320 EXP_DIFF(ATTR, exp_cmp_l4proto_ports(&(a->FIELD), &(b->FIELD))) in exp_compare()
321 #define EXP_DIFF_L4PROTO_ICMP(ATTR, FIELD) \ in exp_compare() argument
322 EXP_DIFF(ATTR, exp_cmp_l4proto_icmp(&(a->FIELD), &(b->FIELD))) in exp_compare()
Dqueue_obj.c172 #define NFNL_QUEUE_DIFF(ATTR, EXPR) \ in nfnl_queue_compare() argument
173 ATTR_DIFF(attrs, QUEUE_ATTR_##ATTR, a, b, EXPR) in nfnl_queue_compare()
174 #define NFNL_QUEUE_DIFF_VAL(ATTR, FIELD) \ in nfnl_queue_compare() argument
175 NFNL_QUEUE_DIFF(ATTR, a->FIELD != b->FIELD) in nfnl_queue_compare()
Dlog_obj.c240 #define NFNL_LOG_DIFF(ATTR, EXPR) \ in nfnl_log_compare() argument
241 ATTR_DIFF(attrs, LOG_ATTR_##ATTR, a, b, EXPR) in nfnl_log_compare()
242 #define NFNL_LOG_DIFF_VAL(ATTR, FIELD) \ in nfnl_log_compare() argument
243 NFNL_LOG_DIFF(ATTR, a->FIELD != b->FIELD) in nfnl_log_compare()
/third_party/ntfs-3g/ntfsprogs/
Dntfsrecover.h101 struct ATTR { struct
143 struct ATTR *getattrentry(unsigned int key, unsigned int lth);
144 void copy_attribute(struct ATTR *pa, const char *buf, int length);
/third_party/selinux/libselinux/src/
Dselinux_internal.h48 #define __pthread_mutex_init(LOCK, ATTR) \ argument
51 pthread_mutex_init(LOCK, ATTR); \
/third_party/flutter/skia/experimental/svg/model/
DSkSVGRenderContext.cpp323 #define ApplyLazyInheritedAttribute(ATTR) \ in applyPresentationAttributes() argument
326 SkASSERT(fPresentationContext->fInherited.f ## ATTR.isValid()); \ in applyPresentationAttributes()
327 const auto* value = attrs.f ## ATTR.getMaybeNull(); \ in applyPresentationAttributes()
328 if (value && *value != *fPresentationContext->fInherited.f ## ATTR.get()) { \ in applyPresentationAttributes()
330 fPresentationContext.writable()->fInherited.f ## ATTR.set(*value); \ in applyPresentationAttributes()
332 commitToPaint<SkSVGAttribute::k ## ATTR>(attrs, *this, \ in applyPresentationAttributes()
/third_party/skia/modules/svg/src/
DSkSVGRenderContext.cpp204 #define ApplyLazyInheritedAttribute(ATTR) \ in applyPresentationAttributes() argument
207 SkASSERT(fPresentationContext->fInherited.f ## ATTR.isValue()); \ in applyPresentationAttributes()
208 const auto& attr = attrs.f ## ATTR; \ in applyPresentationAttributes()
209 if (attr.isValue() && *attr != *fPresentationContext->fInherited.f ## ATTR) { \ in applyPresentationAttributes()
211 fPresentationContext.writable()->fInherited.f ## ATTR.set(*attr); \ in applyPresentationAttributes()

1234