Lines Matching refs:mObjects
470 const binder_size_t *objects = parcel->mObjects; in appendFrom()
526 (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in appendFrom()
530 mObjects = objects; in appendFrom()
538 mObjects[idx++] = off; in appendFrom()
684 return mObjects; in objects()
1389 mObjects[mObjectsSize] = mDataPos; in writeObject()
1404 binder_size_t* objects = (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in writeObject()
1406 mObjects = objects; in writeObject()
1544 if (mNextObjectHint < mObjectsSize && upperBound > mObjects[mNextObjectHint]) { in validateReadData()
1549 if (mDataPos < mObjects[nextObject] + sizeof(flat_binder_object)) { in validateReadData()
1555 } while (nextObject < mObjectsSize && upperBound > mObjects[nextObject]); in validateReadData()
1561 binder_size_t* currObj = mObjects + mObjectsSize - 1; in validateReadData()
1563 while (currObj > mObjects) { in validateReadData()
1577 for (binder_size_t* iter0 = mObjects + 1; iter0 < mObjects + mObjectsSize; iter0++) { in validateReadData()
1580 while (iter1 >= mObjects && *iter1 > temp) { in validateReadData()
2475 binder_size_t* const OBJS = mObjects; in readObject()
2529 = reinterpret_cast<flat_binder_object*>(mData+mObjects[i]); in closeFileDescriptors()
2549 return reinterpret_cast<uintptr_t>(mObjects); in ipcObjects()
2568 mObjects = const_cast<binder_size_t*>(objects); in ipcSetDataReference()
2575 binder_size_t offset = mObjects[i]; in ipcSetDataReference()
2621 binder_size_t* const objects = mObjects; in releaseObjects()
2638 binder_size_t* const objects = mObjects; in acquireObjects()
2658 mOwner(this, mData, mDataSize, mObjects, mObjectsSize, mOwnerCookie); in freeDataNoInit()
2676 if (mObjects) free(mObjects); in freeDataNoInit()
2732 free(mObjects); in restartWrite()
2733 mObjects = nullptr; in restartWrite()
2760 if (mObjects[objectsSize-1] < desired) in continueWrite()
2803 if (objects && mObjects) { in continueWrite()
2804 memcpy(objects, mObjects, objectsSize*sizeof(binder_size_t)); in continueWrite()
2807 mOwner(this, mData, mDataSize, mObjects, mObjectsSize, mOwnerCookie); in continueWrite()
2817 mObjects = objects; in continueWrite()
2831 = reinterpret_cast<flat_binder_object*>(mData+mObjects[i]); in continueWrite()
2840 free(mObjects); in continueWrite()
2841 mObjects = nullptr; in continueWrite()
2845 (binder_size_t*)realloc(mObjects, objectsSize*sizeof(binder_size_t)); in continueWrite()
2847 mObjects = objects; in continueWrite()
2891 if(!(mDataCapacity == 0 && mObjects == nullptr in continueWrite()
2893 … ALOGE("continueWrite: %zu/%p/%zu/%zu", mDataCapacity, mObjects, mObjectsCapacity, desired); in continueWrite()
2922 mObjects = nullptr; in initState()
2953 = reinterpret_cast<const flat_binder_object*>(mData + mObjects[i]); in scanForFds()