Searched refs:aArgVector (Results 1 – 3 of 3) sorted by relevance
/openthread-2.7.6/examples/platforms/simulation/ |
D | system.c | 93 void otSysInit(int aArgCount, char *aArgVector[]) in otSysInit() argument 115 int c = getopt_long(aArgCount, aArgVector, "hts:", long_options, NULL); in otSysInit() 125 PrintUsage(aArgVector[0], EXIT_FAILURE); in otSysInit() 128 PrintUsage(aArgVector[0], EXIT_SUCCESS); in otSysInit() 148 PrintUsage(aArgVector[0], EXIT_FAILURE); in otSysInit() 151 gNodeId = (uint32_t)strtol(aArgVector[optind], &endptr, 0); in otSysInit() 155 fprintf(stderr, "Invalid NodeId: %s\n", aArgVector[optind]); in otSysInit() 159 openlog(basename(aArgVector[0]), LOG_PID, LOG_USER); in otSysInit()
|
/openthread-2.7.6/src/posix/ |
D | main.c | 198 static void ParseArg(int aArgCount, char *aArgVector[], PosixConfig *aConfig) in ParseArg() argument 213 int option = getopt_long(aArgCount, aArgVector, "B:d:hI:ns:v", kOptions, &index); in ParseArg() 226 PrintUsage(aArgVector[0], stdout, OT_EXIT_SUCCESS); in ParseArg() 269 PrintUsage(aArgVector[0], stderr, OT_EXIT_INVALID_ARGUMENTS); in ParseArg() 281 … aConfig->mPlatformConfig.mRadioUrls[aConfig->mPlatformConfig.mRadioUrlNum++] = aArgVector[optind]; in ParseArg() 286 PrintUsage(aArgVector[0], stderr, OT_EXIT_INVALID_ARGUMENTS); in ParseArg()
|
D | client.cpp | 239 Config ParseArg(int &aArgCount, char **&aArgVector) in ParseArg() argument 245 …for (int index, option; (option = getopt_long(aArgCount, aArgVector, "+I:h", kOptions, &index)) !=… in ParseArg() 253 PrintUsage(aArgVector[0], stdout, OT_EXIT_SUCCESS); in ParseArg() 256 PrintUsage(aArgVector[0], stderr, OT_EXIT_FAILURE); in ParseArg() 262 aArgVector += optind; in ParseArg()
|