Lines Matching +defs:def +defs:pos
467 add_sniff_cmd(cmd, def, msg)
469 char *def;
473 if (def != NULL && def[0] != NUL && find_sniff_cmd(cmd) == NULL)
490 SNIFF_TRACE1("request def = %s\n",def);
501 sniff_cmd->cmd_code = def[0];
503 switch(def[1])
565 char_u *def = skiptowhite(symbol);
566 char_u *name = vim_strnsave(symbol, (int)(def-symbol));
568 def = skipwhite(def);
569 msg = skiptowhite(def);
570 def = vim_strnsave(def, (int)(msg-def));
576 if (!add_sniff_cmd((char*)name, (char*)def, (char*)msg))
579 vim_free(def);
807 case 'o' : /* visit file at char pos */
814 setpcmark(); /* insert current pos in jump list [mark.c]*/
948 static int pos = 0, bytes = 0;
967 if (pos >= bytes) /* end of buffer reached? */
975 pos = 0;
982 pos = pos-len;
987 if ((buf[len] = inbuf[pos++]) =='\n')
1203 long char_count=1; /* sniff starts with pos 1 */