Lines Matching refs:_T
75 #define _T(x) x macro
201 size_t sep_slash = filepath.rfind(_T('/')); in path_last_dirsep()
202 size_t sep_backslash = filepath.rfind(_T('\\')); in path_last_dirsep()
211 size_t sep = filepath.rfind(_T('/')); in path_last_dirsep()
220 return String(_T(".")); in path_dirname()
222 return String(_T("/")); in path_dirname()
718 file_ = _tfopen(path, _T("rb")); in Open()
730 *error = _T("Not an ELF binary file"); in Open()
885 const TCHAR* env = _tgetenv(_T("LD_LIBRARY_PATH")); in AddHostLibraryPaths()
902 lib_search_path->push_back(_T(".")); in AddHostLibraryPaths()
920 _T("libc.so"), in IsAndroidSystemLib()
921 _T("libdl.so"), in IsAndroidSystemLib()
922 _T("liblog.so"), in IsAndroidSystemLib()
923 _T("libm.so"), in IsAndroidSystemLib()
924 _T("libstdc++.so"), in IsAndroidSystemLib()
925 _T("libz.so"), in IsAndroidSystemLib()
926 _T("libandroid.so"), in IsAndroidSystemLib()
927 _T("libjnigraphics.so"), in IsAndroidSystemLib()
928 _T("libEGL.so"), in IsAndroidSystemLib()
929 _T("libGLESv1_CM.so"), in IsAndroidSystemLib()
930 _T("libGLESv2.so"), in IsAndroidSystemLib()
931 _T("libOpenSLES.so"), in IsAndroidSystemLib()
932 _T("libOpenMAXAL.so"), in IsAndroidSystemLib()
947 !libname.compare(0, 3, _T("lib")) && in IsAndroidNdkCompatibleLib()
948 !libname.compare(libname.size() - 3, 3, _T(".so")); in IsAndroidNdkCompatibleLib()
958 LOG2(_T(" looking for library: %s\n"), libname.c_str()); in FindLibraryPath()
963 if (file_path[file_path.size() - 1] != _T('/') && in FindLibraryPath()
964 file_path[file_path.size() - 1] != _T('\\')) { in FindLibraryPath()
965 file_path.append(_T("/")); in FindLibraryPath()
969 LOG2(_T(" in %s: "), file_path.c_str()); in FindLibraryPath()
972 LOG2(_T("%s\n"), TO_CONST_TCHAR(strerror(errno))); in FindLibraryPath()
976 LOG2(_T("Not a regular file!\n")); in FindLibraryPath()
980 LOG2(_T("OK\n")); 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()
1042 _T("WARNING: Library has invalid soname ('%s'): %s\n"), 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()
1057 LOG(_T("\n")); in UpdateDependencies()
1098 LOG(_T("Android system library: %s\n"), libname.c_str()); in BuildDependencyGraph()
1106 _T("WARNING: Could not find library: %s\n"), in BuildDependencyGraph()
1109 node.Set(LibNode::NODE_ERROR, _T("Could not find library")); in BuildDependencyGraph()
1118 _tprintf(_T("Dependency graph:\n")); in DumpDependencyGraph()
1126 node_type = _T("NONE??"); in DumpDependencyGraph()
1129 node_type = _T("PATH"); in DumpDependencyGraph()
1132 node_type = _T("ERROR"); in DumpDependencyGraph()
1135 node_type = _T("SYSTEM"); in DumpDependencyGraph()
1138 _T("[%s] %s %s\n"), 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()
1209 panic(_T("INTERNAL: Could not find minimum visited node!")); in GetTopologicalSortedLibraries()
1216 _T("WARNING: Circular dependency found from: %s\n"), in GetTopologicalSortedLibraries()
1314 if (argv[1][0] == _T('-')) {
1316 if (!_tcscmp(arg, _T("--help")) ||
1317 !_tcscmp(arg, _T("-h")) ||
1318 !_tcscmp(arg, _T("-?")))
1320 else if (!_tcscmp(arg, _T("--print-direct"))) {
1322 } else if (!_tcscmp(arg, _T("-L"))) {
1324 panic(_T("Option -L requires an argument."));
1328 } else if (!_tcsncmp(arg, _T("-L"), 2)) {
1330 } else if (!_tcscmp(arg, _T("--host-libs"))) {
1332 } else if (!_tcscmp(arg, _T("--print-java"))) {
1334 } else if (!_tcscmp(arg, _T("--print-paths"))) {
1336 } else if (!_tcscmp(arg, _T("--print-dot"))) {
1338 } else if (!_tcscmp(arg, _T("--verbose"))) {
1341 panic(_T("Unsupported option '%s', see --help."), arg);
1354 panic(_T("Please provide the path of an ELF shared library or executable."
1361 _tprintf(_T("Current library search path:\n"));
1363 _tprintf(_T(" %s\n"), lib_search_path[n].c_str());
1364 _tprintf(_T("\n"));
1373 panic(_T("Could not open file '%s': %s"), libfile_path, error.c_str());
1382 _tprintf(_T("%s\n"), needed_libs[i].c_str());
1388 LOG(_T("Building dependency graph...\n"));
1395 LOG(_T("Building sorted list of binaries:\n"));
1411 _T("WARNING: Non-compatible library name ignored: %s\n"),
1415 _tprintf(_T("System.loadLibrary(%s);\n"),
1424 _tprintf(_T("digraph {\n"));
1431 _tprintf(_T(" \"%s\" -> \"%s\"\n"), libname.c_str(), libdeps[n].c_str());
1434 _tprintf(_T("}\n"));
1446 format = _T("%s -> %s\n");
1449 format = _T("%s -> $ /system/lib/%s\n");
1452 format = _T("%s -> !! %s\n");
1462 _tprintf(_T("%s\n"), lib.c_str());