Searched refs:cap (Results 176 - 200 of 207) sorted by last modified time

123456789

/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)
H A Dlib_termcap.c77 #define ValidCap(cap) (((cap)[0] != '\0') && ((cap)[1] != '\0'))
H A Dread_termcap.c169 * Cgetcap searches the capability record buf for the capability cap with type
170 * `type'. A pointer to the value of cap is returned on success, 0 if the
173 * Specifying a type of ':' means that nothing should follow cap (:cap:). In
174 * this case a pointer to the terminating ':' or NUL will be returned if cap is
177 * If (cap, '@') or (cap, terminator, '@') is found before (cap, terminator)
181 _nc_cgetcap(char *buf, const char *cap, int type) argument
191 * the remainder of a field whose name failed to match cap
264 _nc_getent( char **cap, unsigned *len, int *beginning, int in_array, char **db_array, int fd, const char *name, int depth, char *nfield) argument
[all...]
/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/contrib/ldns/
H A Drr.c1099 size_t cap; local
1102 cap = rr_list->_rr_capacity;
1105 if(rr_count+1 > cap) {
1108 if(cap == 0)
1109 cap = LDNS_RRLIST_INIT; /* initial list size */
1110 else cap *= 2;
1111 rrs = LDNS_XREALLOC(rr_list->_rrs, ldns_rr *, cap);
1116 rr_list->_rr_capacity = cap;
1144 size_t cap; local
1153 cap
[all...]
/freebsd-11-stable/contrib/ldns/compat/
H A Dsnprintf.c461 unsigned long long cap = 1; local
467 cap *= 10;
469 r *= (double)cap;
476 if(value >= cap)
477 value = cap-1;
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Ddirectives.c852 unsigned int cap = CPP_OPTION (pfile, c99) ? 2147483647 : 32767; local
866 if (CPP_PEDANTIC (pfile) && (new_lineno == 0 || new_lineno > cap))
/freebsd-11-stable/contrib/gcc/
H A Dtree-phinodes.c315 int cap = ideal_phi_node_len (len + 4); local
325 resize_phi_node (loc, cap);
/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/lib/libc/rpc/
H A Dpmap_rmt.c120 xdr_rmtcall_args(XDR *xdrs, struct rmtcallargs *cap) argument
125 assert(cap != NULL);
127 if (xdr_u_long(xdrs, &(cap->prog)) &&
128 xdr_u_long(xdrs, &(cap->vers)) &&
129 xdr_u_long(xdrs, &(cap->proc))) {
131 if (! xdr_u_long(xdrs, &(cap->arglen)))
134 if (! (*(cap->xdr_args))(xdrs, cap->args_ptr))
137 cap->arglen = (u_long)position - (u_long)argposition;
139 if (! xdr_u_long(xdrs, &(cap
[all...]
/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/usr.bin/tput/
H A Dtput.c133 process(const char *cap, char *str, char **argv) argument
172 warnx(erresc, *cp, cap);
184 errx(2, errfew, 1, cap);
191 errx(2, errfew, 2, cap);
195 errx(2, errfew, 2, cap);
202 errx(2, errmany, arg_need, cap);
/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/usr.sbin/rtadvd/
H A Dconfig.c123 #define MUSTHAVE(var, cap) \
126 if ((t = agetnum(cap)) < 0) { \
128 cap, intface); \
134 #define MAYHAVE(var, cap, def) \
136 if ((var = agetnum(cap)) < 0) \
/freebsd-11-stable/usr.sbin/pciconf/
H A DMakefile5 SRCS= pciconf.c cap.c err.c
/freebsd-11-stable/sys/xen/interface/
H A Ddomctl.h342 uint16_t cap; member in struct:xen_domctl_scheduler_op::__anon13525::xen_domctl_sched_credit
/freebsd-11-stable/sys/net80211/
H A Dieee80211_superg.c1001 getathcap(struct ieee80211vap *vap, int cap) argument
1005 return IEEE80211_ATH_CAP(vap, vap->iv_bss, cap) != 0;
1007 return (vap->iv_flags & cap) != 0;
/freebsd-11-stable/sys/arm/mv/
H A Dmv_common.c649 WIN_REG_BASE_IDX_RD(win_idma, cap, MV_WIN_IDMA_CAP)
653 WIN_REG_BASE_IDX_WR(win_idma, cap, MV_WIN_IDMA_CAP)
/freebsd-11-stable/sys/dev/vge/
H A Dif_vge.c993 int error = 0, cap, i, msic, rid; local
1017 if (pci_find_cap(dev, PCIY_EXPRESS, &cap) == 0) {
1019 sc->vge_expcap = cap;
1022 if (pci_find_cap(dev, PCIY_PMG, &cap) == 0) {
1024 sc->vge_pmcap = cap;
/freebsd-11-stable/sys/dev/hpt27xx/
H A Dhptintf.h1523 int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap);
1524 int hpt_get_driver_capabilities_v2(PDRIVER_CAPABILITIES_V2 cap);
2062 * cap max capacity of the array user want to create or transform
2069 * cap - max capacity of the target array
2072 int hpt_calc_max_array_capacity(DEVICEID source, PCREATE_ARRAY_PARAMS_V2 destInfo, HPT_U64 * cap);
2076 * cap max capacity of the array user want to create or transform
2083 * cap - max capacity of the target array
2086 int hpt_calc_max_array_capacity_v2(DEVICEID source, PCREATE_ARRAY_PARAMS_V3 destInfo, HPT_U64 * cap);
/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpi.c1347 WPI_CHK(wpi_read_prom_data(sc, WPI_EEPROM_SKU_CAP, &sc->cap,
1348 sizeof(sc->cap)));
1355 DPRINTF(sc, WPI_DEBUG_EEPROM, "cap=%x rev=%x type=%x\n", sc->cap,
5210 if (sc->cap == 0x80)
/freebsd-11-stable/sys/dev/hptmv/
H A Dhptintf.h806 int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap);
/freebsd-11-stable/sys/dev/hptnr/
H A Dhptintf.h1519 int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap);
1520 int hpt_get_driver_capabilities_v2(PDRIVER_CAPABILITIES_V2 cap);
2058 * cap max capacity of the array user want to create or transform
2065 * cap - max capacity of the target array
2068 int hpt_calc_max_array_capacity(DEVICEID source, PCREATE_ARRAY_PARAMS_V2 destInfo, HPT_U64 * cap);
2072 * cap max capacity of the array user want to create or transform
2079 * cap - max capacity of the target array
2082 int hpt_calc_max_array_capacity_v2(DEVICEID source, PCREATE_ARRAY_PARAMS_V3 destInfo, HPT_U64 * cap);
/freebsd-11-stable/sys/dev/hptrr/
H A Dhptintf.h1261 int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap);
1262 int hpt_get_driver_capabilities_v2(PDRIVER_CAPABILITIES_V2 cap);
1779 * cap max capacity of the array user want to create or transform
1786 * cap - max capacity of the target array
1789 int hpt_calc_max_array_capacity(DEVICEID source, PCREATE_ARRAY_PARAMS_V2 destInfo, HPT_U64 * cap);
1793 * cap max capacity of the array user want to create or transform
1800 * cap - max capacity of the target array
1803 int hpt_calc_max_array_capacity_v2(DEVICEID source, PCREATE_ARRAY_PARAMS_V3 destInfo, HPT_U64 * cap);
/freebsd-11-stable/sys/dev/drm/
H A Ddrm_agpsupport.c46 drm_device_find_capability(struct drm_device *dev, int cap) argument
49 return (pci_find_cap(dev->device, cap, NULL) == 0);

Completed in 582 milliseconds

123456789