Lines Matching refs:result
119 int result = RET_END_OPT_LIST; in getopt() local
129 result = getopt_1char(argc, argv, opstring, arg[1]); in getopt()
132 return result; in getopt()
147 int result = 0; in optmatch() local
149 while ((result == 0) && (*optname != 0) && (*argval != 0)) in optmatch()
150 result = (*argval++) - (*optname++); in optmatch()
151 return result; in optmatch()
162 int result = RET_UNKNOWN_OPT; in getopt_1long() local
198 result = longopts[loptn].val; in getopt_1long()
206 optopt = result; in getopt_1long()
221 *longopts[loptn].flag = result; in getopt_1long()
222 result = 0; in getopt_1long()
227 return result; in getopt_1long()
249 int result = RET_END_OPT_LIST; in getopt_long() local
259 result = getopt_1long(argc, in getopt_long()
265 result = getopt_1char(argc, in getopt_long()
272 return result; in getopt_long()
287 int result = RET_END_OPT_LIST; in getopt_long_only() local
297 result = getopt_1long(argc, in getopt_long_only()
303 result = getopt_1long(argc, in getopt_long_only()
308 if (result == RET_UNKNOWN_OPT) { in getopt_long_only()
309 result = getopt_1char(argc, in getopt_long_only()
317 return result; in getopt_long_only()