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

/opengrok/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.java520 * @param str the string to truncate
526 private static String truncate(String str, int length) { argument
527 if (str.length() < length) {
532 ? str.substring(0, length)
533 : (str.substring(0, length - suffix.length()) + suffix);
/opengrok/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/src/org/opensolaris/opengrok/util/
H A DStringUtils.java42 * @param str the string to be checked
45 public static boolean isOnlyWhitespace(String str) { argument
46 for (int i = 0; i < str.length(); i++) {
47 if (!Character.isWhitespace(str.charAt(i))) {
/opengrok/src/org/opensolaris/opengrok/analysis/plain/
H A DPlainAnalyzerFactory.java70 private boolean isPlainText(String str) {
71 for (int i = 0; i < str.length(); i++) {
72 char b = str.charAt(i);
/opengrok/src/org/opensolaris/opengrok/analysis/
H A DJFlexTokenizer.java99 protected void setAttribs(String str, int start, int end) { argument
105 this.termAtt.append(str);
/opengrok/src/org/opensolaris/opengrok/search/context/
H A DHistoryLineTokenizer.lex84 public void reInit(String str) {
85 yyreset(new StringReader(str));
H A DHistoryContext.java230 * @param str the string to print
234 private void printHTML(Appendable out, String str, boolean flatten) argument
236 for (int i = 0; i < str.length(); i++) {
237 char ch = str.charAt(i);
/opengrok/src/org/opensolaris/opengrok/index/
H A DFilter.java180 for (String str : components) {
181 if (str.length() > 0) {
183 regex.append(Pattern.quote(str));
184 pos += str.length();
/opengrok/src/org/opensolaris/opengrok/analysis/executables/
H A DJavaClassAnalyzer.java402 String str;
411 str = Utility.compactClassName(((ConstantUtf8) con).getBytes(), false);
418 str = ((ConstantUtf8) con2).getBytes();
422 str = ((ConstantUtf8) c).toString();
425 str = ((ConstantDouble) c).toString();
428 str = ((ConstantFloat) c).toString();
431 str = ((ConstantLong) c).toString();
434 str = ((ConstantInteger) c).toString();
444 str = Utility.methodSignatureToString(sig,
447 str
[all...]
/opengrok/test/org/opensolaris/opengrok/history/
H A DMercurialRepositoryTest.java239 String str = "";
242 str += new String(buffer, 0, len);
244 assertNotSame(str.length(), 0);
245 assertEquals(exp_str, str);
286 String str = new String(buffer, 0, len);
287 assert (str.compareTo(exp_str) == 0);
/opengrok/web/js/
H A Ddiff.js181 $errors.error = function(str) {
182 var $span = $("<p class='error'>" + str + "</p>")
193 $progress.progress = function(str) {
194 var $span = $("<p>" + str + "</p>")
/opengrok/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/src/org/opensolaris/opengrok/web/
H A DUtil.java1096 String str = (cell == null) ? "null" : cell.toString();
1097 htmlize(str, buf);
1098 out.append(str);
1129 * @param str the string to be represented by the literal
1132 public static String jsStringLiteral(String str) { argument
1135 for (int i = 0; i < str.length(); i++) {
1136 char c = str.charAt(i);
/opengrok/test/org/opensolaris/opengrok/analysis/
H A DJFlexXrefTest.java450 for (String str : Arrays.asList("#define STR \"abc\n",
453 StringReader in = new StringReader(str);
/opengrok/lib/
H A Dbcel-6.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 40 milliseconds