Lines Matching refs:c2
35 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local
44 c1 = c2 = 0; in hfsplus_strcasecmp()
51 while (len2 && !c2) { in hfsplus_strcasecmp()
52 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_strcasecmp()
57 if (c1 != c2) in hfsplus_strcasecmp()
58 return (c1 < c2) ? -1 : 1; in hfsplus_strcasecmp()
59 if (!c1 && !c2) in hfsplus_strcasecmp()
68 u16 len1, len2, c1, c2; in hfsplus_strcmp() local
79 c2 = be16_to_cpu(*p2); in hfsplus_strcmp()
80 if (c1 != c2) in hfsplus_strcmp()
81 return c1 < c2 ? -1 : 1; in hfsplus_strcmp()
392 u16 c2; in hfsplus_hash_dentry() local
412 c2 = *dstr++; in hfsplus_hash_dentry()
414 c2 = case_fold(c2); in hfsplus_hash_dentry()
415 if (!casefold || c2) in hfsplus_hash_dentry()
416 hash = partial_name_hash(c2, hash); in hfsplus_hash_dentry()
419 c2 = c; in hfsplus_hash_dentry()
421 c2 = case_fold(c2); in hfsplus_hash_dentry()
422 if (!casefold || c2) in hfsplus_hash_dentry()
423 hash = partial_name_hash(c2, hash); in hfsplus_hash_dentry()
444 u16 c1, c2; in hfsplus_compare_dentry() local
482 c2 = c; in hfsplus_compare_dentry()
483 dstr2 = &c2; in hfsplus_compare_dentry()
489 c2 = *dstr2; in hfsplus_compare_dentry()
497 c2 = case_fold(c2); in hfsplus_compare_dentry()
498 if (!c2) { in hfsplus_compare_dentry()
504 if (c1 < c2) in hfsplus_compare_dentry()
506 else if (c1 > c2) in hfsplus_compare_dentry()