Searched refs:bname (Results 1 – 3 of 3) sorted by relevance
39 static char* bname = NULL; in dirname() local42 if (bname == NULL) { in dirname()43 bname = (char *)malloc(MAXPATHLEN); in dirname()44 if (bname == NULL) in dirname()48 ret = dirname_r(path, bname, MAXPATHLEN); in dirname()49 return (ret < 0) ? NULL : bname; in dirname()
39 static char* bname = NULL; in basename() local42 if (bname == NULL) { in basename()43 bname = (char *)malloc(MAXPATHLEN); in basename()44 if (bname == NULL) in basename()47 ret = basename_r(path, bname, MAXPATHLEN); in basename()48 return (ret < 0) ? NULL : bname; in basename()
979 const char *bname; in load_library() local1013 bname = strrchr(name, '/'); in load_library()1014 si = alloc_info(bname ? bname + 1 : name); in load_library()1083 const char *bname = strrchr(name, '/'); in find_library() local1084 bname = bname ? bname + 1 : name; in find_library()1087 if(!strcmp(bname, si->name)) { in find_library()