Home
last modified time | relevance | path

Searched refs:numInts (Results 1 – 12 of 12) sorted by relevance

/system/core/libcutils/
Dnative_handle.cpp86 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/
Dnative_handle.h38 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/
Dnative_handle.h38 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/
DMQDescriptor.h155 other.mHandle->numFds, other.mHandle->numInts);
162 static_cast<size_t>(other.mHandle->numInts) * sizeof(int));
/system/libfmq/include/fmq/
DConvertMQDescriptors.h98 for (; data_index < hidlDesc.handle()->numFds + hidlDesc.handle()->numInts; data_index++) { in unsafeHidlToAidlMQDescriptor()
DAidlMQDescriptorShim.h155 mHandle = native_handle_create(other.mHandle->numFds, other.mHandle->numInts);
162 static_cast<size_t>(other.mHandle->numInts) * sizeof(int));
DAidlMessageQueue.h143 for (; data_index < shim->handle()->numFds + shim->handle()->numInts; data_index++) {
/system/libhwbinder/
DParcel.cpp854 + 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/
Dhidl_test_java_native.cpp879 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/
Dhidl_test_client.cpp202 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/
Dlibutils.so.lsdump11917 "field_name" : "numInts",
/system/core/libutils/abi-dumps/arm_arm64/source-based/
Dlibutils.so.lsdump11913 "field_name" : "numInts",