Lines Matching refs:term

1299 dump_initializers(TERMTYPE2 *term)
1307 for_each_string(n, term) {
1310 if (VALID_STRING(term->Strings[n])) {
1314 for (sp = term->Strings[n];
1330 string_variable(ExtStrname(term, (int) n, strnames)),
1338 for_each_boolean(n, term) {
1339 switch ((int) (term->Booleans[n])) {
1357 n, ExtBoolname(term, (int) n, boolnames), str);
1363 for_each_number(n, term) {
1365 switch (term->Numbers[n]) {
1373 _nc_SPRINTF(buf, _nc_SLIMIT(sizeof(buf)) "%d", term->Numbers[n]);
1378 ExtNumname(term, (int) n, numnames), str);
1384 for_each_string(n, term) {
1386 if (term->Strings[n] == ABSENT_STRING)
1388 else if (term->Strings[n] == CANCELLED_STRING)
1391 str = string_variable(ExtStrname(term, (int) n, strnames));
1394 ExtStrname(term, (int) n, strnames), str);
1399 if ((NUM_BOOLEANS(term) != BOOLCOUNT)
1400 || (NUM_NUMBERS(term) != NUMCOUNT)
1401 || (NUM_STRINGS(term) != STRCOUNT)) {
1404 for (n = BOOLCOUNT; n < NUM_BOOLEANS(term); ++n) {
1406 n, ExtBoolname(term, (int) n, boolnames));
1408 for (n = NUMCOUNT; n < NUM_NUMBERS(term); ++n) {
1410 n, ExtNumname(term, (int) n, numnames));
1412 for (n = STRCOUNT; n < NUM_STRINGS(term); ++n) {
1414 n, ExtStrname(term, (int) n, strnames));
1423 dump_termtype(TERMTYPE2 *term)
1437 ((NUM_BOOLEANS(term) != BOOLCOUNT)
1438 || (NUM_NUMBERS(term) != NUMCOUNT)
1439 || (NUM_STRINGS(term) != STRCOUNT))
1443 (void) printf("\t\t%d,\t\t/* count total Booleans */\n", NUM_BOOLEANS(term));
1444 (void) printf("\t\t%d,\t\t/* count total Numbers */\n", NUM_NUMBERS(term));
1445 (void) printf("\t\t%d,\t\t/* count total Strings */\n", NUM_STRINGS(term));
1448 NUM_BOOLEANS(term) - BOOLCOUNT);
1450 NUM_NUMBERS(term) - NUMCOUNT);
1452 NUM_STRINGS(term) - STRCOUNT);
1456 (void) term;