Lines Matching refs:c_str
94 int len = MultiByteToWideChar(CP_ACP, 0, s.c_str(), s_len, 0, 0); in __s2ws()
96 MultiByteToWideChar(CP_ACP, 0, s.c_str(), s_len, &result[0], len); in __s2ws()
106 #define TO_CONST_TCHAR(x) TO_STRING(x).c_str()
837 pattern.c_str()); in AddHostLdSoConfPaths()
841 int ret = ::glob(pattern.c_str(), 0, NULL, &the_glob); in AddHostLdSoConfPaths()
847 DLOG("%s: Including %s\n", __FUNCTION__, filepath.c_str()); in AddHostLdSoConfPaths()
848 AddHostLdSoConfPaths(filepath.c_str(), lib_search_path); in AddHostLdSoConfPaths()
862 if (::stat(dirpath.c_str(), &st) != 0) { in AddHostLdSoConfPaths()
863 LOG("Could not stat(): %s: %s\n", dirpath.c_str(), strerror(errno)); in AddHostLdSoConfPaths()
865 LOG("Not a directory: %s\n", dirpath.c_str()); in AddHostLdSoConfPaths()
867 DLOG("%s: Adding %s\n", __FUNCTION__, dirpath.c_str()); in AddHostLdSoConfPaths()
958 LOG2(_T(" looking for library: %s\n"), libname.c_str()); in FindLibraryPath()
969 LOG2(_T(" in %s: "), file_path.c_str()); in FindLibraryPath()
971 if (_tstat(file_path.c_str(), &st) < 0) { in FindLibraryPath()
1023 DLOG(_T("UPDATE libname=%s path=%s\n"), libname.c_str(), libpath.c_str()); in UpdateDependencies()
1027 panic(_T("INTERNAL: Library already in graph: %s"), libname.c_str()); in UpdateDependencies()
1034 if (!libfile.Open(libpath.c_str(), &error)) { in UpdateDependencies()
1043 soname.c_str(), in UpdateDependencies()
1044 libpath.c_str()); in UpdateDependencies()
1050 LOG(_T("%s depends on:"), soname.c_str()); in UpdateDependencies()
1054 LOG(_T(" %s"), node.needed_libs[n].c_str()); in UpdateDependencies()
1098 LOG(_T("Android system library: %s\n"), libname.c_str()); in BuildDependencyGraph()
1107 libname.c_str()); in BuildDependencyGraph()
1139 libname.c_str(), in DumpDependencyGraph()
1140 node_type.c_str(), in DumpDependencyGraph()
1141 node.value.c_str()); in DumpDependencyGraph()
1145 _tprintf(_T(" %s\n"), node.needed_libs[n].c_str()); in DumpDependencyGraph()
1184 _tprintf(_T("-- %s %d\n"), iter->first.c_str(), iter->second); in GetTopologicalSortedLibraries()
1217 min_libname.c_str()); in GetTopologicalSortedLibraries()
1363 _tprintf(_T(" %s\n"), lib_search_path[n].c_str());
1368 const TCHAR* libfile_path = params[0].c_str();
1373 panic(_T("Could not open file '%s': %s"), libfile_path, error.c_str());
1382 _tprintf(_T("%s\n"), needed_libs[i].c_str());
1412 lib.c_str());
1416 lib.substr(3, lib.size() - 6).c_str());
1431 _tprintf(_T(" \"%s\" -> \"%s\"\n"), libname.c_str(), libdeps[n].c_str());
1454 _tprintf(format, lib.c_str(), deps[lib].value.c_str());
1462 _tprintf(_T("%s\n"), lib.c_str());