Searched refs:attrB (Results 1 – 2 of 2) sorted by relevance
55 const device_attr *attrB);820 device_attr_private::Compare(const device_attr* attrA, const device_attr *attrB) in Compare() argument822 if (attrA->type != attrB->type) in Compare()827 return (int)attrA->value.ui8 - (int)attrB->value.ui8; in Compare()830 return (int)attrA->value.ui16 - (int)attrB->value.ui16; in Compare()833 if (attrA->value.ui32 > attrB->value.ui32) in Compare()835 if (attrA->value.ui32 < attrB->value.ui32) in Compare()840 if (attrA->value.ui64 > attrB->value.ui64) in Compare()842 if (attrA->value.ui64 < attrB->value.ui64) in Compare()847 return strcmp(attrA->value.string, attrB->value.string); in Compare()[all …]
59 const device_attr *attrB);1025 device_attr_private::Compare(const device_attr* attrA, const device_attr *attrB) in Compare() argument1027 if (attrA->type != attrB->type) in Compare()1032 return (int)attrA->value.ui8 - (int)attrB->value.ui8; in Compare()1035 return (int)attrA->value.ui16 - (int)attrB->value.ui16; in Compare()1038 if (attrA->value.ui32 > attrB->value.ui32) in Compare()1040 if (attrA->value.ui32 < attrB->value.ui32) in Compare()1045 if (attrA->value.ui64 > attrB->value.ui64) in Compare()1047 if (attrA->value.ui64 < attrB->value.ui64) in Compare()1052 return strcmp(attrA->value.string, attrB->value.string); in Compare()[all …]