Searched refs:dataSize (Results 1 – 4 of 4) sorted by relevance
/libnativehelper/tests/ |
D | ExpandableString_test.cpp | 31 EXPECT_EQ(s.dataSize, 0u); in TEST() 34 EXPECT_GE(s.dataSize, strlen(kAhoy)); in TEST() 37 EXPECT_GE(s.dataSize, 0u); in TEST() 47 EXPECT_EQ(s.dataSize, 0u); in TEST() 50 EXPECT_GE(s.dataSize, strlen(kAhoy)); in TEST() 53 EXPECT_GE(s.dataSize, strlen(kMercy)); in TEST() 56 EXPECT_GE(s.dataSize, strlen(kAhoy)); in TEST() 59 EXPECT_GE(s.dataSize, 0u); in TEST() 86 EXPECT_GE(expandableString.dataSize, requiredSize); in TEST_P()
|
/libnativehelper/ |
D | ExpandableString.c | 34 size_t requiredSize = s->dataSize + textSize + 1; in ExpandableStringAppend() 40 memcpy(s->data + s->dataSize, text, textSize + 1); in ExpandableStringAppend() 41 s->dataSize += textSize; in ExpandableStringAppend()
|
D | ExpandableString.h | 27 size_t dataSize; // The length of the C string data (not including the null-terminator). member
|
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 53 size_t dataSize; // The length of the C string data (not including the null-terminator). member 68 size_t requiredSize = s->dataSize + textSize + 1; in ExpandableStringAppend() 74 memcpy(s->data + s->dataSize, text, textSize + 1); in ExpandableStringAppend() 75 s->dataSize += textSize; in ExpandableStringAppend()
|