Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 4277) sorted by relevance

12345678910>>...172

/external/strace/tests-m32/
Dsched_xetattr.c45 sys_sched_getattr(kernel_ulong_t pid, kernel_ulong_t attr, in sys_sched_getattr() argument
48 long rc = syscall(__NR_sched_getattr, pid, attr, size, flags); in sys_sched_getattr()
54 sys_sched_setattr(kernel_ulong_t pid, kernel_ulong_t attr, kernel_ulong_t flags) in sys_sched_setattr() argument
56 long rc = syscall(__NR_sched_setattr, pid, attr, flags); in sys_sched_setattr()
71 TAIL_ALLOC_OBJECT_CONST_PTR(struct sched_attr, attr); in main()
73 void *const efault = attr + 1; in main()
78 sys_sched_getattr(0, (unsigned long) attr, 0, 0); in main()
79 printf("sched_getattr(0, %p, 0, 0) = %s\n", attr, errstr); in main()
84 sys_sched_getattr(-1U, (unsigned long) attr, bogus_size, bogus_flags); in main()
86 attr, in main()
[all …]
Dperf_event_open.c164 struct perf_event_attr *attr; in print_event_attr() local
192 attr = calloc(1, STRACE_PEA_SIZE); in print_event_attr()
194 if (!attr) in print_event_attr()
198 memcpy(attr, attr_ptr, read_size); in print_event_attr()
202 free(attr); in print_event_attr()
207 if (size != attr->size) { in print_event_attr()
211 printxval(perf_attr_size, attr->size, "PERF_ATTR_SIZE_???"); in print_event_attr()
221 attr->freq ? "sample_freq" : "sample_period", in print_event_attr()
222 attr->freq ? attr->sample_freq : attr->sample_period, in print_event_attr()
240 attr->disabled, in print_event_attr()
[all …]
/external/strace/tests/
Dsched_xetattr.c45 sys_sched_getattr(kernel_ulong_t pid, kernel_ulong_t attr, in sys_sched_getattr() argument
48 long rc = syscall(__NR_sched_getattr, pid, attr, size, flags); in sys_sched_getattr()
54 sys_sched_setattr(kernel_ulong_t pid, kernel_ulong_t attr, kernel_ulong_t flags) in sys_sched_setattr() argument
56 long rc = syscall(__NR_sched_setattr, pid, attr, flags); in sys_sched_setattr()
71 TAIL_ALLOC_OBJECT_CONST_PTR(struct sched_attr, attr); in main()
73 void *const efault = attr + 1; in main()
78 sys_sched_getattr(0, (unsigned long) attr, 0, 0); in main()
79 printf("sched_getattr(0, %p, 0, 0) = %s\n", attr, errstr); in main()
84 sys_sched_getattr(-1U, (unsigned long) attr, bogus_size, bogus_flags); in main()
86 attr, in main()
[all …]
Dperf_event_open.c164 struct perf_event_attr *attr; in print_event_attr() local
192 attr = calloc(1, STRACE_PEA_SIZE); in print_event_attr()
194 if (!attr) in print_event_attr()
198 memcpy(attr, attr_ptr, read_size); in print_event_attr()
202 free(attr); in print_event_attr()
207 if (size != attr->size) { in print_event_attr()
211 printxval(perf_attr_size, attr->size, "PERF_ATTR_SIZE_???"); in print_event_attr()
221 attr->freq ? "sample_freq" : "sample_period", in print_event_attr()
222 attr->freq ? attr->sample_freq : attr->sample_period, in print_event_attr()
240 attr->disabled, in print_event_attr()
[all …]
/external/strace/tests-mx32/
Dsched_xetattr.c45 sys_sched_getattr(kernel_ulong_t pid, kernel_ulong_t attr, in sys_sched_getattr() argument
48 long rc = syscall(__NR_sched_getattr, pid, attr, size, flags); in sys_sched_getattr()
54 sys_sched_setattr(kernel_ulong_t pid, kernel_ulong_t attr, kernel_ulong_t flags) in sys_sched_setattr() argument
56 long rc = syscall(__NR_sched_setattr, pid, attr, flags); in sys_sched_setattr()
71 TAIL_ALLOC_OBJECT_CONST_PTR(struct sched_attr, attr); in main()
73 void *const efault = attr + 1; in main()
78 sys_sched_getattr(0, (unsigned long) attr, 0, 0); in main()
79 printf("sched_getattr(0, %p, 0, 0) = %s\n", attr, errstr); in main()
84 sys_sched_getattr(-1U, (unsigned long) attr, bogus_size, bogus_flags); in main()
86 attr, in main()
[all …]
Dperf_event_open.c164 struct perf_event_attr *attr; in print_event_attr() local
192 attr = calloc(1, STRACE_PEA_SIZE); in print_event_attr()
194 if (!attr) in print_event_attr()
198 memcpy(attr, attr_ptr, read_size); in print_event_attr()
202 free(attr); in print_event_attr()
207 if (size != attr->size) { in print_event_attr()
211 printxval(perf_attr_size, attr->size, "PERF_ATTR_SIZE_???"); in print_event_attr()
221 attr->freq ? "sample_freq" : "sample_period", in print_event_attr()
222 attr->freq ? attr->sample_freq : attr->sample_period, in print_event_attr()
240 attr->disabled, in print_event_attr()
[all …]
/external/elfutils/tests/
Drun-show-abbrev.sh25 abbrev[0]: attr[0]: code = 16, form = 6, offset = 0
26 abbrev[0]: attr[1]: code = 18, form = 1, offset = 2
27 abbrev[0]: attr[2]: code = 17, form = 1, offset = 4
28 abbrev[0]: attr[3]: code = 3, form = 8, offset = 6
29 abbrev[0]: attr[4]: code = 27, form = 8, offset = 8
30 abbrev[0]: attr[5]: code = 37, form = 8, offset = 10
31 abbrev[0]: attr[6]: code = 19, form = 11, offset = 12
33 abbrev[19]: attr[0]: code = 1, form = 19, offset = 19
34 abbrev[19]: attr[1]: code = 63, form = 12, offset = 21
35 abbrev[19]: attr[2]: code = 3, form = 8, offset = 23
[all …]
Dshow-die-info.c105 Dwarf_Attribute attr; in handle() local
110 if (dwarf_attr (die, DW_AT_low_pc, &attr) == NULL in handle()
111 || dwarf_formaddr (&attr, &addr2) != 0 in handle()
114 else if (! dwarf_hasform (&attr, DW_FORM_addr)) in handle()
116 else if (dwarf_whatform (&attr) != DW_FORM_addr) in handle()
118 else if (dwarf_whatattr (&attr) != DW_AT_low_pc) in handle()
123 Dwarf_Attribute attr; in handle() local
127 if (dwarf_attr (die, DW_AT_high_pc, &attr) == NULL in handle()
128 || dwarf_formaddr (&attr, &addr2) != 0 in handle()
131 else if (! dwarf_hasform (&attr, DW_FORM_addr)) in handle()
[all …]
/external/strace/
Dperf.c51 struct perf_event_attr *attr; member
60 free(desc->attr); in free_pea_desc()
68 struct perf_event_attr *attr; in fetch_perf_event_attr() local
76 if (size > sizeof(*attr)) in fetch_perf_event_attr()
77 size = sizeof(*attr); in fetch_perf_event_attr()
97 attr = xcalloc(1, sizeof(*attr)); in fetch_perf_event_attr()
99 if (umoven_or_printaddr(tcp, addr, size, attr)) { in fetch_perf_event_attr()
100 free(attr); in fetch_perf_event_attr()
107 desc->attr = attr; in fetch_perf_event_attr()
126 struct perf_event_attr *attr; in print_perf_event_attr() local
[all …]
Dbpf.c64 struct bpf_cmd ## _struct attr = {}; \
67 memcpy(&attr, data, len); \
181 PRINT_FIELD_XVAL_INDEX("{", attr, map_type, bpf_map_types, in BEGIN_BPF_CMD_DECODER()
183 PRINT_FIELD_U(", ", attr, key_size); in BEGIN_BPF_CMD_DECODER()
184 PRINT_FIELD_U(", ", attr, value_size); in BEGIN_BPF_CMD_DECODER()
185 PRINT_FIELD_U(", ", attr, max_entries); in BEGIN_BPF_CMD_DECODER()
190 PRINT_FIELD_FLAGS(", ", attr, map_flags, bpf_map_flags, "BPF_F_???"); in BEGIN_BPF_CMD_DECODER()
198 PRINT_FIELD_FD(", ", attr, inner_map_fd, tcp); in BEGIN_BPF_CMD_DECODER()
203 if (attr.map_flags & BPF_F_NUMA_NODE) { in BEGIN_BPF_CMD_DECODER()
215 printxvals_ex(attr.numa_node, NULL, in BEGIN_BPF_CMD_DECODER()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_validate.c1030 struct wps_parse_attr attr; in wps_validate_cred() local
1036 if (wps_parse_msg(&buf, &attr) < 0) { in wps_validate_cred()
1041 if (wps_validate_network_idx(attr.network_idx, 1) || in wps_validate_cred()
1042 wps_validate_ssid(attr.ssid, attr.ssid_len, 1) || in wps_validate_cred()
1043 wps_validate_auth_type(attr.auth_type, 1) || in wps_validate_cred()
1044 wps_validate_encr_type(attr.encr_type, 1) || in wps_validate_cred()
1045 wps_validate_network_key_index(attr.network_key_idx, 0) || in wps_validate_cred()
1046 wps_validate_network_key(attr.network_key, attr.network_key_len, in wps_validate_cred()
1047 attr.encr_type, 1) || in wps_validate_cred()
1048 wps_validate_mac_addr(attr.mac_addr, 1) || in wps_validate_cred()
[all …]
Dwps_attr_parse.c20 static int wps_set_vendor_ext_wfa_subelem(struct wps_parse_attr *attr, in wps_set_vendor_ext_wfa_subelem() argument
32 attr->version2 = pos; in wps_set_vendor_ext_wfa_subelem()
35 attr->authorized_macs = pos; in wps_set_vendor_ext_wfa_subelem()
36 attr->authorized_macs_len = len; in wps_set_vendor_ext_wfa_subelem()
44 attr->network_key_shareable = pos; in wps_set_vendor_ext_wfa_subelem()
52 attr->request_to_enroll = pos; in wps_set_vendor_ext_wfa_subelem()
60 attr->settings_delay_time = pos; in wps_set_vendor_ext_wfa_subelem()
68 attr->registrar_configuration_methods = pos; in wps_set_vendor_ext_wfa_subelem()
77 attr->multi_ap_ext = *pos; in wps_set_vendor_ext_wfa_subelem()
79 attr->multi_ap_ext); in wps_set_vendor_ext_wfa_subelem()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Doperations.cc209 const Convolution2DAttributes& attr) { in CalculateOutputWithoutStrides() argument
211 input.get<T>(), attr.weights.shape.get<T>(), in CalculateOutputWithoutStrides()
212 attr.padding.prepended.get<T>() + attr.padding.appended.get<T>(), in CalculateOutputWithoutStrides()
213 attr.dilations.get<T>()); in CalculateOutputWithoutStrides()
218 const Convolution3DAttributes& attr) { in CalculateOutputWithoutStrides() argument
220 input.get<T>(), attr.weights.shape.get<T>(), in CalculateOutputWithoutStrides()
221 attr.padding.prepended.get<T>() + attr.padding.appended.get<T>(), in CalculateOutputWithoutStrides()
222 attr.dilations.get<T>()); in CalculateOutputWithoutStrides()
227 const Pooling2DAttributes& attr) { in CalculateOutputWithoutStrides() argument
229 input.get<T>(), attr.kernel.get<T>(), in CalculateOutputWithoutStrides()
[all …]
/external/elfutils/libdw/
Ddwarf_formudata.c38 __libdw_formptr (Dwarf_Attribute *attr, int sec_index, in __libdw_formptr() argument
42 if (attr == NULL) in __libdw_formptr()
45 const Elf_Data *d = attr->cu->dbg->sectiondata[sec_index]; in __libdw_formptr()
49 && attr->cu->version < 5 in __libdw_formptr()
50 && attr->cu->unit_type == DW_UT_split_compile)) in __libdw_formptr()
52 skel = __libdw_find_split_unit (attr->cu); in __libdw_formptr()
64 if (attr->form == DW_FORM_sec_offset) in __libdw_formptr()
75 Elf_Data *data = attr->cu->dbg->sectiondata[cu_sec_idx (attr->cu)]; in __libdw_formptr()
76 const unsigned char *datap = attr->valp; in __libdw_formptr()
77 size_t size = attr->cu->offset_size; in __libdw_formptr()
[all …]
/external/libcups/cups/
Dipp.c34 static void ipp_free_values(ipp_attribute_t *attr, int element,
45 static _ipp_value_t *ipp_set_value(ipp_t *ipp, ipp_attribute_t **attr,
121 ipp_attribute_t *attr; /* New attribute */ in ippAddBoolean() local
138 if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_BOOLEAN, 1)) == NULL) in ippAddBoolean()
141 attr->values[0].boolean = value; in ippAddBoolean()
143 return (attr); in ippAddBoolean()
168 ipp_attribute_t *attr; /* New attribute */ in ippAddBooleans() local
187 if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_BOOLEAN, num_values)) == NULL) in ippAddBooleans()
192 for (i = num_values, value = attr->values; in ippAddBooleans()
198 return (attr); in ippAddBooleans()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/end2end/
Dophint_lstm.pbtxt6 attr {
12 attr {
33 attr {
39 attr {
45 attr {
56 attr {
62 attr {
72 attr {
78 attr {
96 attr {
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/testdata/
Dgraph.pbtxt4 attr {
25 attr {
31 attr {
58 attr {
66 attr {
77 attr {
83 attr {
99 attr {
107 attr {
116 attr {
[all …]
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DSnapshotDataset.pbtxt15 attr {
21 attr {
27 attr {
34 attr {
41 attr {
63 attr {
69 attr {
75 attr {
82 attr {
89 attr {
[all …]
/external/libnl/lib/netfilter/
Dlog_msg.c70 struct nlattr *attr; in nfnlmsg_log_msg_parse() local
86 attr = tb[NFULA_PACKET_HDR]; in nfnlmsg_log_msg_parse()
87 if (attr) { in nfnlmsg_log_msg_parse()
88 struct nfulnl_msg_packet_hdr *hdr = nla_data(attr); in nfnlmsg_log_msg_parse()
95 attr = tb[NFULA_MARK]; in nfnlmsg_log_msg_parse()
96 if (attr) in nfnlmsg_log_msg_parse()
97 nfnl_log_msg_set_mark(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
99 attr = tb[NFULA_TIMESTAMP]; in nfnlmsg_log_msg_parse()
100 if (attr) { in nfnlmsg_log_msg_parse()
101 struct nfulnl_msg_packet_timestamp *timestamp = nla_data(attr); in nfnlmsg_log_msg_parse()
[all …]
/external/bcc/src/cc/
Dlibbpf.c197 union bpf_attr attr; in bpf_create_map() local
198 memset(&attr, 0, sizeof(attr)); in bpf_create_map()
199 attr.map_type = map_type; in bpf_create_map()
200 attr.key_size = key_size; in bpf_create_map()
201 attr.value_size = value_size; in bpf_create_map()
202 attr.max_entries = max_entries; in bpf_create_map()
203 attr.map_flags = map_flags; in bpf_create_map()
204 memcpy(attr.map_name, name, min(name_len, BPF_OBJ_NAME_LEN - 1)); in bpf_create_map()
206 int ret = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); in bpf_create_map()
209 memset(attr.map_name, 0, BPF_OBJ_NAME_LEN); in bpf_create_map()
[all …]
/external/boringssl/src/crypto/x509/
Dx509_att.c120 X509_ATTRIBUTE *attr) in STACK_OF()
136 if ((new_attr = X509_ATTRIBUTE_dup(attr)) == NULL) in STACK_OF()
159 X509_ATTRIBUTE *attr; in STACK_OF() local
161 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len); in STACK_OF()
162 if (!attr) in STACK_OF()
164 ret = X509at_add1_attr(x, attr); in STACK_OF()
165 X509_ATTRIBUTE_free(attr); in STACK_OF()
174 X509_ATTRIBUTE *attr; in STACK_OF() local
176 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len); in STACK_OF()
177 if (!attr) in STACK_OF()
[all …]
/external/tensorflow/tensorflow/python/framework/testdata/
Dmetrics_export_meta_graph.pb19 attr {
23 attr {
30 attr {
55 attr {
77 attr {
95 attr {
99 attr {
110 attr {
114 attr {
125 attr {
[all …]
/external/tensorflow/tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/
Dsaved_model.pbtxt19 attr {
55 attr {
59 attr {
66 attr {
81 attr {
85 attr {
100 attr {
115 attr {
137 attr {
172 attr {
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/graph_properties_testdata/
Dqueues_and_loops.pbtxt4 attr {
10 attr {
25 attr {
31 attr {
39 attr {
45 attr {
52 attr {
62 attr {
68 attr {
91 attr {
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/transformations/
Dfuse_mul_to_conv_test.cc134 Convolution2DAttributes attr; in TEST() local
135 attr.weights.shape = OHWI(2, 1, 2, 2); in TEST()
136 attr.weights.data = {0.1f, 0.2f, 0.3f, 0.4f, 0.5f, 0.6f, 0.7f, 0.8f}; in TEST()
137 attr.bias.shape = Linear(2); in TEST()
138 attr.bias.data = {1.5f, 2.5f}; in TEST()
146 FuseConvolution2DWithMultiply(mul_attr, &attr); in TEST()
148 EXPECT_THAT(attr.weights.data, in TEST()
151 EXPECT_THAT(attr.bias.data, Pointwise(FloatNear(1e-6), {0.75f, 5.0f})); in TEST()
155 DepthwiseConvolution2DAttributes attr; in TEST() local
156 attr.weights.shape = OHWI(2, 1, 2, 2); in TEST()
[all …]

12345678910>>...172