Searched refs:TF_TString_GetCapacity (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/core/platform/ |
D | ctstring_test.cc | 83 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 …]
|
D | ctstring.h | 52 inline size_t TF_TString_GetCapacity(const TF_TString *str);
|
D | ctstring_internal.h | 198 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()
|
D | tstring.h | 409 return TF_TString_GetCapacity(&tstr_); in capacity()
|