Lines Matching refs:pNewPipe
214 oslPipe pNewPipe; in osl_copyPipe() local
221 pNewPipe = __osl_createPipeImpl(); in osl_copyPipe()
222 if (!pNewPipe) return NULL; in osl_copyPipe()
225 pNewPipe->hPipe = (HPIPE) -1; in osl_copyPipe()
226 ngLastError = DosDupHandle( pPipe->hPipe, &(pNewPipe->hPipe) ); in osl_copyPipe()
233 free (pNewPipe); in osl_copyPipe()
237 pNewPipe->nLastError = NO_ERROR; in osl_copyPipe()
238 return (oslPipe)pNewPipe; in osl_copyPipe()
295 oslPipe pNewPipe; in osl_acceptPipe() local
320 pNewPipe = __osl_createPipeImpl(); in osl_acceptPipe()
322 if (!pNewPipe) in osl_acceptPipe()
325 free(pNewPipe); in osl_acceptPipe()
331 pNewPipe->nLastError = in osl_acceptPipe()
333 &(pNewPipe->hPipe), in osl_acceptPipe()
341 if (pNewPipe->nLastError) in osl_acceptPipe()
344 pNewPipe->nLastError ); in osl_acceptPipe()
345 free(pNewPipe); in osl_acceptPipe()
351 pPipe->hPipe = pNewPipe->hPipe; in osl_acceptPipe()
352 pNewPipe->hPipe = hPipe; in osl_acceptPipe()
355 pNewPipe->nLastError = DosConnectNPipe( pNewPipe->hPipe ); in osl_acceptPipe()
358 if (pNewPipe->nLastError) in osl_acceptPipe()
361 pNewPipe->nLastError ); in osl_acceptPipe()
363 osl_closePipe((oslPipe)pNewPipe); in osl_acceptPipe()
366 return (oslPipe)pNewPipe; in osl_acceptPipe()