Lines Matching refs:c2
34 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local
43 c1 = c2 = 0; in hfsplus_strcasecmp()
50 while (len2 && !c2) { in hfsplus_strcasecmp()
51 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_strcasecmp()
56 if (c1 != c2) in hfsplus_strcasecmp()
57 return (c1 < c2) ? -1 : 1; in hfsplus_strcasecmp()
58 if (!c1 && !c2) in hfsplus_strcasecmp()
67 u16 len1, len2, c1, c2; in hfsplus_strcmp() local
78 c2 = be16_to_cpu(*p2); in hfsplus_strcmp()
79 if (c1 != c2) in hfsplus_strcmp()
80 return c1 < c2 ? -1 : 1; in hfsplus_strcmp()
345 u16 c2; in hfsplus_hash_dentry() local
364 c2 = *dstr++; in hfsplus_hash_dentry()
366 c2 = case_fold(c2); in hfsplus_hash_dentry()
367 if (!casefold || c2) in hfsplus_hash_dentry()
368 hash = partial_name_hash(c2, hash); in hfsplus_hash_dentry()
371 c2 = c; in hfsplus_hash_dentry()
373 c2 = case_fold(c2); in hfsplus_hash_dentry()
374 if (!casefold || c2) in hfsplus_hash_dentry()
375 hash = partial_name_hash(c2, hash); in hfsplus_hash_dentry()
396 u16 c1, c2; in hfsplus_compare_dentry() local
431 c2 = c; in hfsplus_compare_dentry()
432 dstr2 = &c2; in hfsplus_compare_dentry()
438 c2 = *dstr2; in hfsplus_compare_dentry()
446 c2 = case_fold(c2); in hfsplus_compare_dentry()
447 if (!c2) { in hfsplus_compare_dentry()
453 if (c1 < c2) in hfsplus_compare_dentry()
455 else if (c1 > c2) in hfsplus_compare_dentry()