/external/strace/tests/ |
D | sched_xetattr.c | 45 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 …]
|
D | perf_event_open.c | 164 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/ |
D | sched_xetattr.c | 45 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 …]
|
D | perf_event_open.c | 164 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-m32/ |
D | sched_xetattr.c | 45 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 …]
|
D | perf_event_open.c | 164 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/ |
D | run-show-abbrev.sh | 25 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 …]
|
D | show-die-info.c | 105 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/ |
D | perf.c | 51 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 …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_validate.c | 1030 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 …]
|
D | wps_attr_parse.c | 20 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/ |
D | operations.cc | 278 const Convolution2DAttributes& attr) { in CalculateOutputWithoutStrides() argument 280 input.get<T>(), attr.weights.shape.get<T>(), in CalculateOutputWithoutStrides() 281 attr.padding.prepended.get<T>() + attr.padding.appended.get<T>(), in CalculateOutputWithoutStrides() 282 attr.dilations.get<T>()); in CalculateOutputWithoutStrides() 287 const Convolution3DAttributes& attr) { in CalculateOutputWithoutStrides() argument 289 input.get<T>(), attr.weights.shape.get<T>(), in CalculateOutputWithoutStrides() 290 attr.padding.prepended.get<T>() + attr.padding.appended.get<T>(), in CalculateOutputWithoutStrides() 291 attr.dilations.get<T>()); in CalculateOutputWithoutStrides() 296 const Pooling2DAttributes& attr) { in CalculateOutputWithoutStrides() argument 298 input.get<T>(), attr.kernel.get<T>(), in CalculateOutputWithoutStrides() [all …]
|
/external/llvm-project/mlir/lib/CAPI/IR/ |
D | BuiltinAttributes.cpp | 22 bool mlirAttributeIsAAffineMap(MlirAttribute attr) { in mlirAttributeIsAAffineMap() argument 23 return unwrap(attr).isa<AffineMapAttr>(); in mlirAttributeIsAAffineMap() 30 MlirAffineMap mlirAffineMapAttrGetValue(MlirAttribute attr) { in mlirAffineMapAttrGetValue() argument 31 return wrap(unwrap(attr).cast<AffineMapAttr>().getValue()); in mlirAffineMapAttrGetValue() 38 bool mlirAttributeIsAArray(MlirAttribute attr) { in mlirAttributeIsAArray() argument 39 return unwrap(attr).isa<ArrayAttr>(); in mlirAttributeIsAArray() 50 intptr_t mlirArrayAttrGetNumElements(MlirAttribute attr) { in mlirArrayAttrGetNumElements() argument 51 return static_cast<intptr_t>(unwrap(attr).cast<ArrayAttr>().size()); in mlirArrayAttrGetNumElements() 54 MlirAttribute mlirArrayAttrGetElement(MlirAttribute attr, intptr_t pos) { in mlirArrayAttrGetElement() argument 55 return wrap(unwrap(attr).cast<ArrayAttr>().getValue()[pos]); in mlirArrayAttrGetElement() [all …]
|
/external/elfutils/libdw/ |
D | dwarf_formudata.c | 38 __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/ |
D | ipp.c | 30 static void ipp_free_values(ipp_attribute_t *attr, int element, 41 static _ipp_value_t *ipp_set_value(ipp_t *ipp, ipp_attribute_t **attr, 117 ipp_attribute_t *attr; /* New attribute */ in ippAddBoolean() local 134 if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_BOOLEAN, 1)) == NULL) in ippAddBoolean() 137 attr->values[0].boolean = value; in ippAddBoolean() 139 return (attr); in ippAddBoolean() 164 ipp_attribute_t *attr; /* New attribute */ in ippAddBooleans() local 183 if ((attr = ipp_add_attr(ipp, name, group, IPP_TAG_BOOLEAN, num_values)) == NULL) in ippAddBooleans() 188 for (i = num_values, value = attr->values; in ippAddBooleans() 194 return (attr); in ippAddBooleans() [all …]
|
/external/libnl/lib/netfilter/ |
D | log_msg.c | 59 struct nlattr *attr; in nfnlmsg_log_msg_parse() local 75 attr = tb[NFULA_PACKET_HDR]; in nfnlmsg_log_msg_parse() 76 if (attr) { in nfnlmsg_log_msg_parse() 77 struct nfulnl_msg_packet_hdr *hdr = nla_data(attr); in nfnlmsg_log_msg_parse() 84 attr = tb[NFULA_MARK]; in nfnlmsg_log_msg_parse() 85 if (attr) in nfnlmsg_log_msg_parse() 86 nfnl_log_msg_set_mark(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 88 attr = tb[NFULA_TIMESTAMP]; in nfnlmsg_log_msg_parse() 89 if (attr) { in nfnlmsg_log_msg_parse() 90 struct nfulnl_msg_packet_timestamp *timestamp = nla_data(attr); in nfnlmsg_log_msg_parse() [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/testdata/ |
D | graph.pbtxt | 4 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/ |
D | SnapshotDataset.pbtxt | 15 attr { 21 attr { 27 attr { 34 attr { 41 attr { 63 attr { 69 attr { 75 attr { 82 attr { 89 attr { [all …]
|
/external/llvm-project/mlir/include/mlir-c/ |
D | BuiltinAttributes.h | 30 MLIR_CAPI_EXPORTED bool mlirAttributeIsAAffineMap(MlirAttribute attr); 37 MLIR_CAPI_EXPORTED MlirAffineMap mlirAffineMapAttrGetValue(MlirAttribute attr); 44 MLIR_CAPI_EXPORTED bool mlirAttributeIsAArray(MlirAttribute attr); 52 MLIR_CAPI_EXPORTED intptr_t mlirArrayAttrGetNumElements(MlirAttribute attr); 55 MLIR_CAPI_EXPORTED MlirAttribute mlirArrayAttrGetElement(MlirAttribute attr, 63 MLIR_CAPI_EXPORTED bool mlirAttributeIsADictionary(MlirAttribute attr); 72 mlirDictionaryAttrGetNumElements(MlirAttribute attr); 76 mlirDictionaryAttrGetElement(MlirAttribute attr, intptr_t pos); 81 mlirDictionaryAttrGetElementByName(MlirAttribute attr, MlirStringRef name); 91 MLIR_CAPI_EXPORTED bool mlirAttributeIsAFloat(MlirAttribute attr); [all …]
|
/external/bcc/src/cc/ |
D | libbpf.c | 197 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/libcap/cap/ |
D | launch.go | 57 func (attr *Launcher) Callback(fn func(*syscall.ProcAttr, interface{}) error) { 58 attr.callbackFn = fn 62 func (attr *Launcher) SetUID(uid int) { 63 attr.changeUIDs = true 64 attr.uid = uid 69 func (attr *Launcher) SetGroups(gid int, groups []int) { 70 attr.changeGIDs = true 71 attr.gid = gid 72 attr.groups = groups 76 func (attr *Launcher) SetMode(mode Mode) { [all …]
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/ |
D | TPUReplicateMetadata.pbtxt | 3 attr { 8 attr { 15 attr { 22 attr { 29 attr { 37 attr { 45 attr { 53 attr { 64 attr { 69 attr { [all …]
|
/external/llvm-project/mlir/test/Bindings/Python/ |
D | ir_array_attributes.py | 23 attr = DenseElementsAttr.get(array) 40 attr = DenseElementsAttr.get_splat(shaped_type, element) 42 print(attr) 44 print("is_splat:", attr.is_splat) 55 attr = DenseElementsAttr.get_splat(shaped_type, element) 57 print(attr) 74 attr = DenseElementsAttr.get_splat(non_shaped_type, element) 80 attr = DenseElementsAttr.get_splat(dynamic_shaped_type, element) 86 attr = DenseElementsAttr.get_splat(shaped_type, other_element) 104 attr = DenseElementsAttr.get(array) [all …]
|
/external/libcups/ppdc/ |
D | ppdc-import.cxx | 34 ppd_attr_t *attr; // PPD attribute in import_ppd() local 114 attr = ppdFindAttr(ppd, "FileVersion", NULL); in import_ppd() 115 driver->version = new ppdcString(attr ? attr->value : NULL); in import_ppd() 148 attr = ppdFindAttr(ppd, "DefaultFont", NULL); in import_ppd() 149 driver->default_font = new ppdcString(attr ? attr->value : NULL); in import_ppd() 238 attr = ppd->attrs[i]; in import_ppd() 240 if (!strcmp(attr->name, "Font")) in import_ppd() 250 if (sscanf(attr->value, "%s%*[^\"]\"%[^\"]\"%s%s", encoding, version, in import_ppd() 254 attr->value); in import_ppd() 263 font = new ppdcFont(attr->spec, encoding, version, charset, fstatus); in import_ppd() [all …]
|
/external/boringssl/src/crypto/x509/ |
D | x509_att.c | 120 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 …]
|