Lines Matching refs:format
26 /* The date format is as follows:
753 /*! Uses the format assignment (through "format", and "optional") for the
758 computeDate(const char* format, bool* optional, parsed_element* elements,
761 TRACE(("matches: %s\n", format));
786 while (isspace(format[0]))
787 format++;
789 if (format[0] == '[' && format[2] == ']') {
792 format += 3;
797 format++;
806 switch (format[0]) {
866 format++;
872 switch (format[0]) {
903 // format matched at this point, check next element
904 format++;
905 if (format[0] == ']')
906 format++;
947 // test if this format matches our date string
949 const char* format = sFormatsTable[index];
956 while (isspace(format[0]))
957 format++;
959 if (format[0] == '[' && format[2] == ']') {
961 format++;
971 if (format[0] != '.')
975 if (format[0] != '-')
979 if (format[0] != ',')
983 if (format[0] != ':')
993 if (element->type == TYPE_UNIT && format[0] != 'T')
996 switch (format[0]) {
1056 switch (format[0]) {
1090 // format matched at this point, check next element
1092 format++;
1093 format++;
1099 // format didn't match element - let's see if the current
1105 format += 2;
1110 // check if the format is already empty (since we reached our last
1112 while (format[0]) {
1113 if (format[0] == '[')
1114 format += 3;
1115 else if (isspace(format[0]))
1116 format++;
1120 if (format[0])
1129 // check if the next format has the same beginning as the skipped one,
1132 int32 length = format + 1 - sFormatsTable[index];