Searched refs:cap (Results 26 - 50 of 207) sorted by relevance

123456789

/freebsd-11-stable/contrib/ncurses/ncurses/tty/
H A Dlib_mvcur.c184 static int normalized_cost(NCURSES_SP_DCLx const char *const cap, int affcnt);
194 trace_cost_of(NCURSES_SP_DCLx const char *capname, const char *cap, int affcnt) argument
196 int result = NCURSES_SP_NAME(_nc_msec_cost) (NCURSES_SP_ARGx cap, affcnt);
198 ("CostOf %s %d %s", capname, result, _nc_visbuf(cap)));
201 #define CostOf(cap,affcnt) trace_cost_of(NCURSES_SP_ARGx #cap, cap, affcnt)
204 trace_normalized_cost(NCURSES_SP_DCLx const char *capname, const char *cap, int affcnt) argument
206 int result = normalized_cost(NCURSES_SP_ARGx cap, affcnt);
208 ("NormalizedCost %s %d %s", capname, result, _nc_visbuf(cap)));
221 _nc_msec_cost(NCURSES_SP_DCLx const char *const cap, int affcnt) argument
259 _nc_msec_cost(const char *const cap, int affcnt) argument
266 normalized_cost(NCURSES_SP_DCLx const char *const cap, int affcnt) argument
[all...]
/freebsd-11-stable/usr.bin/mkuzip/
H A Dmkuz_fqueue.c108 mkuz_fqueue_check(struct mkuz_fifo_queue *fqp, cmp_cb_t cmp_cb, void *cap) argument
113 if (cmp_cb(ip->this, cap)) {
121 mkuz_fqueue_deq_when(struct mkuz_fifo_queue *fqp, cmp_cb_t cmp_cb, void *cap) argument
127 while (fqp->last == NULL || !mkuz_fqueue_check(fqp, cmp_cb, cap)) {
130 if (cmp_cb(fqp->last->this, cap)) {
146 if (cmp_cb(ip->this, cap)) {
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetcap.c87 ROKEN_LIB_FUNCTION char * ROKEN_LIB_CALL cgetcap(char *buf, const char *cap, int type);
95 ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL cgetstr(char *buf, const char *cap, char **str);
96 ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL cgetustr(char *buf, const char *cap, char **str);
97 ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL cgetnum(char *buf, const char *cap, long *num);
145 * Cgetcap searches the capability record buf for the capability cap with
146 * type `type'. A pointer to the value of cap is returned on success, NULL
149 * Specifying a type of ':' means that nothing should follow cap (:cap:).
151 * cap is found.
153 * If (cap, '
157 cgetcap(char *buf, const char *cap, int type) argument
234 getent(char **cap, size_t *len, char **db_array, int fd, const char *name, int depth, char *nfield) argument
851 cgetstr(char *buf, const char *cap, char **str) argument
984 cgetustr(char *buf, const char *cap, char **str) argument
1053 cgetnum(char *buf, const char *cap, long *num) argument
[all...]
/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dverbs.c794 if (attr->cap.max_send_wr > ctx->max_qp_wr ||
795 attr->cap.max_recv_wr > ctx->max_qp_wr ||
796 attr->cap.max_send_sge > ctx->max_sge ||
797 attr->cap.max_recv_sge > ctx->max_sge)
800 if (attr->cap.max_send_wr > 65536 ||
801 attr->cap.max_recv_wr > 65536 ||
802 attr->cap.max_send_sge > 64 ||
803 attr->cap.max_recv_sge > 64)
806 if (attr->cap.max_inline_data > 1024)
817 attr->cap
[all...]
/freebsd-11-stable/contrib/wpa/src/common/
H A Dhw_features_common.c490 static int _ieee80211ac_cap_check(u32 hw, u32 conf, u32 cap, argument
493 u32 req_cap = conf & cap;
497 * NOTE: We assume that 'cap' represents a capability mask,
529 #define VHT_CAP_CHECK(cap) \
531 if (!_ieee80211ac_cap_check(hw, conf, cap, #cap)) \
535 #define VHT_CAP_CHECK_MAX(cap) \
537 if (!ieee80211ac_cap_check_max(hw, conf, cap, cap ## _SHIFT, \
538 #cap)) \
[all...]
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dmarshall.c68 dst->cap.max_send_wr = src->max_send_wr;
69 dst->cap.max_recv_wr = src->max_recv_wr;
70 dst->cap.max_send_sge = src->max_send_sge;
71 dst->cap.max_recv_sge = src->max_recv_sge;
72 dst->cap.max_inline_data = src->max_inline_data;
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_marshall.c72 dst->max_send_wr = src->cap.max_send_wr;
73 dst->max_recv_wr = src->cap.max_recv_wr;
74 dst->max_send_sge = src->cap.max_send_sge;
75 dst->max_recv_sge = src->cap.max_recv_sge;
76 dst->max_inline_data = src->cap.max_inline_data;
/freebsd-11-stable/sys/dev/cyapa/
H A Dcyapa.c344 init_device(device_t dev, struct cyapa_cap *cap, int probe) argument
398 if (cap) {
400 (void *)cap, sizeof(*cap));
402 if (strncmp(cap->prod_ida, "CYTRA", 5) != 0) {
404 cap->prod_ida);
464 struct cyapa_cap cap; local
477 error = init_device(dev, &cap, 1);
490 struct cyapa_cap cap; local
500 if (init_device(dev, &cap,
[all...]
/freebsd-11-stable/sys/amd64/vmm/
H A Dx86.c597 vm_cpuid_capability(struct vm *vm, int vcpuid, enum vm_cpuid_capability cap) argument
601 KASSERT(cap > 0 && cap < VCC_LAST, ("%s: invalid vm_cpu_capability %d",
602 __func__, cap));
608 switch (cap) {
622 panic("%s: unknown vm_cpu_capability %d", __func__, cap);
/freebsd-11-stable/contrib/llvm-project/libcxx/src/include/
H A Drefstring.h29 std::size_t cap; member in struct:__refstring_imp::__anon1257::_Rep_base
74 rep->cap = len;
/freebsd-11-stable/lib/libc/gen/
H A Dgetcap.c98 * Cgetcap searches the capability record buf for the capability cap with
99 * type `type'. A pointer to the value of cap is returned on success, NULL
102 * Specifying a type of ':' means that nothing should follow cap (:cap:).
104 * cap is found.
106 * If (cap, '@') or (cap, terminator, '@') is found before (cap, terminator)
110 cgetcap(char *buf, const char *cap, int type) argument
120 * the remainder of a field whose name failed to match cap
187 getent(char **cap, u_int *len, char **db_array, int fd, const char *name, int depth, char *nfield) argument
784 cgetstr(char *buf, const char *cap, char **str) argument
911 cgetustr(char *buf, const char *cap, char **str) argument
979 cgetnum(char *buf, const char *cap, long *num) argument
[all...]
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dsmpquery.c303 unsigned cap)
311 mad_dump_vlarbitration(buf, sizeof(buf), data, cap * 2);
317 char *name, int offset, int cap)
323 cap < 32 ? cap : 32);
324 if (!ret && cap > 32)
326 cap - 32);
302 vlarb_dump_table_entry(ib_portid_t * dest, int portnum, int offset, unsigned cap) argument
316 vlarb_dump_table(ib_portid_t * dest, int portnum, char *name, int offset, int cap) argument
/freebsd-11-stable/sys/amd64/vmm/io/
H A Dvhpet.c103 uint64_t cap = 0; local
105 cap |= 0x8086 << 16; /* vendor id */
106 cap |= (VHPET_NUM_TIMERS - 1) << 8; /* number of timers */
107 cap |= 1; /* revision */
108 cap &= ~HPET_CAP_COUNT_SIZE; /* 32-bit timer */
110 cap &= 0xffffffff;
111 cap |= (FS_PER_S / HPET_FREQ) << 32; /* tick period in fs */
113 return (cap);
756 vhpet_getcap(struct vm_hpet_cap *cap) argument
759 cap
[all...]
/freebsd-11-stable/sys/netipsec/
H A Dsubr_ipsec.c316 u_int cap), METHOD_ARGS(m, cap)
321 u_int cap)
328 if (cap == IPSEC_CAP_OPERABLE)
331 return (ipsec_kmod_caps(sc, m, cap));
320 ipsec_kmod_capability(struct ipsec_support * const sc, struct mbuf *m, u_int cap) argument
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_uath.c794 uath_get_capability(struct uath_softc *sc, uint32_t cap, uint32_t *val) argument
798 cap = htobe32(cap);
800 &cap, sizeof cap, val, sizeof(uint32_t), UATH_CMD_FLAG_MAGIC);
803 be32toh(cap));
820 struct uath_devcap *cap = &sc->sc_devcap; local
824 GETCAP(CAP_TARGET_VERSION, cap->targetVersion);
825 GETCAP(CAP_TARGET_REVISION, cap->targetRevision);
826 GETCAP(CAP_MAC_VERSION, cap
[all...]
/freebsd-11-stable/contrib/ncurses/progs/
H A Ddump_entry.c591 #define SAME_CAP(n,cap) (&tterm->Strings[n] == &cap)
974 kill_string(TERMTYPE *tterm, char *cap) argument
978 if (cap == tterm->Strings[n]) {
993 char *cap = tterm->Strings[n]; local
994 if (VALID_STRING(cap)) {
995 return cap;
1012 char *cap; local
1017 if ((cap = find_string(tterm, name)) != ABSENT_STRING
1018 && kill_string(tterm, cap)) {
1037 char *cap; local
[all...]
/freebsd-11-stable/sys/dev/hptmv/
H A Dgui_lib.c54 static int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap);
356 int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap) argument
358 ZeroMemory(cap, sizeof(DRIVER_CAPABILITIES));
359 cap->dwSize = sizeof(DRIVER_CAPABILITIES);
360 cap->MaximumControllers = MAX_VBUS;
362 /* cap->SupportCrossControllerRAID = 0; */
364 cap->SupportCrossControllerRAID = 0;
367 cap->MinimumBlockSizeShift = MinBlockSizeShift;
368 cap->MaximumBlockSizeShift = MaxBlockSizeShift;
369 cap
1380 PDRIVER_CAPABILITIES cap; local
[all...]
/freebsd-11-stable/sys/x86/iommu/
H A Dintel_utils.c89 int cap; member in struct:sagaw_bits_tag
93 {.agaw = 30, .cap = DMAR_CAP_SAGAW_2LVL, .awlvl = DMAR_CTX2_AW_2LVL,
95 {.agaw = 39, .cap = DMAR_CAP_SAGAW_3LVL, .awlvl = DMAR_CTX2_AW_3LVL,
97 {.agaw = 48, .cap = DMAR_CAP_SAGAW_4LVL, .awlvl = DMAR_CTX2_AW_4LVL,
99 {.agaw = 57, .cap = DMAR_CAP_SAGAW_5LVL, .awlvl = DMAR_CTX2_AW_5LVL,
101 {.agaw = 64, .cap = DMAR_CAP_SAGAW_6LVL, .awlvl = DMAR_CTX2_AW_6LVL,
113 if ((DMAR_CAP_SAGAW(unit->hw_cap) & sagaw_bits[i].cap) != 0)
154 (DMAR_CAP_SAGAW(unit->hw_cap) & sagaw_bits[i].cap) != 0)
160 } while ((DMAR_CAP_SAGAW(unit->hw_cap) & sagaw_bits[i].cap)
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dcaptoinfo.c273 * 'cap' is the relevant terminfo capability index.
280 _nc_captoinfo(const char *cap, const char *s, int const parameterized) argument
316 _nc_warning("saw %%r twice in %s", cap);
321 _nc_warning("saw %%m twice in %s", cap);
326 _nc_warning("saw %%n twice in %s", cap);
467 unctrl((chtype) *s), UChar(*s), cap);
579 _nc_infotocap(const char *cap GCC_UNUSED, const char *str, int const parameterized)
/freebsd-11-stable/crypto/heimdal/appl/login/
H A Dlogin.c447 cap_t cap; local
449 cap = cap_from_text("all=");
451 cap = cap_from_text(ucap->ca_default);
452 if(cap == NULL)
454 if(cap_set_proc(cap) < 0)
456 cap_free(cap);
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_cma.c72 .cap.max_send_wr = SDP_TX_SIZE,
73 .cap.max_recv_wr = SDP_RX_SIZE,
87 qp_init_attr.cap.max_send_sge = MIN(ssk->max_sge, SDP_MAX_SEND_SGES);
89 qp_init_attr.cap.max_send_sge);
91 qp_init_attr.cap.max_recv_sge = MIN(ssk->max_sge, SDP_MAX_RECV_SGES);
93 qp_init_attr.cap.max_recv_sge);
/freebsd-11-stable/sys/dev/sound/pci/hda/
H A Dhdaa.c543 if (HDA_PARAM_PIN_CAP_PRESENCE_DETECT_CAP(w->wclass.pin.cap) == 0 ||
693 if (HDA_PARAM_PIN_CAP_PRESENCE_DETECT_CAP(w->wclass.pin.cap) == 0 ||
766 if (HDA_PARAM_PIN_CAP_PRESENCE_DETECT_CAP(w->wclass.pin.cap) == 0 ||
785 if (!HDA_PARAM_PIN_CAP_DP(w->wclass.pin.cap) &&
786 !HDA_PARAM_PIN_CAP_HDMI(w->wclass.pin.cap))
982 uint32_t cap; local
984 cap = fcap;
985 if (cap != 0) {
986 sbuf_printf(sb, " Stream cap: 0x%08x", cap);
1114 hdaa_dump_amp_sb(struct sbuf *sb, uint32_t cap, const char *banner) argument
1469 uint32_t wcap, cap; local
5270 uint32_t cap, fmtcap, pcmcap; local
5622 uint32_t cap; local
5780 hdaa_dump_amp(device_t dev, uint32_t cap, const char *banner) argument
[all...]
/freebsd-11-stable/lib/libutil/
H A Dlogin_ok.c91 login_timelist(login_cap_t *lc, char const *cap, int *ltno, argument
98 if ((tl = login_getcaplist(lc, cap, NULL)) != NULL) {
/freebsd-11-stable/sys/dev/acpica/
H A Dacpiio.h45 int cap; /* percent */ member in struct:acpi_battinfo
147 uint32_t cap; /* Remaining Capacity */ member in struct:acpi_bst
/freebsd-11-stable/contrib/llvm-project/lldb/source/DataFormatters/
H A DTypeSummary.cpp44 TypeSummaryOptions::SetCapping(lldb::TypeSummaryCapping cap) { argument
45 m_capping = cap;

Completed in 251 milliseconds

123456789