Home
last modified time | relevance | path

Searched refs:args_len (Results 1 – 5 of 5) sorted by relevance

/external/nos/host/generic/libnos_transport/test/
Dtest.cpp106 uint16_t command_crc(uint32_t command, const uint8_t* args, uint16_t args_len, in command_crc() argument
108 uint16_t crc = crc16(&args_len, sizeof(args_len)); in command_crc()
109 crc = crc16_update(args, args_len, crc); in command_crc()
275 #define EXPECT_SEND_DATA(app_id, args, args_len) do { \ argument
276 const uint32_t command = CMD_ID((app_id)) | CMD_IS_DATA | CMD_TRANSPORT | CMD_PARAM((args_len)); \
277 EXPECT_CALL(mock_dev(), Write(command, _, (args_len))) \
278 .With(Args<1,2>(ElementsAreArray((uint8_t*)(args), (args_len)))) \
282 #define EXPECT_GO_COMMAND(app_id, param, args, args_len, reply_len) do { \ argument
288 command_info.crc = command_crc(command, (args), (args_len), &command_info); \
341 const uint16_t args_len = 3; in TEST_F() local
[all …]
/external/mtpd/
Dmtpd.c401 const size_t args_len = ARRAY_SIZE(l2tp_args) + pppd_argc + 1; in start_pppd_ol2tp() local
402 char *args[args_len]; in start_pppd_ol2tp()
408 args[args_len - 1] = NULL; in start_pppd_ol2tp()
455 const size_t args_len = ARRAY_SIZE(pptp_args) + pppd_argc + 1; in start_pppd_pptp() local
456 char *args[args_len]; in start_pppd_pptp()
462 args[args_len - 1] = NULL; in start_pppd_pptp()
/external/curl/packages/vms/
Dgenerate_config_vms_h_curl.com47 $args_len = f$length(args)
70 $if f$locate(",nossl,", args_lower) .lt. args_len then nossl = 1
97 $ if f$locate(",nohpssl,", args_lower) .lt. args_len
105 $ if f$locate(",nohpssl,", args_lower) .lt. args_len
118 $ if f$locate(",libidn,", args_lower) .lt. args_len
137 $ if f$locate(",libssh2,", args_lower) .lt. args_len
151 $if f$locate(",noldap,", args_lower) .lt. args_len
160 $if f$locate(",nokerberos,", args_lower) .lt. args_len then nokerberos = 1
175 $ if f$locate(",nozlib,", args_lower) .lt. args_len
Dsetup_gnv_curl_build.com45 $ args_len = f$length(args)
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc672 static const size_t args_len = sizeof(crashinfo->prps.pr_psargs) - 1; in ParseCmdLine() local
674 memset(crashinfo->prps.pr_psargs, 0, args_len + 1); in ParseCmdLine()
679 len = range.length() > args_len ? args_len : range.length(); in ParseCmdLine()