Searched defs:string (Results 1 - 25 of 153) sorted by relevance

1234567

/openjdk7/jdk/src/share/back/
H A DStringReferenceImpl.c35 jstring string; local
39 string = inStream_readStringRef(env, in);
48 utf = (char *)JNI_FUNC_PTR(env,GetStringUTFChars)(env, string, NULL);
50 JNI_FUNC_PTR(env,ReleaseStringUTFChars)(env, string, utf);
/openjdk7/jdk/test/java/beans/EventHandler/
H A DTest6788531.java62 public void run(String string) { argument
63 System.out.println(string);
/openjdk7/jdk/test/java/beans/Statement/
H A DTest6788531.java58 public void run(String string) { argument
59 System.out.println(string);
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A DTest4625418.java371 private void test(String string) { argument
378 encoder.writeObject(string);
387 if (!string.equals(object))
H A DTest6256805.java52 private String string; field in class:Test6256805.CharacterBean
71 return this.string;
74 public void setString( String string ) {
75 this.string = string;
H A DTest8013557.java66 private String string; field in class:Test8013557.Value
69 this.string = "default";
73 this.string = value;
76 public void setString(String string) { argument
77 this.string = string;
81 return this.string;
/openjdk7/jdk/test/java/rmi/server/UnicastRemoteObject/useDynamicProxies/
H A DUseDynamicProxies.java53 public String passString(String string) { argument
54 return string;
103 String string = proxy.passString("test");
104 if (!string.equals("test")) {
105 throw new RuntimeException("returned string not equal");
122 String passString(String string) throws IOException; argument
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DXMLStringFactory.java32 * Create a new XMLString from a Java string.
35 * @param string Java String reference, which must be non-null.
39 public abstract XMLString newstr(String string); argument
45 * @param string FastStringBuffer reference, which must be non-null.
51 public abstract XMLString newstr(FastStringBuffer string, int start, argument
58 * @param string FastStringBuffer reference, which must be non-null.
64 public abstract XMLString newstr(char[] string, int start, argument
68 * Get a cheap representation of an empty string.
H A DXMLStringFactoryDefault.java35 * Create a new XMLString from a Java string.
38 * @param string Java String reference, which must be non-null.
42 public XMLString newstr(String string) argument
44 return new XMLStringDefault(string);
66 * @param string FastStringBuffer reference, which must be non-null.
72 public XMLString newstr(char[] string, int start, int length) argument
74 return new XMLStringDefault(new String(string, start, length));
78 * Get a cheap representation of an empty string.
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/objects/
H A DXMLStringFactoryImpl.java51 * Create a new XMLString from a Java string.
54 * @param string Java String reference, which must be non-null.
58 public XMLString newstr(String string) argument
60 return new XString(string);
82 * @param string FastStringBuffer reference, which must be non-null.
88 public XMLString newstr(char[] string, int start, int length) argument
90 return new XStringForChars(string, start, length);
94 * Get a cheap representation of an empty string.
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DRepositoryID.java69 * Determine is a supplied string meets the minimal format requirement
71 * @return true iff supplied string has form '<format>:<string>', where
72 * <format> is any non-empty string not containing ':'.
74 public static boolean hasValidForm (String string) argument
76 return string != null && string.indexOf (':') > 0;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DStringTable.java63 public void visit(Instance string); argument
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDebugGraphicsInfo.java68 void log(String string) { argument
69 stream.println(string);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDocumentFilter.java92 * @param string the string to insert
98 public void insertString(FilterBypass fb, int offset, String string, argument
100 fb.insertString(offset, string, attr);
159 * @param string the string to insert
165 public abstract void insertString(int offset, String string, argument
176 * @param string Text to insert, null indicates no text to insert
182 public abstract void replace(int offset, int length, String string, argument
/openjdk7/jdk/src/share/classes/java/lang/
H A DCompiler.java99 * Compiles all classes whose name matches the specified string.
101 * @param string
108 * If {@code string} is {@code null}
110 public static native boolean compileClasses(String string); argument
/openjdk7/jdk/src/share/classes/java/text/
H A DCharacterIteratorFieldDelegate.java83 // Add new string
85 AttributedString string = new AttributedString(
88 string.addAttribute(attr, value);
89 attributedStrings.add(string);
104 * @pararm string Result of formatting.
106 public AttributedCharacterIterator getIterator(String string) { argument
108 // assert(size <= string.length());
109 if (string.length() > size) {
111 string.substring(size)));
112 size = string
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DserviceThread.cpp44 Handle string = java_lang_String::create_from_str(name, CHECK); local
54 string,
/openjdk7/jdk/test/java/io/Serializable/oldTests/
H A DArrayTest.java33 String string[] = { "ABC", "DEF", "GHI", "JKL"}; field in class:ArrayTest
86 if (!ArrayOpsTest.verify(string, other.string)) {
/openjdk7/jdk/test/sun/security/util/Resources/
H A DNewResourcesNames.java245 * Rewrites a file using a pattern. The name string should be right after
299 // it's just literal string concatenation.
302 boolean in = true; // inside name string
319 // Maybe string concat? say bytes until clear
327 if (n == '"') { // string concat, in again
332 // string concat
360 * Normalize a string. Rules:
436 private static void err(String string) { argument
437 System.out.println("\u001b[1;37;41m" + string + "\u001b[m");
/openjdk7/jdk/src/share/instrument/
H A DEncodingSupport.c36 modifiedUtf8LengthOfUtf8(char* string, int length) { argument
44 byte = (unsigned char)string[i];
52 if ( (i+1) >= length || (string[i+1] & 0xC0) != 0x80 ) {
59 if ( (i+2) >= length || (string[i+1] & 0xC0) != 0x80
60 || (string[i+2] & 0xC0) != 0x80 ) {
67 if ( (i+3) >= length || (string[i+1] & 0xC0) != 0x80
68 || (string[i+2] & 0xC0) != 0x80
69 || (string[i+3] & 0xC0) != 0x80 ) {
94 convertUtf8ToModifiedUtf8(char *string, int length, char *new_string, int new_length) argument
103 byte1 = (unsigned char)string[
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/
H A DTrace.c35 J2dTraceImpl(int level, jboolean cr, const char *string, ...) argument
64 va_start(args, string);
65 vfprintf(j2dTraceFile, string, args);
/openjdk7/jdk/src/share/demo/jfc/SampleTree/
H A DSampleData.java56 protected String string; field in class:SampleData
65 string = newString;
97 * Sets the string to display for this object.
100 string = newString;
104 * Returnes the string to display for this object.
106 public String string() { method in class:SampleData
107 return string;
112 return string;
/openjdk7/jdk/src/share/classes/sun/misc/
H A DHashing.java229 * Return a 32 bit hash value for the specified string. The algorithm is
232 * @param string String to be hashed.
233 * @return hash value of the string.
235 public static int stringHash32(String string) { argument
236 return Holder.LANG_ACCESS.getStringHash32(string);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xni/
H A DXMLString.java88 * @param string The XMLString to copy.
90 public XMLString(XMLString string) { argument
91 setValues(string);
114 * of the given string structure.
158 * the specified string are equal.
160 * @param s The string to compare.
186 /** Returns a string representation of this object. */
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/
H A DTCOffsets.java104 * Return the full length of the string type: 4 byte length, x bytes for
105 * string + 1 for the null terminator, align it so it ends on a 4-byte
106 * boundary. This method assumes the string starts at a 4-byte boundary
109 public int alignStrLen (String string) argument
111 int len = string.length () + 1;

Completed in 80 milliseconds

1234567