Lines Matching refs:attrB
59 const device_attr *attrB);
1025 device_attr_private::Compare(const device_attr* attrA, const device_attr *attrB) in Compare() argument
1027 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()
1055 if (attrA->value.raw.length != attrB->value.raw.length) in Compare()
1058 return memcmp(attrA->value.raw.data, attrB->value.raw.data, in Compare()