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 | 230 const char* details = (summary.data != NULL) ? summary.data : "Unknown"; in DiscardPendingException() 261 ALOGF("%s", summary.data); in jniRegisterNativeMethods() 274 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 | 999 jbyteArray data, in android_os_Parcel_unmarshall() argument
|
/libnativehelper/tests_mts/src/android/libnativehelper/mts/ |
D | JniHelpTest.java | 200 byte [] data = new byte[8]; in checkNioHeapBuffers() 201 for (int i = 0; i < 4; ++i, bb.get(data)) { in checkNioHeapBuffers() 207 assertEquals(i * data.length, position); in checkNioHeapBuffers()
|