Home
last modified time | relevance | path

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

123

/hardware/interfaces/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/
DMapper.h60 uint32_t numInts = 0; in getTransportSize() local
61 Error error = mHal->getTransportSize(bufferHandle, &numFds, &numInts); in getTransportSize()
62 hidl_cb(error, numFds, numInts); in getTransportSize()
/hardware/libhardware/modules/gralloc/
Dgralloc_priv.h93 numInts = sNumInts(); in private_handle_t()
103 h->numInts != sNumInts() || h->numFds != sNumFds || in validate()
/hardware/qcom/display/msm8960/libgralloc/
Dgralloc_priv.h202 numInts = sNumInts; in fd()
216 h->numInts != sNumInts || h->numFds != sNumFds || in validate()
223 h ? h->numInts : -1, sNumInts, in validate()
/hardware/qcom/sdm845/display/gralloc/
Dgr_priv_handle.h118 numInts = NumInts(); in fd()
134 if (!h || h->version != sizeof(native_handle) || h->numInts != NumInts() || in validate()
137 h, h ? h->version : -1, sizeof(native_handle), h ? h->numInts : -1, NumInts(), in validate()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_priv_handle.h130 numInts = NumInts(); in fd()
148 if (!h || h->version != sizeof(native_handle) || h->numInts != NumInts() || in validate()
153 h, h ? h->version : -1, sizeof(native_handle), h ? h->numInts : -1, NumInts(), in validate()
/hardware/qcom/display/msm8084/libgralloc/
Dgralloc_priv.h243 numInts = sNumInts; in fd()
257 h->numInts != sNumInts || h->numFds != sNumFds || in validate()
265 h ? h->numInts : -1, sNumInts, in validate()
/hardware/qcom/display/msm8226/libgralloc/
Dgralloc_priv.h246 numInts = sNumInts(); in fd()
260 h->numInts != sNumInts() || h->numFds != sNumFds || in validate()
268 h ? h->numInts : -1, sNumInts(), in validate()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_priv_handle.h132 numInts = NumInts(); in fd()
154 if (!h || h->version != sizeof(native_handle) || h->numInts != NumInts() || in validate()
157 h, h ? h->version : -1, sizeof(native_handle), h ? h->numInts : -1, NumInts(), in validate()
/hardware/qcom/display/msm8994/libgralloc/
Dgralloc_priv.h264 numInts = sNumInts(); in fd()
278 h->numInts != sNumInts() || h->numFds != sNumFds || in validate()
286 h ? h->numInts : -1, sNumInts(), in validate()
/hardware/qcom/display/msm8996/libgralloc/
Dgralloc_priv.h267 numInts = sNumInts(); in fd()
277 h->numInts != sNumInts() || h->numFds != sNumFds || in validate()
285 h ? h->numInts : -1, sNumInts(), in validate()
/hardware/qcom/display/msm8909/gralloc/
Dgr_priv_handle.h136 numInts = NumInts(); in fd()
154 if (!h || h->version != sizeof(native_handle) || h->numInts != NumInts() || in validate()
159 h, h ? h->version : -1, sizeof(native_handle), h ? h->numInts : -1, NumInts(), in validate()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_priv_handle.h137 numInts = NumInts(); in fd()
155 if (!h || h->version != sizeof(native_handle) || h->numInts != NumInts() || in validate()
160 h, h ? h->version : -1, sizeof(native_handle), h ? h->numInts : -1, NumInts(), in validate()
/hardware/google/av/codec2/vndk/
DC2AllocatorGralloc.cpp103 handle->numInts < 0 || in native_handle_is_invalid()
105 handle->numFds > int((INT_MAX - handle->version) / sizeof(int)) - handle->numInts); in native_handle_is_invalid()
133 || handle->numInts < NUM_INTS) { in getExtraData()
137 &handle->data[handle->numFds + handle->numInts - NUM_INTS]); in getExtraData()
168 … handle->numInts > int((INT_MAX - handle->version) / sizeof(int)) - NUM_INTS - handle->numFds) { in WrapAndMoveNativeHandle()
176 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts + NUM_INTS); in WrapAndMoveNativeHandle()
178 memcpy(&res->data, &handle->data, sizeof(int) * (handle->numFds + handle->numInts)); in WrapAndMoveNativeHandle()
210 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts - NUM_INTS); in UnwrapNativeHandle()
212 memcpy(&res->data, &handle->data, sizeof(int) * (res->numFds + res->numInts)); in UnwrapNativeHandle()
227 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts - NUM_INTS); in UnwrapNativeHandle()
[all …]
DC2AllocatorIon.cpp97 numInts = sizeof(mInts) / sizeof(int), enumerator
107 C2HandleIon::numInts,
/hardware/qcom/display/msm8998/libgralloc/
Dgralloc_priv.h280 numInts = sNumInts(); in private_handle_t()
316 h->numInts != sNumInts() || h->numFds != sNumFds) { in validate()
320 h ? h->numInts : -1, sNumInts(), in validate()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dgralloc_priv.h271 numInts = sNumInts(); in private_handle_t()
303 h->numInts != sNumInts() || h->numFds != sNumFds || in validate()
311 h ? h->numInts : -1, sNumInts(), in validate()
/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp122 if (fenceHandle->numInts != 0 || fenceHandle->numFds != 1) { in unlockInternal()
124 __FUNCTION__, fenceHandle->numInts, fenceHandle->numFds); in unlockInternal()
144 if (!handle->numFds && !handle->numInts) { in importBuffer()
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp153 uint32_t numInts; in TEST_P() local
155 ASSERT_NO_FATAL_FAILURE(mGralloc->getTransportSize(bufferHandle, &numFds, &numInts)); in TEST_P()
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc0Hal.h63 *outNumInts = bufferHandle->numInts; in getTransportSize()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp248 ASSERT_EQ(0, fenceHandle->numInts) << "invalid fence handle " << fenceHandle; in unlock()
280 ASSERT_GE(bufferHandle->numInts, int(tmpNumInts)) << "invalid numInts " << tmpNumInts; in getTransportSize()
/hardware/interfaces/graphics/mapper/2.1/
DIMapper.hal92 * @return numInts is the number of integers needed for transport.
97 uint32_t numInts);
/hardware/interfaces/camera/device/3.2/default/
DCameraDevice.cpp284 if (handle->numFds != 1 || handle->numInts != 0) { in dumpState()
286 __FUNCTION__, handle->numFds, handle->numInts); in dumpState()
/hardware/interfaces/graphics/mapper/2.1/utils/vts/
DMapperVts.cpp88 ASSERT_GE(bufferHandle->numInts, int(tmpNumInts)) << "invalid numInts " << tmpNumInts; in getTransportSize()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp226 ASSERT_EQ(0, fenceHandle->numInts) << "invalid fence handle " << fenceHandle; in unlock()
/hardware/qcom/sm8150/display/gralloc/
DQtiMapper.cpp250 num_ints = static_cast<uint32_t >(hnd->numInts); in getTransportSize()

123