Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DParcel.cpp1272 const size_t fd_count = val.getFdCount(); in write() local
1274 if ((len > INT32_MAX) || (fd_count >= gMaxFds)) { in write()
1283 err = this->writeInt32(fd_count); in write()
1292 if (fd_count) { in write()
1293 fds = new (std::nothrow) int[fd_count]; in write()
1295 ALOGE("write: failed to allocate requested %zu fds", fd_count); in write()
1300 err = val.flatten(buf, len, fds, fd_count); in write()
1301 for (size_t i=0 ; i<fd_count && err==NO_ERROR ; i++) { in write()
1305 if (fd_count) { in write()
2055 const size_t fd_count = this->readInt32(); in read() local
[all …]