Lines Matching refs:hPipe
513 static sal_Bool ReadPipe(oslPipe hPipe, in ReadPipe() argument
518 *nBytes = osl_receivePipe(hPipe, pBuffer, BytesToRead); in ReadPipe()
521 return (sal_Bool)((*nBytes >= 0) && (osl_getLastPipeError(hPipe) == osl_Pipe_E_None)); in ReadPipe()
524 static sal_Bool WritePipe(oslPipe hPipe, in WritePipe() argument
529 *nBytes = osl_sendPipe(hPipe, pBuffer, BytesToSend); in WritePipe()
532 … return (sal_Bool)((*nBytes == BytesToSend) && (osl_getLastPipeError(hPipe) == osl_Pipe_E_None)); in WritePipe()
535 sal_Bool SAL_CALL osl_sendResourcePipe(oslPipe hPipe, oslSocket pSocket) in osl_sendResourcePipe() argument
549 if (ReadPipe(hPipe, &remoteProcessID, sizeof(remoteProcessID), &bytes)) in osl_sendResourcePipe()
566 WritePipe(hPipe, &code, sizeof(code), &bytes) && in osl_sendResourcePipe()
567 WritePipe(hPipe, &newFd, sizeof(fd), &bytes) in osl_sendResourcePipe()
582 !ReadPipe(hPipe, &commitCode, sizeof(commitCode), &bytes) || in osl_sendResourcePipe()
593 oslSocket SAL_CALL osl_receiveResourcePipe(oslPipe hPipe) in osl_receiveResourcePipe() argument
609 WritePipe(hPipe, &myProcessID, sizeof(myProcessID), &bytes) && in osl_receiveResourcePipe()
610 ReadPipe(hPipe, &code, sizeof(code), &bytes) && in osl_receiveResourcePipe()
611 ReadPipe(hPipe, &fd, sizeof(fd), &bytes) in osl_receiveResourcePipe()
631 WritePipe(hPipe, &commitCode, sizeof(commitCode), &bytes); in osl_receiveResourcePipe()