Lines Matching refs:c_str
95 return stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode); in is_dir()
110 DIR* dir = opendir(dir_path.c_str()); in collectRequirements()
112 err(1, "failed to open dependency directory '%s'", dir_path.c_str()); in collectRequirements()
125 if (stat(dependency.c_str(), &st) != 0) { in collectRequirements()
126 err(1, "failed to stat dependency '%s'", dependency.c_str()); in collectRequirements()
130 errx(1, "'%s' is not a directory", dependency.c_str()); in collectRequirements()
299 symbol.name.c_str()); in checkSymbol()
300 fprintf(stderr, " declarations visible in: %s\n", Join(intersection, ", ").c_str()); in checkSymbol()
326 fprintf(stderr, "versioner: inconsistent availability for symbol '%s'\n", symbol.name.c_str()); in checkSymbol()
423 printf("%s: declaration marked available but symbol missing in [%s]\n", symbol_name.c_str(), in checkVersions()
424 Join(missing_it->second, ", ").c_str()); in checkVersions()
433 symbol_name.c_str(), Join(extra_it->second, ", ").c_str()); in checkVersions()
464 fprintf(stderr, " \t\tdefaults to %s\n", Join(default_levels).c_str()); in usage()
466 fprintf(stderr, " \t\tvalid architectures are %s\n", Join(supported_archs).c_str()); in usage()
537 if (stat(platform_dir.c_str(), &st) != 0) { in main()
538 err(1, "failed to stat platform directory '%s'", platform_dir.c_str()); in main()
648 if (const char *path = location.header_path.c_str(); stat(path, &st) != 0) { in main()