Home
last modified time | relevance | path

Searched refs:data (Results 1 – 6 of 6) sorted by relevance

/libnativehelper/
DExpandableString.c28 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()
DExpandableString.h28 char* data; // The C string data. member
DJNIHelp.c231 const char* details = (summary.data != NULL) ? summary.data : "Unknown"; in DiscardPendingException()
340 ALOGF("%s", summary.data); in jniRegisterNativeMethods()
353 const char* details = (summary.data != NULL) ? summary.data : "No memory to report exception"; in jniLogException()
/libnativehelper/tests/
DExpandableString_test.cpp30 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()
DJniSafeRegisterNativeMethods_test.cpp999 jbyteArray data, in android_os_Parcel_unmarshall() argument
/libnativehelper/include/nativehelper/
DJNIHelp.h54 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()
282 const char* details = (summary.data != NULL) ? summary.data : "Unknown"; in DiscardPendingException()
381 __android_log_print(ANDROID_LOG_FATAL, "JNIHelp", "%s", summary.data); in jniRegisterNativeMethods()
493 const char* details = (summary.data != NULL) ? summary.data : "No memory to report exception";