Searched refs:attr (Results 51 - 75 of 1281) sorted by relevance

1234567891011>>

/external/webrtc/src/system_wrappers/source/
H A Dcritical_section_posix.cc23 pthread_mutexattr_t attr; local
24 (void) pthread_mutexattr_init(&attr);
25 (void) pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
26 (void) pthread_mutex_init(&_mutex, &attr);
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_validate.c1028 struct wps_parse_attr attr; local
1034 if (wps_parse_msg(&buf, &attr) < 0) {
1039 if (wps_validate_network_idx(attr.network_idx, 1) ||
1040 wps_validate_ssid(attr.ssid, attr.ssid_len, 1) ||
1041 wps_validate_auth_type(attr.auth_type, 1) ||
1042 wps_validate_encr_type(attr.encr_type, 1) ||
1043 wps_validate_network_key_index(attr.network_key_idx, 0) ||
1044 wps_validate_network_key(attr.network_key, attr
1083 struct wps_parse_attr attr; local
1122 struct wps_parse_attr attr; local
1180 struct wps_parse_attr attr; local
1227 struct wps_parse_attr attr; local
1256 struct wps_parse_attr attr; local
1285 struct wps_parse_attr attr; local
1341 struct wps_parse_attr attr; local
1396 struct wps_parse_attr attr; local
1448 struct wps_parse_attr attr; local
1484 struct wps_parse_attr attr; local
1522 struct wps_parse_attr attr; local
1553 struct wps_parse_attr attr; local
1589 struct wps_parse_attr attr; local
1620 struct wps_parse_attr attr; local
1656 struct wps_parse_attr attr; local
1687 struct wps_parse_attr attr; local
1724 struct wps_parse_attr attr; local
1762 struct wps_parse_attr attr; local
1798 struct wps_parse_attr attr; local
1835 struct wps_parse_attr attr; local
1869 struct wps_parse_attr attr; local
1904 struct wps_parse_attr attr; local
1938 struct wps_parse_attr attr; local
[all...]
H A Dwps_attr_parse.c20 static int wps_set_vendor_ext_wfa_subelem(struct wps_parse_attr *attr, argument
32 attr->version2 = pos;
35 attr->authorized_macs = pos;
36 attr->authorized_macs_len = len;
44 attr->network_key_shareable = pos;
52 attr->request_to_enroll = pos;
60 attr->settings_delay_time = pos;
68 attr->registrar_configuration_methods = pos;
80 static int wps_parse_vendor_ext_wfa(struct wps_parse_attr *attr, const u8 *pos, argument
91 if (wps_set_vendor_ext_wfa_subelem(attr, i
100 wps_parse_vendor_ext(struct wps_parse_attr *attr, const u8 *pos, u16 len) argument
141 wps_set_attr(struct wps_parse_attr *attr, u16 type, const u8 *pos, u16 len) argument
550 wps_parse_msg(const struct wpabuf *msg, struct wps_parse_attr *attr) argument
[all...]
H A Dwps_module_tests.c265 struct wps_parse_attr attr; local
285 if (wps_parse_msg(buf, &attr) != test->result) {
292 if (!attr.network_key || !attr.ap_setup_locked)
296 if (attr.num_cred != MAX_CRED_COUNT)
300 if (!attr.network_key_idx)
304 if (attr.num_req_dev_type != MAX_REQ_DEV_TYPE_COUNT)
308 if (attr.num_vendor_ext != MAX_WPS_PARSE_VENDOR_EXT)
312 if (!attr.version2 ||
313 !attr
[all...]
H A Dwps_upnp_ap.c33 struct wps_parse_attr attr; local
40 if (wps_parse_msg(msg, &attr) < 0)
47 if (attr.selected_registrar == NULL || *attr.selected_registrar == 0) {
53 s->dev_password_id = attr.dev_password_id ?
54 WPA_GET_BE16(attr.dev_password_id) : DEV_PW_DEFAULT;
55 s->config_methods = attr.sel_reg_config_methods ?
56 WPA_GET_BE16(attr.sel_reg_config_methods) : -1;
57 if (attr.authorized_macs) {
58 int count = attr
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dwps_validate.c1028 struct wps_parse_attr attr; local
1034 if (wps_parse_msg(&buf, &attr) < 0) {
1039 if (wps_validate_network_idx(attr.network_idx, 1) ||
1040 wps_validate_ssid(attr.ssid, attr.ssid_len, 1) ||
1041 wps_validate_auth_type(attr.auth_type, 1) ||
1042 wps_validate_encr_type(attr.encr_type, 1) ||
1043 wps_validate_network_key_index(attr.network_key_idx, 0) ||
1044 wps_validate_network_key(attr.network_key, attr
1083 struct wps_parse_attr attr; local
1122 struct wps_parse_attr attr; local
1180 struct wps_parse_attr attr; local
1227 struct wps_parse_attr attr; local
1256 struct wps_parse_attr attr; local
1285 struct wps_parse_attr attr; local
1341 struct wps_parse_attr attr; local
1396 struct wps_parse_attr attr; local
1448 struct wps_parse_attr attr; local
1484 struct wps_parse_attr attr; local
1522 struct wps_parse_attr attr; local
1553 struct wps_parse_attr attr; local
1589 struct wps_parse_attr attr; local
1620 struct wps_parse_attr attr; local
1656 struct wps_parse_attr attr; local
1687 struct wps_parse_attr attr; local
1724 struct wps_parse_attr attr; local
1762 struct wps_parse_attr attr; local
1798 struct wps_parse_attr attr; local
1835 struct wps_parse_attr attr; local
1869 struct wps_parse_attr attr; local
1904 struct wps_parse_attr attr; local
1938 struct wps_parse_attr attr; local
[all...]
H A Dwps_attr_parse.c20 static int wps_set_vendor_ext_wfa_subelem(struct wps_parse_attr *attr, argument
32 attr->version2 = pos;
35 attr->authorized_macs = pos;
36 attr->authorized_macs_len = len;
44 attr->network_key_shareable = pos;
52 attr->request_to_enroll = pos;
60 attr->settings_delay_time = pos;
68 attr->registrar_configuration_methods = pos;
80 static int wps_parse_vendor_ext_wfa(struct wps_parse_attr *attr, const u8 *pos, argument
91 if (wps_set_vendor_ext_wfa_subelem(attr, i
100 wps_parse_vendor_ext(struct wps_parse_attr *attr, const u8 *pos, u16 len) argument
141 wps_set_attr(struct wps_parse_attr *attr, u16 type, const u8 *pos, u16 len) argument
550 wps_parse_msg(const struct wpabuf *msg, struct wps_parse_attr *attr) argument
[all...]
H A Dwps_module_tests.c265 struct wps_parse_attr attr; local
285 if (wps_parse_msg(buf, &attr) != test->result) {
292 if (!attr.network_key || !attr.ap_setup_locked)
296 if (attr.num_cred != MAX_CRED_COUNT)
300 if (!attr.network_key_idx)
304 if (attr.num_req_dev_type != MAX_REQ_DEV_TYPE_COUNT)
308 if (attr.num_vendor_ext != MAX_WPS_PARSE_VENDOR_EXT)
312 if (!attr.version2 ||
313 !attr
[all...]
H A Dwps_upnp_ap.c33 struct wps_parse_attr attr; local
40 if (wps_parse_msg(msg, &attr) < 0)
47 if (attr.selected_registrar == NULL || *attr.selected_registrar == 0) {
53 s->dev_password_id = attr.dev_password_id ?
54 WPA_GET_BE16(attr.dev_password_id) : DEV_PW_DEFAULT;
55 s->config_methods = attr.sel_reg_config_methods ?
56 WPA_GET_BE16(attr.sel_reg_config_methods) : -1;
57 if (attr.authorized_macs) {
58 int count = attr
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_validate.c1028 struct wps_parse_attr attr; local
1034 if (wps_parse_msg(&buf, &attr) < 0) {
1039 if (wps_validate_network_idx(attr.network_idx, 1) ||
1040 wps_validate_ssid(attr.ssid, attr.ssid_len, 1) ||
1041 wps_validate_auth_type(attr.auth_type, 1) ||
1042 wps_validate_encr_type(attr.encr_type, 1) ||
1043 wps_validate_network_key_index(attr.network_key_idx, 0) ||
1044 wps_validate_network_key(attr.network_key, attr
1083 struct wps_parse_attr attr; local
1122 struct wps_parse_attr attr; local
1180 struct wps_parse_attr attr; local
1227 struct wps_parse_attr attr; local
1256 struct wps_parse_attr attr; local
1285 struct wps_parse_attr attr; local
1341 struct wps_parse_attr attr; local
1396 struct wps_parse_attr attr; local
1448 struct wps_parse_attr attr; local
1484 struct wps_parse_attr attr; local
1522 struct wps_parse_attr attr; local
1553 struct wps_parse_attr attr; local
1589 struct wps_parse_attr attr; local
1620 struct wps_parse_attr attr; local
1656 struct wps_parse_attr attr; local
1687 struct wps_parse_attr attr; local
1724 struct wps_parse_attr attr; local
1762 struct wps_parse_attr attr; local
1798 struct wps_parse_attr attr; local
1835 struct wps_parse_attr attr; local
1869 struct wps_parse_attr attr; local
1904 struct wps_parse_attr attr; local
1938 struct wps_parse_attr attr; local
[all...]
H A Dwps_attr_parse.c20 static int wps_set_vendor_ext_wfa_subelem(struct wps_parse_attr *attr, argument
32 attr->version2 = pos;
35 attr->authorized_macs = pos;
36 attr->authorized_macs_len = len;
44 attr->network_key_shareable = pos;
52 attr->request_to_enroll = pos;
60 attr->settings_delay_time = pos;
68 attr->registrar_configuration_methods = pos;
80 static int wps_parse_vendor_ext_wfa(struct wps_parse_attr *attr, const u8 *pos, argument
91 if (wps_set_vendor_ext_wfa_subelem(attr, i
100 wps_parse_vendor_ext(struct wps_parse_attr *attr, const u8 *pos, u16 len) argument
141 wps_set_attr(struct wps_parse_attr *attr, u16 type, const u8 *pos, u16 len) argument
550 wps_parse_msg(const struct wpabuf *msg, struct wps_parse_attr *attr) argument
[all...]
H A Dwps_module_tests.c265 struct wps_parse_attr attr; local
285 if (wps_parse_msg(buf, &attr) != test->result) {
292 if (!attr.network_key || !attr.ap_setup_locked)
296 if (attr.num_cred != MAX_CRED_COUNT)
300 if (!attr.network_key_idx)
304 if (attr.num_req_dev_type != MAX_REQ_DEV_TYPE_COUNT)
308 if (attr.num_vendor_ext != MAX_WPS_PARSE_VENDOR_EXT)
312 if (!attr.version2 ||
313 !attr
[all...]
H A Dwps_upnp_ap.c33 struct wps_parse_attr attr; local
40 if (wps_parse_msg(msg, &attr) < 0)
47 if (attr.selected_registrar == NULL || *attr.selected_registrar == 0) {
53 s->dev_password_id = attr.dev_password_id ?
54 WPA_GET_BE16(attr.dev_password_id) : DEV_PW_DEFAULT;
55 s->config_methods = attr.sel_reg_config_methods ?
56 WPA_GET_BE16(attr.sel_reg_config_methods) : -1;
57 if (attr.authorized_macs) {
58 int count = attr
[all...]
/external/elfutils/0.153/libdw/
H A Ddwarf_hasattr_integrate.c68 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, DW_AT_abstract_origin, local
70 if (attr == NULL)
71 attr = INTUSE(dwarf_attr) (die, DW_AT_specification, &attr_mem);
72 if (attr == NULL)
75 die = INTUSE(dwarf_formref_die) (attr, &die_mem);
H A Ddwarf_formblock.c60 dwarf_formblock (attr, return_block)
61 Dwarf_Attribute *attr;
64 if (attr == NULL)
69 switch (attr->form)
72 return_block->length = *(uint8_t *) attr->valp;
73 return_block->data = attr->valp + 1;
77 return_block->length = read_2ubyte_unaligned (attr->cu->dbg, attr->valp);
78 return_block->data = attr->valp + 2;
82 return_block->length = read_4ubyte_unaligned (attr
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/asm/
H A DAttribute.java127 Attribute attr = new Attribute(type);
128 attr.value = new byte[len];
129 System.arraycopy(cr.b, off, attr.value, 0, len);
130 return attr;
173 Attribute attr = this;
174 while (attr != null) {
176 attr = attr.next;
208 Attribute attr = this;
210 while (attr !
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dparse-events.c19 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->attr.type);
21 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type);
22 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->attr.sample_period);
35 PERF_TYPE_TRACEPOINT == evsel->attr.type);
37 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type);
39 1 == evsel->attr.sample_period);
49 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type);
50 TEST_ASSERT_VAL("wrong config", 0x1a == evsel->attr.config);
59 TEST_ASSERT_VAL("wrong type", 1 == evsel->attr.type);
60 TEST_ASSERT_VAL("wrong config", 1 == evsel->attr
[all...]
/external/bison/lib/
H A Dspawnattr_setsigmask.c26 posix_spawnattr_setsigmask (posix_spawnattr_t *attr, argument
30 memcpy (&attr->_ss, sigmask, sizeof (sigset_t));
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_attr_setscope.c46 pthread_attr_setscope (pthread_attr_t * attr, int contentionscope) argument
52 (*attr)->contentionscope = contentionscope;
H A Dpthread_barrierattr_init.c42 pthread_barrierattr_init (pthread_barrierattr_t * attr) argument
50 * attr
62 * 0 successfully initialized attr,
63 * ENOMEM insufficient memory for attr.
82 *attr = ba;
H A Dpthread_condattr_init.c43 pthread_condattr_init (pthread_condattr_t * attr) argument
51 * attr
67 * 0 successfully initialized attr,
68 * ENOMEM insufficient memory for attr.
83 *attr = attr_result;
H A Dpthread_attr_setschedparam.c42 pthread_attr_setschedparam (pthread_attr_t * attr, argument
47 if (ptw32_is_attr (attr) != 0 || param == NULL)
61 memcpy (&(*attr)->param, param, sizeof (*param));
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFAttribute.h19 DWARFAttribute(dw_attr_t attr, dw_form_t form) : argument
20 m_attr_form ( attr << 16 | form )
24 void set(dw_attr_t attr, dw_form_t form) { m_attr_form = (attr << 16) | form; } argument
25 void set_attr(dw_attr_t attr) { m_attr_form = (m_attr_form & 0x0000ffffu) | (attr << 16); } argument
29 void get(dw_attr_t& attr, dw_form_t& form) const argument
32 attr = attr_form >> 16;
/external/linux-tools-perf/perf-3.12.0/include/linux/
H A Dhw_breakpoint.h11 static inline void hw_breakpoint_init(struct perf_event_attr *attr) argument
13 memset(attr, 0, sizeof(*attr));
15 attr->type = PERF_TYPE_BREAKPOINT;
16 attr->size = sizeof(*attr);
21 attr->pinned = 1;
22 attr->sample_period = 1;
25 static inline void ptrace_breakpoint_init(struct perf_event_attr *attr) argument
27 hw_breakpoint_init(attr);
92 register_user_hw_breakpoint(struct perf_event_attr *attr, perf_overflow_handler_t triggered, void *context, struct task_struct *tsk) argument
97 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr) argument
100 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, perf_overflow_handler_t triggered, void *context, int cpu) argument
105 register_wide_hw_breakpoint(struct perf_event_attr *attr, perf_overflow_handler_t triggered, void *context) argument
[all...]
/external/lldb/www/cpp_reference/html/
H A Ddynsections.js3 var base = $(linkObj).attr('id');
7 var src=$(trigger).attr('src');
12 $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
17 $(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
34 i.attr('src','ftv2folderopen.png');
35 a.attr('src','ftv2mnode.png');
38 i.attr('src','ftv2folderclosed.png');
39 a.attr('src','ftv2pnode.png');
54 i.attr('src','ftv2folderclosed.png');
55 a.attr('sr
[all...]

Completed in 703 milliseconds

1234567891011>>