Searched defs:args (Results 1 - 25 of 116) sorted by relevance

12345

/system/chre/platform/linux/
H A Dchre_api_re.cc25 va_list args; local
27 va_start(args, formatStr);
28 vsnprintf(logBuf, sizeof(logBuf), formatStr, args);
29 va_end(args);
/system/chre/platform/slpi/
H A Dchre_api_re.cc23 va_list args; local
40 va_start(args, formatStr);
41 ashVaLog(ASH_SOURCE_CHRE, ashLevel, formatStr, args);
42 va_end(args);
/system/chre/util/include/chre/util/
H A Dsynchronized_memory_pool_impl.h28 Args&&... args) {
30 return mMemoryPool.allocate(args...);
27 allocate( Args&&.... args) argument
H A Dsingleton_impl.h35 void Singleton<ObjectType>::init(Args&&... args) { argument
38 new (get()) ObjectType(std::forward<Args>(args)...);
H A Dmemory_impl.h113 inline T *memoryAlloc(Args&&... args) { argument
116 new(storage) T(std::forward<Args>(args)...);
H A Dmemory_pool_impl.h38 ElementType *MemoryPool<ElementType, kSize>::allocate(Args&&... args) { argument
48 ElementType(std::forward<Args>(args)...);
H A Dpriority_queue_impl.h63 bool PriorityQueue<ElementType, CompareFunction>::emplace(Args&&... args) { argument
64 bool success = mData.emplace_back(args...);
H A Dunique_ptr_impl.h98 inline UniquePtr<ObjectType> MakeUnique(Args&&... args) { argument
100 std::forward<Args>(args)...));
/system/extras/simpleperf/scripts/
H A Dreport_sample.py67 args = parser.parse_args() variable
68 report_sample(args.record_file, args.symfs, args.kallsyms)
/system/extras/verity/
H A DVeritySigner.java34 public static void main(String[] args) throws Exception { argument
35 if (args.length < 3) {
42 byte[] content = Utils.read(args[0]);
44 if (args.length > 3 && "-verify".equals(args[3])) {
45 X509Certificate cert = Utils.loadPEMCertificate(args[1]);
48 byte[] signature = Utils.read(args[2]);
64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1]));
66 Utils.write(signature, args[2]);
/system/chre/platform/shared/
H A Dpal_system_api.cc40 va_list args; local
42 va_start(args, formatStr);
43 vsnprintf(logBuf, sizeof(logBuf), formatStr, args);
44 va_end(args);
/system/core/libunwindstack/
H A DLog.cpp46 va_list args; local
47 va_start(args, format);
50 vprintf(real_format.c_str(), args);
52 LOG_PRI_VA(ANDROID_LOG_INFO, LOG_TAG, real_format.c_str(), args);
54 va_end(args);
/system/core/logcat/
H A Dlogcatd_main.cpp33 std::vector<std::string> args; local
37 args.push_back(std::string(argv[i]));
43 for (auto& str : args) argv_hold.push_back(str.c_str());
H A Dlogcat_system.cpp44 std::vector<std::string>& args,
48 if ((args.size() == 0) && (*cp != '=') && !isdigit(*cp)) {
59 args.push_back(unquote(cp, delim));
60 if ((args.size() == 1) && (args[0] != "logcat") &&
61 (args[0] != "/system/bin/logcat")) {
65 return args.size() != 0;
71 std::vector<std::string> args; local
73 if (!__android_logcat_parse(command, args, envs)) return NULL;
76 for (auto& str : args) {
43 __android_logcat_parse(const char* command, std::vector<std::string>& args, std::vector<std::string>& envs) argument
121 std::vector<std::string> args; local
[all...]
/system/extras/multinetwork/
H A Ddnschk.cpp35 struct Arguments args; local
36 if (!args.parseArguments(argc, argv)) { return rval; }
39 .ai_family = args.family,
44 std::cout << "# " << args.arg1
45 << " (via nethandle " << args.nethandle << "):"
48 switch (args.api_mode) {
50 rval = android_getaddrinfofornetwork(args.nethandle,
51 args.arg1, nullptr, &hints, &result);
54 if (args.nethandle != NETWORK_UNSPECIFIED) {
55 rval = android_setprocnetwork(args
[all...]
/system/extras/simpleperf/
H A Dcmd_help.cpp36 bool Run(const std::vector<std::string>& args) override;
43 bool HelpCommand::Run(const std::vector<std::string>& args) { argument
44 if (args.empty()) {
47 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]);
51 << args[0];
H A Dcmd_kmem_test.cpp46 std::vector<std::string> args = {"report", "-i", perf_data, "-o", local
48 args.insert(args.end(), additional_args.begin(), additional_args.end());
49 ASSERT_TRUE(KmemCmd()->Run(args));
/system/sepolicy/tools/sepolicy-analyze/
H A Dbooleans.c9 __attribute__ ((unused)) void *args)
7 list_booleans(hashtab_key_t k, __attribute__ ((unused)) hashtab_datum_t d, __attribute__ ((unused)) void *args) argument
/system/core/fs_mgr/
H A Dfs_mgr_format.cpp90 const char* const args[] = {"/system/bin/make_f2fs", "-f", "-O encrypt", fs_blkdev, nullptr}; local
92 return android_fork_execvp_ext(arraysize(args), const_cast<char**>(args), NULL, true,
/system/core/init/
H A Dimport_parser.cpp26 bool ImportParser::ParseSection(std::vector<std::string>&& args, const std::string& filename, argument
28 if (args.size() != 2) {
34 bool ret = expand_props(args[1], &conf_file);
H A Dinit_parser_test.cpp33 std::vector<std::string> args; local
35 ASSERT_EQ(nullptr, sm.MakeExecOneshotService(args));
38 args.push_back("exec");
39 ASSERT_EQ(nullptr, sm.MakeExecOneshotService(args));
42 args.push_back("--");
43 ASSERT_EQ(nullptr, sm.MakeExecOneshotService(args));
48 std::vector<std::string> args; local
49 args.push_back("exec");
50 args.push_back("seclabel");
51 args
64 std::vector<std::string> args; local
[all...]
H A Dkeyword_map.h37 const Function FindFunction(const std::vector<std::string>& args, std::string* err) const { argument
40 if (args.empty()) {
44 auto& keyword = args[0];
45 auto num_args = args.size() - 1;
/system/extras/memcpy-perf/
H A Dgraph_memcpy.py9 args = parser.parse_args() variable
19 for arg in args.files:
/system/keymaster/
H A Dlogger.cpp24 int Logger::Log(LogLevel level, const char* fmt, va_list args) { argument
27 return instance_->log_msg(level, fmt, args);
32 va_list args; local
33 va_start(args, fmt);
34 int result = Log(level, fmt, args);
35 va_end(args);
41 va_list args; local
42 va_start(args, fmt);
43 int result = Log(DEBUG_LVL, fmt, args);
44 va_end(args);
50 va_list args; local
58 va_list args; local
66 va_list args; local
74 va_list args; local
[all...]
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/
H A DCreateTimeZoneDistro.java65 public static void main(String[] args) throws Exception { argument
66 if (args.length != 2) {
70 File f = new File(args[0]);
93 File outputDir = new File(args[1]);

Completed in 518 milliseconds

12345