• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/IOHIDFamily-606.1.7/IOHIDFamily/

Lines Matching refs:owner

44 bool CompareProperty( IOService * owner, OSDictionary * matching, const char * key, SInt32 * score, SInt32 increment)
57 property = owner->copyProperty( key );
75 bool CompareDeviceUsage( IOService * owner, OSDictionary * matching, SInt32 * score, SInt32 increment)
89 functions = OSDynamicCast(OSArray, owner->copyProperty( kIOHIDDeviceUsagePairsKey ));
131 bool CompareDeviceUsagePairs( IOService * owner, OSDictionary * matching, SInt32 * score, SInt32 increment)
152 if ( !(matches = CompareDeviceUsage(owner, pair, score, increment)) )
162 bool CompareProductID( IOService * owner, OSDictionary * matching, SInt32 * score)
177 pidMatch = CompareProperty(owner, matching, kIOHIDProductIDKey, &pidScore, kHIDVendor2ScoreIncrement);
178 arrayMatch = CompareNumberPropertyArray(owner, matching, kIOHIDProductIDArrayKey, kIOHIDProductIDKey, &arrayScore, kHIDVendor2ArrayScoreIncrement);
179 maskMatch = CompareNumberPropertyMask(owner, matching, kIOHIDProductIDKey, kIOHIDProductIDMaskKey, &maskScore, kHIDVendor2MaskScoreIncrement);
180 maskArrayMatch = CompareNumberPropertyArrayWithMask(owner, matching, kIOHIDProductIDArrayKey, kIOHIDProductIDKey, kIOHIDProductIDMaskKey, &maskArrayScore, kHIDVendor2ArrayMaskScoreIncrement);
213 bool CompareNumberPropertyMask( IOService *owner, OSDictionary *matching, const char *key, const char *maskKey, SInt32 *score, SInt32 increment)
219 registryProperty = OSDynamicCast(OSNumber, owner->getProperty(key));
249 bool CompareNumberPropertyArray( IOService * owner, OSDictionary * matching, const char * arrayName, const char * key, SInt32 * score, SInt32 increment)
251 OSNumber *registryProperty = (OSNumber *)owner->copyProperty(key);
281 bool CompareNumberPropertyArrayWithMask( IOService * owner, OSDictionary * matching, const char * arrayName, const char * key, const char * maskKey, SInt32 * score, SInt32 increment)
283 OSNumber *registryProperty = (OSNumber *)owner->copyProperty(key);
322 bool MatchPropertyTable(IOService * owner, OSDictionary * table, SInt32 * score)
333 bool pUPMatch = CompareProperty(owner, table, kIOHIDPrimaryUsagePageKey, &pUPScore, kHIDDeviceUsageScoreBase);
334 bool pUMatch = CompareProperty(owner, table, kIOHIDPrimaryUsageKey, &pUScore, kHIDDeviceUsageScoreIncrement);
335 bool useMatch = CompareDeviceUsagePairs(owner, table, &useScore, kHIDDeviceUsageScoreIncrement);
336 bool use2Match = CompareDeviceUsage(owner, table, &useScore, kHIDDeviceUsageScoreIncrement);
337 bool trans1Match = CompareProperty(owner, table, kIOHIDTransportKey, &trans1Score, kHIDTransport1ScoreIncrement);
338 bool trans2Match = CompareProperty(owner, table, kIOHIDLocationIDKey, &trans2Score, kHIDTransport2ScoreIncrement);
339 bool venIDMatch = CompareProperty(owner, table, kIOHIDVendorIDKey, &ven1Score, kHIDVendor1ScoreIncrement);
340 bool prodIDMatch = CompareProductID(owner, table, &ven2Score);
341 bool versNumMatch = CompareProperty(owner, table, kIOHIDVersionNumberKey, &ven3Score, kHIDVendor3ScoreIncrement);
342 bool manMatch = CompareProperty(owner, table, kIOHIDManufacturerKey, &ven3Score, kHIDVendor3ScoreIncrement);
343 bool serialMatch = CompareProperty(owner, table, kIOHIDSerialNumberKey, &ven3Score, kHIDVendor3ScoreIncrement);
344 bool bootPMatch = CompareProperty(owner, table, "BootProtocol", score);
359 (table->getObject("HIDDefaultBehavior") && !owner->getProperty("HIDDefaultBehavior")))