Lines Matching full:c2
35 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local
56 c1 = c2 = 0; in hfsplus_strcasecmp()
63 while (len2 && !c2) { in hfsplus_strcasecmp()
64 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_strcasecmp()
69 if (c1 != c2) in hfsplus_strcasecmp()
70 return (c1 < c2) ? -1 : 1; in hfsplus_strcasecmp()
71 if (!c1 && !c2) in hfsplus_strcasecmp()
80 u16 len1, len2, c1, c2; in hfsplus_strcmp() local
103 c2 = be16_to_cpu(*p2); in hfsplus_strcmp()
104 if (c1 != c2) in hfsplus_strcmp()
105 return c1 < c2 ? -1 : 1; in hfsplus_strcmp()
437 u16 c2; in hfsplus_hash_dentry() local
457 c2 = *dstr++; in hfsplus_hash_dentry()
459 c2 = case_fold(c2); in hfsplus_hash_dentry()
460 if (!casefold || c2) in hfsplus_hash_dentry()
461 hash = partial_name_hash(c2, hash); in hfsplus_hash_dentry()
464 c2 = c; in hfsplus_hash_dentry()
466 c2 = case_fold(c2); in hfsplus_hash_dentry()
467 if (!casefold || c2) in hfsplus_hash_dentry()
468 hash = partial_name_hash(c2, hash); in hfsplus_hash_dentry()
489 u16 c1, c2; in hfsplus_compare_dentry() local
527 c2 = c; in hfsplus_compare_dentry()
528 dstr2 = &c2; in hfsplus_compare_dentry()
534 c2 = *dstr2; in hfsplus_compare_dentry()
542 c2 = case_fold(c2); in hfsplus_compare_dentry()
543 if (!c2) { in hfsplus_compare_dentry()
549 if (c1 < c2) in hfsplus_compare_dentry()
551 else if (c1 > c2) in hfsplus_compare_dentry()