Lines Matching refs:p
107 for (const sal_Char *p = pBuffer; in parseDOS() local
108 eState != STATE_ERROR && *p; in parseDOS()
109 ++p) in parseDOS()
114 if (*p >= '0' && *p <= '9') in parseDOS()
116 nMonth = *p - '0'; in parseDOS()
120 else if (!ascii_isWhitespace(*p)) in parseDOS()
125 if (*p >= '0' && *p <= '9') in parseDOS()
127 nMonth = 10 * nMonth + (*p - '0'); in parseDOS()
137 else if (ascii_isWhitespace(*p)) in parseDOS()
143 else if ((*p == '.' || *p == '-') && nMonth && nMonth <= 12) in parseDOS()
153 if (*p >= '0' && *p <= '9') in parseDOS()
156 nDay = 10 * nDay + (*p - '0'); in parseDOS()
161 else if ((*p == '.' || *p == '-') && nDay && nDay <= 31) in parseDOS()
171 if (*p >= '0' && *p <= '9') in parseDOS()
175 nYear = 10 * nYear + (*p - '0'); in parseDOS()
183 if (ascii_isWhitespace(*p)) in parseDOS()
191 if (*p >= '0' && *p <= '9') in parseDOS()
193 nHour = *p - '0'; in parseDOS()
197 else if (!ascii_isWhitespace(*p)) in parseDOS()
202 if (*p >= '0' && *p <= '9') in parseDOS()
205 nHour = 10 * nHour + (*p - '0'); in parseDOS()
210 else if (*p == ':' && nHour < 24) in parseDOS()
220 if (*p >= '0' && *p <= '9') in parseDOS()
223 nMinute = 10 * nMinute + (*p - '0'); in parseDOS()
228 else if ((*p == 'a' || *p == 'A') && nMinute < 60) in parseDOS()
238 else if ((*p == 'p' || *p == 'P') && nMinute < 60) in parseDOS()
248 else if (ascii_isWhitespace(*p) && (nMinute < 60)) in parseDOS()
255 if (*p == 'a' || *p == 'A') in parseDOS()
265 else if (*p == 'p' || *p == 'P') in parseDOS()
275 else if (*p == '<') in parseDOS()
277 else if (*p >= '0' && *p <= '9') in parseDOS()
279 nSize = *p - '0'; in parseDOS()
282 else if (!ascii_isWhitespace(*p)) in parseDOS()
287 eState = *p == 'm' || *p == 'M' ? STATE_1_APM : STATE_ERROR; in parseDOS()
291 if (*p == '<') in parseDOS()
293 else if (*p >= '0' && *p <= '9') in parseDOS()
295 nSize = *p - '0'; in parseDOS()
298 else if (!ascii_isWhitespace(*p)) in parseDOS()
303 eState = *p == 'd' || *p == 'D' ? STATE_1_D : STATE_ERROR; in parseDOS()
307 eState = *p == 'i' || *p == 'I' ? STATE_1_DI : STATE_ERROR; in parseDOS()
311 eState = *p == 'r' || *p == 'R' ? STATE_1_DIR : STATE_ERROR; in parseDOS()
315 if (*p == '>') in parseDOS()
325 if (*p >= '0' && *p <= '9') in parseDOS()
326 nSize = 10 * nSize + (*p - '0'); in parseDOS()
327 else if (ascii_isWhitespace(*p)) in parseDOS()
334 if (*p >= '0' && *p <= '9') in parseDOS()
335 nSize = 10 * nSize + (*p - '0'); in parseDOS()
336 else if (ascii_isWhitespace(*p)) in parseDOS()
343 if (*p == 'd' || *p == 'D') in parseDOS()
345 else if ((*p >= 'a' && *p <= 'z') || (*p >= 'A' && *p <= 'Z')) in parseDOS()
347 else if (*p >= '0' && *p <= '9') in parseDOS()
349 nMonth = *p - '0'; in parseDOS()
353 else if (!ascii_isWhitespace(*p)) in parseDOS()
358 if (ascii_isWhitespace(*p)) in parseDOS()
360 else if ((*p < 'a' || *p > 'z') && (*p < 'A' || *p > 'Z')) in parseDOS()
365 if (*p == 'i' || *p == 'I') in parseDOS()
367 else if ((*p >= 'a' && *p <= 'z') || (*p >= 'A' && *p <= 'Z')) in parseDOS()
369 else if (ascii_isWhitespace(*p)) in parseDOS()
376 if (*p == 'r' || *p == 'R') in parseDOS()
383 if ((*p >= 'a' && *p <= 'z') || (*p >= 'A' && *p <= 'Z')) in parseDOS()
385 else if (ascii_isWhitespace(*p)) in parseDOS()
393 if (*p >= '0' && *p <= '9') in parseDOS()
395 nMonth = *p - '0'; in parseDOS()
399 else if (!ascii_isWhitespace(*p)) in parseDOS()
404 if (*p >= '0' && *p <= '9') in parseDOS()
407 nMonth = 10 * nMonth + (*p - '0'); in parseDOS()
412 else if (*p == '-' && nMonth && nMonth <= 12) in parseDOS()
422 if (*p >= '0' && *p <= '9') in parseDOS()
425 nDay = 10 * nDay + (*p - '0'); in parseDOS()
430 else if (*p == '-' && nDay && nDay <= 31) in parseDOS()
440 if (*p >= '0' && *p <= '9') in parseDOS()
444 nYear = 10 * nYear + (*p - '0'); in parseDOS()
452 if (ascii_isWhitespace(*p)) in parseDOS()
460 if (*p >= '0' && *p <= '9') in parseDOS()
462 nHour = *p - '0'; in parseDOS()
466 else if (!ascii_isWhitespace(*p)) in parseDOS()
471 if (*p >= '0' && *p <= '9') in parseDOS()
474 nHour = 10 * nHour + (*p - '0'); in parseDOS()
479 else if (*p == ':' && nHour < 24) in parseDOS()
489 if (*p >= '0' && *p <= '9') in parseDOS()
493 nMinute = 10 * nMinute + (*p - '0'); in parseDOS()
501 if (ascii_isWhitespace(*p) && (nMinute < 60)) in parseDOS()
509 if (!ascii_isWhitespace(*p)) in parseDOS()
511 setPath (rEntry.m_aName, p); in parseDOS()
583 const sal_Char *p = pBuffer; in parseVMS() local
587 while (*p == '\t' || *p == ' ') in parseVMS()
588 ++p; in parseVMS()
591 const sal_Char *pFileName = p; in parseVMS()
592 while ((*p >= 'A' && *p <= 'Z') || in parseVMS()
593 (*p >= 'a' && *p <= 'z') || in parseVMS()
594 (*p >= '0' && *p <= '9') || in parseVMS()
595 *p == '-' || *p == '_' || *p == '$') in parseVMS()
596 ++p; in parseVMS()
598 if (*p != '.' || p == pFileName || p - pFileName > 39) in parseVMS()
607 const sal_Char *pFileType = ++p; in parseVMS()
608 while ((*p >= 'A' && *p <= 'Z') || in parseVMS()
609 (*p >= 'a' && *p <= 'z') || in parseVMS()
610 (*p >= '0' && *p <= '9') || in parseVMS()
611 *p == '-' || *p == '_' || *p == '$') in parseVMS()
612 ++p; in parseVMS()
614 if (*p != ';' || p == pFileName || p - pFileName > 39) in parseVMS()
621 ++p; in parseVMS()
624 if ((p - pFileType == 4) && in parseVMS()
634 setPath (rEntry.m_aName, pFileName, (p - pFileName)); in parseVMS()
639 if (*p < '1' || *p > '9') in parseVMS()
646 ++p; in parseVMS()
647 while (*p >= '0' && *p <= '9') in parseVMS()
648 ++p; in parseVMS()
652 while (*p == '\t' || *p == ' ') in parseVMS()
655 ++p; in parseVMS()
657 if (*p) in parseVMS()
689 if (*p != '\t' && *p != ' ') in parseVMS()
691 ++p; in parseVMS()
692 while (*p == '\t' || *p == ' ') in parseVMS()
693 ++p; in parseVMS()
697 if (*p < '0' || *p > '9') in parseVMS()
699 ULONG nSize = *p - '0'; in parseVMS()
700 if (*p++ != '0') in parseVMS()
701 while (*p >= '0' && *p <= '9') in parseVMS()
702 nSize = 10 * rEntry.m_nSize + (*p++ - '0'); in parseVMS()
706 if (*p != '\t' && *p != ' ') in parseVMS()
708 ++p; in parseVMS()
709 while (*p == '\t' || *p == ' ') in parseVMS()
710 ++p; in parseVMS()
714 if (*p == '0') in parseVMS()
716 ++p; in parseVMS()
717 if (*p < '1' || *p > '9') in parseVMS()
719 nDay = *p++ - '0'; in parseVMS()
721 else if (*p == '1' || *p == '2') in parseVMS()
723 nDay = *p++ - '0'; in parseVMS()
724 if (*p >= '0' && *p <= '9') in parseVMS()
725 nDay = 10 * nDay + (*p++ - '0'); in parseVMS()
727 else if (*p == '3') in parseVMS()
729 ++p; in parseVMS()
730 nDay = (*p == '0' || *p == '1') ? 30 + (*p++ - '0') : 3; in parseVMS()
732 else if (*p >= '4' && *p <= '9') in parseVMS()
733 nDay = *p++ - '0'; in parseVMS()
738 if (*p++ != '-') in parseVMS()
742 sal_Char const * pMonth = p; in parseVMS()
746 if (!((*p >= 'A' && *p <= 'Z') || (*p >= 'a' && *p <= 'z'))) in parseVMS()
748 ++p; in parseVMS()
788 if (*p++ != '-') in parseVMS()
795 if (*p < '0' || *p > '9') in parseVMS()
797 nYear = 10 * nYear + (*p++ - '0'); in parseVMS()
799 if (*p >= '0' && *p <= '9') in parseVMS()
801 nYear = 10 * nYear + (*p++ - '0'); in parseVMS()
802 if (*p < '0' || *p > '9') in parseVMS()
804 nYear = 10 * nYear + (*p++ - '0'); in parseVMS()
809 if (*p != '\t' && *p != ' ') in parseVMS()
811 ++p; in parseVMS()
812 while (*p == '\t' || *p == ' ') in parseVMS()
813 ++p; in parseVMS()
817 if (*p == '0' || *p == '1') in parseVMS()
819 nHour = *p++ - '0'; in parseVMS()
820 if (*p >= '0' && *p <= '9') in parseVMS()
821 nHour = 10 * nHour + (*p++ - '0'); in parseVMS()
823 else if (*p == '2') in parseVMS()
825 ++p; in parseVMS()
826 nHour = (*p >= '0' && *p <= '3') ? 20 + (*p++ - '0') : 2; in parseVMS()
828 else if (*p >= '3' && *p <= '9') in parseVMS()
829 nHour = *p++ - '0'; in parseVMS()
834 if (*p++ != ':') in parseVMS()
841 if (*p < '0' || *p > '5') in parseVMS()
844 sal_uInt16 nMinute = *p++ - '0'; in parseVMS()
845 if (*p < '0' || *p > '9') in parseVMS()
848 nMinute = 10 * nMinute + (*p++ - '0'); in parseVMS()
854 if (*p && (*p != '\t' && *p != ' ')) in parseVMS()