Home
last modified time | relevance | path

Searched +full:multi +full:- +full:attr (Results 1 – 25 of 125) sorted by relevance

12345

/freebsd/contrib/wpa/src/wps/
H A Dwps_attr_parse.c2 * Wi-Fi Protected Setup - attribute parsing
20 static int wps_set_vendor_ext_wfa_subelem(struct wps_parse_attr *attr, in wps_set_vendor_ext_wfa_subelem() argument
30 return -1; in wps_set_vendor_ext_wfa_subelem()
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()
42 return -1; in wps_set_vendor_ext_wfa_subelem()
44 attr->network_key_shareable = pos; in wps_set_vendor_ext_wfa_subelem()
50 return -1; in wps_set_vendor_ext_wfa_subelem()
52 attr->request_to_enroll = pos; in wps_set_vendor_ext_wfa_subelem()
[all …]
H A Dwps_dev_attr.c2 * Wi-Fi Protected Setup - device attributes
21 len = dev->manufacturer ? os_strlen(dev->manufacturer) : 0; in wps_build_manufacturer()
25 * Some deployed WPS implementations fail to parse zero-length in wps_build_manufacturer()
35 wpabuf_put_data(msg, dev->manufacturer, len); in wps_build_manufacturer()
45 len = dev->model_name ? os_strlen(dev->model_name) : 0; in wps_build_model_name()
49 * Some deployed WPS implementations fail to parse zero-length in wps_build_model_name()
59 wpabuf_put_data(msg, dev->model_name, len); in wps_build_model_name()
69 len = dev->model_number ? os_strlen(dev->model_number) : 0; in wps_build_model_number()
73 * Some deployed WPS implementations fail to parse zero-length in wps_build_model_number()
83 wpabuf_put_data(msg, dev->model_number, len); in wps_build_model_number()
[all …]
H A Dwps_registrar.c2 * Wi-Fi Protected Setup - Registrar
3 * Copyright (c) 2008-2016, Jouni Malinen <j@w1.fi>
45 dl_list_del(&token->list); in wps_remove_nfc_pw_token()
55 if (pw_id == 0 || pw_id == token->pw_id) in wps_free_nfc_pw_tokens()
66 if (pw_id == token->pw_id) in wps_get_nfc_pw_token()
95 bin_clear_free(pin->pin, pin->pin_len); in wps_free_pin()
102 dl_list_del(&pin->list); in wps_remove_pin()
129 pbc = pbc->next; in wps_free_pbc_sessions()
194 * multi_ap_backhaul_ssid - SSID to supply to a Multi-AP backhaul
198 * Credentials when the enrollee advertises it is a Multi-AP backhaul
[all …]
/freebsd/contrib/ncurses/menu/
H A Dm_attribs.c3 * Copyright 1998-2010,2012 Free Software Foundation, Inc. *
45 if ( (menu) && ((menu)->status & _POSTED) )\
53 MENU_EXPORT(int) NCURSES_API set_menu_ ## name (MENU* menu, chtype attr) \
55 T((T_CALLED("set_menu_" #name "(%p,%s)"), (void *) menu, _traceattr(attr))); \
56 if (!(attr==A_NORMAL || (attr & A_ATTRIBUTES)==attr))\
58 if (menu && ( menu -> name != attr))\
60 (menu -> name) = attr;\
63 Normalize_Menu( menu ) -> name = attr;\
72 returnAttr(Normalize_Menu( menu ) -> name);\
75 /*---------------------------------------------------------------------------
[all …]
/freebsd/sys/ofed/drivers/infiniband/util/
H A Dmadeye.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
17 * - Redistributions of source code must retain the above
21 * - Redistributions in binary form must reproduce the above
145 return "Get Multi"; in get_method_name()
147 return "Get Multi response"; in get_method_name()
182 static char * get_sa_attr(__be16 attr) in get_sa_attr() argument
184 switch(attr) { in get_sa_attr()
224 return "Multi Path Record"; in get_sa_attr()
236 printk("MAD version....0x%01x\n", mad_hdr->base_version); in print_mad_hdr()
[all …]
/freebsd/share/man/man3/
H A Dpthread_np.341 .Bl -bullet -offset indent -compact
54 .\" Per-Thread Context Routines
58 .Bl -tag -width indent
90 Sets the thread's scheduling mode to multi-threaded.
127 Sets the thread's scheduling mode to single-threaded.
149 .Bl -tag -width indent
173 .Fn pthread_attr_setcreatesuspend_np "pthread_attr_t *attr"
178 .Bl -tag -width indent
181 .Fn pthread_mutexattr_getkind_np "pthread_mutexattr_t attr"
188 .Fn pthread_mutexattr_setkind_np "pthread_mutexattr_t *attr"
[all …]
/freebsd/contrib/jemalloc/src/
H A Dmutex.c32 * process goes multi-threaded. in pthread_create()
38 const pthread_attr_t *__restrict attr, void *(*start_routine)(void *),
40 return pthread_create_wrapper(thread, attr, start_routine, arg);
66 mutex_prof_data_t *data = &mutex->prof_data; in malloc_mutex_lock_slow()
76 if (!atomic_load_b(&mutex->locked, ATOMIC_RELAXED) in malloc_mutex_lock_slow()
78 data->n_spin_acquired++; in malloc_mutex_lock_slow()
81 } while (cnt++ < opt_mutex_max_spin || opt_mutex_max_spin == -1); in malloc_mutex_lock_slow()
93 uint32_t n_thds = atomic_fetch_add_u32(&data->n_waiting_thds, 1, in malloc_mutex_lock_slow()
97 atomic_fetch_sub_u32(&data->n_waiting_thd in malloc_mutex_lock_slow()
33 pthread_create(pthread_t * __restrict thread,const pthread_attr_t * __restrict attr,void * (* start_routine)(void *),void * __restrict arg) pthread_create() argument
181 pthread_mutexattr_t attr; malloc_mutex_init() local
[all...]
/freebsd/usr.bin/sort/
H A Dradixsort.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
50 #define TINY_NODE(sl) ((sl)->tosort_num < 65)
51 #define SMALL_NODE(sl) ((sl)->tosort_num < 5)
56 /* sort sub-levels array size */
103 sort_left -= n; in sort_left_dec()
134 ls->next = g_ls; in _push_ls()
147 new_ls->sl = sl; in push_ls()
161 * Pop sort level from the stack (single-threaded style)
171 sl = g_ls->sl; in pop_ls_st()
[all …]
H A Dfile.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
105 * We use semaphore here because it is signal-safe, according to POSIX.
136 item->fn = sort_strdup(tmp_file); in tmp_file_atexit()
152 if ((item) && (item->fn)) in clear_tmp_files()
153 unlink(item->fn); in clear_tmp_files()
170 if ((item) && (item->fn)) in file_is_tmp()
171 if (strcmp(item->fn, fn) == 0) { in file_is_tmp()
191 if (asprintf(&ret, "%s/.bsdsort.XXXXXXXXXX", tmpdir) == -1) in new_tmp_file_name()
193 if ((fd = mkstemp(ret)) == -1) in new_tmp_file_name()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dos92 #------------------------------------------------------------------------------
33 >6 byte&0x0f 0x00 non-executable
35 >6 byte&0x0f 0x02 BASIC I-code
36 >6 byte&0x0f 0x03 Pascal P-code
37 >6 byte&0x0f 0x04 C I-code
38 >6 byte&0x0f 0x05 COBOL I-code
39 >6 byte&0x0f 0x06 Fortran I-code
43 >6 byte&0xf0 0x30 multi-module
55 # attr
56 >0x14 byte&0x80 0x80 re-entrant
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dhostapd.c3 * Copyright (c) 2002-2021, Jouni Malinen <j@w1.fi>
84 for (i = 0; i < interfaces->count; i++) { in hostapd_for_each_interface()
85 if (!interfaces->iface[i]) in hostapd_for_each_interface()
87 ret = cb(interfaces->iface[i], ctx); in hostapd_for_each_interface()
98 if (hapd->iconf->mbssid) in hostapd_mbssid_get_tx_bss()
99 return hapd->iface->bss[0]; in hostapd_mbssid_get_tx_bss()
107 if (hapd->iconf->mbssid) { in hostapd_mbssid_get_bss_index()
110 for (i = 1; i < hapd->iface->num_bss; i++) in hostapd_mbssid_get_bss_index()
111 if (hapd->iface->bss[i] == hapd) in hostapd_mbssid_get_bss_index()
121 if (hapd->wpa_auth) in hostapd_reconfig_encryption()
[all …]
/freebsd/contrib/ntp/sntp/libevent/m4/
H A Dacx_pthread.m41 ##### http://autoconf-archive.cryp.to/acx_pthread.html
5 # ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
17 # multi-threaded programs (defaults to the value of CC otherwise).
32 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute
36 # ACTION-I
[all...]
/freebsd/contrib/libevent/m4/
H A Dacx_pthread.m41 ##### http://autoconf-archive.cryp.to/acx_pthread.html
5 # ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
17 # multi-threaded programs (defaults to the value of CC otherwise).
32 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute
36 # ACTION-IF-FOUND is a list of shell commands to run if a threads
37 # library is found, and ACTION-IF-NOT-FOUND is a list of commands to
38 # run it if it is not found. If ACTION-IF-FOUND is not specified, the
51 # 2007-07-29
117 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
118 # libraries is broken (non-POSIX).
[all …]
/freebsd/contrib/wpa/src/radius/
H A Dradius.c3 * Copyright (c) 2002-2009, 2011-2022, Jouni Malinen <j@w1.fi>
19 * struct radius_msg - RADIUS message structure for new and parsed messages
23 * buf - Allocated buffer for RADIUS message
28 * hdr - Pointer to the RADIUS header in buf
33 * attr_pos - Array of indexes to attributes
41 * attr_size - Total size of the attribute pointer array
46 * attr_used - Total number of attributes in the array
54 return msg->hdr; in radius_msg_get_hdr()
60 return msg->buf; in radius_msg_get_buf()
68 (wpabuf_mhead_u8(msg->buf) + msg->attr_pos[idx]); in radius_get_attr_hdr()
[all …]
/freebsd/sys/contrib/libsodium/m4/
H A Dax_pthread.m42 # https://www.gnu.org/software/autoconf-archive/ax_pthread.html
7 # AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
18 # multi-threaded programs (defaults to the value of CC otherwise). (This
32 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
40 # ACTION-IF-FOUND is a list of shell commands to run if a threads library
41 # is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
42 # is not found. If ACTION-IF-FOUND is not specified, the default action
123 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
124 # libraries is broken (non-POSIX).
126 # Create a list of thread flags to try. Items starting with a "-" are
[all …]
/freebsd/sys/powerpc/powerpc/
H A Dbusdma_machdep.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
102 #define dmat_alignment(dmat) ((dmat)->alignment)
104 #define dmat_boundary(dmat) ((dmat)->boundary)
105 #define dmat_flags(dmat) ((dmat)->flags)
106 #define dmat_highaddr(dmat) ((dmat)->highaddr)
107 #define dmat_lowaddr(dmat) ((dmat)->lowaddr)
108 #define dmat_lockfunc(dmat) ((dmat)->lockfunc)
109 #define dmat_lockfuncarg(dmat) ((dmat)->lockfuncarg)
110 #define dmat_maxsegsz(dmat) ((dmat)->maxsegsz)
[all …]
/freebsd/contrib/unbound/
H A Dax_pthread.m42 # https://www.gnu.org/software/autoconf-archive/ax_pthread.html
7 # AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
18 # needed for multi-threaded programs (defaults to the value of CC
36 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
44 # ACTION-IF-FOUND is a list of shell commands to run if a threads library
45 # is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
46 # is not found. If ACTION-IF-FOUND is not specified, the default action
129 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
130 # libraries is broken (non-POSIX).
134 # starting with a "-" are C compiler flags, and remaining items are
[all …]
/freebsd/crypto/krb5/src/config/ac-archive/
H A Dax_pthread.m42 # https://www.gnu.org/software/autoconf-archive/ax_pthread.html
7 # AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
18 # needed for multi-threaded programs (defaults to the value of CC
36 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
44 # ACTION-IF-FOUND is a list of shell commands to run if a threads library
45 # is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
46 # is not found. If ACTION-IF-FOUND is not specified, the default action
129 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
130 # libraries is broken (non-POSIX).
134 # starting with a "-" are C compiler flags, and remaining items are
[all …]
/freebsd/contrib/ncurses/doc/
H A Dncurses-intro.doc5 by Eric S. Raymond and Zeyd M. Ben-Halim
31 o Low-Level Capability Access
71 + Variable-Sized Fields
84 o Inter-Field Navigation Requests
85 o Intra-Field Navigation Requests
117 The curses package is a subroutine library for terminal-independent
118 screen-painting and input-event handling which presents a high level
128 the advantage of (a) back-portability to character-cell terminals, and
129 (b) simplicity. For an application that does not require bit-mapped
137 provide screen-handling for the vi editor; these used the termcap
[all …]
/freebsd/sys/x86/x86/
H A Dbusdma_bounce.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
110 #define dmat_alignment(dmat) ((dmat)->common.alignment)
111 #define dmat_bounce_flags(dmat) ((dmat)->bounce_flags)
112 #define dmat_boundary(dmat) ((dmat)->common.boundary)
113 #define dmat_domain(dmat) ((dmat)->common.domain)
114 #define dmat_flags(dmat) ((dmat)->common.flags)
115 #define dmat_highaddr(dmat) ((dmat)->common.highaddr)
116 #define dmat_lowaddr(dmat) ((dmat)->common.lowaddr)
117 #define dmat_lockfunc(dmat) ((dmat)->common.lockfunc)
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dldap.c2 * Copyright (c) 2001-2009 Proofpoint, Inc. and its suppliers.
14 SM_RCSID("@(#)$Id: ldap.c,v 1.86 2013-11-22 20:51:43 ca Exp $")
34 "@(#)$Debug: sm_trace_ldap - trace LDAP operations $");
42 ** SM_LDAP_CLEAR -- set default values for SM_LDAP_STRUCT
45 ** lmap -- pointer to SM_LDAP_STRUCT to clear
71 lmap->ldap_host = NULL;
72 lmap->ldap_port = LDAP_PORT;
73 lmap->ldap_uri = NULL;
74 lmap->ldap_version = SM_LDAP_VERSION_DEFAULT;
75 lmap->ldap_deref = LDAP_DEREF_NEVER;
[all …]
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_qp.c15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
53 #include <rdma/mlx4-abi.h>
133 if (!mlx4_is_master(dev->dev)) in is_tunnel_qp()
136 return qp->mqp.qpn >= dev->dev->phys_caps.base_tunnel_sqpn && in is_tunnel_qp()
137 qp->mqp.qpn < dev->dev->phys_caps.base_tunnel_sqpn + in is_tunnel_qp()
146 /* PPF or Native -- real SQP */ in is_sqp()
147 real_sqp = ((mlx4_is_master(dev->dev) || !mlx4_is_mfunc(dev->dev)) && in is_sqp()
148 qp->mqp.qpn >= dev->dev->phys_caps.base_sqpn && in is_sqp()
149 qp->mqp.qpn <= dev->dev->phys_caps.base_sqpn + 3); in is_sqp()
[all …]
/freebsd/contrib/tcsh/
H A Ded.refresh.c4 /*-
38 /* refresh.c -- refresh the current set of lines on the screen */
86 static int fd = -1; in reprintf()
94 if (fd == -1) in reprintf()
130 if (litlen + addlitlen + len + 1 + (LIT_FACTOR - 1) > litalloc) { in MakeLiteral()
133 while (len + addlitlen + 1 + (LIT_FACTOR - 1) > add) in MakeLiteral()
163 Char c, attr; in Draw() local
166 if (!drawPrompt) { /* draw command-line */ in Draw()
167 attr = 0; in Draw()
177 attr = (*cp & ATTRIBUTES); in Draw()
[all …]
/freebsd/lib/libmt/
H A Dmt.364 .Fa "const char **attr"
174 driver returns some status data as XML-formatted strings, and
202 is successful, and non-zero if parsing failed.
227 argument is for a user-supplied alternate printing function.
228 If it is non-NULL, it will be called instead of the default output printing
255 In the case of a multi-level name like "foo.bar.baz", it will return the
334 argument is non-zero, protection entry descriptions will be printed.
342 is non-NULL, only the named parameter will be printed.
345 is non-zero, parameter descriptions will be omitted in the output.
364 argument is non-zero, the bits per inch value is returned.
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp1 //===--- SemaAPINotes.cpp - API Notes Handling ----------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
42 /// Determine whether this is a multi-level pointer type.
44 QualType Pointee = Type->getPointeeType(); in isIndirectPointerType()
48 return Pointee->isAnyPointerType() || Pointee->isObjCObjectPointerType() || in isIndirectPointerType()
49 Pointee->isMemberPointerType(); in isIndirectPointerType()
60 NullabilityKind Nullability) -> std::optional<QualType> { in applyNullability()
62 S.CheckImplicitNullabilityTypeSpecifier(QT, Nullability, D->getLocation(), in applyNullability()
[all …]

12345