Home
last modified time | relevance | path

Searched refs:binder_size_t (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/binder/
DParcel.cpp473 const binder_size_t *objects = parcel->mObjects; in appendFrom()
526 if (newSize*sizeof(binder_size_t) < mObjectsSize) return NO_MEMORY; // overflow in appendFrom()
527 binder_size_t *objects = in appendFrom()
528 (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in appendFrom()
529 if (objects == (binder_size_t*)0) { in appendFrom()
640 const binder_size_t* Parcel::objects() const in objects()
1338 if (newSize*sizeof(binder_size_t) < mObjectsSize) return NO_MEMORY; // overflow in writeObject()
1339 binder_size_t* objects = (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in writeObject()
1496 binder_size_t* currObj = mObjects + mObjectsSize - 1; in validateReadData()
1497 binder_size_t* prevObj = currObj; in validateReadData()
[all …]
DIPCThreadState.cpp813 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse()
814 tr.offsets_size/sizeof(binder_size_t), in waitForResponse()
821 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse()
822 tr.offsets_size/sizeof(binder_size_t), this); in waitForResponse()
828 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse()
829 tr.offsets_size/sizeof(binder_size_t), this); in waitForResponse()
972 tr.offsets_size = data.ipcObjectsCount()*sizeof(binder_size_t); in writeTransactionData()
1089 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in executeCommand()
1090 tr.offsets_size/sizeof(binder_size_t), freeBuffer, this); in executeCommand()
1212 const binder_size_t* /*objects*/, in freeBuffer() argument
/frameworks/native/cmds/servicemanager/
Dbinder.h15 binder_size_t *offs; /* array of offsets */
20 binder_size_t *offs0; /* start of offsets buffer */
Dbinder.c47 binder_size_t *offs = (binder_size_t *)(uintptr_t)txn->data.ptr.offsets; in binder_dump_txn()
48 size_t count = txn->offsets_size / sizeof(binder_size_t); in binder_dump_txn()
429 bio->offs = bio->offs0 = (binder_size_t *)(intptr_t)txn->data.ptr.offsets; in bio_init_from_txn()
/frameworks/native/libs/binder/include/binder/
DIPCThreadState.h116 const binder_size_t* objects, size_t objectsSize,
DParcel.h100 const binder_size_t* objects() const;
390 const binder_size_t* objects, size_t objectsSize,
398 const binder_size_t* objects, size_t objectsCount,
463 binder_size_t* mObjects;
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp354 m_prev_end = buf + size + data.objectsCount() * sizeof(binder_size_t); in onTransact()