Home
last modified time | relevance | path

Searched refs:cpl (Results 1 – 25 of 33) sorted by relevance

12

/titanic_41/usr/src/lib/libtecla/common/
H A Dcplmatch.c85 static void cpl_sort_matches(WordCompletion *cpl);
86 static void cpl_zap_duplicates(WordCompletion *cpl);
87 static void cpl_clear_completions(WordCompletion *cpl);
169 WordCompletion *cpl; /* The object to be returned */ in new_WordCompletion() local
173 cpl = (WordCompletion *) malloc(sizeof(WordCompletion)); in new_WordCompletion()
174 if(!cpl) { in new_WordCompletion()
183 cpl->err = NULL; in new_WordCompletion()
184 cpl->sg = NULL; in new_WordCompletion()
185 cpl->matches_dim = 0; in new_WordCompletion()
186 cpl->result.suffix = NULL; in new_WordCompletion()
[all …]
H A Dcplfile.c93 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl,
97 static int cf_complete_entry(CompleteFile *cf, WordCompletion *cpl,
113 WordCompletion *cpl; /* The string-completion rsource object */ member
236 int _cf_complete_file(WordCompletion *cpl, CompleteFile *cf, in _cf_complete_file() argument
246 if(!cpl || !cf || !line || word_end < word_start) { in _cf_complete_file()
306 return cf_complete_username(cf, cpl, cf->usrnam, line, word_start+1, in _cf_complete_file()
440 if(cpl_add_completion(cpl, line, lptr-line, word_end, FS_DIR_SEP, in _cf_complete_file()
442 _err_record_msg(cf->err, cpl_last_error(cpl), END_ERR_MSG); in _cf_complete_file()
452 return cf_complete_entry(cf, cpl, line, word_start, word_end, escaped, in _cf_complete_file()
523 static int cf_complete_username(CompleteFile *cf, WordCompletion *cpl, in cf_complete_username() argument
[all …]
H A Dpcache.c1231 if(!cpl) in CPL_MATCH_FN()
1234 cpl_record_error(cpl, "pca_path_completions: Invalid arguments."); in CPL_MATCH_FN()
1246 cpl_record_error(cpl, in CPL_MATCH_FN()
1262 cpl_record_error(cpl, "Unable to find the start of the file name."); in CPL_MATCH_FN()
1283 return cpl_file_completions(cpl, pc->cfc, line, word_end); in CPL_MATCH_FN()
1375 if(cpl_add_completion(cpl, line, word_start, word_end, pc->path->name, in CPL_MATCH_FN()
1413 cpl_add_completion(cpl, line, word_start, word_end, pc->path->name, in CPL_MATCH_FN()
H A Dcplfile.h83 int _cf_complete_file(WordCompletion *cpl, CompleteFile *cf,
H A Dgetline.c368 WordCompletion *cpl; /* String completion resource object */ member
1750 gl->cpl = NULL; in new_GetLine()
1893 gl->cpl = new_WordCompletion(); in new_GetLine()
1894 if(!gl->cpl) in new_GetLine()
2056 gl->cpl = del_WordCompletion(gl->cpl); in del_GetLine()
5500 matches = cpl_complete_word(gl->cpl, gl->line, gl->buff_curpos, cb->data, in KT_KEY_FN()
5506 waserr = gl_print_info(gl, cpl_last_error(gl->cpl), GL_END_INFO); in KT_KEY_FN()
6133 CplMatches *matches = cpl_complete_word(gl->cpl, gl->line, gl->buff_curpos, in KT_KEY_FN()
6139 waserr = gl_print_info(gl, cpl_last_error(gl->cpl), GL_END_INFO); in KT_KEY_FN()
/titanic_41/usr/src/cmd/dumpcs/
H A Ddumpcs.c48 static unsigned int cpl; /* current characters per line */ variable
164 cpl = 0;
202 if (!cpl) {
245 cpl++;
246 cpl = cpl % cplmax;
/titanic_41/usr/src/lib/libtecla/
H A Dlibtecla.h294 WordCompletion *del_WordCompletion(WordCompletion *cpl);
319 #define CPL_MATCH_FN(fn) int (fn)(WordCompletion *cpl, void *data, \
441 void cpl_record_error(WordCompletion *cpl, const char *errmsg);
1570 int cpl_add_completion(WordCompletion *cpl, const char *line,
1620 CplMatches *cpl_complete_word(WordCompletion *cpl, const char *line,
1642 CplMatches *cpl_recall_matches(WordCompletion *cpl);
1667 const char *cpl_last_error(WordCompletion *cpl);
/titanic_41/usr/src/uts/common/io/chxge/
H A Dpe.c302 struct cpl_tx_pkt *cpl; in pe_start() local
353 cpl = (struct cpl_tx_pkt *)mp->b_rptr; in pe_start()
354 cpl->opcode = CPL_TX_PKT; in pe_start()
355 cpl->iff = 0; /* XXX port 0 needs fixing with NEMO */ in pe_start()
356 cpl->ip_csum_dis = 1; /* no IP header cksum */ in pe_start()
357 cpl->l4_csum_dis = in pe_start()
359 cpl->vlan_valid = 0; /* no vlan */ in pe_start()
1648 struct cpl_tx_pkt *cpl; in pe_make_fake_arp() local
1657 cpl = (struct cpl_tx_pkt *)bp->b_rptr; in pe_make_fake_arp()
1658 cpl->opcode = CPL_TX_PKT; in pe_make_fake_arp()
[all …]
/titanic_41/usr/src/cmd/idmap/idmap/
H A Didmap_engine.c276 (void) cpl_add_completion(cpl, line, word_end, in CPL_MATCH_FN()
292 (void) cpl_add_completion(cpl, line, in CPL_MATCH_FN()
324 (void) cpl_add_completion(cpl, line, in CPL_MATCH_FN()
333 (void) cpl_add_completion(cpl, line, in CPL_MATCH_FN()
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h47 #define INIT_TP_WR_MIT_CPL(w, cpl, tid) do { \ argument
49 OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \
H A Dt4_sge.c2566 struct cpl_tx_pkt_core *cpl; in write_txpkt_wr() local
2630 cpl = (void *)(lso + 1); in write_txpkt_wr()
2634 cpl = (void *)(wr + 1); in write_txpkt_wr()
2646 cpl->ctrl0 = cpu_to_be32(V_TXPKT_OPCODE(CPL_TX_PKT) | in write_txpkt_wr()
2648 cpl->pack = 0; in write_txpkt_wr()
2649 cpl->len = cpu_to_be16(txinfo->len); in write_txpkt_wr()
2650 cpl->ctrl1 = cpu_to_be64(ctrl1); in write_txpkt_wr()
2670 dst = (void *)(cpl + 1); in write_txpkt_wr()
2704 struct cpl_tx_pkt_core *cpl; in write_ulp_cpl_sgl() local
2737 sizeof (*cpl) + 8 * txinfo->nflits, 16)); in write_ulp_cpl_sgl()
[all …]
/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_engine.c181 cpl_record_error(cpl, "Out of memory."); in CPL_MATCH_FN()
187 ret = cpl_file_completions(cpl, cfc, line, word_end); in CPL_MATCH_FN()
234 add_cmd_matches(WordCompletion *cpl, const char *line, int word_end, in add_cmd_matches() argument
251 err = cpl_add_completion(cpl, line, word_start, in add_cmd_matches()
279 return (complete_command(cpl, (void *)arg0, line, word_end)); in CPL_MATCH_FN()
294 return (cip->complete_args_f(cpl, (void *)arg1, line, in CPL_MATCH_FN()
/titanic_41/usr/src/lib/libshell/misc/
H A Dbuildksh93.readme51 $ wget --http-user="I accept www.opensource.org/licenses/cpl" --http-passwd="." 'http://www.researc…
52 $ wget --http-user="I accept www.opensource.org/licenses/cpl" --http-passwd="." 'http://www.researc…
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c532 add_stuff(WordCompletion *cpl, const char *line1, const char **list, in add_stuff() argument
539 err = cpl_add_completion(cpl, line1, 0, word_end, in add_stuff()
563 return (add_stuff(cpl, line, global_create_cmds, in CPL_MATCH_FN()
566 return (add_stuff(cpl, line, global_destroy_cmds, in CPL_MATCH_FN()
569 return (add_stuff(cpl, line, global_export_cmds, in CPL_MATCH_FN()
572 return (add_stuff(cpl, line, global_list_cmds, in CPL_MATCH_FN()
575 return (add_stuff(cpl, line, global_select_cmds, in CPL_MATCH_FN()
577 return (add_stuff(cpl, line, global_scope_cmds, word_end)); in CPL_MATCH_FN()
582 return (add_stuff(cpl, line, non_ncp_scope_cmds, word_end)); in CPL_MATCH_FN()
585 return (add_stuff(cpl, line, ncp_create_cmds, in CPL_MATCH_FN()
[all …]
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_subr.c1093 struct chtab *cpl; in clreclaim4_zone() local
1127 cpl = ch->ch_list; in clreclaim4_zone()
1129 while (cpl != NULL && in clreclaim4_zone()
1130 cpl->ch_freed + cl_holdtime > gethrestime_sec()) { in clreclaim4_zone()
1131 cpp = &cpl->ch_list; in clreclaim4_zone()
1132 cpl = cpl->ch_list; in clreclaim4_zone()
1134 if (cpl != NULL) { in clreclaim4_zone()
1137 cpe = cpl; in clreclaim4_zone()
1142 cp = cpl; in clreclaim4_zone()
1163 cpl = cp->ch_list; in clreclaim4_zone()
[all …]
H A Dnfs_subr.c647 struct chtab *cpl; in clreclaim_zone() local
680 cpl = ch->ch_list; in clreclaim_zone()
682 while (cpl != NULL && in clreclaim_zone()
683 cpl->ch_freed + cl_holdtime > gethrestime_sec()) { in clreclaim_zone()
684 cpp = &cpl->ch_list; in clreclaim_zone()
685 cpl = cpl->ch_list; in clreclaim_zone()
687 if (cpl != NULL) { in clreclaim_zone()
690 cpe = cpl; in clreclaim_zone()
695 cp = cpl; in clreclaim_zone()
716 cpl = cp->ch_list; in clreclaim_zone()
[all …]
/titanic_41/usr/src/lib/libbsm/common/
H A Dgetdment.c594 char *cp, *cpl, **darp; in dmap_dlexpand() local
621 while ((cp = strtok_r(cp, " ", &cpl)) != NULL) { in dmap_dlexpand()
/titanic_41/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_fire.c286 pcie_cpl_t *cpl = (pcie_cpl_t *)&data->pcie_ue_hdr[1]; in fab_xlate_fire_oe() local
287 switch (cpl->status) { in fab_xlate_fire_oe()
/titanic_41/usr/src/cmd/zonecfg/
H A Dzonecfg.c600 add_stuff(WordCompletion *cpl, const char *line1, const char **list, in add_stuff() argument
607 err = cpl_add_completion(cpl, line1, 0, word_end, in add_stuff()
627 return (add_stuff(cpl, line, add_cmds, word_end)); in CPL_MATCH_FN()
629 return (add_stuff(cpl, line, clear_cmds, word_end)); in CPL_MATCH_FN()
631 return (add_stuff(cpl, line, select_cmds, word_end)); in CPL_MATCH_FN()
633 return (add_stuff(cpl, line, set_cmds, word_end)); in CPL_MATCH_FN()
635 return (add_stuff(cpl, line, remove_cmds, word_end)); in CPL_MATCH_FN()
637 return (add_stuff(cpl, line, info_cmds, word_end)); in CPL_MATCH_FN()
638 return (add_stuff(cpl, line, global_scope_cmds, word_end)); in CPL_MATCH_FN()
642 return (add_stuff(cpl, line, fs_res_scope_cmds, word_end)); in CPL_MATCH_FN()
[all …]
/titanic_41/usr/src/lib/krb5/ss/
H A Dlisten.c118 ret = cpl_add_completion(cpl, line, ws, in CPL_MATCH_FN()
/titanic_41/usr/src/uts/sun4u/io/px/
H A Dpx_err.c2208 pcie_cpl_t *cpl; in PX_ERPT_SEND_DEC() local
2224 cpl = (pcie_cpl_t *)&adv_reg.pcie_ue_hdr[1]; in PX_ERPT_SEND_DEC()
2227 if (cpl->status == PCIE_CPL_STS_UR) in PX_ERPT_SEND_DEC()
2229 else if (cpl->status == PCIE_CPL_STS_CA) in PX_ERPT_SEND_DEC()
/titanic_41/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c741 topo_list_t *cpl; in ses_data_free() local
745 cpl = &pcp->sec_subchassis; in ses_data_free()
747 cpl = &sdp->sed_chassis; in ses_data_free()
749 while ((cp = topo_list_next(cpl)) != NULL) { in ses_data_free()
750 topo_list_delete(cpl, cp); in ses_data_free()
/titanic_41/usr/src/lib/libpp/
H A DTHIRDPARTYLICENSE245 http://www.opensource.org/licenses/cpl
/titanic_41/usr/src/lib/libsum/
H A DTHIRDPARTYLICENSE245 http://www.opensource.org/licenses/cpl
/titanic_41/usr/src/lib/libshell/
H A DTHIRDPARTYLICENSE245 http://www.opensource.org/licenses/cpl

12