Searched refs:str (Results 1 - 13 of 13) sorted by relevance

/opengrok-sun/src/org/opensolaris/opengrok/util/
H A DStringUtils.java38 * @param str the string to be checked
41 public static boolean isOnlyWhitespace(String str) { argument
42 for (int i = 0; i < str.length(); i++) {
43 if (!Character.isWhitespace(str.charAt(i))) {
/opengrok-sun/src/org/opensolaris/opengrok/history/
H A DHistoryReader.java58 StringBuilder str = new StringBuilder();
60 str.append(entry.getLine());
62 return new StringReader(str.toString());
H A DJDBCHistoryCache.java500 * @param str the string to truncate
506 private static String truncate(String str, int length) { argument
507 if (str.length() < length) {
512 str.substring(0, length) :
513 (str.substring(0, length - suffix.length()) + suffix);
/opengrok-sun/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DTokenMgrError.java40 protected static final String addEscapes(String str) { argument
43 for (int i = 0; i < str.length(); i++) {
44 switch (str.charAt(i))
73 if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {
H A DParseException.java147 protected String add_escapes(String str) { argument
150 for (int i = 0; i < str.length(); i++) {
151 switch (str.charAt(i))
180 if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {
/opengrok-sun/src/org/opensolaris/opengrok/analysis/plain/
H A DPlainAnalyzerFactory.java68 private boolean isPlainText(String str) {
69 for (int i = 0; i < str.length(); i++) {
70 char b = str.charAt(i);
/opengrok-sun/src/org/opensolaris/opengrok/index/
H A DFilter.java189 for (String str : components) {
190 if (str.length() > 0) {
192 regex.append(Pattern.quote(str));
193 pos += str.length();
/opengrok-sun/src/org/opensolaris/opengrok/search/context/
H A DHistoryLineTokenizer.lex85 public void reInit(String str) {
86 yyreset(new StringReader(str));
H A DHistoryContext.java224 * @param str the string to print
228 private void printHTML(Appendable out, String str, boolean flatten) argument
230 for (int i = 0; i < str.length(); i++) {
231 char ch = str.charAt(i);
/opengrok-sun/src/org/opensolaris/opengrok/analysis/
H A DJFlexTokenizer.java107 protected void setAttribs(String str, int start, int end) { argument
113 this.termAtt.append(str);
/opengrok-sun/src/org/opensolaris/opengrok/analysis/executables/
H A DJavaClassAnalyzer.java321 String str;
330 str = Utility.compactClassName(((ConstantUtf8) con).getBytes(), false);
337 str = ((ConstantUtf8) con2).getBytes();
341 str = ((ConstantUtf8) c).toString();
344 str = ((ConstantDouble) c).toString();
347 str = ((ConstantFloat) c).toString();
350 str = ((ConstantLong) c).toString();
353 str = ((ConstantInteger) c).toString();
363 str = Utility.methodSignatureToString(sig, constantToString(cp.getConstant(i)), " ");
365 str
[all...]
/opengrok-sun/test/org/opensolaris/opengrok/web/
H A DDirectoryListingTest.java245 String str = out.toString();
246 System.out.println(str);
247 Document document = builder.parse(new ByteArrayInputStream(str.getBytes()));
/opengrok-sun/lib/
H A Dbcel-5.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 1403 milliseconds