Lines Matching refs:eap

23 static int	    cs_add(exarg_T *eap);
34 static int cs_find(exarg_T *eap);
36 static int cs_help(exarg_T *eap);
39 static int cs_kill(exarg_T *eap);
41 static cscmd_T * cs_lookup_cmd(exarg_T *eap);
48 static int cs_reset(exarg_T *eap);
50 static int cs_show(exarg_T *eap);
196 exarg_T *eap, in do_cscope_general() argument
201 if ((cmdp = cs_lookup_cmd(eap)) == NULL) in do_cscope_general()
203 cs_help(eap); in do_cscope_general()
219 cmdp->func(eap); in do_cscope_general()
229 ex_cscope(exarg_T *eap) in ex_cscope() argument
231 do_cscope_general(eap, FALSE); in ex_cscope()
238 ex_scscope(exarg_T *eap) in ex_scscope() argument
240 do_cscope_general(eap, TRUE); in ex_scscope()
247 ex_cstag(exarg_T *eap) in ex_cstag() argument
251 if (*eap->arg == NUL) in ex_cstag()
262 ret = cs_find_common("g", (char *)(eap->arg), eap->forceit, FALSE, in ex_cstag()
263 FALSE, *eap->cmdlinep); in ex_cstag()
271 ret = do_tag(eap->arg, DT_JUMP, 0, eap->forceit, FALSE); in ex_cstag()
276 ret = do_tag(eap->arg, DT_JUMP, 0, eap->forceit, FALSE); in ex_cstag()
282 ret = do_tag(eap->arg, DT_JUMP, 0, eap->forceit, FALSE); in ex_cstag()
290 ret = cs_find_common("g", (char *)(eap->arg), eap->forceit, in ex_cstag()
291 FALSE, FALSE, *eap->cmdlinep); in ex_cstag()
299 ret = cs_find_common("g", (char *)(eap->arg), eap->forceit, FALSE, in ex_cstag()
300 FALSE, *eap->cmdlinep); in ex_cstag()
447 cs_add(exarg_T *eap UNUSED) in cs_add()
1010 cs_find(exarg_T *eap) in cs_find() argument
1028 if (pat >= (char *)eap->arg + eap_arg_len) in cs_find()
1039 if (NUL == eap->arg[i]) in cs_find()
1040 eap->arg[i] = ' '; in cs_find()
1042 return cs_find_common(opt, pat, eap->forceit, TRUE, in cs_find()
1043 eap->cmdidx == CMD_lcscope, *eap->cmdlinep); in cs_find()
1239 cs_help(exarg_T *eap UNUSED) in cs_help()
1440 cs_lookup_cmd(exarg_T *eap) in cs_lookup_cmd() argument
1446 if (eap->arg == NULL) in cs_lookup_cmd()
1450 eap_arg_len = (int)STRLEN(eap->arg); in cs_lookup_cmd()
1452 if ((stok = strtok((char *)(eap->arg), (const char *)" ")) == NULL) in cs_lookup_cmd()
1469 cs_kill(exarg_T *eap UNUSED) in cs_kill()
2273 cs_reset(exarg_T *eap UNUSED) in cs_reset()
2404 cs_show(exarg_T *eap UNUSED) in cs_show()