Home
last modified time | relevance | path

Searched refs:lit (Results 1 – 15 of 15) sorted by relevance

/frameworks/compile/libbcc/tests/debuginfo/
Dlit.site.cfg18 # Configuration file for the 'lit' test runner in Android libbcc
25 def inferTool(lit, binary_name, env_var, PATH):
34 tool = lit.util.which(binary_name, PATH)
37 lit.fatal("couldn't find " + binary_name + " program in " + PATH + " \
49 config.test_format = lit.formats.ShTest()
52 config.filecheck = inferTool(lit, 'FileCheck', 'FILECHECK', \
56 config.test_bcc_debuginfo = inferTool(lit, 'test_bcc_debuginfo.pl', \
61 config.gdb = inferTool(lit, 'arm-linux-androideabi-gdb', 'GDB',
65 config.gdb_plugin = inferTool(lit, 'android-commands.py',
71 config.perl = inferTool(lit, 'perl', 'PERL', config.environment['PATH'])
[all …]
DREADME23 *** execution with the "-j1" flag to llvm-lit
39 By default, llvm-lit will use the clang and bcc driver built in the android
47 Further customization is possible by modifying the lit.cfg file.
52 To execute all the tests from this directory, use the llvm-lit tool:
53 $ ./llvm-lit host-tests
54 $ ./llvm-lit target-tests -j 1
Dllvm-lit25 import lit
26 lit.main(builtin_parameters)
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dlit.cfg21 # Parameters available through lit --param options:
30 lit.load_config(config, os.path.join(os.getenv('ANDROID_BUILD_TOP',
32 'debuginfo', 'lit.site.cfg'))
59 config.sdk_dir = lit.params.get('android_sdk', default_sdk_dir)
61 lit.fatal("Android SDK directory " + config.sdk_dir + " does " \
62 + "not exist. Check --param android_sdk=<path> lit parameter in test " \
65 config.sdk_version = lit.params.get('sdk_version', default_sdk_version)
66 config.minimum_sdk = lit.params.get('minimum_sdk', default_minimum_sdk)
79 if not lit.quiet:
80 lit.note('using Android SDK: %r' % config.sdk_dir)
[all …]
/frameworks/compile/libbcc/tests/libbcc/
Dlit.cfg3 # Configuration file for the 'lit' test runner.
15 import lit.formats
16 config.test_format = lit.formats.ShTest()
34 # Based on LLVM's lit.cfg: "For each occurrence of an llvm tool name
49 import lit.util
50 tool_path = lit.util.which(tool_name, tools_dir)
58 lit.util.which('llvm-config', tools_dir),
/frameworks/compile/slang/lit-tests/
DREADME4 This directory contains tests for Slang that use the 'llvm-lit' testing tool.
12 - Android version of llvm-lit (currently in libbcc/tests/debuginfo)
16 If you are unable to run the tests, try using the "--debug" option to llvm-lit.
24 The tools lit and FileCheck are fairly flexible, and could be used to validate
31 To execute all the tests from this directory, use the Android llvm-lit tool
33 $ ../../libbcc/tests/debuginfo/llvm-lit .
Dlit.cfg3 # Configuration file for the 'lit' test runner.
12 import lit.formats
13 config.test_format = lit.formats.ShTest()
24 config.test_exec_root = os.path.join(config.base_path, 'out', 'tests', 'slang', 'lit-tests')
38 import lit.util
39 tool = lit.util.which(binary_name, PATH)
51 …_FILECHECK_WRAPPER', os.path.join(config.base_path, 'frameworks', 'compile', 'slang', 'lit-tests'))
52 …_FILECHECK_WRAPPER', os.path.join(config.base_path, 'frameworks', 'compile', 'slang', 'lit-tests'))
Drun-lit-tests.sh3 LIT_PATH=$ANDROID_BUILD_TOP/frameworks/compile/libbcc/tests/debuginfo/llvm-lit
4 TESTS=$ANDROID_BUILD_TOP/frameworks/compile/slang/lit-tests
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlit.cfg32 lit.load_config(config, os.path.join(os.getenv('ANDROID_BUILD_TOP',
34 'debuginfo', 'lit.site.cfg'))
55 if not lit.quiet:
56 lit.note('using clang: %r' % config.clang)
57 lit.note('using bcc driver: %r' % config.bcc_driver)
58 lit.note('LD_LIBRARY_PATH is %r' % config.environment['LD_LIBRARY_PATH'])
/frameworks/native/cmds/servicemanager/
DServiceManager.cpp702 for (auto lit = listeners.begin(); lit != listeners.end();) { in removeRegistrationCallback() local
703 if (IInterface::asBinder(*lit) == who) { in removeRegistrationCallback()
705 lit = listeners.erase(lit); in removeRegistrationCallback()
707 ++lit; in removeRegistrationCallback()
820 for (auto lit = listeners.begin(); lit != listeners.end();) { in removeClientCallback() local
821 if (IInterface::asBinder(*lit) == who) { in removeClientCallback()
822 lit = listeners.erase(lit); in removeClientCallback()
824 ++lit; in removeClientCallback()
/frameworks/compile/libbcc/tests/
Drun-lit-tests.sh3 LIT_PATH=$ANDROID_BUILD_TOP/frameworks/compile/libbcc/tests/debuginfo/llvm-lit
DREADME.lit1 To run the libbcc lit tests:
/frameworks/native/libs/binder/
DIServiceManager.cpp566 for (auto lit = localRegistrationAndWaiters.begin(); in removeRegistrationCallbackLocked() local
567 lit != localRegistrationAndWaiters.end();) { in removeRegistrationCallbackLocked()
568 if (lit->first == cb) { in removeRegistrationCallbackLocked()
570 *waiter = lit->second; in removeRegistrationCallbackLocked()
572 lit = localRegistrationAndWaiters.erase(lit); in removeRegistrationCallbackLocked()
574 ++lit; in removeRegistrationCallbackLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java770 ListIterator<AccessPoint> lit = cache.listIterator(); in getCachedByKey() local
771 while (lit.hasNext()) { in getCachedByKey()
772 AccessPoint currentAccessPoint = lit.next(); in getCachedByKey()
774 lit.remove(); in getCachedByKey()
/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc2621 parse_integer_literal(const char* first, const char* last, const typename C::String& lit, C& db) in parse_integer_literal() argument
2626 if (lit.size() > 3) in parse_integer_literal()
2627 db.names.push_back("(" + lit + ")"); in parse_integer_literal()
2636 if (lit.size() <= 3) in parse_integer_literal()
2637 db.names.back().first += lit; in parse_integer_literal()