Lines Matching full:lstyle
123 unsigned int tokmarker = 0; /* extra info for lstyle handler */
126 int lstyle = 0;
170 if (!lstyle && (!state.listStyle || state.listStyle == 'E'))
226 state.listStyle = lstyle = 'E';
245 } /* if (!lstyle && (!state.listStyle || state.listStyle == 'E')) */
251 if (!lstyle && (!state.listStyle || state.listStyle == 'V'))
326 lstyle = 'V';
330 lstyle = 'V';
333 lstyle = 'V';
353 lstyle = 'V';
355 if (lstyle == 'V')
384 while (lstyle && pos < toklen[0] && *p != ']')
388 lstyle = 0;
392 if (lstyle && pos < (toklen[0]-1))
401 lstyle = 0;
404 while (lstyle && pos < toklen[0] && *p != ';')
408 lstyle = 0;
410 lstyle = 0;
414 if (lstyle && *p == ';')
417 lstyle = 0;
418 for (pos++;lstyle && pos < toklen[0];pos++)
421 lstyle = 0;
428 if (!lstyle || pos == 0 || pos > 80) /* VMS filenames can't be longer than that */
430 lstyle = 0;
445 for (pos = 0; lstyle && pos < (toklen[1]); pos++)
448 lstyle = 0;
450 if (lstyle && numtoks > 4) /* Multinet or UCX but not CMU */
452 for (pos = 1; lstyle && pos < (toklen[5]-1); pos++)
456 lstyle = 0;
463 if (lstyle == 'V')
466 state.listStyle = lstyle;
590 } /* if (lstyle == 'V') */
591 } /* if (!lstyle && (!state.listStyle || state.listStyle == 'V')) */
598 if (!lstyle && (!state.listStyle || state.listStyle == 'C')) /* VM/CMS */
624 for (pos = 1; !lstyle && (pos+5) < numtoks; pos++)
647 lstyle = 'C';
653 } /* for (pos = 1; !lstyle && (pos+5) < numtoks; pos++) */
657 if (lstyle && !state.listStyle)
659 for (pos = 0, p = tokens[0]; lstyle && pos < toklen[0]; pos++, p++)
662 lstyle = 0;
668 for (p = tokens[pos]; lstyle && p<(tokens[pos]+toklen[pos]); p++)
671 lstyle = 0;
676 lstyle && pos < toklen[tokmarker+4]; pos++, p++)
686 lstyle = 0;
689 lstyle = 0;
692 lstyle = 0;
694 lstyle = 0;
697 lstyle && pos < toklen[tokmarker+5]; pos++, p++)
700 lstyle = 0;
703 lstyle = 0;
707 if (lstyle == 'C')
710 state.listStyle = lstyle;
768 } /* if (lstyle == 'C' && (!state.listStyle || state.listStyle == lstyle)) */
775 if (!lstyle && (!state.listStyle || state.listStyle == 'W'))
798 lstyle = 'W';
805 for (pos = 1; (lstyle && pos < toklen[2]); pos++)
808 lstyle = 0;
816 if (lstyle == 'W')
819 state.listStyle = lstyle;
901 } /* if (lstyle == 'W' && (!state.listStyle || state.listStyle == lstyle)) */
902 } /* if (!lstyle && (!state.listStyle || state.listStyle == 'W')) */
908 if (!lstyle && (!state.listStyle || state.listStyle == 'O')) /* OS/2 test */
945 lstyle = 'O'; /* OS/2 */
948 for (pos = 1; lstyle && pos < toklen[0]; pos++)
951 lstyle = 0;
956 if (lstyle == 'O')
959 state.listStyle = lstyle;
1002 } /* if (lstyle == 'O') */
1004 } /* if (!lstyle && (!state.listStyle || state.listStyle == 'O')) */
1010 if (!lstyle && (!state.listStyle || state.listStyle == 'U')) /* /bin/ls & co. */
1063 lstyle = 'U'; /* very likely one of the NetWare servers */
1081 lstyle = 'U'; /* very likely /bin/ls */
1085 if (lstyle == 'U') /* first token checks out */
1087 lstyle = 0;
1088 for (pos = (numtoks-5); !lstyle && pos > 1; pos--)
1125 lstyle = 'U'; /* assume /bin/ls or variant format */
1130 for (unsigned int i = 0; lstyle && i < toklen[tokmarker]; ++i)
1133 lstyle = 0;
1135 if (lstyle)
1148 lstyle = 0;
1151 } /* for (pos = (numtoks-5); !lstyle && pos > 1; pos--) */
1152 } /* if (lstyle == 'U') */
1154 if (lstyle == 'U')
1157 state.listStyle = lstyle;
1283 } /* if (lstyle == 'U') */
1285 } /* if (!lstyle && (!state.listStyle || state.listStyle == 'U')) */
1291 if (!lstyle && (!state.listStyle || state.listStyle == 'w'))
1333 lstyle = 'w';
1349 lstyle = 'w';
1351 if (lstyle && state.listStyle != lstyle) /* first time */
1357 for (pos = 0; lstyle && pos < toklen[1]; pos++)
1360 lstyle = 0;
1366 if (lstyle == 'w')
1369 state.listStyle = lstyle;
1426 } /* (lstyle == 'w') */
1428 } /* if (!lstyle && (!state.listStyle || state.listStyle == 'w')) */
1434 if (!lstyle &&
1499 if (!lstyle && numtoks >= 2)
1524 lstyle = 'D';
1529 lstyle = 0;
1533 for (pos = 0; lstyle && pos < toklen[tokmarker]; pos++)
1536 lstyle = 0;
1539 if (lstyle && !state.listStyle) /* first time */
1542 for (p = tokens[0]; lstyle &&
1547 lstyle = 0;
1554 } /* if (!lstyle && numtoks >= 2) */
1556 if (!lstyle && state.listStyle == 'D' && !carry_buf_len)
1572 if (lstyle == 'D')
1575 state.listStyle = lstyle;
1702 } /* if (lstyle == 'D') */
1703 } /* if (!lstyle && (!state.listStyle || state.listStyle == 'D')) */