Searched refs:args (Results 51 - 75 of 200) sorted by relevance

12345678

/system/keymaster/include/keymaster/
H A Dsoft_keymaster_logger.h29 virtual int log_msg(LogLevel level, const char* fmt, va_list args) const;
/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.cpp89 char * args[3]; local
93 args[0] = (char *)"/sbin/mkfs.f2fs";
94 args[1] = fs_blkdev;
95 args[2] = (char *)0;
103 execv("/sbin/mkfs.f2fs", args);
115 LINFO << args[0] << " done, status " << rc;
121 LERROR << "Still waiting for " << args[0] << "..."; local
/system/extras/ext4_utils/include/ext4_utils/
H A Dext4_utils.h52 #define warn(fmt, args...) do { fprintf(stderr, "warning: %s: " fmt "\n", __func__, ## args); } while (0)
53 #define error(fmt, args...) do { fprintf(stderr, "error: %s: " fmt "\n", __func__, ## args); if (!force) longjmp(setjmp_env, EXIT_FAILURE); } while (0)
54 #define error_errno(s, args...) error(s ": %s", ##args, strerror(errno))
55 #define critical_error(fmt, args...) do { fprintf(stderr, "critical error: %s: " fmt "\n", __func__, ## args); longjmp(setjmp_env, EXIT_FAILURE); } while (0)
56 #define critical_error_errno(s, args...) critical_error(s ": %s", ##args, strerro
[all...]
/system/update_engine/update_manager/
H A Dupdate_manager-inl.h37 R* result, Args... args) {
57 result, args...);
64 args...);
86 Args... args) {
89 EvalStatus status = EvaluatePolicy(ec.get(), policy_method, &result, args...);
101 policy_method, args...);
119 R* result, ActualArgs... args) {
128 result, args...);
142 ActualArgs... args) {
159 base::Unretained(this), ec, callback, policy_method, args
32 EvaluatePolicy( EvaluationContext* ec, EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, std::string*, R*, Args...) const, R* result, Args... args) argument
80 OnPolicyReadyToEvaluate( scoped_refptr<EvaluationContext> ec, base::Callback<void(EvalStatus status, const R& result)> callback, EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, std::string*, R*, Args...) const, Args... args) argument
137 AsyncPolicyRequest( base::Callback<void(EvalStatus, const R& result)> callback, EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, ActualArgs... args) argument
[all...]
/system/extras/simpleperf/
H A Dcommand.cpp26 bool Command::NextArgumentOrError(const std::vector<std::string>& args, size_t* pi) { argument
27 if (*pi + 1 == args.size()) {
28 LOG(ERROR) << "No argument following " << args[*pi] << " option. Try `simpleperf help " << name_
36 void Command::ReportUnknownOption(const std::vector<std::string>& args, size_t i) { argument
37 LOG(ERROR) << "Unknown option for " << name_ << " command: '" << args[i]
H A Dcmd_report.cpp356 bool Run(const std::vector<std::string>& args);
359 bool ParseOptions(const std::vector<std::string>& args);
393 bool ReportCommand::Run(const std::vector<std::string>& args) { argument
395 if (!ParseOptions(args)) {
424 bool ReportCommand::ParseOptions(const std::vector<std::string>& args) { argument
432 for (size_t i = 0; i < args.size(); ++i) {
433 if (args[i] == "-b") {
435 } else if (args[i] == "--children") {
437 } else if (args[i] == "--comms" || args[
[all...]
H A Dcommand.h49 virtual bool Run(const std::vector<std::string>& args) = 0;
52 bool NextArgumentOrError(const std::vector<std::string>& args, size_t* pi);
53 void ReportUnknownOption(const std::vector<std::string>& args, size_t i);
H A Dworkload.h37 static std::unique_ptr<Workload> CreateWorkload(const std::vector<std::string>& args);
51 explicit Workload(const std::vector<std::string>& args, argument
54 child_proc_args_(args),
/system/netd/server/
H A DTetherController.cpp185 char **args = (char **)malloc(sizeof(char *) * num_processed_args); local
186 args[num_processed_args - 1] = NULL;
187 args[0] = (char *)"/system/bin/dnsmasq";
188 args[1] = (char *)"--keep-in-foreground";
189 args[2] = (char *)"--no-resolv";
190 args[3] = (char *)"--no-poll";
191 args[4] = (char *)"--dhcp-authoritative";
193 args[5] = (char *)"--dhcp-option-force=43,ANDROID_METERED";
194 args[6] = (char *)"--pid-file";
195 args[
[all...]
H A DNetdConstants.cpp47 std::string args = ""; local
49 args += *argp;
50 args += ' ';
53 ALOGE("exec() res=%d, status=%d for %s", res, status, args.c_str());
74 static int execIptables(IptablesTarget target, bool silent, va_list args) { argument
84 arg = va_arg(args, const char *);
108 va_list args; local
109 va_start(args, target);
110 int res = execIptables(target, false, args);
111 va_end(args);
116 va_list args; local
[all...]
/system/extras/verity/fec/
H A Dimage.cpp380 image_proc_ctx args[threads]; local
392 args[i].func = func;
393 args[i].id = i;
394 args[i].ctx = ctx;
395 args[i].rv = 0;
396 args[i].fec_pos = current * ctx->roots;
397 args[i].start = current * ctx->rs_n;
398 args[i].end = (current + rs_blocks_per_thread) * ctx->rs_n;
400 args[i].rs = init_rs_char(FEC_PARAMS(ctx->roots));
402 if (!args[
[all...]
/system/extras/multinetwork/
H A Dhttpurl.cpp45 bool parseUrl(const struct Arguments& args, struct Parameters* parameters) { argument
49 if (strncmp(args.arg1, HTTP_PREFIX, strlen(HTTP_PREFIX)) != 0) {
54 parameters->host = std::string(args.arg1).substr(strlen(HTTP_PREFIX));
99 .ai_family = args.family,
105 switch (args.api_mode) {
107 rval = android_getaddrinfofornetwork(args.nethandle,
219 struct Arguments args; local
220 if (!args.parseArguments(argc, argv)) { return rval; }
222 if (args.api_mode == ApiMode::PROCESS) {
223 rval = android_setprocnetwork(args
[all...]
/system/chre/util/include/chre/util/
H A Dsingleton_impl.h35 void Singleton<ObjectType>::init(Args&&... args) { argument
38 new (get()) ObjectType(std::forward<Args>(args)...);
H A Dsingleton.h44 * @param args The constructor arguments to pass to the singleton instance.
47 static void init(Args&&... args);
/system/core/init/
H A Dinit_parser.cpp55 std::vector<std::string> args; local
66 if (args.empty()) {
69 if (section_parsers_.count(args[0])) {
73 section_parser = section_parsers_[args[0]].get();
75 if (!section_parser->ParseSection(args, &ret_err)) {
81 if (!section_parser->ParseLineSection(args, state.filename,
86 args.clear();
89 args.emplace_back(state.text);
H A Daction.cpp34 Command::Command(BuiltinFunction f, const std::vector<std::string>& args, argument
36 : func_(f), args_(args), filename_(filename), line_(line) {
70 bool Action::AddCommand(const std::vector<std::string>& args, argument
77 if (args.empty()) {
82 auto function = function_map_->FindFunction(args[0], args.size() - 1, err);
87 AddCommand(function, args, filename, line);
92 const std::vector<std::string>& args,
94 commands_.emplace_back(f, args, filename, line);
156 bool Action::InitTriggers(const std::vector<std::string>& args, st argument
91 AddCommand(BuiltinFunction f, const std::vector<std::string>& args, const std::string& filename, int line) argument
405 ParseSection(const std::vector<std::string>& args, std::string* err) argument
422 ParseLineSection(const std::vector<std::string>& args, const std::string& filename, int line, std::string* err) const argument
[all...]
/system/extras/memcpy-perf/
H A Dgraph_memcpy.py9 args = parser.parse_args() variable
19 for arg in args.files:
/system/extras/simpleperf/scripts/
H A Dupdate.py160 args = get_args()
162 verbosity = args.verbose
169 if not args.use_current_branch:
170 start_branch(args.build)
172 install_new_release(args.branch, args.build, install_dir)
174 commit(args.branch, args.build, artifacts)
/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());
/system/tools/hidl/
H A DMethod.cpp29 std::vector<TypedVar *> *args,
34 mArgs(args),
60 const std::vector<TypedVar *> &Method::args() const { function in class:android::Method
146 if (!args().empty()) {
157 const std::vector<TypedVar *> &args,
159 out.join(args.begin(), args.end(), ", ", [&](auto arg) {
166 static void emitJavaArgResultSignature(Formatter &out, const std::vector<TypedVar *> &args) { argument
167 out.join(args.begin(), args
28 Method(const char *name, std::vector<TypedVar *> *args, std::vector<TypedVar *> *results, bool oneway, std::vector<Annotation *> *annotations) argument
156 emitCppArgResultSignature(Formatter &out, const std::vector<TypedVar *> &args, bool specifyNamespaces) argument
[all...]
/system/tools/hidl/c2hal/test/
H A Dbuild_all.py27 args = parseArgs()
29 path = args.path
30 is_open_gl = args.g
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dtest_channel_transport.cc120 vector<std::string> args; local
127 args.push_back(std::string(arg.begin(), arg.end()));
130 for (size_t i = 0; i < args.size(); ++i)
131 LOG_INFO(LOG_TAG, "Command argument %zu: %s", i, args[i].data());
133 command_handler_(command_name, args);
/system/core/demangle/
H A DDemangler.cpp36 size_t num_args = cur_state_.args.size();
39 arg_str = cur_state_.args[0];
41 arg_str += ", " + cur_state_.args[i];
478 cur_state_.args.push_back(arg);
487 size_t num_args = cur_state_.args.size();
491 std::string function_modifier = cur_state_.args[0];
492 std::string function_type = cur_state_.args[1];
494 std::string str = cur_state_.args[2] + ' ';
495 if (!cur_state_.args[1].empty()) {
496 str += '(' + cur_state_.args[
[all...]
/system/extras/tests/memtest/
H A Dbandwidth.cpp258 bool runThreadedTest(thread_arg_t args[], int num_threads, int run_time) { argument
264 args[i].run = &run;
266 (void*)&args[i]);
290 args[i].bench->getName(), args[i].avg_mb);
308 thread_arg_t args[cpu_list.size()]; local
313 args[i].core = *it;
314 args[i].bench = createBandwidthBenchmarkObject(values);
315 if (!args[i].bench) {
317 delete args[
347 thread_arg_t args[num_threads]; local
[all...]

Completed in 587 milliseconds

12345678