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

1234567891011>>

/openjdk9/jdk/src/java.desktop/share/native/libjsound/
H A DUtilities.h37 #define ERROR0(string) { fprintf(stdout, (string)); fflush(stdout); }
38 #define ERROR1(string, p1) { fprintf(stdout, (string), (p1)); fflush(stdout); }
39 #define ERROR2(string, p1, p2) { fprintf(stdout, (string), (p1), (p2)); fflush(stdout); }
40 #define ERROR3(string, p1, p2, p3) { fprintf(stdout, (string), (p1), (p2), (p3)); fflush(stdout); }
41 #define ERROR4(string, p1, p2, p3, p4) { fprintf(stdout, (string), (p
[all...]
/openjdk9/jdk/test/tools/jjs/
H A Dclasspath.js6 if (v.string != 'hello') {
H A Dscripting.js6 Multi line string
13 throw new Error("string interpolation didn't work");
/openjdk9/hotspot/src/share/vm/utilities/
H A DstringUtils.hpp32 // Replace the substring <from> with another string <to>. <to> must be
33 // no longer than <from>. The input string is modified in-place.
39 static int replace_no_expand(char* string, const char* from, const char* to);
/openjdk9/langtools/test/tools/javac/doctree/
H A DSeeTest.java88 void string() { } method in class:SeeTest
/openjdk9/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;
/openjdk9/jdk/src/java.desktop/share/native/libawt/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...]
/openjdk9/jaxp/test/javax/xml/jaxp/libs/org/xml/sax/ptests/
H A DMyAttrCHandler.java37 * FileWriter to write string to output file.
58 String string = "uri <" + uri + "> localName <" + localName +
61 bWriter.write( string, 0, string.length());
65 string = "length: " + length;
67 bWriter.write( string, 0, string.length());
71 string = "For index = " + ind + "\n";
72 string += "getLocalName <" + attributes.getLocalName(ind)
74 string
[all...]
/openjdk9/test/fmw/gtest/include/gtest/internal/
H A Dgtest-string.h45 // string.h is not guaranteed to provide strcpy on C++ Builder.
49 #include <string.h>
50 #include <string>
57 // String - an abstract class holding static string utilities.
62 // Clones a 0-terminated C string, allocating memory using new. The
64 // delete[]. Returns the cloned string, or NULL if the input is
67 // This is different from strdup() in string.h, which allocates
76 // Creates a UTF-16 wide string from the given ANSI string, allocating
78 // value using delete[]. Returns the wide string, o
[all...]
/openjdk9/jdk/src/demo/share/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;
/openjdk9/jdk/src/java.base/share/classes/jdk/internal/jimage/
H A DImageStrings.java38 public int add(final String string); argument
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/utils/
H A DXMLStringFactory.java31 * Create a new XMLString from a Java string.
34 * @param string Java String reference, which must be non-null.
38 public abstract XMLString newstr(String string); argument
44 * @param string FastStringBuffer reference, which must be non-null.
50 public abstract XMLString newstr(FastStringBuffer string, int start, argument
57 * @param string FastStringBuffer reference, which must be non-null.
63 public abstract XMLString newstr(char[] string, int start, argument
67 * Get a cheap representation of an empty string.
H A DXMLStringFactoryDefault.java34 * Create a new XMLString from a Java string.
37 * @param string Java String reference, which must be non-null.
41 public XMLString newstr(String string) argument
43 return new XMLStringDefault(string);
65 * @param string FastStringBuffer reference, which must be non-null.
71 public XMLString newstr(char[] string, int start, int length) argument
73 return new XMLStringDefault(new String(string, start, length));
77 * Get a cheap representation of an empty string.
/openjdk9/jdk/test/com/sun/jdi/
H A DLaunchCommandLine.java81 String string = ((StringReference)argValues.get(0)).value();
82 if (!string.equals("a")) {
83 throw new Exception("Bad command line argument value: " + string);
85 string = ((StringReference)argValues.get(1)).value();
86 if (!string.equals("b")) {
87 throw new Exception("Bad command line argument value: " + string);
89 string = ((StringReference)argValues.get(2)).value();
90 if (!string.equals("c")) {
91 throw new Exception("Bad command line argument value: " + string);
93 string
[all...]
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/nodes/
H A DCStringConstant.java40 * Represents a compile-time constant zero-terminated UTF-8 string installed with the generated
47 private final String string; field in class:CStringConstant
49 public CStringConstant(String string) { argument
51 assert string != null;
52 this.string = string;
57 return string.getBytes(UTF8).length + 1;
62 byte[] bytes = string.getBytes(UTF8);
69 return "c\"" + string + "\"";
72 public static boolean intrinsify(GraphBuilderContext b, @SuppressWarnings("unused") ResolvedJavaMethod targetMethod, String string) { argument
78 cstring(@onstantNodeParameter String string) argument
[all...]
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/
H A DURIUtils.java39 static String encodeURI(final Object self, final String string) { argument
40 return encode(self, string, false);
43 static String encodeURIComponent(final Object self, final String string) { argument
44 return encode(self, string, true);
47 static String decodeURI(final Object self, final String string) { argument
48 return decode(self, string, false);
51 static String decodeURIComponent(final Object self, final String string) { argument
52 return decode(self, string, true);
56 private static String encode(final Object self, final String string, final boolean component) { argument
57 if (string
102 decode(final Object self, final String string, final boolean component) argument
283 error(final String string, final int index) argument
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/tiff/
H A DTIFFLZWUtil.java70 byte[] string;
84 string = stringTable[code];
86 writeString(string);
87 addStringToTable(stringTable[oldCode], string[0]);
90 string = stringTable[oldCode];
91 string = composeString(string, string[0]);
92 writeString(string);
93 addStringToTable(string);
146 writeString(byte string[]) argument
177 addStringToTable(byte string[]) argument
[all...]
/openjdk9/corba/src/java.corba/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 if supplied string has form {@code '<format>:<string>'}, where
72 * {@code <format>} is any non-empty string not containing ':'.
74 public static boolean hasValidForm (String string) argument
76 return string != null && string.indexOf (':') > 0;
/openjdk9/jdk/src/java.instrument/share/native/libinstrument/
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...]
/openjdk9/jdk/src/jdk.jdwp.agent/share/native/libjdwp/
H A Dutf_util.h32 int JNICALL utf8sToUtf8mLength(jbyte *string, int length);
33 void JNICALL utf8sToUtf8m(jbyte *string, int length, jbyte *newString, int newLength);
34 int JNICALL utf8mToUtf8sLength(jbyte *string, int length);
35 void JNICALL utf8mToUtf8s(jbyte *string, int length, jbyte *newString, int newLength);
H A DStringReferenceImpl.c35 jstring string; local
39 string = inStream_readStringRef(env, in);
48 utf = (char *)JNI_FUNC_PTR(env,GetStringUTFChars)(env, string, NULL);
51 JNI_FUNC_PTR(env,ReleaseStringUTFChars)(env, string, utf);
/openjdk9/nashorn/test/script/error/
H A Dheredoc_nse.js25 * Heredoc string should result in error with -nse even with -scripting
33 This is a multiple line string
/openjdk9/jdk/src/java.desktop/macosx/native/libjsound/
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...]
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/except/
H A DCatch_NPE_06.java36 public static int test(String string) { argument
38 return string.hashCode();

Completed in 314 milliseconds

1234567891011>>