Lines Matching refs:place
118 const char* current_argv = context->place;
262 if (context->optreset || !*context->place) { // update scanning pointer
265 context->place = EMSG;
276 if (*(context->place = nargv[context->optind]) != '-' ||
277 context->place[1] == '\0') {
278 context->place = EMSG; // found non-option
304 if (context->place[1] != '\0' && *++(context->place) == '-' &&
305 context->place[1] == '\0') {
307 context->place = EMSG;
323 if (long_options && context->place != nargv[context->optind] &&
324 (*context->place == '-')) {
327 if (*context->place == '-') {
328 context->place++; // --foo long option
330 } else if (*context->place != ':' && strchr(options, *context->place)) {
337 context->place = EMSG;
343 if ((optchar = (int)*(context->place)++) == (int)':' ||
344 (optchar == (int)'-' && *context->place != '\0') ||
349 if (optchar == (int)'-' && *context->place == '\0') return -1;
350 if (!*context->place) context->optind++;
362 if (*context->place) { // no space
365 context->place = EMSG;
372 context->place = nargv[context->optind];
377 context->place = EMSG;
381 if (!*context->place) context->optind++;
384 if (*context->place) { // no white space
385 context->optarg = context->place;
388 context->place = EMSG;
397 context->place = EMSG;