Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/
DGraphicBuffer.cpp283 return static_cast<size_t>(11 + (handle ? handle->numInts : 0)) * sizeof(int); in getFlattenedSize()
312 buf[10] = handle->numInts; in flatten()
316 static_cast<size_t>(handle->numInts) * sizeof(int)); in flatten()
337 const size_t numInts = static_cast<size_t>(buf[10]); in unflatten() local
344 if (numFds >= maxNumber || numInts >= (maxNumber - 11)) { in unflatten()
348 numFds, numInts); in unflatten()
352 const size_t sizeNeeded = (11 + numInts) * sizeof(int); in unflatten()
363 if (numFds || numInts) { in unflatten()
370 static_cast<int>(numFds), static_cast<int>(numInts)); in unflatten()
378 memcpy(h->data + numFds, &buf[11], numInts * sizeof(int)); in unflatten()
/frameworks/base/core/jni/
Dandroid_util_StringBlock.cpp129 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/native/libs/binder/
DParcel.cpp1152 err = writeInt32(handle->numInts); in writeNativeHandle()
1162 err = write(handle->data + handle->numFds, sizeof(int)*handle->numInts); in writeNativeHandle()
1953 int numFds, numInts; in readNativeHandle() local
1957 err = readInt32(&numInts); in readNativeHandle()
1960 native_handle* h = native_handle_create(numFds, numInts); in readNativeHandle()
1975 err = read(h->data + numFds, sizeof(int)*numInts); in readNativeHandle()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java3526 int numInts; in responseInts() local
3529 numInts = p.readInt(); in responseInts()
3531 response = new int[numInts]; in responseInts()
3533 for (int i = 0 ; i < numInts ; i++) { in responseInts()
4018 int numInts; in responseCdmaBroadcastConfig() local
4019 numInts = CDMA_BROADCAST_SMS_NO_OF_SERVICE_CATEGORIES * CDMA_BSI_NO_OF_INTS_STRUCT + 1; in responseCdmaBroadcastConfig()
4020 response = new int[numInts]; in responseCdmaBroadcastConfig()
4027 for (int i = 1; i < numInts; i += CDMA_BSI_NO_OF_INTS_STRUCT ) { in responseCdmaBroadcastConfig()
4033 int numInts; in responseCdmaBroadcastConfig() local
4034 numInts = (numServiceCategories * CDMA_BSI_NO_OF_INTS_STRUCT) + 1; in responseCdmaBroadcastConfig()
[all …]