Home
last modified time | relevance | path

Searched refs:TF_TString_GetCapacity (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Dctstring_test.cc83 EXPECT_EQ(TF_TString_SmallCapacity, TF_TString_GetCapacity(&s20)); in TEST()
91 EXPECT_EQ(TF_TString_SmallCapacity, TF_TString_GetCapacity(&s21)); in TEST()
99 EXPECT_EQ(TF_TString_SmallCapacity, TF_TString_GetCapacity(&s22)); in TEST()
114 EXPECT_EQ(TF_TString_SmallCapacity, TF_TString_GetCapacity(&s30)); in TEST()
123 EXPECT_EQ(TF_TString_SmallCapacity, TF_TString_GetCapacity(&s30)); in TEST()
132 EXPECT_EQ(TF_TString_SmallCapacity, TF_TString_GetCapacity(&s30)); in TEST()
144 EXPECT_LT(TF_TString_SmallCapacity, TF_TString_GetCapacity(&s30)); in TEST()
160 EXPECT_LT(TF_TString_SmallCapacity, TF_TString_GetCapacity(&s31)); in TEST()
200 EXPECT_EQ(0, TF_TString_GetCapacity(&s40)); in TEST()
206 EXPECT_EQ(TF_TString_SmallCapacity, TF_TString_GetCapacity(&s40)); in TEST()
[all …]
Dctstring.h52 inline size_t TF_TString_GetCapacity(const TF_TString *str);
Dctstring_internal.h198 static inline size_t TF_TString_GetCapacity(const TF_TString *str) { in TF_TString_GetCapacity() function
255 size_t curr_cap = TF_TString_GetCapacity(str); in TF_TString_ResizeUninitialized()
Dtstring.h409 return TF_TString_GetCapacity(&tstr_); in capacity()