Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 61) sorted by relevance

123

/device/linaro/hikey/wpan/uim/
Duim.h79 #define UIM_ERR(fmt, arg...) printf("uim:"fmt"\n" , ##arg) argument
82 #define UIM_DBG(fmt, arg...) printf("uim:"fmt"\n" , ## arg) argument
83 #define UIM_VER(fmt, arg...) argument
86 #define UIM_DBG(fmt, arg...) printf("uim:"fmt"\n" , ## arg) argument
87 #define UIM_VER(fmt, arg...) printf("uim:"fmt"\n" , ## arg) argument
90 #define UIM_DBG(fmt, arg...) argument
91 #define UIM_VER(fmt, arg...) argument
/device/generic/opengl-transport/host/commands/emugen/
Dgetopt.c20 const char* arg = argv[optind]; in getopt() local
21 if (arg[0] != '-') { in getopt()
25 if (arg[1] == '-' && !arg[2]) { in getopt()
29 if (!arg[1]) { in getopt()
36 place = arg + 1; in getopt()
38 optopt = arg[1]; in getopt()
39 place = arg + 2; in getopt()
/device/google/coral/
Dinit.insmod.sh17 while IFS="|" read -r action arg
20 "insmod") insmod $arg ;;
21 "setprop") setprop $arg 1 ;;
22 "enable") echo 1 > $arg ;;
23 "modprobe") modprobe -a -d /vendor/lib/modules $arg ;;
/device/google/cuttlefish/host/commands/fetcher/
Dbuild_api.cc72 std::visit([&out](auto&& arg) { out << arg; }, build); in operator <<() argument
191 Build ArgumentToBuild(BuildApi* build_api, const std::string& arg, in ArgumentToBuild() argument
194 if (arg.find(':') != std::string::npos) { in ArgumentToBuild()
195 std::vector<std::string> dirs = android::base::Split(arg, ":"); in ArgumentToBuild()
200 size_t slash_pos = arg.find('/'); in ArgumentToBuild()
202 && arg.find('/', slash_pos + 1) != std::string::npos) { in ArgumentToBuild()
204 << slash_pos << " and " << arg.find('/', slash_pos + 1); in ArgumentToBuild()
207 ? default_build_target : arg.substr(slash_pos + 1); in ArgumentToBuild()
209 ? arg: arg.substr(0, slash_pos); in ArgumentToBuild()
Dbuild_api.h110 return std::visit([this](auto&& arg) { return Artifacts(arg); }, build); in Artifacts()
115 return std::visit([this, &artifact, &path](auto&& arg) { in ArtifactToFile()
116 return ArtifactToFile(arg, artifact, path); in ArtifactToFile()
121 Build ArgumentToBuild(BuildApi* api, const std::string& arg,
Dfetch_cvd.cc78 std::string product = std::visit([](auto&& arg) { return arg.product; }, build); in TargetBuildZipFromArtifacts() argument
79 auto id = std::visit([](auto&& arg) { return arg.id; }, build); in TargetBuildZipFromArtifacts() argument
220 auto id = std::visit([](auto&& arg) { return arg.id; }, build); in AddFilesToConfig() argument
221 auto target = std::visit([](auto&& arg) { return arg.target; }, build); in AddFilesToConfig() argument
/device/sample/apps/tv/SetupValidation/
Dgradlew128 for arg in "$@" ; do
129 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
133 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
135 eval `echo args$i`="\"$arg\""
/device/sample/apps/tv/SetupCustomizationSample/
Dgradlew128 for arg in "$@" ; do
129 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
133 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
135 eval `echo args$i`="\"$arg\""
/device/google/cuttlefish_vmm/
Drebuild-docker.sh90 --build-arg USER=${_user} \
91 --build-arg UID=${_uid} --load
102 --build-arg USER=${_user} \
103 --build-arg UID=${_uid}
/device/linaro/poplar/wifi/wifi_hal/
Dcpp_bindings.cpp595 static int no_seq_check(struct nl_msg *msg, void *arg) in no_seq_check() argument
693 int WifiCommand::response_handler(struct nl_msg *msg, void *arg) { in response_handler() argument
695 WifiCommand *cmd = (WifiCommand *)arg; in response_handler()
707 int WifiCommand::event_handler(struct nl_msg *msg, void *arg) { in event_handler() argument
708 WifiCommand *cmd = (WifiCommand *)arg; in event_handler()
723 int WifiCommand::valid_handler(struct nl_msg *msg, void *arg) { in valid_handler() argument
725 int *err = (int *)arg; in valid_handler()
730 int WifiCommand::ack_handler(struct nl_msg *msg, void *arg) { in ack_handler() argument
732 int *err = (int *)arg; in ack_handler()
737 int WifiCommand::finish_handler(struct nl_msg *msg, void *arg) { in finish_handler() argument
[all …]
Dcommon.cpp70 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_handler() argument
84 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_handler()
86 arg, func, cmd, info->num_event_cb); in wifi_register_handler()
96 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_vendor_handler() argument
110 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_vendor_handler()
112 arg, func, id, subcmd, info->num_event_cb); in wifi_register_vendor_handler()
Dcpp_bindings.h349 static int response_handler(struct nl_msg *msg, void *arg);
351 static int event_handler(struct nl_msg *msg, void *arg);
354 static int valid_handler(struct nl_msg *msg, void *arg);
356 static int ack_handler(struct nl_msg *msg, void *arg);
358 static int finish_handler(struct nl_msg *msg, void *arg);
360 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg);
Dcommon.h240 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg);
242 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg);
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c366 int halCmd(uint8_t cmd, char *arg) in halCmd() argument
369 char *endptr = arg + strlen(arg); in halCmd()
371 if (strcmp(arg, UNINSTALL_CMD) == 0) { in halCmd()
372 printf("%s is not a valid app name\n", arg); in halCmd()
376 if ((findAppIdByName(arg, &appId) == 1) || (appId = strtoull(arg, &endptr, 16)) > 0) { in halCmd()
378 printf("Couldn't find nanoapp '%s' in napp_list.cfg\n", arg); in halCmd()
396 printf("Couldn't find nanoapp '%s' in napp_list.cfg\n", arg); in halCmd()
/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config.cpp345 for (const auto& arg : mode) { in set_adb_mode() local
346 mode_json_obj.append(arg); in set_adb_mode()
761 for (const auto& arg : android::base::Split(boot_image_kernel_cmdline, " ")) { in set_boot_image_kernel_cmdline() local
762 args_json_obj.append(arg); in set_boot_image_kernel_cmdline()
768 for (const Json::Value& arg : (*dictionary_)[kBootImageKernelCmdline]) { in boot_image_kernel_cmdline()
769 cmdline.push_back(arg.asString()); in boot_image_kernel_cmdline()
776 for (const auto& arg : android::base::Split(extra_cmdline, " ")) { in set_extra_kernel_cmdline() local
777 args_json_obj.append(arg); in set_extra_kernel_cmdline()
783 for (const Json::Value& arg : (*dictionary_)[kExtraKernelCmdline]) { in extra_kernel_cmdline()
784 cmdline.push_back(arg.asString()); in extra_kernel_cmdline()
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/threads/
DAndroidThread.h112 static DWORD WINAPI thread_main(void* arg);
116 static void* thread_main(void* arg);
DAndroidThread_pthread.cpp125 void* Thread::thread_main(void* arg) { in thread_main() argument
129 Thread* self = reinterpret_cast<Thread*>(arg); in thread_main()
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dspcom.h51 uint32_t arg; member
66 uint32_t arg; member
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dspcom.h80 uint32_t arg; member
101 uint32_t arg; member
/device/google/cuttlefish/host/commands/launch/
Dlaunch_cvd.cc63 for (const auto& arg : argv) { in StartAssembler() local
64 assemble_cmd.AddParameter(arg); in StartAssembler()
76 for (const auto& arg : argv) { in StartRunner() local
77 run_cmd.AddParameter(arg); in StartRunner()
/device/google/cuttlefish/common/libs/net/
Dnetlink_request_test.cpp69 if (offset + length != arg.RequestLength()) {
71 << arg.RequestLength() - offset << " vs " << length;
79 const uint8_t* act_data = static_cast<const uint8_t*>(arg.RequestData());
86 nlmsghdr* header = static_cast<nlmsghdr*>(arg.RequestData());
87 if (arg.RequestLength() < sizeof(header)) {
/device/linaro/hikey/hifi/xaf/host-apf/include/os/android/
Dxf-osal.h183 static inline int __xf_thread_create(xf_thread_t *thread, void * (*f)(void *), void *arg) in __xf_thread_create() argument
194 r = -pthread_create(thread, &attr, f, arg); in __xf_thread_create()
/device/linaro/hikey/hifi/xaf/host-apf/include/os/xos/
Dxf-osal.h180 void *arg, const char *name, void * stack, in __xf_thread_create() argument
186 r = xos_thread_create(thread, 0, f, arg, name, stack, stack_size, priority, 0, 0); in __xf_thread_create()
/device/linaro/hikey/hifi/xaf/host-apf/utest/
Dxaf-dec-test.c126 static int comp_process_entry(void *arg) in comp_process_entry() argument
133 XAF_CHK_PTR(arg); in comp_process_entry()
137 p_comp = arg; in comp_process_entry()
/device/google/cuttlefish/guest/hals/gps/
Dgps_thread.cpp109 void gps_state_thread(void* arg) { in gps_state_thread() argument
110 GpsState* state = (GpsState*)arg; in gps_state_thread()

123