Lines Matching refs:string

102     // The string value we give to boolean variables
306 final private static int findTrailingWhitespace(String string, int pos) {
308 if(string.charAt(i) != WHSP) {
315 final private static void skipWhitespace(String string, int[] pos) {
316 for(int i=pos[0]; i < string.length(); i++) {
317 if(string.charAt(i) != WHSP) {
327 final private static Attribute readNumericOID(String string, int[] pos)
337 skipWhitespace(string, pos);
340 end = string.indexOf(WHSP, begin);
344 + string);
347 value = string.substring(begin, end);
354 final private static Attribute readNextTag(String string, int[] pos)
361 skipWhitespace(string, pos);
368 int trailingSpace = string.indexOf( WHSP, pos[0] );
372 tagName = string.substring( pos[0], string.length() - 1);
374 tagName = string.substring( pos[0], trailingSpace );
377 values = readTag(tagName, string, pos);
397 final private static String[] readTag(String tag, String string, int[] pos)
406 skipWhitespace(string, pos);
409 return readQDescrs(string, pos); // names[0] is NAME
413 return readQDString(string, pos);
421 return readWOID(string, pos);
438 return readOIDs(string, pos);
441 // otherwise it's a schema element with a quoted string value
442 return readQDStrings(string, pos);
445 final private static String[] readQDString(String string, int[] pos)
450 begin = string.indexOf(SINGLE_QUOTE, pos[0]) + 1;
451 end = string.indexOf(SINGLE_QUOTE, begin);
461 string);
465 if (string.charAt(begin - 1) != SINGLE_QUOTE) {
468 string);
472 return new String[] {string.substring(begin, end)};
481 private final static String[] readQDStrings(String string, int[] pos)
484 return readQDescrs(string, pos);
494 final private static String[] readQDescrs(String string, int[] pos)
501 skipWhitespace(string, pos);
503 switch( string.charAt(pos[0]) ) {
505 return readQDescrList(string, pos);
507 return readQDString(string, pos);
510 "string: " + string);
519 final private static String[] readQDescrList(String string, int[] pos)
530 skipWhitespace(string, pos);
532 end = string.indexOf(OID_LIST_END, begin);
536 "mark: " + string);
540 String[] one = readQDString(string, pos);
548 skipWhitespace(string, pos);
561 final private static String[] readWOID(String string, int[] pos)
568 skipWhitespace(string, pos);
570 if (string.charAt(pos[0]) == SINGLE_QUOTE) {
572 return readQDString(string, pos);
578 end = string.indexOf(WHSP, begin);
588 string);
592 return new String[] {string.substring(begin, end)};
599 final private static String[] readOIDs(String string, int[] pos)
606 skipWhitespace(string, pos);
609 if (string.charAt(pos[0]) != OID_LIST_BEGIN) {
610 return readWOID(string, pos);
624 skipWhitespace(string, pos);
626 end = string.indexOf(OID_LIST_END, begin);
627 cur = string.indexOf(OID_SEPARATOR, begin);
631 "mark: " + string);
639 int wsBegin = findTrailingWhitespace(string, cur - 1);
640 oidName = string.substring(begin, wsBegin);
647 skipWhitespace(string, pos);
649 cur = string.indexOf(OID_SEPARATOR, begin);
658 int wsBegin = findTrailingWhitespace(string, end - 1);
659 oidName = string.substring(begin, wsBegin);
766 * string description as defined in RFC 2252.
878 * string description as defined in RFC 2252.
1011 * string description as defined in RFC 2252.
1067 * definition into the string description as defined in RFC 2252.