/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/ |
H A D | SunCommandLineLauncher.java | 129 static boolean hasWhitespace(String string) { argument 130 int length = string.length(); 132 if (Character.isWhitespace(string.charAt(i))) {
|
/openjdk7/jdk/test/java/beans/Introspector/ |
H A D | Test4274639.java | 38 private static String STRING_PROPERTY = "string"; 47 throw new Error("unexpected string property: " + bean.getString()); 49 boolean string = false; 72 string = true; 95 if (!string) 96 throw new Error("string property is not tested"); 103 private String string; field in class:Test4274639.TestBean 107 this.string = "default"; 111 public TestBean(String string) { argument 112 setString(string); 119 setString(String string) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/text/normalizer/ |
H A D | UnicodeSetIterator.java | 54 * processString(set.string); 66 * processString(set.string); 76 * Value of <tt>codepoint</tt> if the iterator points to a string. 78 * <tt>string</tt> for the current iteration result. 85 * the iterator points to a string. 102 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> points 103 * to the current string. If <tt>codepoint != IS_STRING</tt>, the 104 * value of <tt>string</tt> is undefined. 107 public String string; field in class:UnicodeSetIterator 120 * or a string [all...] |
/openjdk7/jdk/test/java/text/Bidi/ |
H A D | BidiSurrogateTest.java | 65 void testRequiresBidi(String string, boolean requiresBidi) { argument 66 char[] text = string.toCharArray(); 68 throw new RuntimeException("testRequiresBidi failed with '" + string + "', " + requiresBidi); 74 testBidi("This is a string with " + LTRS + " in it.", false); 75 testBidi("This is a string with \ud800 in it.", false); 76 testBidi("This is a string with \u0640 in it.", 22, 1); 78 testBidi("This is a string with " + RTLS + RTLS + RTLS + " in it.", 22, 6); 81 void testBidi(String string, boolean directionIsRTL) { argument 82 Bidi bidi = new Bidi(string, Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT); 91 void testBidi(String string, in argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/ |
H A D | Comment.java | 63 public void text (String string) {_text = string; _style = style (_text);} argument 68 /** Returns the comment style of a string. */
|
H A D | PragmaHandler.java | 64 protected SymtabEntry getEntryForName (String string) argument 66 return preprocessor.getEntryForName (string); 69 /** This method returns a string of all of the characters from the input 77 /** This method returns a string of all of the characters from the input 117 and position information with the given message string. */
|
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | Format.java | 55 * any string formatted by its <code>format</code> method. However, there may 145 * Formats an object to produce a string. This is equivalent to 152 * @return Formatted string. 161 * Formats an object and appends the resulting text to a given string 171 * @return the string buffer passed in as <code>toAppendTo</code>, 210 * Parses text from a string to produce an object. 216 * use all characters up to the end of the string), and the parsed 226 * @return An <code>Object</code> parsed from the string. In case of 233 * Parses text from the beginning of the given string to produce an object. 234 * The method may not use the entire text of the given string 310 createAttributedCharacterIterator( String string, AttributedCharacterIterator.Attribute key, Object value) argument [all...] |
/openjdk7/jdk/test/javax/management/modelmbean/ModelMBeanInfoSupport/ |
H A D | GetAllDescriptorsTest.java | 246 Descriptor[] descriptors, String string) { 251 System.out.println("Got " + list.size() + " descriptors for "+string); 300 throw new RuntimeException(string+": failed with "+errCount+ 305 throw new RuntimeException(string+ 307 } else System.out.println(string+": PASSED"); 245 checkDescriptors(ModelMBeanInfo modelMBeanInfo, Descriptor[] descriptors, String string) argument
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | JavaLangAccess.java | 90 int getStringHash32(String string); argument
|
/openjdk7/jdk/src/share/sample/nio/chatserver/ |
H A D | Client.java | 133 * @param string the message 135 public void writeStringMessage(String string) { argument 136 writeMessage(ByteBuffer.wrap(string.getBytes()));
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalSplitPaneDivider.java | 384 public void addLayoutComponent(String string, Component c) {} argument
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | NumberFormatter.java | 74 * <code>new Integer(((Number)formatter.parseObject(string)).intValue())</code>. 347 String string, AttributeSet attr) throws BadLocationException { 348 if (!getAllowsInvalid() && length == 0 && string != null && 349 string.length() == 1 && 350 toggleSignIfNecessary(fb, offset, string.charAt(0))) { 353 super.replace(fb, offset, length, string, attr); 381 String string = valueToString(newValue); 384 fb.insertString(0, string, null); 407 String string = value.toString(); 409 if (string ! 346 replace(DocumentFilter.FilterBypass fb, int offset, int length, String string, AttributeSet attr) argument [all...] |
H A D | StringContent.java | 88 * Inserts a string into the content. 91 * @param str the non-null string to insert 136 * @return a string representing the content; may be empty 405 string = getString(offset, length); 417 insertString(offset, string); 418 string = null; 430 // Where the string goes. 432 // Length of the string. 434 // The string that was inserted. To cut down on space needed this 436 protected String string; field in class:StringContent.InsertUndo 447 RemoveUndo(int offset, String string) argument 493 protected String string; field in class:StringContent.RemoveUndo [all...] |
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | concurrentGCThread.cpp | 185 Handle string = java_lang_String::create_from_str(thread_name, CHECK_NULL); local 195 string,
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/ |
H A D | Util.java | 46 public static ObjectName newObjectName(String string) { argument 48 return new ObjectName(string); 140 /** Match a part of a string against a shell-style pattern. 143 and <code>*</code>, standing for any string of 144 characters, including the empty string. For instance, 148 @param str the string containing the sequence to match. 149 @param pat a string containing a pattern to match the sub string 151 @param stri the index in the string at which matching should begin. 152 @param strend the index in the string a [all...] |
/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm/ |
H A D | vm_version_solaris_sparc.cpp | 44 static void do_sysinfo(int si, const char* string, int* features, int mask) { argument 57 // Compare the string. 58 if (strcmp(buf, string) == 0) { 183 char *ptr; /* NULL-term string */
|
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | whitebox.cpp | 169 oop string = object->obj_field(offset); local 170 if (string == NULL) { 173 const char* ret = java_lang_String::as_utf8_string(string);
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | hashtable.cpp | 39 // and string tables. 103 template <class T, MEMFLAGS F> unsigned int Hashtable<T, F>::new_hash(oop string) { argument 106 jchar* chars = java_lang_String::as_unicode_string(string, length); 107 // Use alternate hashing algorithm on the string 127 T string = p->literal(); local 129 unsigned int hashValue = new_hash(string);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ |
H A D | HeaderTokenizer.java | 64 * Token type indicating a quoted string. The value 65 * field contains the string without the quotes. 71 * contains the comment string without the comment 113 * token is a quoted string, this field contains the body of the 114 * string, without the quotes. When the current token is a comment, 124 private String string; // the string to be tokenized field in class:HeaderTokenizer 126 private String delimiters; // delimiter string 128 private int maxPos; // string length 158 string [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ |
H A D | HeaderTokenizer.java | 59 * Token type indicating a quoted string. The value 60 * field contains the string without the quotes. 66 * contains the comment string without the comment 108 * token is a quoted string, this field contains the body of the 109 * string, without the quotes. When the current token is a comment, 119 private String string; // the string to be tokenized field in class:HeaderTokenizer 121 private String delimiters; // delimiter string 123 private int maxPos; // string length 153 string [all...] |
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | bytes.cpp | 29 #include <string.h> 119 const char* bytes::string() { function in class:bytes
|
/openjdk7/jdk/src/share/classes/sun/tools/java/ |
H A D | BinaryConstantPool.java | 112 * get a string 235 * Find the index of an ascii string in the constant pool. If it's not in 238 public int indexString(String string, Environment env) { argument 241 Integer result = (Integer)indexHashAscii.get(string); 245 MoreStuff.addElement(string); 246 indexHashAscii.put(string, result); 321 String string = (String)(MoreStuff.elementAt(i - cpool.length)); 323 out.writeUTF(string);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/ |
H A D | X11FontMetrics.java | 173 * Return the width of the specified string in this Font. 175 public int stringWidth(String string) { argument 176 return charsWidth(string.toCharArray(), 0, string.length());
|
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/ui/ |
H A D | CommonUI.java | 326 String string = ""; 334 string = string + strings[i]; 335 string = string + separator; 338 return string; 346 public static String[] stringArrayFromString(String string, String delim) argument 350 st = new StringTokenizer(string); 352 st = new StringTokenizer(string, delim); 361 public static String[] stringArrayFromString(String string) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/invoke/anon/ |
H A D | ConstantPoolPatch.java | 295 * a new string. 299 * @param utf8 a string 320 * @param value a boxed int, float, long or double; or a string or class object 348 * @param value a boxed number, string, or class object 363 // the JVM accepts any object as a patch for a string 469 static String[] stripSemis(int count, String string) { argument 473 int pos2 = string.indexOf(';', pos); 474 if (pos2 < 0) pos2 = string.length(); // yuck 475 res[i] = string.substring(pos, pos2); 478 res[count] = string [all...] |