Searched refs:numInts (Results 1 – 12 of 12) sorted by relevance
/system/core/libcutils/ |
D | native_handle.cpp | 86 native_handle_t* native_handle_init(char* storage, int numFds, int numInts) { in native_handle_init() argument 95 handle->numInts = numInts; in native_handle_init() 99 native_handle_t* native_handle_create(int numFds, int numInts) { in native_handle_create() argument 100 if (numFds < 0 || numInts < 0 || numFds > NATIVE_HANDLE_MAX_FDS || in native_handle_create() 101 numInts > NATIVE_HANDLE_MAX_INTS) { in native_handle_create() 106 size_t mallocSize = sizeof(native_handle_t) + (sizeof(int) * (numFds + numInts)); in native_handle_create() 111 h->numInts = numInts; in native_handle_create() 125 native_handle_t* clone = native_handle_create(handle->numFds, handle->numInts); in native_handle_clone() 139 sizeof(int) * handle->numInts); in native_handle_clone()
|
/system/core/libcutils/include/cutils/ |
D | native_handle.h | 38 int numInts; /* number of ints at &data[numFds] */ member 78 native_handle_t* native_handle_init(char* storage, int numFds, int numInts); 85 native_handle_t* native_handle_create(int numFds, int numInts);
|
/system/core/libcutils/include_outside_system/cutils/ |
D | native_handle.h | 38 int numInts; /* number of ints at &data[numFds] */ member 78 native_handle_t* native_handle_init(char* storage, int numFds, int numInts); 85 native_handle_t* native_handle_create(int numFds, int numInts);
|
/system/libhidl/base/include/hidl/ |
D | MQDescriptor.h | 155 other.mHandle->numFds, other.mHandle->numInts); 162 static_cast<size_t>(other.mHandle->numInts) * sizeof(int));
|
/system/libfmq/include/fmq/ |
D | ConvertMQDescriptors.h | 98 for (; data_index < hidlDesc.handle()->numFds + hidlDesc.handle()->numInts; data_index++) { in unsafeHidlToAidlMQDescriptor()
|
D | AidlMQDescriptorShim.h | 155 mHandle = native_handle_create(other.mHandle->numFds, other.mHandle->numInts); 162 static_cast<size_t>(other.mHandle->numInts) * sizeof(int));
|
D | AidlMessageQueue.h | 143 for (; data_index < shim->handle()->numFds + shim->handle()->numInts; data_index++) {
|
/system/libhwbinder/ |
D | Parcel.cpp | 854 + handle->numFds * sizeof(int) + handle->numInts * sizeof(int); in writeNativeHandleNoDup() 1499 int numInts = (*handle)->numInts; in readNullableNativeHandleNoDup() local 1506 if (numInts < 0 || numInts > NATIVE_HANDLE_MAX_INTS) { in readNullableNativeHandleNoDup() 1511 if (nativeHandleSize != (sizeof(native_handle_t) + ((numFds + numInts) * sizeof(int)))) { in readNullableNativeHandleNoDup()
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 879 EXPECT_EQ(reference->numInts, result->numInts); in checkNativeHandlesDataEquality() 882 int numInts = reference->numInts; in checkNativeHandlesDataEquality() local 883 EXPECT_TRUE(isArrayEqual(&(reference->data[offset]), &(result->data[offset]), numInts)); in checkNativeHandlesDataEquality()
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 202 EXPECT_EQ(reference->numInts, result->numInts); in checkNativeHandlesDataEquality() 205 int numInts = reference->numInts; in checkNativeHandlesDataEquality() local 206 EXPECT_ARRAYEQ(&(reference->data[offset]), &(result->data[offset]), numInts); in checkNativeHandlesDataEquality() 1601 EXPECT_EQ(handle->numInts, 10); in TEST_F() 1616 EXPECT_EQ(h->numInts, 10) << " for element " << i; in TEST_F()
|
/system/core/libutils/abi-dumps/arm64/source-based/ |
D | libutils.so.lsdump | 11917 "field_name" : "numInts",
|
/system/core/libutils/abi-dumps/arm_arm64/source-based/ |
D | libutils.so.lsdump | 11913 "field_name" : "numInts",
|