Searched refs:cap (Results 1 - 25 of 207) sorted by path

123456789

/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Dsymbols.c65 size_t cap; /* buffer capacity */ member in struct:strimpl
415 st_buf->g.cap = 256;
416 st_buf->l.cap = 64;
839 st_buf->g.cap = 256;
840 st_buf->l.cap = 64;
893 sy_buf->B##SZ = malloc(sy_buf->B##cap * \
897 } else if (sy_buf->n##B##s >= sy_buf->B##cap) { \
898 sy_buf->B##cap *= 2; \
899 sy_buf->B##SZ = realloc(sy_buf->B##SZ, sy_buf->B##cap * \
916 st_buf->B.buf = calloc(st_buf->B.cap, \
[all...]
/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/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/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/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/libpcap/
H A Dpcap-rdmasniff.c231 qp_init_attr.cap.max_recv_wr = RDMASNIFF_NUM_RECEIVES;
232 qp_init_attr.cap.max_recv_sge = 1;
/freebsd-11-stable/contrib/libreadline/
H A Dterminal.c573 rl_get_termcap (cap)
574 const char *cap;
582 if (tc_strings[i].tc_var[0] == cap[0] && strcmp (tc_strings[i].tc_var, cap) == 0)
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A DMKcaptab.sh56 make_hash 3 cap $OPT1 <$DATA
132 return termcap ? build_names(cap) : build_names(info) ;
143 return termcap ? build_alias(cap) : build_alias(info) ;
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/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...]
H A Dinfocmp.c728 skip_csi(const char *cap) argument
731 if (cap[0] == '\033' && cap[1] == '[')
733 else if (UChar(cap[0]) == 0233)
784 analyze_string(const char *name, const char *cap, TERMTYPE *tp) argument
791 if (!VALID_STRING(cap))
795 for (sp = cap; *sp; sp++) {
813 cp != cap) {
830 if (cap < cp)
H A Dtic.c1828 check_sgr(TERMTYPE *tp, char *zero, int num, char *cap, const char *name) argument
1844 if (PRESENT(cap)) {
1845 if (!similar_sgr(num, test, cap)) {
1848 name, _nc_visbuf2(1, cap),
1854 } else if (PRESENT(cap)) {
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Ddump_fts.c122 unsigned block, i, j, e, nports, cap, chunks, startblock, lastblock, local
131 mad_decode_field(node->switchinfo, IB_SW_MCAST_FDB_CAP_F, &cap);
134 if (!endlid || endlid > IB_MIN_MCAST_LID + cap - 1)
135 endlid = IB_MIN_MCAST_LID + cap - 1;
181 cap, top);
H A Dibroute.c147 unsigned block, i, j, e, nports, cap, chunks, startblock, lastblock, local
155 mad_decode_field(sw, IB_SW_MCAST_FDB_CAP_F, &cap);
158 if (!endlid || endlid > IB_MIN_MCAST_LID + cap - 1)
159 endlid = IB_MIN_MCAST_LID + cap - 1;
205 cap, top);
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/contrib/ofed/libibverbs/
H A Dcmd.c864 if (qp_attr->cap.max_send_wr)
877 cmd->max_send_wr = qp_attr->cap.max_send_wr;
878 cmd->max_recv_wr = qp_attr->cap.max_recv_wr;
879 cmd->max_send_sge = qp_attr->cap.max_send_sge;
880 cmd->max_recv_sge = qp_attr->cap.max_recv_sge;
881 cmd->max_inline_data = qp_attr->cap.max_inline_data;
898 qp_attr->cap.max_recv_sge = resp->max_recv_sge;
899 qp_attr->cap.max_send_sge = resp->max_send_sge;
900 qp_attr->cap.max_recv_wr = resp->max_recv_wr;
901 qp_attr->cap
[all...]
H A Dcompat-1_0.c78 struct ibv_qp_cap cap; member in struct:ibv_qp_init_attr_1_0
882 real_init_attr.cap = qp_init_attr->cap;
902 qp_init_attr->cap = real_init_attr.cap;
926 init_attr->cap = real_init_attr.cap;
/freebsd-11-stable/contrib/ofed/libibverbs/examples/
H A Drc_pingpong.c430 .cap = {
446 if (init_attr.cap.max_inline_data >= size) {
H A Dsrq_pingpong.c428 .cap = {
441 if (init_attr.cap.max_inline_data >= size) {
H A Duc_pingpong.c361 .cap = {
376 if (init_attr.cap.max_inline_data >= size) {
H A Dud_pingpong.c372 .cap = {
388 if (init_attr.cap.max_inline_data >= size) {
H A Dxsrq_pingpong.c172 init.cap.max_send_wr = ctx.num_clients * ctx.num_tests;
173 init.cap.max_send_sge = 1;

Completed in 429 milliseconds

123456789