Lines Matching refs:uselevel

106 static int uselevel;		/* whether we're dealing with use= info */  variable
289 if (uselevel == 0) in filltables()
296 boolval[uselevel][i] = otgetflag(boolcodes[i]); in filltables()
301 "flag=%d.\n", boolval[uselevel][i]); in filltables()
307 numval[uselevel][i] = otgetnum(numcodes[i]); in filltables()
311 (void) fprintf(trace, "num=%d.\n", numval[uselevel][i]); in filltables()
315 if (uselevel == 0) in filltables()
320 strval[uselevel][i] = otgetstr(strcodes[i], &nextstring); in filltables()
324 if (strval[uselevel][i]) { in filltables()
326 tpr(trace, strval[uselevel][i]); in filltables()
333 if (strval[uselevel][i] && (strval[uselevel][i][0] == '\0')) { in filltables()
337 strval[uselevel][i] = NULL; in filltables()
345 oboolval[uselevel][i] = otgetflag(oboolcodes[i]); in filltables()
350 oboolval[uselevel][i]); in filltables()
356 onumval[uselevel][i] = otgetnum(onumcodes[i]); in filltables()
360 onumval[uselevel][i]); in filltables()
366 ostrval[uselevel][i] = otgetstr(ostrcodes[i], &nextstring); in filltables()
369 if (ostrval[uselevel][i]) { in filltables()
371 tpr(trace, ostrval[uselevel][i]); in filltables()
378 if (ostrval[uselevel][i] && (ostrval[uselevel][i][0] == '\0')) { in filltables()
382 ostrval[uselevel][i] = NULL; in filltables()
431 tpr(trace, ostrval[uselevel][i]); in getcapstr()
434 return (ostrval[uselevel][i]); in getcapstr()
446 tpr(trace, strval[uselevel][i]); in getcapstr()
449 return (strval[uselevel][i]); in getcapstr()
506 tpr(trace, strval[uselevel][i]); in getinfostr()
509 return (strval[uselevel][i]); in getinfostr()
536 boolval[uselevel][i]); in putbool()
538 boolval[uselevel][i] = newvalue; in putbool()
563 numval[uselevel][i]); in putnum()
565 numval[uselevel][i] = newvalue; in putnum()
593 tpr(trace, strval[uselevel][i]); in putstr()
596 strval[uselevel][i] = nextstring; in putstr()
691 if (ostrval[uselevel][cap_ko] == NULL) in handleko()
695 for (i = 0; ostrval[uselevel][cap_ko][i] != '\0'; ) { in handleko()
697 capname[0] = ostrval[uselevel][cap_ko][i++]; in handleko()
698 if (ostrval[uselevel][cap_ko][i] == '\0') in handleko()
700 capname[1] = ostrval[uselevel][cap_ko][i++]; in handleko()
701 if (ostrval[uselevel][cap_ko][i] == ',') in handleko()
806 if (ostrval[uselevel][cap_ma] == NULL) in handlema()
810 for (i = 0; ostrval[uselevel][cap_ma][i] != '\0'; ) { in handlema()
812 cap[0] = ostrval[uselevel][cap_ma][i++]; in handlema()
819 if (ostrval[uselevel][cap_ma][i] == '\0') in handlema()
823 vichar = ostrval[uselevel][cap_ma][i++]; in handlema()
888 if ((getinfostr("cr") == NULL) && !oboolval[uselevel][cap_nc] && in adddefaults()
889 !oboolval[uselevel][cap_xr]) in adddefaults()
897 if (ostrval[uselevel][cap_nl] != NULL) in adddefaults()
898 putstr("cud1", ostrval[uselevel][cap_nl]); in adddefaults()
904 if ((getinfostr("ind") == NULL) && !oboolval[uselevel][cap_ns]) in adddefaults()
905 if (ostrval[uselevel][cap_nl] == NULL) in adddefaults()
908 putstr("ind", ostrval[uselevel][cap_nl]); in adddefaults()
916 if ((getinfostr("cub1") == NULL) && oboolval[uselevel][cap_bs]) in adddefaults()
917 if (ostrval[uselevel][cap_bc] != NULL) in adddefaults()
918 putstr("cub1", ostrval[uselevel][cap_bc]); in adddefaults()
928 if ((getinfostr("ht") == NULL) && oboolval[uselevel][cap_pt]) in adddefaults()
936 addpadding(onumval[uselevel][cap_dB], "cub1"); in adddefaults()
937 addpadding(onumval[uselevel][cap_dC], "cr"); in adddefaults()
938 addpadding(onumval[uselevel][cap_dF], "ff"); in adddefaults()
939 addpadding(onumval[uselevel][cap_dN], "cud1"); in adddefaults()
940 addpadding(onumval[uselevel][cap_dT], "ht"); in adddefaults()
945 if (onumval[uselevel][cap_ug] >= 0 && (sg = otgetnum("sg")) < 0) in adddefaults()
946 putnum("xmc", onumval[uselevel][cap_ug]); in adddefaults()
947 else if ((onumval[uselevel][cap_ug] >= 0) && in adddefaults()
948 (sg >= 0) && (onumval[uselevel][cap_ug] != sg)) in adddefaults()
952 onumval[uselevel][cap_ug]); in adddefaults()
956 if (oboolval[uselevel][cap_MT] && !otgetflag("km")) in adddefaults()
960 if ((ostrval[uselevel][cap_rs] != NULL) && in adddefaults()
961 (ostrval[uselevel][cap_rs][0] != NULL)) in adddefaults()
962 putstr("rs2", ostrval[uselevel][cap_rs]); in adddefaults()
1058 if (needscopying(strval[uselevel][i])) { in changecalculations()
1062 tpr(trace, strval[uselevel][i]); in changecalculations()
1066 from = strval[uselevel][i]; in changecalculations()
1067 strval[uselevel][i] = to; in changecalculations()
1222 tpr(trace, strval[uselevel][i]); in changecalculations()
1320 uselevel = 0; in captoinfo()
1327 uselevel = 1; in captoinfo()