Searched refs:numInts (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 327 return static_cast<size_t>(12 + (handle ? handle->numInts : 0)) * sizeof(int); in getFlattenedSize() 357 buf[11] = handle->numInts; in flatten() 361 static_cast<size_t>(handle->numInts) * sizeof(int)); in flatten() 382 const size_t numInts = static_cast<size_t>(buf[11]); in unflatten() local 389 if (numFds >= maxNumber || numInts >= (maxNumber - 12)) { in unflatten() 393 numFds, numInts); in unflatten() 397 const size_t sizeNeeded = (12 + numInts) * sizeof(int); in unflatten() 408 if (numFds || numInts) { in unflatten() 416 static_cast<int>(numFds), static_cast<int>(numInts)); in unflatten() 424 memcpy(h->data + numFds, &buf[12], numInts * sizeof(int)); in unflatten()
|
/frameworks/base/core/jni/ |
D | android_util_StringBlock.cpp | 129 static const int numInts = sizeof(ResStringPool_span)/sizeof(jint); in android_content_StringBlock_nativeGetStyle() local 132 num*numInts, numInts, in android_content_StringBlock_nativeGetStyle()
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.h | 493 result = 31 * result + buf->numInts; in operator() 494 int length = buf->numFds + buf->numInts; in operator() 504 if (buf1->numFds == buf2->numFds && buf1->numInts == buf2->numInts) { in operator() 505 int length = buf1->numFds + buf1->numInts; in operator()
|
/frameworks/av/include/media/omx/1.0/ |
D | Conversion.h | 584 size_t const numInts = 12 + (handle ? handle->numInts : 0); in convertTo() local 585 int32_t* ints = new int32_t[numInts]; in convertTo() 604 ints[11] = static_cast<int32_t>(handle->numInts); in convertTo() 607 std::copy(intsStart, intsStart + handle->numInts, &ints[12]); in convertTo() 611 size_t size = numInts * sizeof(int32_t); in convertTo()
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | H2BGraphicBufferProducer.cpp | 148 size_t const numInts = 12 + in convertTo() local 149 static_cast<size_t>(handle ? handle->numInts : 0); in convertTo() 150 int32_t* ints = new int32_t[numInts]; in convertTo() 169 ints[11] = static_cast<int32_t>(handle->numInts); in convertTo() 172 std::copy(intsStart, intsStart + handle->numInts, &ints[12]); in convertTo() 176 size_t size = numInts * sizeof(int32_t); in convertTo()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioResponse.java | 1577 int numInts; in responseCdmaBroadcastConfig() local 1578 numInts = CDMA_BROADCAST_SMS_NO_OF_SERVICE_CATEGORIES in responseCdmaBroadcastConfig() 1580 ret = new int[numInts]; in responseCdmaBroadcastConfig() 1587 for (int i = 1; i < numInts; i += CDMA_BSI_NO_OF_INTS_STRUCT) { in responseCdmaBroadcastConfig() 1593 int numInts; in responseCdmaBroadcastConfig() local 1594 numInts = (numServiceCategories * CDMA_BSI_NO_OF_INTS_STRUCT) + 1; in responseCdmaBroadcastConfig() 1595 ret = new int[numInts]; in responseCdmaBroadcastConfig()
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | Conversion.h | 577 size_t const numInts = 12 + (handle ? handle->numInts : 0); in convertTo() local 578 int32_t* ints = new int32_t[numInts]; in convertTo() 597 ints[11] = static_cast<int32_t>(handle->numInts); in convertTo() 600 std::copy(intsStart, intsStart + handle->numInts, &ints[12]); in convertTo() 604 size_t size = numInts * sizeof(int32_t); in convertTo()
|
/frameworks/native/libs/vr/libbufferhub/ |
D | ion_buffer.cpp | 166 const int int_count = other->handle()->numInts; in Duplicate()
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | bufferhub_rpc.h | 32 const int int_count = buffer.handle()->numInts; in NativeBufferHandle()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 1138 err = writeInt32(handle->numInts); in writeNativeHandle() 1148 err = write(handle->data + handle->numFds, sizeof(int)*handle->numInts); in writeNativeHandle() 2100 int numFds, numInts; in readNativeHandle() local 2104 err = readInt32(&numInts); in readNativeHandle() 2107 native_handle* h = native_handle_create(numFds, numInts); in readNativeHandle() 2122 err = read(h->data + numFds, sizeof(int)*numInts); in readNativeHandle()
|