Home
last modified time | relevance | path

Searched refs:GetCString (Results 1 – 16 of 16) sorted by relevance

/external/openthread/src/cli/
Dcli_joiner.cpp151 aArgs[0].GetCString(), // aPskd in Process()
152 … aArgs[1].GetCString(), // aProvisioningUrl (`nullptr` if aArgs[1] is empty) in Process()
246 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
Dcli_coap_secure.cpp129 strncpy(mUriPath, aArgs[0].GetCString(), sizeof(mUriPath) - 1); in ProcessResource()
152 strncpy(mResourceContent, aArgs[0].GetCString(), sizeof(mResourceContent)); in ProcessSet()
254 strcpy(coapUri, aArgs[0].GetCString()); in ProcessRequest()
352 SuccessOrExit(error = otMessageAppend(message, aArgs[2].GetCString(), payloadLength)); in ProcessRequest()
427 memcpy(mPsk, aArgs[0].GetCString(), mPskLength); in ProcessPsk()
432 memcpy(mPskId, aArgs[1].GetCString(), mPskIdLength); in ProcessPsk()
471 command = BinarySearch::Find(aArgs[0].GetCString(), sCommands); in Process()
Dcli_commissioner.cpp166 …otCommissionerAddJoinerWithDiscerner(GetInstancePtr(), &discerner, aArgs[2].GetCString(), timeout); in Process()
170 … error = otCommissionerAddJoiner(GetInstancePtr(), addrPtr, aArgs[2].GetCString(), timeout); in Process()
323 return otCommissionerSetProvisioningUrl(GetInstancePtr(), aArgs[0].GetCString()); in Process()
346 error = otCommissionerSetId(GetInstancePtr(), aArgs[0].GetCString()); in Process()
465 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
Dcli_udp.cpp168 SuccessOrExit(error = PrepareHexStringPaylod(*message, aArgs[1].GetCString())); in ProcessSend()
180 … SuccessOrExit(error = otMessageAppend(message, aArgs[0].GetCString(), aArgs[0].GetLength())); in ProcessSend()
280 command = BinarySearch::Find(aArgs[0].GetCString(), sCommands); in Process()
Dcli_srp_client.cpp146 SuccessOrExit(error = otSrpClientSetHostName(GetInstancePtr(), aArgs[1].GetCString())); in Process()
147 memcpy(hostName, aArgs[1].GetCString(), len + 1); in Process()
376 SuccessOrExit(error = CopyString(string, size, aArgs[1].GetCString())); in ProcessServiceAdd()
379 SuccessOrExit(error = CopyString(string, size, aArgs[2].GetCString())); in ProcessServiceAdd()
620 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
Dcli_coap.cpp175 strncpy(mUriPath, aArgs[0].GetCString(), sizeof(mUriPath) - 1); in Process()
203 strncpy(mResourceContent, aArgs[0].GetCString(), sizeof(mResourceContent)); in Process()
314 OutputLine("Transmission parameters for %s:", aArgs[0].GetCString()); in Process()
390 strcpy(coapUri, aArgs[1].GetCString()); in ProcessRequest()
506 SuccessOrExit(error = otMessageAppend(message, aArgs[3].GetCString(), payloadLength)); in ProcessRequest()
602 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
Dcli_dataset.cpp391 … SuccessOrExit(error = otNetworkNameFromString(&sDataset.mNetworkName, aArgs[0].GetCString())); in Process()
481 … SuccessOrExit(error = otNetworkNameFromString(&dataset.mNetworkName, arg->GetCString())); in Process()
677 aArgs[1].GetCString(), in Process()
757 for (const char *flag = aArgs->GetCString(); *flag != '\0'; flag++) in ParseSecurityPolicy()
964 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
Dcli_srp_server.cpp59 command = BinarySearch::Find(aArgs[0].GetCString(), sCommands); in Process()
109 error = otSrpServerSetDomain(GetInstancePtr(), aArgs[0].GetCString()); in ProcessDomain()
Dcli.cpp340 separator = strstr(aArg.GetCString(), "/"); in ParseJoinerDiscerner()
358 const char * string = aArg.GetCString(); in ParsePingInterval()
909 SuccessOrExit(error = otThreadSetDomainName(GetInstancePtr(), aArgs[0].GetCString())); in Process()
1765 SuccessOrExit(error = otDnsClientResolveAddress(GetInstancePtr(), aArgs[1].GetCString(), in Process()
1774 SuccessOrExit(error = otDnsClientResolveIp4Address(GetInstancePtr(), aArgs[1].GetCString(), in Process()
1784 SuccessOrExit(error = otDnsClientBrowse(GetInstancePtr(), aArgs[1].GetCString(), in Process()
1792 …t(error = otDnsClientResolveService(GetInstancePtr(), aArgs[1].GetCString(), aArgs[2].GetCString(), in Process()
2099 SuccessOrExit(error = otPlatDebugUart_logfile(aArgs[1].GetCString())); in Process()
2631 for (const char *arg = aFlags.GetCString(); *arg != '\0'; arg++) in ParseLinkMetricsFlags()
2680 for (const char *arg = aArgs[3].GetCString(); *arg != '\0'; arg++) in ProcessLinkMetricsMgmt()
[all …]
Dcli_tcp.cpp204 memcpy(mSendBuffer, aArgs[0].GetCString(), mSendLink.mLength); in ProcessSend()
325 command = BinarySearch::Find(aArgs[0].GetCString(), sCommands); in Process()
Dcli_output.cpp339 inputString.Append(isFirst ? "%s" : " %s", aArgs->GetCString()); in LogInput()
Dcli_network_data.cpp714 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
Dcli_history.cpp687 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
/external/openthread/src/core/utils/
Dparse_cmdline.hpp323 const char *GetCString(void) const { return mString; } in GetCString() function in ot::Utils::CmdLineParser::Arg
331 char *GetCString(void) { return mString; } in GetCString() function in ot::Utils::CmdLineParser::Arg
Dparse_cmdline.cpp402 aStrings[i] = aArgs[i].GetCString(); in CopyArgsToStringArray()
/external/skia/platform_tools/debugging/lldb/
Dskia.py36 return '<error: ' + error.GetCString() + '>'