Lines Matching defs:num
451 /* insert num characters of s into d (in front of the character) at dat,
454 str_insert(Char *d, int dat, int dlen, Char *s, int num)
458 if (num <= 0)
460 if (num > dlen - dat)
461 num = dlen - dat;
465 num, dat, dlen, short2str(d));
469 /* open up the space for num chars */
470 if (num > 0) {
472 a = b - num;
479 num, dat, dlen, short2str(d));
484 for (a = d + dat; (a < d + dlen) && (num > 0); num--)
489 num, dat, dlen, d, short2str(s));
494 /* delete num characters d at dat, maximum length of d is dlen */
496 str_delete(Char *d, int dat, int dlen, int num)
500 if (num <= 0)
502 if (dat + num >= dlen) {
509 num, dat, dlen, short2str(d));
512 /* open up the space for num chars */
513 if (num > 0) {
515 a = b + num;
522 num, dat, dlen, short2str(d));