• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/IOFWDVComponents-207.4.1/tests/

Lines Matching refs:theInst

67         ComponentInstance	theInst = userData;
72 result = IDHReleaseBuffer( theInst, pb);
79 result = IDHRead( theInst, pb);
97 ComponentInstance theInst = userData;
114 result = IDHWrite( theInst, pb);
125 static void doControlTest(ComponentInstance theInst, QTAtomSpec *currentIsochConfig)
135 result = IDHGetDeviceControl(theInst, &controlInst);
140 result = IDHGetDeviceStatus( theInst, currentIsochConfig, &devStatus);
192 static OSErr doReadTest(ComponentInstance theInst)
199 err = IDHOpenDevice( theInst, kIDHOpenForReadTransactions);
204 doControlTest(theInst, &videoConfig);
224 err = IDHRead( theInst, &isochParamBlock);
228 err = IDHReleaseBuffer( theInst, &isochParamBlock);
238 isochParamBlock.refCon = (void *)theInst;
243 err = IDHRead( theInst, &isochParamBlock);
252 // err = IDHReleaseBuffer( theInst, &isochParamBlock);
255 err = IDHCloseDevice( theInst);
277 static OSErr doWriteTest(ComponentInstance theInst)
284 err = IDHOpenDevice( theInst, kIDHOpenForWriteTransactions);
314 err = IDHWrite( theInst, &isochParamBlock);
332 isochParamBlock.refCon = (void *)theInst;
337 err = IDHWrite( theInst, &isochParamBlock);
348 err = IDHCloseDevice( theInst);
361 ComponentInstance theInst;
371 theInst = OpenDefaultComponent('ihlr', 'dv ');
372 printf("Instance is 0x%x\n", theInst);
373 if(theInst == NULL)
376 version = CallComponentVersion(theInst);
380 err = IDHGetDeviceList( theInst, &deviceList);
513 err = IDHSetDeviceConfiguration( theInst, &videoConfig);
518 err = doReadTest(theInst);
520 err = doWriteTest(theInst);
532 CallComponentClose(theInst, 0);
544 ComponentInstance theInst;