Lines Matching refs:v_len
626 int v_len; in boot_prop_finish() local
693 v_len = 0; in boot_prop_finish()
699 ++v_len, ++c; in boot_prop_finish()
702 if (v_len >= 2 && value[0] == value[v_len - 1] && in boot_prop_finish()
705 v_len -= 2; in boot_prop_finish()
708 if (v_len > 0) in boot_prop_finish()
709 value[v_len] = 0; in boot_prop_finish()
729 bsetprop(name, n_len, value, v_len + 1); in boot_prop_finish()
753 v_len = do_bsys_getproplen(NULL, "input-device"); in boot_prop_finish()
754 if (v_len > 0) in boot_prop_finish()
757 v_len = 0; in boot_prop_finish()
758 inputdev[v_len] = 0; in boot_prop_finish()
760 outputdev = inputdev + v_len + 1; in boot_prop_finish()
761 v_len = do_bsys_getproplen(NULL, "output-device"); in boot_prop_finish()
762 if (v_len > 0) in boot_prop_finish()
766 v_len = 0; in boot_prop_finish()
767 outputdev[v_len] = 0; in boot_prop_finish()
769 consoledev = outputdev + v_len + 1; in boot_prop_finish()
770 v_len = do_bsys_getproplen(NULL, "console"); in boot_prop_finish()
771 if (v_len > 0) { in boot_prop_finish()
776 v_len = strlen("text"); in boot_prop_finish()
777 bcopy("text", consoledev, v_len); in boot_prop_finish()
780 v_len = 0; in boot_prop_finish()
782 consoledev[v_len] = 0; in boot_prop_finish()
789 v_len = do_bsys_getproplen(NULL, "console"); in boot_prop_finish()
790 if (v_len < 0) in boot_prop_finish()