Lines Matching refs:v_len
683 int v_len; in read_bootenvrc() local
751 v_len = 0; in read_bootenvrc()
757 ++v_len, ++c; in read_bootenvrc()
760 if (v_len >= 2 && value[0] == value[v_len - 1] && in read_bootenvrc()
763 v_len -= 2; in read_bootenvrc()
766 if (v_len > 0) in read_bootenvrc()
767 value[v_len] = 0; in read_bootenvrc()
832 v_len = do_bsys_getproplen(NULL, "input-device"); in read_bootenvrc()
833 if (v_len > 0) in read_bootenvrc()
836 v_len = 0; in read_bootenvrc()
837 inputdev[v_len] = 0; in read_bootenvrc()
839 outputdev = inputdev + v_len + 1; in read_bootenvrc()
840 v_len = do_bsys_getproplen(NULL, "output-device"); in read_bootenvrc()
841 if (v_len > 0) in read_bootenvrc()
845 v_len = 0; in read_bootenvrc()
846 outputdev[v_len] = 0; in read_bootenvrc()
848 consoledev = outputdev + v_len + 1; in read_bootenvrc()
849 v_len = do_bsys_getproplen(NULL, "console"); in read_bootenvrc()
850 if (v_len > 0) { in read_bootenvrc()
855 v_len = strlen("text"); in read_bootenvrc()
856 bcopy("text", consoledev, v_len); in read_bootenvrc()
859 v_len = 0; in read_bootenvrc()
861 consoledev[v_len] = 0; in read_bootenvrc()
868 v_len = do_bsys_getproplen(NULL, "console"); in read_bootenvrc()
869 if (v_len < 0) in read_bootenvrc()