• Home
  • Raw
  • Download

Lines Matching refs:Formattable

167     Formattable* ftp = new Formattable();  in test_Formattable()
168 if (!ftp || !(ftp->getType() == Formattable::kLong) || !(ftp->getLong() == 0)) { in test_Formattable()
173 Formattable fta, ftb; in test_Formattable()
195 if ((fta.getType() == Formattable::kDouble) && (fta.getDouble() == 3.0)) { in test_Formattable()
206 if ((fta.getType() == Formattable::kDate) && (fta.getDate() == 4.0)) { in test_Formattable()
226 const Formattable ftc(fta); in test_Formattable()
231 t = (fta.getType() == Formattable::kString) in test_Formattable()
250 const Formattable ftarray[] = in test_Formattable()
252 Formattable( 1.0, Formattable::kIsDate ), in test_Formattable()
259 Formattable ft_arr( ftarray, ft_cnt ); in test_Formattable()
261 if ((ft_arr[0].getType() == Formattable::kDate) && (ft_arr[0].getDate() == 1.0) in test_Formattable()
262 && (ft_arr[1].getType() == Formattable::kDouble) && (ft_arr[1].getDouble() == 2.0) in test_Formattable()
263 && (ft_arr[2].getType() == Formattable::kLong) && (ft_arr[2].getLong() == (int32_t)3) in test_Formattable()
264 && (ft_arr[3].getType() == Formattable::kString) && (ft_arr[3].getString(temp) == ucs) in test_Formattable()
265 && (ft_arr[4].getType() == Formattable::kString) && (ft_arr[4].getString(temp) == *ucs_ptr) ) { in test_Formattable()
272 const Formattable* res_array = ft_arr.getArray( res_cnt ); in test_Formattable()
307 Formattable *pf; in test_Formattable()
316 const Formattable ftarr1[] = { Formattable( (int32_t)1 ), Formattable( (int32_t)2 ) }; in test_Formattable()
317 const Formattable ftarr2[] = { Formattable( (int32_t)3 ), Formattable( (int32_t)4 ) }; in test_Formattable()
323 if ((ft_arr[0].getType() == Formattable::kLong) && (ft_arr[0].getLong() == (int32_t)1)) { in test_Formattable()
329 Formattable* ft_dynarr = new Formattable[ftarr2_cnt]; in test_Formattable()
333 if ((ft_dynarr[0].getType() == Formattable::kLong) && (ft_dynarr[0].getLong() == (int32_t)3) in test_Formattable()
334 && (ft_dynarr[1].getType() == Formattable::kLong) && (ft_dynarr[1].getLong() == (int32_t)4)) { in test_Formattable()
341 if ((ft_arr[0].getType() == Formattable::kLong) && (ft_arr[0].getLong() == (int32_t)3) in test_Formattable()
342 && (ft_arr[1].getType() == Formattable::kLong) && (ft_arr[1].getLong() == (int32_t)4)) { in test_Formattable()
354 if ((fta.getType() == Formattable::kString) && (fta.getString(tmp2) == "ttt")) { in test_Formattable()