/system/chre/platform/linux/ |
H A D | chre_api_re.cc | 25 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 D | chre_api_re.cc | 23 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 D | synchronized_memory_pool_impl.h | 28 Args&&... args) { 30 return mMemoryPool.allocate(args...); 27 allocate( Args&&.... args) argument
|
H A D | singleton_impl.h | 35 void Singleton<ObjectType>::init(Args&&... args) { argument 38 new (get()) ObjectType(std::forward<Args>(args)...);
|
H A D | memory_impl.h | 113 inline T *memoryAlloc(Args&&... args) { argument 116 new(storage) T(std::forward<Args>(args)...);
|
H A D | memory_pool_impl.h | 38 ElementType *MemoryPool<ElementType, kSize>::allocate(Args&&... args) { argument 48 ElementType(std::forward<Args>(args)...);
|
H A D | priority_queue_impl.h | 63 bool PriorityQueue<ElementType, CompareFunction>::emplace(Args&&... args) { argument 64 bool success = mData.emplace_back(args...);
|
H A D | unique_ptr_impl.h | 98 inline UniquePtr<ObjectType> MakeUnique(Args&&... args) { argument 100 std::forward<Args>(args)...));
|
/system/extras/simpleperf/scripts/ |
H A D | report_sample.py | 67 args = parser.parse_args() variable 68 report_sample(args.record_file, args.symfs, args.kallsyms)
|
/system/extras/verity/ |
H A D | VeritySigner.java | 34 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 D | pal_system_api.cc | 40 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 D | Log.cpp | 46 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 D | logcatd_main.cpp | 33 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 D | logcat_system.cpp | 44 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 D | dnschk.cpp | 35 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 D | cmd_help.cpp | 36 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 D | cmd_kmem_test.cpp | 46 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 D | booleans.c | 9 __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 D | fs_mgr_format.cpp | 90 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 D | import_parser.cpp | 26 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 D | init_parser_test.cpp | 33 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 D | keyword_map.h | 37 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 D | graph_memcpy.py | 9 args = parser.parse_args() variable 19 for arg in args.files:
|
/system/keymaster/ |
H A D | logger.cpp | 24 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 D | CreateTimeZoneDistro.java | 65 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]);
|