Searched refs:string (Results 1 - 25 of 495) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/native/com/sun/media/sound/
H A DUtilities.h36 #define ERROR0(string) { fprintf(stdout, (string)); fflush(stdout); }
37 #define ERROR1(string, p1) { fprintf(stdout, (string), (p1)); fflush(stdout); }
38 #define ERROR2(string, p1, p2) { fprintf(stdout, (string), (p1), (p2)); fflush(stdout); }
39 #define ERROR3(string, p1, p2, p3) { fprintf(stdout, (string), (p1), (p2), (p3)); fflush(stdout); }
40 #define ERROR4(string, p1, p2, p3, p4) { fprintf(stdout, (string), (p
[all...]
/openjdk7/jdk/test/com/sun/corba/cachedSocket/
H A DHello.idl28 string sayHello();
/openjdk7/jdk/test/java/beans/XMLEncoder/
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;
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;
/openjdk7/jdk/src/share/native/sun/java2d/
H A DTrace.h54 J2dTraceImpl(int level, jboolean cr, const char *string, ...);
59 #define J2dTrace(level, string)
60 #define J2dTrace1(level, string, arg1)
61 #define J2dTrace2(level, string, arg1, arg2)
62 #define J2dTrace3(level, string, arg1, arg2, arg3)
63 #define J2dTrace4(level, string, arg1, arg2, arg3, arg4)
64 #define J2dTrace5(level, string, arg1, arg2, arg3, arg4, arg5)
65 #define J2dTrace6(level, string, arg1, arg2, arg3, arg4, arg5, arg6)
66 #define J2dTrace7(level, string, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
67 #define J2dTrace8(level, string, arg
[all...]
/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/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/jdk/test/com/sun/jdi/
H A DLaunchCommandLine.java82 String string = ((StringReference)argValues.get(0)).value();
83 if (!string.equals("a")) {
84 throw new Exception("Bad command line argument value: " + string);
86 string = ((StringReference)argValues.get(1)).value();
87 if (!string.equals("b")) {
88 throw new Exception("Bad command line argument value: " + string);
90 string = ((StringReference)argValues.get(2)).value();
91 if (!string.equals("c")) {
92 throw new Exception("Bad command line argument value: " + string);
94 string
[all...]
/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;
H A Dfollow.set60 <export> typedef, struct, union, enum, const, exception, readonly, attribute, oneway, float, double, long, short, unsigned, char, boolean, octet, any, string, id, ::, void, state, }
62 <state_def> typedef, struct, union, enum, const, exception, readonly, attribute, oneway, float, double, long, short, unsigned, char, boolean, octet, any, string, id, ::, void, state, }
66 <state_member> private, protected, public, float, double, long, short, unsigned, char, boolean, octet, any, sequence, string, id, ::, struct, union, enum, }
68 <state_modifier> float, double, long, short, unsigned, char, boolean, octet, any, sequence, string, id, ::, struct, union, enum
114 <literal> *, /, %, +, -, >>, <<, &, ^, |, ;, ), >, ], : (and , for string literal in <context_expr>)
162 <member> float, double, long, short, unsigned, char, boolean, octet, any, sequence, string, id, ::, struct, union, enum, }
174 <case'> float, double, long, short, unsigned, char, boolean, octet, any, sequence, string, id, ::, struct, union, enum
176 <case_label> case, default, float, double, long, short, unsigned, char, boolean, octet, any, sequence, string, id, ::, struct, union, enum
210 <op_attribute> float, double, long, short, unsigned, char, boolean, octet, any, string, id, ::, void
222 <param_attribute> float, double, long, short, unsigned, char, boolean, octet, any, string, i
[all...]
H A DScanner.java100 private boolean wildcardAtEitherEnd (String string) argument
102 return string.startsWith ("*") ||
103 string.startsWith ("+") ||
104 string.startsWith (".") ||
105 string.endsWith ("*") ||
106 string.endsWith ("+") ||
107 string.endsWith (".");
113 private boolean wildcardsInside (String string) argument
115 return string.indexOf ("*") > 0 ||
116 string
429 scanString(String string) argument
709 matchesClosedWildKeyword(String string) argument
769 matchesOpenWildcard(String string) argument
863 blankOutMatch(String string, int start, int length) argument
874 getIdentifier(String string) argument
949 getFraction(String string) argument
965 getExponent(String string) argument
1026 getHexNumber(String string) argument
1332 appendToString(String string, boolean allowQuote, boolean allowCharLit, boolean allowComment) argument
[all...]
/openjdk7/corba/src/share/classes/org/omg/PortableServer/
H A Dcorba.idl32 typedef string Identifier;
33 typedef string RepositoryId;
/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/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/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_Utils.h40 #define OS_ERROR0(err, string) { ERROR0(string); OS_ERROR_END(err); }
41 #define OS_ERROR1(err, string, p1) { ERROR1(string, p1); OS_ERROR_END(err); }
42 #define OS_ERROR2(err, string, p1, p2) { ERROR2(string, p1, p2); OS_ERROR_END(err); }
43 #define OS_ERROR3(err, string, p1, p2, p3) { ERROR3(string, p1, p2, p3); OS_ERROR_END(err); }
44 #define OS_ERROR4(err, string, p1, p2, p3, p4) { ERROR4(string, p
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/dynamicany/
H A DDynFixedImpl.java81 // The val string must contain a fixed string constant in the same format
113 String string = val.trim();
114 if (string.length() == 0)
118 if (string.charAt(0) == '-') {
120 string = string.substring(1);
121 } else if (string.charAt(0) == '+') {
123 string = 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/corba/se/spi/activation/
H A Dactivation.idl33 const string IIOP_CLEAR_TEXT = "IIOP_CLEAR_TEXT";
37 typedef string ORBid;
39 typedef sequence<string> POAName ;
108 string reason;
123 string endpointType;
201 string hostname;
208 string hostname;
217 in string endPoint)
229 TCPPort getEndpoint(in string endPointType)
236 in string endPointTyp
[all...]
/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 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/hotspot/test/runtime/7107135/
H A Dtest.c26 #include <string.h>
/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/org/omg/PortableInterceptor/
H A DCORBAX.idl43 typedef sequence <string> StringSeq;
52 typedef string RepositoryId;
/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...]

Completed in 124 milliseconds

1234567891011>>