Searched refs:string (Results 276 - 300 of 495) sorted by relevance

<<11121314151617181920

/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXlibWrapper.c34 #include <string.h>
854 unsigned char * string; local
860 &string);
861 if (status != Success || string == NULL) {
866 XFree(string);
871 return JNU_NewStringPlatform(env,(char*) string);
1647 jstring string = NULL; local
1658 string = (*env)->NewStringUTF(env, (const char *)name);
1662 return string;
2059 jstring string local
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DDecimalFormat.java307 * <p><code>NaN</code> is formatted as a string, which typically has a single character
308 * <code>&#92;uFFFD</code>. This string is determined by the
312 * <p>Infinity is formatted as a string, which typically has a single character
314 * applied. The infinity string is determined by the
424 * @param pattern A non-localized pattern string.
450 * @param pattern a non-localized pattern string
469 * Formats a number and appends the resulting text to the given string
510 * Formats a double to produce a string.
517 * @return The formatted number string
529 * Formats a double to produce a string
1181 append(StringBuffer result, String string, FieldDelegate delegate, FieldPosition[] positions, Format.Field signAttribute) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/
H A DGIFImageReader.java411 private void outputPixels(byte[] string, int len) { argument
419 rowBuf[streamX - sourceRegion.x] = string[i];
916 byte[] string = new byte[4096];
975 string[i] = suffix[c];
979 outputPixels(string, len);
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngpriv.h162 # define png_warning_parameter(p,number,string) ((void)0)
443 * (2^31-1) * 100000). 's' is a string that describes the value being
507 /* Check the user version string for compatibility, returns false if the version
1132 /* Puts 'string' into 'buffer' at buffer[pos], taking care never to overwrite
1137 png_const_charp string);
1145 * Returns the pointer to the start of the formatted string. This utility only
1159 * the standard printf(3) format string.
1182 png_const_charp string);
1289 /* NZ_MASK: the string is valid and a non-zero negative value */
1291 /* Z MASK: the string i
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/
H A DAbstractTranslet.java106 // Use one empty string instead of constantly instanciating String("");
246 // The deault message handler dumps a string stdout, but anything can be
284 // The name cannot be null - use empty string instead
301 // The name cannot be null - use empty string instead
627 public final void characters(final String string, argument
630 if (string != null) {
631 //final int length = string.length();
633 handler.characters(string);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultRowSorter.java706 * Returns whether or not to convert the value to a string before
1237 * implementations to provide a custom string
1291 * to return an empty string for null values). Subclasses that
1305 String string = o.toString();
1306 if (string == null) {
1309 return string;
H A DJList.java161 * // Display an icon and a string for each object in the list.
211 * // or height of all of the list cells, so we give it a string
392 * Returns a string representation of this drop location.
394 * and the content and format of the returned string may vary
397 * @return a string representation of this drop location
554 * @return the string "ListUI"
1460 * @param prefix the string to test for a match
1488 String string;
1491 string = ((String)element).toUpperCase();
1494 string
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJDefinedClass.java813 * Places the given string directly inside the generated class.
819 public void direct(String string) { argument
821 directBlock = string;
823 directBlock += string;
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DKeyIndex.java136 * list of tokens for the id() function, but a single string for the
241 final String string = (String)value;
250 final StringTokenizer values = new StringTokenizer(string, " \n\t");
440 * @param keyValue A string or iterator representing the key values or id
461 * @param keyValue A string representing the key values or id
502 * key value or to the <code>id</code> function that has only one string
536 * Represents the DTM nodes retrieved for one key value or one string
564 * or string argument to the <code>id</code> function.
685 * @param keyValue The key value of id string argument value
764 // If at most one key value or at most one string argumen
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A Dgrammar.idl347 (81) <string_type> "string"
348 "string" "<" <positive_int_const> ">"
421 - #define id(id, id, ...) token-string is a macro definition. There can be no space between the first id and the left paren. Since id( must be treated as a token and id( can also appear in op_dcl, see that production for the effect of this token.
/openjdk7/jdk/src/share/classes/java/net/
H A DURI.java59 * their components or by parsing their string forms, methods for accessing the
66 * At the highest level a URI reference (hereinafter simply "URI") in string
147 * <i>defined</i> with a distinct value. Undefined string components are
149 * represented by <tt>-1</tt>. A string component may be defined to have the
150 * empty string as its value; this is not equivalent to that component being
258 * <td>All <i>alphanum</i> characters together with those in the string
261 * <td>The characters in the string <tt>",;:$&+="</tt></td></tr>
263 * <td>All <i>punct</i> characters together with those in the string
366 * <li><p> The {@link #toString() toString} method returns a URI string with
371 * quoted and encoded URI string tha
517 private volatile String string; // The only serializable field field in class:URI
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DLdapLoginModule.java132 * <code><b>ldap_filter</b></code> is an LDAP filter string
141 * <code><b>auth_id</b></code> may be an LDAP distinguished name string
143 * other string name.
152 * <code><b>authz_id</b></code> is any string name.
857 * @return the user's distinguished name or an empty string if none
936 * @param string the target string
937 * @return the modified string
939 private String replaceUsernameToken(Matcher matcher, String string) { argument
940 return matcher != null ? matcher.replaceAll(username) : string;
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DPacketStream.java169 void writeString(String string) { argument
171 byte[] stringBytes = string.getBytes("UTF8");
175 throw new InternalException("Cannot convert string to UTF8 bytes");
384 * Read string represented as four byte length followed by
385 * characters of the string.
H A DVirtualMachineImpl.java740 void printTrace(String string) { argument
741 System.err.println("[JDI: " + string + "]");
744 void printReceiveTrace(int depth, String string) { argument
749 sb.append(string);
/openjdk7/hotspot/src/share/vm/services/
H A DattachListener.cpp159 // string (op->arg(0)). This is parsed by the Dcmd framework.
312 // set a string global flag using value from AttachOperation
316 out->print_cr("flag value must be a string");
462 Handle string = java_lang_String::create_from_str(thread_name, CHECK); local
472 string,
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_InputMethod.c235 * Converts the wchar_t string to a multi-byte string calling wcstombs(). A
236 * buffer is allocated by malloc() to store the multi-byte string. NULL is
237 * returned if the given wchar_t string pointer is NULL or buffer allocation is
503 * Note that XmbLookupString() sometimes produces a non-null-terminated string.
1209 * Use commit string call back if possible.
1282 if (text->string.multi_byte != NULL) {
1284 javastr = JNU_NewStringPlatform(env, (const char *)text->string.multi_byte);
1286 char *mbstr = wcstombsdmp(text->string.wide_char, text->length);
1391 if (text->string
[all...]
/openjdk7/jdk/test/java/lang/String/
H A DExceptions.java78 private static void string() { method in class:Exceptions
609 string(); // String(String original)
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djerror.h22 * defining macro JMESSAGE. To create a message string table, include it
31 #define JMESSAGE(code,string)
39 #define JMESSAGE(code,string) code ,
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DListHelper.java536 String string,
571 //g.drawString(string, x + TEXT_SPACE, y + TEXT_SPACE + ITEM_MARGIN);
576 g.drawString(string, x + TEXT_SPACE, y + (height + fm.getMaxAscent() - fm.getMaxDescent())/2);
534 paintItem(Graphics g, Color[] colors, String string, int x, int y, int width, int height, boolean selected, boolean focused) argument
/openjdk7/hotspot/src/share/vm/prims/
H A Djni.cpp3228 oop string=java_lang_String::create_oop_from_unicode((jchar*) unicodeChars, len, CHECK_NULL); variable
3229 ret = (jstring) JNIHandles::make_local(env, string);
3234 JNI_QUICK_ENTRY(jsize, jni_GetStringLength(JNIEnv *env, jstring string))
3237 DTRACE_PROBE2(hotspot_jni, GetStringLength__entry, env, string);
3240 env, string);
3242 jsize ret = java_lang_String::length(JNIHandles::resolve_non_null(string));
3254 JNIEnv *env, jstring string, jboolean *isCopy))
3257 DTRACE_PROBE3(hotspot_jni, GetStringChars__entry, env, string, isCopy);
3260 env, string, (uintptr_t *) isCopy);
3266 oop s = JNIHandles::resolve_non_null(string);
[all...]
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dunpack.cpp48 #include <string.h>
211 char* string() { return 0; } function in struct:entry
213 char* string(); // see far below
898 IMPLICIT_ENTRY_COUNT = 1 // empty Utf8 string
1005 // Implicit first Utf8 string is the empty string.
1115 if (suffix == 0) continue; // done with empty string
1131 cp_Utf8_big_chars = saved_band; // reset the band for the next string
1140 int prevlen = 0; // previous string length (in chars)
1160 *fillp = 0; // bigbuf must contain a well-formed Utf8 string
[all...]
/openjdk7/hotspot/agent/src/os/bsd/
H A Dsymtab.c28 #include <string.h>
146 // string table index. we make a copy of the string table so the
/openjdk7/hotspot/agent/src/os/linux/
H A Dps_proc.c27 #include <string.h>
219 * splits a string _str_ into substrings with delimiter _delim_ by replacing old * delimiters with _new_delim_ (ideally, '\0'). the address of each substring
222 * NOTE: string _str_ is modified if _delim_!=_new_delim_
245 * fgets without storing '\n' at the end of the string
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalSplitPaneDivider.java384 public void addLayoutComponent(String string, Component c) {} argument
/openjdk7/hotspot/src/share/vm/classfile/
H A DsymbolTable.hpp161 // Only copy to C string to be added if lookup failed.
242 // The string table
268 // The string table
272 assert(_the_table == NULL, "One string table allowed.");
278 assert(_the_table == NULL, "One string table allowed.");
280 "bad shared string size.");
307 static oop intern(oop string, TRAPS);

Completed in 130 milliseconds

<<11121314151617181920