Lines Matching refs:uselevel
104 static int uselevel; /* whether we're dealing with use= info */ variable
287 if (uselevel == 0) in filltables()
294 boolval[uselevel][i] = otgetflag(boolcodes[i]); in filltables()
299 "flag=%d.\n", boolval[uselevel][i]); in filltables()
305 numval[uselevel][i] = otgetnum(numcodes[i]); in filltables()
309 (void) fprintf(trace, "num=%d.\n", numval[uselevel][i]); in filltables()
313 if (uselevel == 0) in filltables()
318 strval[uselevel][i] = otgetstr(strcodes[i], &nextstring); in filltables()
322 if (strval[uselevel][i]) { in filltables()
324 tpr(trace, strval[uselevel][i]); in filltables()
331 if (strval[uselevel][i] && (strval[uselevel][i][0] == '\0')) { in filltables()
335 strval[uselevel][i] = NULL; in filltables()
343 oboolval[uselevel][i] = otgetflag(oboolcodes[i]); in filltables()
348 oboolval[uselevel][i]); in filltables()
354 onumval[uselevel][i] = otgetnum(onumcodes[i]); in filltables()
358 onumval[uselevel][i]); in filltables()
364 ostrval[uselevel][i] = otgetstr(ostrcodes[i], &nextstring); in filltables()
367 if (ostrval[uselevel][i]) { in filltables()
369 tpr(trace, ostrval[uselevel][i]); in filltables()
376 if (ostrval[uselevel][i] && (ostrval[uselevel][i][0] == '\0')) { in filltables()
380 ostrval[uselevel][i] = NULL; in filltables()
429 tpr(trace, ostrval[uselevel][i]); in getcapstr()
432 return (ostrval[uselevel][i]); in getcapstr()
444 tpr(trace, strval[uselevel][i]); in getcapstr()
447 return (strval[uselevel][i]); in getcapstr()
504 tpr(trace, strval[uselevel][i]); in getinfostr()
507 return (strval[uselevel][i]); in getinfostr()
534 boolval[uselevel][i]); in putbool()
536 boolval[uselevel][i] = newvalue; in putbool()
561 numval[uselevel][i]); in putnum()
563 numval[uselevel][i] = newvalue; in putnum()
591 tpr(trace, strval[uselevel][i]); in putstr()
594 strval[uselevel][i] = nextstring; in putstr()
689 if (ostrval[uselevel][cap_ko] == NULL) in handleko()
693 for (i = 0; ostrval[uselevel][cap_ko][i] != '\0'; ) { in handleko()
695 capname[0] = ostrval[uselevel][cap_ko][i++]; in handleko()
696 if (ostrval[uselevel][cap_ko][i] == '\0') in handleko()
698 capname[1] = ostrval[uselevel][cap_ko][i++]; in handleko()
699 if (ostrval[uselevel][cap_ko][i] == ',') in handleko()
804 if (ostrval[uselevel][cap_ma] == NULL) in handlema()
808 for (i = 0; ostrval[uselevel][cap_ma][i] != '\0'; ) { in handlema()
810 cap[0] = ostrval[uselevel][cap_ma][i++]; in handlema()
817 if (ostrval[uselevel][cap_ma][i] == '\0') in handlema()
821 vichar = ostrval[uselevel][cap_ma][i++]; in handlema()
886 if ((getinfostr("cr") == NULL) && !oboolval[uselevel][cap_nc] && in adddefaults()
887 !oboolval[uselevel][cap_xr]) in adddefaults()
895 if (ostrval[uselevel][cap_nl] != NULL) in adddefaults()
896 putstr("cud1", ostrval[uselevel][cap_nl]); in adddefaults()
902 if ((getinfostr("ind") == NULL) && !oboolval[uselevel][cap_ns]) in adddefaults()
903 if (ostrval[uselevel][cap_nl] == NULL) in adddefaults()
906 putstr("ind", ostrval[uselevel][cap_nl]); in adddefaults()
914 if ((getinfostr("cub1") == NULL) && oboolval[uselevel][cap_bs]) in adddefaults()
915 if (ostrval[uselevel][cap_bc] != NULL) in adddefaults()
916 putstr("cub1", ostrval[uselevel][cap_bc]); in adddefaults()
926 if ((getinfostr("ht") == NULL) && oboolval[uselevel][cap_pt]) in adddefaults()
934 addpadding(onumval[uselevel][cap_dB], "cub1"); in adddefaults()
935 addpadding(onumval[uselevel][cap_dC], "cr"); in adddefaults()
936 addpadding(onumval[uselevel][cap_dF], "ff"); in adddefaults()
937 addpadding(onumval[uselevel][cap_dN], "cud1"); in adddefaults()
938 addpadding(onumval[uselevel][cap_dT], "ht"); in adddefaults()
943 if (onumval[uselevel][cap_ug] >= 0 && (sg = otgetnum("sg")) < 0) in adddefaults()
944 putnum("xmc", onumval[uselevel][cap_ug]); in adddefaults()
945 else if ((onumval[uselevel][cap_ug] >= 0) && in adddefaults()
946 (sg >= 0) && (onumval[uselevel][cap_ug] != sg)) in adddefaults()
950 onumval[uselevel][cap_ug]); in adddefaults()
954 if (oboolval[uselevel][cap_MT] && !otgetflag("km")) in adddefaults()
958 if ((ostrval[uselevel][cap_rs] != NULL) && in adddefaults()
959 (ostrval[uselevel][cap_rs][0] != '\0')) in adddefaults()
960 putstr("rs2", ostrval[uselevel][cap_rs]); in adddefaults()
1056 if (needscopying(strval[uselevel][i])) { in changecalculations()
1060 tpr(trace, strval[uselevel][i]); in changecalculations()
1064 from = strval[uselevel][i]; in changecalculations()
1065 strval[uselevel][i] = to; in changecalculations()
1220 tpr(trace, strval[uselevel][i]); in changecalculations()
1318 uselevel = 0; in captoinfo()
1325 uselevel = 1; in captoinfo()