Lines Matching refs:base1
33 char* base1 = (char*)strrchr(path, '/'); in basename() local
35 if (base1 && base2) in basename()
36 return((base1 > base2) ? base1 + 1 : base2 + 1); in basename()
37 else if (base1) in basename()
38 return(base1 + 1); in basename()
46 char* base1 = (char*)strrchr(path, '/'); in dirname() local
48 if (base1 && base2) in dirname()
49 if (base1 > base2) in dirname()
50 *base1 = 0; in dirname()
53 else if (base1) in dirname()
54 *base1 = 0; in dirname()