Searched refs:attr (Results 1 - 25 of 726) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/gcclibs/libgomp/config/posix/
H A Daffinity.c38 gomp_init_thread_affinity (pthread_attr_t *attr) argument
40 (void) attr;
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_barrierattr.c48 _pthread_barrierattr_destroy(pthread_barrierattr_t *attr) argument
51 if (attr == NULL || *attr == NULL)
54 free(*attr);
59 _pthread_barrierattr_getpshared(const pthread_barrierattr_t * __restrict attr, argument
63 if (attr == NULL || *attr == NULL)
66 *pshared = (*attr)->pshared;
71 _pthread_barrierattr_init(pthread_barrierattr_t *attr) argument
74 if (attr
85 _pthread_barrierattr_setpshared(pthread_barrierattr_t *attr, int pshared) argument
[all...]
H A Dthr_condattr.c50 _pthread_condattr_init(pthread_condattr_t *attr) argument
61 *attr = pattr;
68 _pthread_condattr_destroy(pthread_condattr_t *attr) argument
72 if (attr == NULL || *attr == NULL) {
75 free(*attr);
76 *attr = NULL;
83 _pthread_condattr_getclock(const pthread_condattr_t * __restrict attr, argument
86 if (attr == NULL || *attr
93 _pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id) argument
108 _pthread_condattr_getpshared(const pthread_condattr_t * __restrict attr, int * __restrict pshared) argument
119 _pthread_condattr_setpshared(pthread_condattr_t *attr, int pshared) argument
[all...]
H A Dthr_attr.c113 _pthread_attr_destroy(pthread_attr_t *attr) argument
118 if (attr == NULL || *attr == NULL)
122 if ((*attr)->cpuset != NULL)
123 free((*attr)->cpuset);
125 free(*attr);
131 *attr = NULL;
143 struct pthread_attr attr, *dst; local
157 attr = pthread->attr;
177 _pthread_attr_getdetachstate(const pthread_attr_t *attr, int *detachstate) argument
200 _pthread_attr_getguardsize(const pthread_attr_t * __restrict attr, size_t * __restrict guardsize) argument
219 _pthread_attr_getinheritsched(const pthread_attr_t * __restrict attr, int * __restrict sched_inherit) argument
235 _pthread_attr_getschedparam(const pthread_attr_t * __restrict attr, struct sched_param * __restrict param) argument
251 _pthread_attr_getschedpolicy(const pthread_attr_t * __restrict attr, int * __restrict policy) argument
267 _pthread_attr_getscope(const pthread_attr_t * __restrict attr, int * __restrict contentionscope) argument
286 _pthread_attr_getstack(const pthread_attr_t * __restrict attr, void ** __restrict stackaddr, size_t * __restrict stacksize) argument
308 _pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr) argument
326 _pthread_attr_getstacksize(const pthread_attr_t * __restrict attr, size_t * __restrict stacksize) argument
345 _pthread_attr_init(pthread_attr_t *attr) argument
370 _pthread_attr_setcreatesuspend_np(pthread_attr_t *attr) argument
386 _pthread_attr_setdetachstate(pthread_attr_t *attr, int detachstate) argument
411 _pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize) argument
429 _pthread_attr_setinheritsched(pthread_attr_t *attr, int sched_inherit) argument
447 _pthread_attr_setschedparam(pthread_attr_t * __restrict attr, const struct sched_param * __restrict param) argument
480 _pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) argument
498 _pthread_attr_setscope(pthread_attr_t *attr, int contentionscope) argument
519 _pthread_attr_setstack(pthread_attr_t *attr, void *stackaddr, size_t stacksize) argument
540 _pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr) argument
558 _pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) argument
595 pthread_attr_t attr; local
638 pthread_attr_t attr; local
[all...]
H A Dthr_mutexattr.c91 _pthread_mutexattr_init(pthread_mutexattr_t *attr) argument
102 *attr = pattr;
109 _pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int kind) argument
112 if (attr == NULL || *attr == NULL) {
116 (*attr)->m_type = kind;
123 _pthread_mutexattr_getkind_np(pthread_mutexattr_t attr) argument
127 if (attr == NULL) {
131 ret = attr->m_type;
137 _pthread_mutexattr_settype(pthread_mutexattr_t *attr, in argument
151 _pthread_mutexattr_gettype(const pthread_mutexattr_t * __restrict attr, int * __restrict type) argument
167 _pthread_mutexattr_destroy(pthread_mutexattr_t *attr) argument
181 _pthread_mutexattr_getpshared(const pthread_mutexattr_t *attr, int *pshared) argument
192 _pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int pshared) argument
[all...]
H A Dthr_stack.c139 mprotect((char *)thrd->attr.stackaddr_attr +
140 round_up(thrd->attr.guardsize_attr),
141 round_up(thrd->attr.stacksize_attr),
191 _thr_stack_alloc(struct pthread_attr *attr) argument
206 stacksize = round_up(attr->stacksize_attr);
207 guardsize = round_up(attr->guardsize_attr);
209 attr->stackaddr_attr = NULL;
210 attr->flags &= ~THR_STACK_USER;
226 attr->stackaddr_attr = spare_stack->stackaddr;
239 attr
295 _thr_stack_free(struct pthread_attr *attr) argument
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_slkatrof.c44 NCURSES_SP_NAME(slk_attroff) (NCURSES_SP_DCLx const chtype attr) argument
46 T((T_CALLED("slk_attroff(%p,%s)"), (void *) SP_PARM, _traceattr(attr)));
49 TR(TRACE_ATTRS, ("... current %s", _tracech_t(CHREF(SP_PARM->_slk->attr))));
50 RemAttr(SP_PARM->_slk->attr, attr);
51 if ((attr & A_COLOR) != 0) {
52 SetPair(SP_PARM->_slk->attr, 0);
54 TR(TRACE_ATTRS, ("new attribute is %s", _tracech_t(CHREF(SP_PARM->_slk->attr))));
62 slk_attroff(const chtype attr) argument
64 return NCURSES_SP_NAME(slk_attroff) (CURRENT_SCREEN, attr);
[all...]
H A Dlib_slkatrset.c44 NCURSES_SP_NAME(slk_attrset) (NCURSES_SP_DCLx const chtype attr) argument
46 T((T_CALLED("slk_attrset(%p,%s)"), (void *) SP_PARM, _traceattr(attr)));
49 SetAttr(SP_PARM->_slk->attr, attr);
57 slk_attrset(const chtype attr) argument
59 return NCURSES_SP_NAME(slk_attrset) (CURRENT_SCREEN, attr);
H A Dlib_slkatron.c44 NCURSES_SP_NAME(slk_attron) (NCURSES_SP_DCLx const chtype attr) argument
46 T((T_CALLED("slk_attron(%p,%s)"), (void *) SP_PARM, _traceattr(attr)));
49 TR(TRACE_ATTRS, ("... current %s", _tracech_t(CHREF(SP_PARM->_slk->attr))));
50 AddAttr(SP_PARM->_slk->attr, attr);
51 if ((attr & A_COLOR) != 0) {
52 SetPair(SP_PARM->_slk->attr, PairNumber(attr));
54 TR(TRACE_ATTRS, ("new attribute is %s", _tracech_t(CHREF(SP_PARM->_slk->attr))));
62 slk_attron(const chtype attr) argument
[all...]
H A Dlib_slkatr_set.c45 const attr_t attr,
53 _traceattr(attr),
61 TR(TRACE_ATTRS, ("... current %s", _tracech_t(CHREF(SP_PARM->_slk->attr))));
62 SetAttr(SP_PARM->_slk->attr, attr);
64 SetPair(SP_PARM->_slk->attr, color_pair_number);
66 TR(TRACE_ATTRS, ("new attribute is %s", _tracech_t(CHREF(SP_PARM->_slk->attr))));
74 slk_attr_set(const attr_t attr, NCURSES_COLOR_T color_pair_number, void *opts) argument
76 return NCURSES_SP_NAME(slk_attr_set) (CURRENT_SCREEN, attr,
44 slk_attr_set(NCURSES_SP_DCLx const attr_t attr, NCURSES_PAIRS_T color_pair_number, void *opts) argument
/freebsd-11-stable/contrib/apr/threadproc/unix/
H A Dproc.c42 APR_DECLARE(apr_status_t) apr_procattr_io_set(apr_procattr_t *attr,
60 if ((rv = apr_file_pipe_create_ex(&attr->child_in, &attr->parent_in,
61 in, attr->pool)) == APR_SUCCESS)
62 rv = apr_file_inherit_unset(attr->parent_in);
67 attr->child_in = &no_file;
70 if ((rv = apr_file_pipe_create_ex(&attr->parent_out, &attr->child_out,
71 out, attr->pool)) == APR_SUCCESS)
72 rv = apr_file_inherit_unset(attr
241 limit_proc(apr_procattr_t *attr) argument
[all...]
/freebsd-11-stable/contrib/wpa/src/wps/
H A Dwps_validate.c1030 struct wps_parse_attr attr; local
1036 if (wps_parse_msg(&buf, &attr) < 0) {
1041 if (wps_validate_network_idx(attr.network_idx, 1) ||
1042 wps_validate_ssid(attr.ssid, attr.ssid_len, 1) ||
1043 wps_validate_auth_type(attr.auth_type, 1) ||
1044 wps_validate_encr_type(attr.encr_type, 1) ||
1045 wps_validate_network_key_index(attr.network_key_idx, 0) ||
1046 wps_validate_network_key(attr.network_key, attr
1085 struct wps_parse_attr attr; local
1124 struct wps_parse_attr attr; local
1182 struct wps_parse_attr attr; local
1229 struct wps_parse_attr attr; local
1258 struct wps_parse_attr attr; local
1287 struct wps_parse_attr attr; local
1343 struct wps_parse_attr attr; local
1398 struct wps_parse_attr attr; local
1450 struct wps_parse_attr attr; local
1486 struct wps_parse_attr attr; local
1524 struct wps_parse_attr attr; local
1555 struct wps_parse_attr attr; local
1591 struct wps_parse_attr attr; local
1622 struct wps_parse_attr attr; local
1658 struct wps_parse_attr attr; local
1689 struct wps_parse_attr attr; local
1726 struct wps_parse_attr attr; local
1764 struct wps_parse_attr attr; local
1800 struct wps_parse_attr attr; local
1837 struct wps_parse_attr attr; local
1871 struct wps_parse_attr attr; local
1906 struct wps_parse_attr attr; local
1940 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;
77 attr->multi_ap_ext = *pos;
79 attr
91 wps_parse_vendor_ext_wfa(struct wps_parse_attr *attr, const u8 *pos, u16 len) argument
111 wps_parse_vendor_ext(struct wps_parse_attr *attr, const u8 *pos, u16 len) argument
152 wps_set_attr(struct wps_parse_attr *attr, u16 type, const u8 *pos, u16 len) argument
596 wps_parse_msg(const struct wpabuf *msg, struct wps_parse_attr *attr) argument
[all...]
H A Dwps_module_tests.c266 struct wps_parse_attr attr; local
286 if (wps_parse_msg(buf, &attr) != test->result) {
293 if (!attr.network_key || !attr.ap_setup_locked)
297 if (attr.num_cred != MAX_CRED_COUNT)
301 if (!attr.network_key_idx)
305 if (attr.num_req_dev_type != MAX_REQ_DEV_TYPE_COUNT)
309 if (attr.num_vendor_ext != MAX_WPS_PARSE_VENDOR_EXT)
313 if (!attr.version2 ||
314 !attr
[all...]
H A Dwps_upnp_ap.c33 struct wps_parse_attr attr; local
38 wps_parse_msg(msg, &attr) < 0)
45 if (attr.selected_registrar == NULL || *attr.selected_registrar == 0) {
51 s->dev_password_id = attr.dev_password_id ?
52 WPA_GET_BE16(attr.dev_password_id) : DEV_PW_DEFAULT;
53 s->config_methods = attr.sel_reg_config_methods ?
54 WPA_GET_BE16(attr.sel_reg_config_methods) : -1;
55 if (attr.authorized_macs) {
56 int count = attr
[all...]
/freebsd-11-stable/contrib/ncurses/menu/
H A Dm_attribs.c52 NCURSES_IMPEXP int NCURSES_API set_menu_ ## name (MENU* menu, chtype attr) \
54 T((T_CALLED("set_menu_" #name "(%p,%s)"), (void *) menu, _traceattr(attr))); \
55 if (!(attr==A_NORMAL || (attr & A_ATTRIBUTES)==attr))\
57 if (menu && ( menu -> name != attr))\
59 (menu -> name) = attr;\
62 Normalize_Menu( menu ) -> name = attr;\
76 | Function : int set_menu_fore(MENU *menu, chtype attr)
102 | Function : int set_menu_back(MENU *menu, chtype attr)
[all...]
/freebsd-11-stable/contrib/ncurses/form/
H A Dfld_attr.c42 NCURSES_IMPEXP int NCURSES_API set_field_ ## name (FIELD * field, chtype attr)\
45 T((T_CALLED("set_field_" #name "(%p,%s)"), field, _traceattr(attr)));\
46 if ( attr==A_NORMAL || ((attr & A_ATTRIBUTES)==attr) )\
51 if ((field -> name) != attr)\
53 field -> name = attr;\
75 | Function : int set_field_fore(FIELD *field, chtype attr)
98 | Function : int set_field_back(FIELD *field, chtype attr)
/freebsd-11-stable/contrib/ntp/lib/isc/pthreads/
H A Dthread.c35 pthread_attr_t attr; local
39 pthread_attr_init(&attr);
43 ret = pthread_attr_getstacksize(&attr, &stacksize);
48 ret = pthread_attr_setstacksize(&attr, THREAD_MINSTACKSIZE);
55 ret = pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM);
60 ret = pthread_create(thread, &attr, func, arg);
64 pthread_attr_destroy(&attr);
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c72 struct attribute attr; member in struct:port_attribute
85 struct port_attribute attr; member in struct:port_table_attribute
92 struct attribute attr; member in struct:hw_stats_attribute
94 struct attribute *attr, char *buf);
96 struct attribute *attr,
104 struct attribute *attr, char *buf)
107 container_of(attr, struct port_attribute, attr);
121 struct attribute *attr, char *buf)
124 container_of(attr, struc
103 port_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument
120 gid_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument
141 struct ib_port_attr attr; local
165 struct ib_port_attr attr; local
179 struct ib_port_attr attr; local
192 struct ib_port_attr attr; local
205 struct ib_port_attr attr; local
218 struct ib_port_attr attr; local
231 struct ib_port_attr attr; local
284 struct ib_port_attr attr; local
353 _show_port_gid_attr(struct ib_port *p, struct port_attribute *attr, char *buf, size_t (*print)(struct ib_gid_attr *gid_attr, char *buf)) argument
378 show_port_gid(struct ib_port *p, struct port_attribute *attr, char *buf) argument
393 show_port_gid_attr_ndev(struct ib_port *p, struct port_attribute *attr, char *buf) argument
399 show_port_gid_attr_gid_type(struct ib_port *p, struct port_attribute *attr, char *buf) argument
406 show_port_pkey(struct ib_port *p, struct port_attribute *attr, char *buf) argument
439 get_perf_mad(struct ib_device *dev, int port_num, __be16 attr, void *data, int offset, size_t size) argument
485 show_pma_counter(struct ib_port *p, struct port_attribute *attr, char *buf) argument
786 show_hw_stats(struct kobject *kobj, struct attribute *attr, char *buf) argument
811 show_stats_lifespan(struct kobject *kobj, struct attribute *attr, char *buf) argument
830 set_stats_lifespan(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument
859 struct attribute **attr; local
984 struct ib_port_attr attr; local
1146 show_node_type(struct device *device, struct device_attribute *attr, char *buf) argument
1174 show_node_guid(struct device *device, struct device_attribute *attr, char *buf) argument
1186 show_node_desc(struct device *device, struct device_attribute *attr, char *buf) argument
1194 set_node_desc(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
1213 show_fw_ver(struct device *device, struct device_attribute *attr, char *buf) argument
[all...]
/freebsd-11-stable/crypto/openssl/crypto/x509/
H A Dx509_att.c123 X509_ATTRIBUTE *attr)
139 if ((new_attr = X509_ATTRIBUTE_dup(attr)) == NULL)
162 X509_ATTRIBUTE *attr; local
164 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len);
165 if (!attr)
167 ret = X509at_add1_attr(x, attr);
168 X509_ATTRIBUTE_free(attr);
177 X509_ATTRIBUTE *attr; local
179 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len);
180 if (!attr)
193 X509_ATTRIBUTE *attr; local
219 X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid, int atrtype, const void *data, int len) argument
237 X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr, const ASN1_OBJECT *obj, int atrtype, const void *data, int len) argument
267 X509_ATTRIBUTE_create_by_txt(X509_ATTRIBUTE **attr, const char *atrname, int type, const unsigned char *bytes, int len) argument
287 X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj) argument
296 X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, const void *data, int len) argument
350 X509_ATTRIBUTE_count(X509_ATTRIBUTE *attr) argument
359 X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr) argument
366 X509_ATTRIBUTE_get0_data(X509_ATTRIBUTE *attr, int idx, int atrtype, void *data) argument
380 X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFAttribute.h21 DWARFAttribute(dw_attr_t attr, dw_form_t form, argument
23 : m_attr(attr), m_form(form), m_value(value) {}
25 void set(dw_attr_t attr, dw_form_t form) { argument
26 m_attr = attr;
31 void get(dw_attr_t &attr, dw_form_t &form, argument
33 attr = m_attr;
56 dw_attr_t attr, dw_form_t form);
64 return m_infos[i].attr.get_attr();
66 dw_attr_t FormAtIndex(uint32_t i) const { return m_infos[i].attr.get_form(); }
69 DWARFDIE FormValueAsReference(dw_attr_t attr) cons
79 DWARFAttribute attr; member in struct:DWARFAttributes::AttributeValue
[all...]
/freebsd-11-stable/sys/compat/cloudabi32/
H A Dcloudabi32_thread.c39 cloudabi32_threadattr_t attr; member in struct:thread_create_args
53 return (cloudabi32_thread_setregs(td, &args->attr, args->tcb));
63 error = copyin(uap->attr, &args.attr, sizeof(args.attr));
68 args.tcb = rounddown(args.attr.stack + args.attr.stack_len -
70 args.attr.stack_len = args.tcb - args.attr.stack;
/freebsd-11-stable/sys/compat/cloudabi64/
H A Dcloudabi64_thread.c39 cloudabi64_threadattr_t attr; member in struct:thread_create_args
53 return (cloudabi64_thread_setregs(td, &args->attr, args->tcb));
63 error = copyin(uap->attr, &args.attr, sizeof(args.attr));
68 args.tcb = rounddown(args.attr.stack + args.attr.stack_len -
70 args.attr.stack_len = args.tcb - args.attr.stack;
/freebsd-11-stable/tests/sys/mqueue/
H A Dmqtest2.c29 struct mq_attr attr; local
38 attr.mq_maxmsg = 5;
39 attr.mq_msgsize = 128;
40 mq = mq_open(MQNAME, O_CREAT | O_RDWR | O_EXCL, 0666, &attr);
43 status = mq_getattr(mq, &attr);
59 buf = malloc(attr.mq_msgsize);
62 status = mq_receive(mq, buf, attr.mq_msgsize, &prio);
65 for (i = 0; i < attr.mq_msgsize; ++i)
83 buf = malloc(attr.mq_msgsize);
85 for (i = 0; i < attr
[all...]
/freebsd-11-stable/contrib/libxo/xohtml/
H A Dxohtml.js5 var help = $(this).attr('data-help'),
6 type = $(this).attr('data-type'),
7 xpath = $(this).attr('data-xpath'),
8 tag = $(this).attr('data-tag'),

Completed in 424 milliseconds

1234567891011>>