Lines Matching refs:len
204 int len = strlen(buffer); in kdb_read() local
217 if (len > 0) { in kdb_read()
218 cp += len; in kdb_read()
219 if (*(buffer+len-1) == '\n') in kdb_read()
327 len = strlen(p_tmp); in kdb_read()
348 *(p_tmp + len) = '\0'; in kdb_read()
359 strncpy(cp, p_tmp+len, len_tmp-len + 1); in kdb_read()
360 len = len_tmp - len; in kdb_read()
362 cp += len; in kdb_read()
363 lastchar += len; in kdb_read()
548 int len; in kdb_msg_write() local
554 len = msg_len; in kdb_msg_write()
556 while (len--) { in kdb_msg_write()
589 int fnd, len; in vkdb_printf() local
660 len = strlen(kdb_prompt_str); in vkdb_printf()
661 if (!strncmp(cp2, kdb_prompt_str, len)) { in vkdb_printf()
673 len = strlen(kdb_buffer); in vkdb_printf()
674 next_avail = kdb_buffer + len; in vkdb_printf()
675 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()
703 len = strlen(kdb_buffer); in vkdb_printf()
704 next_avail = kdb_buffer + len; in vkdb_printf()
705 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()
751 len = retlen; in vkdb_printf()
752 while (len--) { in vkdb_printf()
753 if (kdb_buffer[len] == '\n') { in vkdb_printf()
756 } else if (kdb_buffer[len] == '\r') { in vkdb_printf()
843 len = strlen(kdb_buffer); in vkdb_printf()
844 next_avail = kdb_buffer + len; in vkdb_printf()
845 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()