Lines Matching refs:len
779 int len;
782 len = strlen(name) + 4 + 2;
783 if (len < NETROOM()) {
786 ring_supply_data(&netoring, temp, len);
787 printsub('>', &temp[2], len-2);
802 int len;
808 len = strlen((char *)temp+4) + 4; /* temp[3] is 0 ... */
810 if (len < NETROOM()) {
811 ring_supply_data(&netoring, temp, len);
812 printsub('>', temp+2, len - 2);
901 int len;
914 len = strlen((char *)temp+4) + 4; /* temp[3] is 0 ... */
916 if (len < NETROOM()) {
917 ring_supply_data(&netoring, temp, len);
918 printsub('>', temp+2, len - 2);
1024 lm_will(unsigned char *cmd, int len)
1026 if (len < 1) {
1045 lm_wont(unsigned char *cmd, int len)
1047 if (len < 1) {
1060 lm_do(unsigned char *cmd, int len)
1062 if (len < 1) {
1081 lm_dont(unsigned char *cmd, int len)
1083 if (len < 1) {
1100 lm_mode(unsigned char *cmd, int len, int init)
1102 if (len != 1)
1273 slc(unsigned char *cp, int len)
1280 for (; len >= 3; len -=3, cp +=3) {
1396 int len;
1403 len = slc_replyp - slc_reply;
1404 if (len <= 6)
1406 if (NETROOM() > len) {
1452 env_opt(unsigned char *buf, int len)
1460 if (len == 1) {
1462 } else for (i = 1; i < len; i++) {
1575 int len;
1577 len = opt_replyend - opt_reply;
1578 opt_reply = (unsigned char *)realloc(opt_reply, len);
1584 opt_replyp = opt_reply + len - (opt_replyend - opt_replyp);
1585 opt_replyend = opt_reply + len;
1644 int len;
1648 len = opt_replyp + 2 - opt_reply;
1649 if (emptyok || len > 6) {
1652 if (NETROOM() > len) {
1653 ring_supply_data(&netoring, opt_reply, len);
1654 printsub('>', &opt_reply[2], len - 2);