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

Lines Matching defs:score

44 bool CompareProperty( IOService * owner, OSDictionary * matching, const char * key, SInt32 * score, SInt32 increment)
63 if (matches && score)
64 *score += increment;
75 bool CompareDeviceUsage( IOService * owner, OSDictionary * matching, SInt32 * score, SInt32 increment)
106 if ( score && !usage )
108 *score += increment / 2;
116 if ( score )
117 *score += increment;
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)
174 // Compare each of the types of productID matching. Then in order of highest score to least
176 // true after incrementing the score.
184 *score += pidScore;
189 *score += arrayScore;
194 *score += maskScore;
199 *score += maskArrayScore;
213 bool CompareNumberPropertyMask( IOService *owner, OSDictionary *matching, const char *key, const char *maskKey, SInt32 *score, SInt32 increment)
237 if ( score )
238 *score += increment;
249 bool CompareNumberPropertyArray( IOService * owner, OSDictionary * matching, const char * arrayName, const char * key, SInt32 * score, SInt32 increment)
268 if ( score )
269 *score += increment;
281 bool CompareNumberPropertyArrayWithMask( IOService * owner, OSDictionary * matching, const char * arrayName, const char * key, const char * maskKey, SInt32 * score, SInt32 increment)
307 if ( score )
308 *score += increment;
322 bool MatchPropertyTable(IOService * owner, OSDictionary * table, SInt32 * score)
344 bool bootPMatch = CompareProperty(owner, table, "BootProtocol", score);
361 if (score)
362 *score = 0;
365 else if ( score )
368 *score += trans1Score + trans2Score;
371 *score += ven1Score + ven2Score + ven3Score;
374 *score += useScore + kHIDDeviceUsageScoreBase;
376 *score += pUPScore + pUScore;