Home
last modified time | relevance | path

Searched refs:GetPath (Results 1 – 7 of 7) sorted by relevance

/openthread-latest/tests/unit/
Dtest_url.cpp44 VerifyOrQuit(!strcmp(args.GetPath(), "/dev/ttyUSB0")); in TestSimple()
60 VerifyOrQuit(!strcmp(args.GetPath(), "/dev/ttyUSB0")); in TestSimpleNoQueryString()
75 VerifyOrQuit(!strcmp(args.GetPath(), "/dev/ttyUSB0")); in TestEmptyValue()
92 VerifyOrQuit(!strcmp(args.GetPath(), "/dev/ttyUSB0")); in TestMultipleProtocols()
105 VerifyOrQuit(!strcmp(args.GetPath(), "/path/to/ot-rcp")); in TestMultipleProtocolsAndDuplicateParameters()
135 VerifyOrQuit(!strcmp(args.GetPath(), "/dev/ttyUSB0")); in TestIntValue()
156 VerifyOrQuit(!strcmp(args.GetPath(), "/dev/ttyUSB0")); in TestIntValue()
175 VerifyOrQuit(!strcmp(args.GetPath(), "/dev/ttyUSB0")); in TestIntValue()
208 VerifyOrQuit(!strcmp(args.GetPath(), "/dev/ttyUSB0")); in TestUintValue()
227 VerifyOrQuit(!strcmp(args.GetPath(), "/dev/ttyUSB0")); in TestUintValue()
[all …]
/openthread-latest/src/lib/url/
Durl.hpp74 const char *GetPath(void) const { return mPath; } in GetPath() function in ot::Url::Url
/openthread-latest/src/posix/platform/
Dhdlc_interface.cpp153 VerifyOrDie(stat(mRadioUrl.GetPath(), &st) == 0, OT_EXIT_ERROR_ERRNO); in Init()
169 LogCrit("Radio file '%s' not supported", mRadioUrl.GetPath()); in Init()
455 fd = open(aRadioUrl.GetPath(), O_RDWR | O_NOCTTY | O_NONBLOCK | O_CLOEXEC); in OpenFile()
683 argv[index++] = const_cast<char *>(aRadioUrl.GetPath()); in ForkPty()
Dspinel_manager.cpp68 VerifyOrDie(mUrl.GetPath() != nullptr, OT_EXIT_INVALID_ARGUMENTS); in Init()
Dtrel.cpp647 otSysTrelInit(url.GetPath()); in platformTrelInit()
Dspi_interface.cpp164 InitSpiDev(mRadioUrl.GetPath(), spiMode, spiSpeed); in Init()
Dradio.cpp85 VerifyOrDie(mRadioUrl.GetPath() != nullptr, OT_EXIT_INVALID_ARGUMENTS); in Init()