Searched defs:string (Results 26 - 50 of 153) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DSunCommandLineLauncher.java129 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 DTest4274639.java38 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 DUnicodeSetIterator.java54 * 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 DBidiSurrogateTest.java65 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 DComment.java63 public void text (String string) {_text = string; _style = style (_text);} argument
68 /** Returns the comment style of a string. */
H A DPragmaHandler.java64 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 DFormat.java55 * 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 DGetAllDescriptorsTest.java246 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 DJavaLangAccess.java90 int getStringHash32(String string); argument
/openjdk7/jdk/src/share/sample/nio/chatserver/
H A DClient.java133 * @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 DMetalSplitPaneDivider.java384 public void addLayoutComponent(String string, Component c) {} argument
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DNumberFormatter.java74 * <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 DStringContent.java88 * 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 DconcurrentGCThread.cpp185 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 DUtil.java46 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 Dvm_version_solaris_sparc.cpp44 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 Dwhitebox.cpp169 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 Dhashtable.cpp39 // 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 DHeaderTokenizer.java64 * 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 DHeaderTokenizer.java59 * 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 Dbytes.cpp29 #include <string.h>
119 const char* bytes::string() { function in class:bytes
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DBinaryConstantPool.java112 * 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 DX11FontMetrics.java173 * 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 DCommonUI.java326 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 DConstantPoolPatch.java295 * 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...]

Completed in 93 milliseconds

1234567