/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/ |
H A D | TTY.java | 335 * Look up the command string in commandList. 817 private static boolean hasWhitespace(String string) { argument 818 int length = string.length(); 820 if (Character.isWhitespace(string.charAt(i))) { 827 private static String addArgument(String string, String argument) { argument 830 StringBuffer buffer = new StringBuffer(string); 842 return string + argument + ' '; 932 * specification string based on this decision. 959 * specification string based on this decision.
|
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/ |
H A D | PacketStream.java | 169 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.
|
/openjdk7/jdk/src/share/back/ |
H A D | VirtualMachineImpl.c | 658 jstring string; local 660 string = JNI_FUNC_PTR(env,NewStringUTF)(env, cstring); 664 (void)outStream_writeObjectRef(env, out, string); 765 countPaths(char *string) { argument 767 char *pos = string; 782 writePaths(PacketOutputStream *out, char *string) { argument 789 buf = jvmtiAllocate((int)strlen(string)+1); 791 npaths = countPaths(string); 799 pos = string;
|
H A D | outStream.c | 298 outStream_writeString(PacketOutputStream *stream, char *string) argument 305 length = (int)strlen(string); 307 error = writeBytes(stream, (jbyte *)string, length); 311 length = (int)strlen(string); 313 (gdata->npt->utf, (jbyte*)string, length); 316 error = writeBytes(stream, (jbyte *)string, length); 322 (gdata->npt->utf, (jbyte*)string, length,
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/ |
H A D | JDefinedClass.java | 813 * Places the given string directly inside the generated class. 819 public void direct(String string) { argument 821 directBlock = string; 823 directBlock += string;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/name/ |
H A D | NameImpl.java | 242 * @return a string for the local name. 253 * @return the prefix as a string. 262 * @return the uri as a string. 395 public static NameImpl createSOAP11Name(String string) { argument 396 return new SOAP1_1Name(string, null); 398 public static NameImpl createSOAP12Name(String string) { argument 399 return new SOAP1_2Name(string, null);
|
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngerror.c | 121 * erroneously as '\0', instead of the empty string "". This was 139 png_const_charp string) 143 if (string != NULL) 144 while (*string != '\0' && pos < bufsize-1) 145 buffer[pos++] = *string++; 156 * Returns the pointer to the start of the formatted string. 267 * PNG_WARNING_PARAMETER_COUNT parameters. In the format string the parameter 273 png_const_charp string) 276 (void)png_safecat(p[number-1], (sizeof p[number-1]), 0, string); 363 * above where there is a lone '@' at the end of the message string 138 png_safecat(png_charp buffer, size_t bufsize, size_t pos, png_const_charp string) argument 272 png_warning_parameter(png_warning_parameters p, int number, png_const_charp string) argument [all...] |
/openjdk7/jdk/test/javax/management/mxbean/ |
H A D | MXBeanTest.java | 391 failure(mname + " got " + string(got) + 392 ", should be " + string(refValue)); 406 mname + " got " + string(opped) + 407 ", should be " + string(refValue) 467 mname + "(" + string(setValue) + 468 ") does not match ref: " + string(refValue); 479 mname + "(" + string(arg1) + ", " + string(arg2) + 485 mname + "(" + string(arg1) + ", " + string(arg 674 static String string(Object o) { method in class:MXBeanTest [all...] |
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | FindDecoderBugs.java | 54 static String string(byte[] a) { method in class:FindDecoderBugs 63 static String string(char[] a) { method in class:FindDecoderBugs 156 string(ia), ipos, ia.length, 157 cr, string(oa), oa.length, limit, 310 System.out.printf("Testing prefix %s%n", string(prefix));
|
H A D | FindEncoderBugs.java | 54 static String string(byte[] a) { method in class:FindEncoderBugs 63 static String string(char[] a) { method in class:FindEncoderBugs 163 string(ia), ipos, ia.length, 164 cr, string(oa), oa.length, limit, 445 System.out.printf("Testing prefix %s%n", string(prefix));
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/ |
H A D | Op.java | 231 String string; field in class:Op.StringOp 234 this.string = literal; 237 return this.string;
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/ |
H A D | ToHTMLStream.java | 1038 // be more efficient than one to string-write... 1066 * @return should be a two character string. 1099 * Write the specified <var>string</var> after substituting non ASCII characters, 1102 * @param string String to convert to XML format. 1109 final java.io.Writer writer, String string, boolean doURLEscaping) 1125 // function should not change the string value. 1127 final int end = string.length(); 1132 string.getChars(0,end, m_attrBuff, 0); 1321 // if the whole string can be written out as-is do so 1325 writer.write(string); 1108 writeAttrURI( final java.io.Writer writer, String string, boolean doURLEscaping) argument 1346 writeAttrString( final java.io.Writer writer, String string, String encoding) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | IDLJavaSerializationOutputStream.java | 416 // This string might contain sign and/or dot 420 // The string may contain a sign and dot 421 private void write_fixed(String string, int signum) { argument 423 int stringLength = string.length(); 430 // First calculate the string length without optional sign and dot. 433 ch = string.charAt(i); 440 ch = string.charAt(i); 646 // Pads the string representation of bigDecimal with zeros to fit the given 650 String string = bigDecimal.toString(); 656 if (string [all...] |
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/ |
H A D | Preprocessor.java | 718 String string = token.name; 750 String string = token.name; 789 String string = token.name; 796 else if (!RepositoryID.hasValidForm (string)) // <d57110> 798 ParseException.badRepIDForm (scanner, string); 802 entry.repositoryID (new RepositoryID (string)); 814 String string = token.name; 816 ((IDLID)parser.repIDStack.peek ()).prefix (string); 843 String string = token.name; 846 ((IDLID)entry.repositoryID ()).version (string); 892 getEntryForName(String string) argument 1190 replaceAll(String string, String from, String to) argument 1212 embedded(String string, int index, int endIndex) argument 1231 inQuotes(String string, int index) argument 1244 removeDoublePound(String string) argument [all...] |
H A D | Scanner.java | 100 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/jdk/src/share/classes/javax/swing/text/ |
H A D | ParagraphView.java | 535 * <code>string</code>, starting at offset <code>start</code>. If 538 * @param string the string of characters 542 protected int findOffsetToCharactersInString(char[] string, argument 544 int stringLength = string.length; 557 if(currentChar == string[subCounter])
|
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | symbolTable.cpp | 223 // Otherwise, add to symbol to table. Copy to a C string first. 640 oop StringTable::basic_add(int index_arg, Handle string, jchar* name, argument 643 assert(java_lang_String::equals(string(), name, len), 644 "string must be properly initialized"); 669 HashtableEntry<oop, mtSymbol>* entry = new_entry(hashValue, string()); 671 return string(); 698 Handle string; local 699 // try to reuse the string if possible 701 string = string_or_null; 703 string 720 Handle string; local 726 intern(oop string, TRAPS) argument 744 Handle string; local [all...] |
H A D | vmSymbols.cpp | 53 #define VM_SYMBOL_ENUM_NAME_BODY(name, string) #name "\0" 58 const char* string = &vm_symbol_enum_names[0]; local 61 size_t skiplen = strlen(string); 63 string += skiplen+1; 65 return string; 71 #define VM_SYMBOL_BODY(name, string) string "\0" 80 const char* string = &vm_symbol_bodies[0]; local 82 Symbol* sym = SymbolTable::new_permanent_symbol(string, CHECK); 84 string 162 const char* string = &vm_symbol_bodies[0]; local 338 char* string = (char*) &vm_intrinsic_name_bodies[0]; local [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | XPStyle.java | 275 Border border = borderMap.get(skin.string); 302 borderMap.put(skin.string, border); 478 private final String string; field in class:XPStyle.Skin 498 string = str; 536 return string; 540 return (obj instanceof Skin && ((Skin)obj).string.equals(string)); 544 return string.hashCode();
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/ |
H A D | LdapSchemaParser.java | 102 // The string value we give to boolean variables 306 final private static int findTrailingWhitespace(String string, int pos) { argument 308 if(string.charAt(i) != WHSP) { 315 final private static void skipWhitespace(String string, int[] pos) { argument 316 for(int i=pos[0]; i < string.length(); i++) { 317 if(string.charAt(i) != WHSP) { 327 final private static Attribute readNumericOID(String string, int[] pos) argument 337 skipWhitespace(string, pos); 340 end = string.indexOf(WHSP, begin); 344 + string); 354 readNextTag(String string, int[] pos) argument 397 readTag(String tag, String string, int[] pos) argument 445 readQDString(String string, int[] pos) argument 481 readQDStrings(String string, int[] pos) argument 494 readQDescrs(String string, int[] pos) argument 519 readQDescrList(String string, int[] pos) argument 561 readWOID(String string, int[] pos) argument 599 readOIDs(String string, int[] pos) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/ |
H A D | GIFImageReader.java | 411 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/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ |
H A D | MimeUtility.java | 70 * byte[] bytes = string.getBytes("iso-8859-1"); 388 * The given Unicode string is examined for non US-ASCII 389 * characters. If the string contains only US-ASCII characters, 390 * it is returned as-is. If the string contains non US-ASCII 394 * string containing only ASCII characters. <p> 416 * @param text unicode string 417 * @return Unicode string containing only US-ASCII characters 429 * The given Unicode string is examined for non US-ASCII 430 * characters. If the string contains only US-ASCII characters, 431 * it is returned as-is. If the string contain 616 encodeWord(String string, String charset, String encoding, boolean encodingWord) argument 663 doEncode(String string, boolean b64, String jcharset, int avail, String prefix, boolean first, boolean encodingWord, StringBuffer buf) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_TextArea.cpp | 112 WCHAR *string = new WCHAR[length]; local 113 env->GetStringRegion(jStr, 0, static_cast<jsize>(length - 1), reinterpret_cast<jchar*>(string)); 114 string[length-1] = '\0'; 116 if (string[i] == L'\n') { 120 delete[] string; 683 JNI_CHECK_NULL_GOTO(text, "null string", done);
|
/openjdk7/langtools/test/tools/javac/Diagnostics/6769027/ |
H A D | T6769027.java | 119 String spaces = (outKind == OutputKind.BASIC) ? indent.string : ""; 171 nonRawOutput.replace("X", summaryIndent.string).replace("Y", detailsIndent.string).replace("K", ""); 177 nonRawOutput.replace("X", summaryIndent.string).replace("Y", detailsIndent.string).replace("K", indent); 219 summaryIndent.string + detailsIndent.string : 220 summaryIndent.string; 221 constIndent += multiIndent.string; 303 String string; field in class:T6769027.IndentKind [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | ListHelper.java | 536 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
|