Searched refs:arg (Results 1 - 25 of 143) sorted by relevance

123456

/system/tools/hidl/test/error_test/interface_unique_method_names/1.0/
H A DIFoo.hal19 foo(int32_t arg);
20 foo(IFoo arg); // duplicates first method name
/system/tools/hidl/test/error_test/interface_unique_method_names_inheritance/1.0/
H A DIBar.hal19 foo(int32_t arg);
H A DIFoo.hal21 foo(IFoo arg); // duplicates method defined in IBar name
/system/netd/include/
H A DPermission.h54 inline Permission stringToPermission(const char* arg) { argument
55 if (!strcmp(arg, "NETWORK")) {
58 if (!strcmp(arg, "SYSTEM")) {
/system/core/debuggerd/crasher/
H A Dcrasher.cpp63 int do_action(const char* arg);
105 const char* arg = reinterpret_cast<const char*>(raw_arg); local
106 return reinterpret_cast<void*>(static_cast<uintptr_t>(do_action(arg)));
109 noinline int do_action_on_thread(const char* arg) { argument
111 pthread_create(&t, nullptr, thread_callback, const_cast<char*>(arg));
220 noinline int do_action(const char* arg) { argument
222 if (!strncmp(arg, "wait-", strlen("wait-"))) {
225 return do_action(arg + strlen("wait-"));
226 } else if (!strncmp(arg, "exhaustfd-", strlen("exhaustfd-"))) {
231 return do_action(arg
[all...]
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Dargs.c85 static const struct arg { struct
115 struct arg *ap, tmp;
116 char *oper, *arg; local
127 if ((arg = strchr(oper, '=')) == NULL) {
131 *arg++ = '\0';
132 if (!*arg) {
149 ap->f(arg);
212 return (strcmp(((const struct arg *)a)->name,
213 ((const struct arg *)b)->name));
217 f_bs(char *arg) argument
224 f_cbs(char *arg) argument
231 f_count(char *arg) argument
240 f_files(char *arg) argument
249 f_ibs(char *arg) argument
257 f_if(char *arg) argument
266 f_msgfmt(char *arg) argument
274 f_msgfmt(char *arg) argument
288 f_obs(char *arg) argument
296 f_of(char *arg) argument
303 f_seek(char *arg) argument
310 f_skip(char *arg) argument
317 f_progress(char *arg) argument
326 f_conv(char *arg) argument
361 f_conv(char *arg) argument
[all...]
/system/core/libcutils/
H A Dandroid_reboot.cpp26 int android_reboot(int cmd, int /*flags*/, const char* arg) { argument
44 if (arg && arg[0]) {
45 ret = asprintf(&prop_value, "%s,%s", restart_cmd, arg);
/system/core/libmemunreachable/
H A Dbionic.h30 void (*callback)(uintptr_t base, size_t size, void* arg), void* arg);
/system/libufdt/utils/src/
H A Dmkdtimg_create.c31 const char *arg = argv[i]; local
32 char c = arg[0];
41 static int parse_arg(char **option, char **value, char *arg) { argument
42 if (arg[0] != '-') {
49 if (arg[1] != '-') {
53 return parse_option(option, value, arg + 2);
63 char *arg = argv[i]; local
65 if (parse_arg(&option, &value, arg) != 0) {
66 fprintf(stderr, "Wrong syntax: %s\n", arg);
72 if (dt_image_writer_add_entry(writer, arg) !
[all...]
/system/libufdt/tests/
H A DverifyDTBO.sh32 arg=""
35 arg="${arg}dumped_dtbo.${idx} "
40 $verify_bin_path final_dt $arg
/system/core/adb/
H A Dfdevent.h46 void *arg; member in struct:fdevent
53 fdevent *fdevent_create(int fd, fd_func func, void *arg);
62 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg);
H A Dsocket_test.cpp112 static void CloseWithPacketThreadFunc(CloseWithPacketArg* arg) { argument
113 asocket* s = create_local_socket(arg->socket_fd);
115 arg->bytes_written = 0;
119 arg->bytes_written += data.size();
123 asocket* cause_close_s = create_local_socket(arg->cause_close_fd);
141 CloseWithPacketArg arg; local
142 arg.socket_fd = socket_fd[1];
143 arg.cause_close_fd = cause_close_fd[1];
146 std::thread thread(CloseWithPacketThreadFunc, &arg);
164 CloseWithPacketArg arg; local
196 CloseWithPacketArg arg; local
265 CloseRdHupSocketThreadFunc(CloseRdHupSocketArg* arg) argument
282 CloseRdHupSocketArg arg; local
[all...]
/system/extras/memcpy-perf/
H A Dgraph_memcpy.py19 for arg in args.files:
20 f = open(arg)
29 line, = ax.plot(size, perf, '-', linewidth=0.2, label=arg)
/system/tools/hidl/docs/src/writer/elements/
H A DEnumElement.kt43 declarationParser.members.forEach { arg ->
44 val fieldVal = arg.value?.let { " = ${htmlEscape(it)}" } ?: ""
45 val fieldDesc = arg.docParser?.description?.let { formatTextasHTML(it, useParagraphs = false) } ?: ""
49 <code>${htmlEscape(arg.name)}${fieldVal}</code>
H A DCompoundElement.kt32 declarationParser.members.forEachIndexed { i, arg ->
33 val typedef = if (arg is CompoundMemberDeclaration) "${arg.typeDef.value} " else ""
34 sb.append("${typedef}${arg.type} ${arg.name}")
52 declarationParser.members.forEach { arg ->
53 val fieldDesc = arg.docParser?.description?.let { formatTextasHTML(it, useParagraphs = false) } ?: ""
57 <code>${arg.name}</code>
H A DMethodElement.kt37 declarationParser.params.forEachIndexed { i, arg ->
38 sb.append(htmlEscape("${arg.type} ${arg.name}"))
44 declarationParser.returns.forEachIndexed { i, arg ->
45 sb.append(htmlEscape("${arg.type} ${arg.name}"))
61 private fun getDocAnnotationDesc(tag: TokenGrammar, arg: ArgEntry): String {
64 .firstOrNull { it.arg == arg.name }
67 val msg = "Missing @${tag.value} doc annotation for '${arg
[all...]
/system/core/include/cutils/
H A Dandroid_reboot.h41 int android_reboot(int cmd, int flags, const char *arg);
/system/core/libcutils/include/cutils/
H A Dandroid_reboot.h41 int android_reboot(int cmd, int flags, const char *arg);
/system/core/libcutils/include_vndk/cutils/
H A Dandroid_reboot.h41 int android_reboot(int cmd, int flags, const char *arg);
/system/nvram/core/include/nvram/core/
H A Dlogger.h61 #define NVRAM_STR(arg) #arg
62 #define NVRAM_STRINGIFY(arg) NVRAM_STR(arg)
/system/bt/osi/test/
H A Dreactor_test.cc77 unregister_arg_t* arg = (unregister_arg_t*)context; local
78 reactor_unregister(arg->object);
79 reactor_stop(arg->reactor);
86 unregister_arg_t arg; local
87 arg.reactor = reactor;
88 arg.object = reactor_register(reactor, fd, &arg, unregister_cb, NULL);
/system/tools/hidl/
H A DgenerateCpp.cpp394 static void wrapPassthroughArg(Formatter& out, const NamedReference<Type>* arg, argument
396 if (!arg->type().isInterface()) {
399 std::string name = (addPrefixToName ? "_hidl_out_" : "") + arg->name();
401 + arg->name();
402 const Interface &iface = static_cast<const Interface &>(arg->type());
448 for (const auto &arg : method->args()) {
449 wrapPassthroughArg(out, arg, false /* addPrefixToName */, [&] {
467 for (const auto &arg : method->args()) {
469 << (arg->type().isInterface() ? "_hidl_wrapped_" : "")
470 << arg
921 emitCppReaderWriter(Formatter& out, const std::string& parcelObj, bool parcelObjIsPointer, const NamedReference<Type>* arg, bool isReader, Type::ErrorMode mode, bool addPrefixToName) const argument
935 emitCppResolveReferences(Formatter& out, const std::string& parcelObj, bool parcelObjIsPointer, const NamedReference<Type>* arg, bool isReader, Type::ErrorMode mode, bool addPrefixToName) const argument
[all...]
/system/core/libbacktrace/
H A Dbacktrace_testlib.cpp80 GetContextArg* arg = reinterpret_cast<GetContextArg*>(data); local
128 arg->ucontext->resize(sizeof(ucontext));
129 memcpy(arg->ucontext->data(), &ucontext, sizeof(ucontext));
132 while (*arg->exit_flag == 0) {
137 GetContextArg arg; local
138 arg.ucontext = reinterpret_cast<std::vector<uint8_t>*>(ucontext);
139 arg.exit_flag = exit_flag;
140 test_level_one(1, 2, 3, 4, GetContextAndExit, &arg);
/system/update_engine/
H A Dfake_p2p_manager_configuration.h53 for (std::string& arg : formatted_command) {
54 base::ReplaceSubstringsAfterOffset(&arg, 0, "{file_id}", file_id);
55 base::ReplaceSubstringsAfterOffset(&arg, 0, "{minsize}",
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dtest_channel_transport.cc125 vector<uint8_t> arg; local
126 arg.resize(arg_size);
127 read(fd, &arg[0], arg_size);
128 args.push_back(std::string(arg.begin(), arg.end()));

Completed in 384 milliseconds

123456