/titanic_50/usr/src/lib/libtecla/common/ |
H A D | cplmatch.c | 85 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 D | cplfile.c | 93 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 D | pcache.c | 1231 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 D | cplfile.h | 83 int _cf_complete_file(WordCompletion *cpl, CompleteFile *cf,
|
H A D | getline.c | 368 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_50/usr/src/cmd/dumpcs/ |
H A D | dumpcs.c | 48 static unsigned int cpl; /* current characters per line */ variable 164 cpl = 0; 202 if (!cpl) { 245 cpl++; 246 cpl = cpl % cplmax;
|
/titanic_50/usr/src/lib/libtecla/ |
H A D | libtecla.h | 294 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_50/usr/src/uts/common/io/chxge/ |
H A D | pe.c | 302 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_50/usr/src/cmd/idmap/idmap/ |
H A D | idmap_engine.c | 276 (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_50/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | offload.h | 47 #define INIT_TP_WR_MIT_CPL(w, cpl, tid) do { \ argument 49 OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \
|
H A D | t4_sge.c | 2566 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_50/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_engine.c | 181 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_50/usr/src/lib/libshell/misc/ |
H A D | buildksh93.readme | 51 $ 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_50/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 532 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_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_subr.c | 1093 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 D | nfs_subr.c | 647 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_50/usr/src/lib/libbsm/common/ |
H A D | getdment.c | 594 char *cp, *cpl, **darp; in dmap_dlexpand() local 621 while ((cp = strtok_r(cp, " ", &cpl)) != NULL) { in dmap_dlexpand()
|
/titanic_50/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_fire.c | 286 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_50/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 600 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_50/usr/src/lib/krb5/ss/ |
H A D | listen.c | 118 ret = cpl_add_completion(cpl, line, ws, in CPL_MATCH_FN()
|
/titanic_50/usr/src/uts/sun4u/io/px/ |
H A D | px_err.c | 2208 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_50/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 759 topo_list_t *cpl; in ses_data_free() local 763 cpl = &pcp->sec_subchassis; in ses_data_free() 765 cpl = &sdp->sed_chassis; in ses_data_free() 767 while ((cp = topo_list_next(cpl)) != NULL) { in ses_data_free() 768 topo_list_delete(cpl, cp); in ses_data_free()
|
/titanic_50/usr/src/lib/libast/ |
H A D | THIRDPARTYLICENSE | 245 http://www.opensource.org/licenses/cpl
|
/titanic_50/usr/src/cmd/ast/ |
H A D | THIRDPARTYLICENSE | 245 http://www.opensource.org/licenses/cpl
|
/titanic_50/usr/src/lib/libdll/ |
H A D | THIRDPARTYLICENSE | 245 http://www.opensource.org/licenses/cpl
|