Lines Matching refs:base1
35 char* base1 = (char*)strrchr(path, '/'); in basename() local
37 if (base1 && base2) in basename()
38 return((base1 > base2) ? base1 + 1 : base2 + 1); in basename()
39 else if (base1) in basename()
40 return(base1 + 1); in basename()
48 char* base1 = (char*)strrchr(path, '/'); in dirname() local
50 if (base1 && base2) in dirname()
51 if (base1 > base2) in dirname()
52 *base1 = 0; in dirname()
55 else if (base1) in dirname()
56 *base1 = 0; in dirname()