Searched refs:numInts (Results 1 – 7 of 7) sorted by relevance
/system/core/libcutils/ |
D | native_handle.cpp | 25 native_handle_t* native_handle_init(char* storage, int numFds, int numInts) { in native_handle_init() argument 34 handle->numInts = numInts; in native_handle_init() 38 native_handle_t* native_handle_create(int numFds, int numInts) { in native_handle_create() argument 39 if (numFds < 0 || numInts < 0 || numFds > NATIVE_HANDLE_MAX_FDS || in native_handle_create() 40 numInts > NATIVE_HANDLE_MAX_INTS) { in native_handle_create() 45 size_t mallocSize = sizeof(native_handle_t) + (sizeof(int) * (numFds + numInts)); in native_handle_create() 50 h->numInts = numInts; in native_handle_create() 56 native_handle_t* clone = native_handle_create(handle->numFds, handle->numInts); in native_handle_clone() 70 sizeof(int) * handle->numInts); in native_handle_clone()
|
/system/core/libcutils/include_vndk/cutils/ |
D | native_handle.h | 38 int numInts; /* number of ints at &data[numFds] */ member 68 native_handle_t* native_handle_init(char* storage, int numFds, int numInts); 78 native_handle_t* native_handle_create(int numFds, int numInts);
|
/system/core/libcutils/include/cutils/ |
D | native_handle.h | 38 int numInts; /* number of ints at &data[numFds] */ member 68 native_handle_t* native_handle_init(char* storage, int numFds, int numInts); 78 native_handle_t* native_handle_create(int numFds, int numInts);
|
/system/libhidl/base/include/hidl/ |
D | MQDescriptor.h | 231 other.mHandle->numFds, other.mHandle->numInts); 239 other.mHandle->numInts * sizeof(int));
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 718 EXPECT_EQ(reference->numInts, result->numInts); in checkNativeHandlesDataEquality() 721 int numInts = reference->numInts; in checkNativeHandlesDataEquality() local 722 EXPECT_TRUE(isArrayEqual(&(reference->data[offset]), &(result->data[offset]), numInts)); in checkNativeHandlesDataEquality()
|
/system/libhwbinder/ |
D | Parcel.cpp | 1061 + handle->numFds * sizeof(int) + handle->numInts * sizeof(int); in writeNativeHandleNoDup() 1715 int numInts = (*handle)->numInts; in readNullableNativeHandleNoDup() local 1722 if (numInts < 0 || numInts > NATIVE_HANDLE_MAX_INTS) { in readNullableNativeHandleNoDup() 1727 if (nativeHandleSize != (sizeof(native_handle_t) + ((numFds + numInts) * sizeof(int)))) { in readNullableNativeHandleNoDup()
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 211 EXPECT_EQ(reference->numInts, result->numInts); in checkNativeHandlesDataEquality() 214 int numInts = reference->numInts; in checkNativeHandlesDataEquality() local 215 EXPECT_ARRAYEQ(&(reference->data[offset]), &(result->data[offset]), numInts); in checkNativeHandlesDataEquality() 1635 EXPECT_EQ(handle->numInts, 10); in TEST_F() 1650 EXPECT_EQ(h->numInts, 10) << " for element " << i; in TEST_F()
|