Searched refs:isHandleSane (Results 1 – 2 of 2) sorted by relevance
2107 return MetaBufferUtil::isHandleSane(hnd) ? hnd->numFds : -1; in getBatchSize()2113 return (MetaBufferUtil::isHandleSane(hnd) && (index < hnd->numFds)) ? hnd->data[index] : -1; in getFdAt()2124 …return (MetaBufferUtil::isHandleSane(hnd) && (index < hnd->numFds)) ? hnd->data[index] = fd, 0 : -… in setFdAt()2133 static bool isHandleSane(const native_handle_t *hnd) { in isHandleSane() function2139 … return (MetaBufferUtil::isHandleSane(hnd) && (idx < (hnd->numInts + hnd->numFds))) ? idx : -1; in getIntIndex()
2143 return MetaBufferUtil::isHandleSane(hnd) ? hnd->numFds : -1; in getBatchSize()2149 return (MetaBufferUtil::isHandleSane(hnd) && (index < hnd->numFds)) ? hnd->data[index] : -1; in getFdAt()2160 …return (MetaBufferUtil::isHandleSane(hnd) && (index < hnd->numFds)) ? hnd->data[index] = fd, 0 : -… in setFdAt()2169 static bool isHandleSane(const native_handle_t *hnd) { in isHandleSane() function2175 … return (MetaBufferUtil::isHandleSane(hnd) && (idx < (hnd->numInts + hnd->numFds))) ? idx : -1; in getIntIndex()