Searched refs:data (Results 1 – 6 of 6) sorted by relevance
/libnativehelper/ |
D | ExpandableString.c | 28 free(s->data); in ExpandableStringRelease() 35 char* data = (char*) realloc(s->data, requiredSize); in ExpandableStringAppend() local 36 if (data == NULL) { in ExpandableStringAppend() 39 s->data = data; in ExpandableStringAppend() 40 memcpy(s->data + s->dataSize, text, textSize + 1); in ExpandableStringAppend()
|
D | ExpandableString.h | 28 char* data; // The C string data. member
|
D | JNIHelp.c | 233 const char* details = (summary.data != NULL) ? summary.data : "Unknown"; in DiscardPendingException() 342 ALOGF("%s", summary.data); in jniRegisterNativeMethods() 355 const char* details = (summary.data != NULL) ? summary.data : "No memory to report exception"; in jniLogException()
|
/libnativehelper/tests/ |
D | ExpandableString_test.cpp | 30 EXPECT_TRUE(s.data == NULL); in TEST() 33 EXPECT_TRUE(s.data != NULL); in TEST() 36 EXPECT_TRUE(s.data == NULL); in TEST() 46 EXPECT_TRUE(s.data == NULL); in TEST() 49 EXPECT_TRUE(s.data != NULL); in TEST() 52 EXPECT_TRUE(s.data != NULL); in TEST() 55 EXPECT_TRUE(s.data != NULL); in TEST() 58 EXPECT_TRUE(s.data == NULL); in TEST() 91 EXPECT_EQ(c, expandableString.data[position]); in TEST_P() 96 EXPECT_EQ(0, strncmp(expected.c_str(), expandableString.data + position, expected.size())); in TEST_P()
|
D | JniSafeRegisterNativeMethods_test.cpp | 987 jbyteArray data, in android_os_Parcel_unmarshall() argument
|
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 54 char* data; // The C string data. member 62 free(s->data); in ExpandableStringRelease() 69 char* data = (char*)realloc(s->data, requiredSize); in ExpandableStringAppend() local 70 if (data == NULL) { in ExpandableStringAppend() 73 s->data = data; in ExpandableStringAppend() 74 memcpy(s->data + s->dataSize, text, textSize + 1); in ExpandableStringAppend() 287 const char* details = (summary.data != NULL) ? summary.data : "Unknown"; in DiscardPendingException() 386 __android_log_print(ANDROID_LOG_FATAL, "JNIHelp", "%s", summary.data); in jniRegisterNativeMethods() 498 const char* details = (summary.data != NULL) ? summary.data : "No memory to report exception";
|