Lines Matching refs:tfdItemPtr
1887 const TFDItem * tfdItemPtr; in TestFieldDifference() local
1888 for (tfdItemPtr = tfdItems; tfdItemPtr->timezone != NULL; tfdItemPtr++) { in TestFieldDifference()
1890 … UCalendar* ucal = ucal_open(tfdItemPtr->timezone, -1, tfdItemPtr->locale, UCAL_DEFAULT, &status); in TestFieldDifference()
1892 …log_err("FAIL: for locale \"%s\", ucal_open had status %s\n", tfdItemPtr->locale, u_errorName(stat… in TestFieldDifference()
1895 if (tfdItemPtr->progressive) { in TestFieldDifference()
1896 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1897 yDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_YEAR, &status); in TestFieldDifference()
1898 MDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_MONTH, &status); in TestFieldDifference()
1899 dDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_DATE, &status); in TestFieldDifference()
1900 HDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_HOUR, &status); in TestFieldDifference()
1901 mDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_MINUTE, &status); in TestFieldDifference()
1902 sDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_SECOND, &status); in TestFieldDifference()
1905 … tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, u_errorName(status) ); in TestFieldDifference()
1906 } else if ( yDf != tfdItemPtr->yDiff || in TestFieldDifference()
1907 MDf != tfdItemPtr->MDiff || in TestFieldDifference()
1908 dDf != tfdItemPtr->dDiff || in TestFieldDifference()
1909 HDf != tfdItemPtr->HDiff || in TestFieldDifference()
1910 mDf != tfdItemPtr->mDiff || in TestFieldDifference()
1911 sDf != tfdItemPtr->sDiff ) { in TestFieldDifference()
1913 tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, in TestFieldDifference()
1914 …tfdItemPtr->yDiff, tfdItemPtr->MDiff, tfdItemPtr->dDiff, tfdItemPtr->HDiff, tfdItemPtr->mDiff, tfd… in TestFieldDifference()
1918 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1919 yDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_YEAR, &status); in TestFieldDifference()
1920 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1921 MDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_MONTH, &status); in TestFieldDifference()
1922 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1923 dDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_DATE, &status); in TestFieldDifference()
1924 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1925 HDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_HOUR, &status); in TestFieldDifference()
1926 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1927 mDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_MINUTE, &status); in TestFieldDifference()
1930 … tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, u_errorName(status) ); in TestFieldDifference()
1931 } else if ( yDf != tfdItemPtr->yDiff || in TestFieldDifference()
1932 MDf != tfdItemPtr->MDiff || in TestFieldDifference()
1933 dDf != tfdItemPtr->dDiff || in TestFieldDifference()
1934 HDf != tfdItemPtr->HDiff || in TestFieldDifference()
1935 mDf != tfdItemPtr->mDiff ) { in TestFieldDifference()
1937 tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, in TestFieldDifference()
1938 … tfdItemPtr->yDiff, tfdItemPtr->MDiff, tfdItemPtr->dDiff, tfdItemPtr->HDiff, tfdItemPtr->mDiff, in TestFieldDifference()
1941 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference()
1942 sDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_SECOND, &status); in TestFieldDifference()
1943 if (tfdItemPtr->sDiff != 0x7FFFFFFF) { in TestFieldDifference()
1946 … tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, u_errorName(status) ); in TestFieldDifference()
1947 } else if (sDf != tfdItemPtr->sDiff) { in TestFieldDifference()
1949 … tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target, tfdItemPtr->sDiff, sDf); in TestFieldDifference()
1953 tfdItemPtr->locale, tfdItemPtr->start, tfdItemPtr->target ); in TestFieldDifference()