Lines Matching refs:tfdItemPtr
1916 const TFDItem * tfdItemPtr; in TestFieldDifference() local
1917 for (tfdItemPtr = tfdItems; tfdItemPtr->timezone != NULL; tfdItemPtr++) { in TestFieldDifference()
1919 … UCalendar* ucal = ucal_open(tfdItemPtr->timezone, -1, tfdItemPtr->locale, UCAL_DEFAULT, &status); in TestFieldDifference()
1921 …log_err("FAIL: for locale \"%s\", ucal_open had status %s\n", tfdItemPtr->locale, u_errorName(stat… in TestFieldDifference()
1924 if (tfdItemPtr->progressive) { in TestFieldDifference()
1925 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1926 yDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_YEAR, &status); in TestFieldDifference()
1927 MDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_MONTH, &status); in TestFieldDifference()
1928 dDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_DATE, &status); in TestFieldDifference()
1929 HDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_HOUR, &status); in TestFieldDifference()
1930 mDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_MINUTE, &status); in TestFieldDifference()
1931 sDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_SECOND, &status); in TestFieldDifference()
1934 … tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, u_errorName(status) ); in TestFieldDifference()
1935 } else if ( yDf != tfdItemPtr->yDiff || in TestFieldDifference()
1936 MDf != tfdItemPtr->MDiff || in TestFieldDifference()
1937 dDf != tfdItemPtr->dDiff || in TestFieldDifference()
1938 HDf != tfdItemPtr->HDiff || in TestFieldDifference()
1939 mDf != tfdItemPtr->mDiff || in TestFieldDifference()
1940 sDf != tfdItemPtr->sDiff ) { in TestFieldDifference()
1942 tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, in TestFieldDifference()
1943 …tfdItemPtr->yDiff, tfdItemPtr->MDiff, tfdItemPtr->dDiff, tfdItemPtr->HDiff, tfdItemPtr->mDiff, tfd… in TestFieldDifference()
1947 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1948 yDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_YEAR, &status); in TestFieldDifference()
1949 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1950 MDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_MONTH, &status); in TestFieldDifference()
1951 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1952 dDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_DATE, &status); in TestFieldDifference()
1953 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1954 HDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_HOUR, &status); in TestFieldDifference()
1955 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1956 mDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_MINUTE, &status); in TestFieldDifference()
1959 … tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, u_errorName(status) ); in TestFieldDifference()
1960 } else if ( yDf != tfdItemPtr->yDiff || in TestFieldDifference()
1961 MDf != tfdItemPtr->MDiff || in TestFieldDifference()
1962 dDf != tfdItemPtr->dDiff || in TestFieldDifference()
1963 HDf != tfdItemPtr->HDiff || in TestFieldDifference()
1964 mDf != tfdItemPtr->mDiff ) { in TestFieldDifference()
1966 tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, in TestFieldDifference()
1967 … tfdItemPtr->yDiff, tfdItemPtr->MDiff, tfdItemPtr->dDiff, tfdItemPtr->HDiff, tfdItemPtr->mDiff, in TestFieldDifference()
1970 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1971 sDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_SECOND, &status); in TestFieldDifference()
1972 if (tfdItemPtr->sDiff != 0x7FFFFFFF) { in TestFieldDifference()
1975 … tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, u_errorName(status) ); in TestFieldDifference()
1976 } else if (sDf != tfdItemPtr->sDiff) { in TestFieldDifference()
1978 … tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, tfdItemPtr->sDiff, sDf); in TestFieldDifference()
1982 tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target ); in TestFieldDifference()