Lines Matching refs:OPT_PREFIXES
47 final String prefix = OPT_PREFIXES [CANONICAL_OPT_PREFIX];
449 for (int p = 0; p < OPT_PREFIXES.length; ++ p)
451 if (av.startsWith (OPT_PREFIXES [p]))
452 return (av.length () > OPT_PREFIXES [p].length ());
467 for (int p = 0; p < OPT_PREFIXES.length; ++ p)
469 if ((av.startsWith (OPT_PREFIXES [p])) && (av.length () > OPT_PREFIXES [p].length ()))
471 final String name = av.substring (OPT_PREFIXES [p].length ()); // with a possible value after a separator
1591 private static final int CANONICAL_OPT_PREFIX = 1; // indexes into OPT_PREFIXES
1592 private static final String [] OPT_PREFIXES = new String [] {"--", "-"}; // HACK: these must appear in decreasing length order