/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/ |
H A D | JavaObject.java | 69 ReadBuffer buf = snapshot.getReadBuffer(); 73 length = buf.getInt(lenOffset); 225 ReadBuffer buf = cl.getReadBuffer(); 227 int length = buf.getInt(offset); 232 buf.get(offset + 4, res);
|
/openjdk7/jdk/src/solaris/native/java/lang/ |
H A D | java_props_macosx.c | 272 char buf[16]; /* Used for %d of an int - 16 is plenty */ local 331 snprintf(buf, sizeof(buf), "%d", protocol##Port); \ 332 sProps->protocol##Port = malloc(strlen(buf) + 1); \ 333 strcpy(sProps->protocol##Port, buf); \
|
/openjdk7/jdk/test/java/lang/invoke/ |
H A D | InvokeDynamicPrintArgs.java | 101 private static ByteArrayOutputStream buf; field in class:InvokeDynamicPrintArgs 104 buf = new ByteArrayOutputStream(); 105 System.setOut(new PrintStream(buf)); 108 if (buf == null) return; 111 String[] haveLines = new String(buf.toByteArray()).split("[\n\r]+");
|
/openjdk7/langtools/test/tools/javac/Paths/6638501/ |
H A D | JarFromManifestFailure.java | 144 byte[] buf = new byte[(int) f.length()]; 147 while (offset < buf.length) { 148 int n = in.read(buf, offset, buf.length - offset); 153 return buf;
|
/openjdk7/langtools/test/tools/javac/generics/odersky/ |
H A D | List.java | 168 StringBuffer buf = new StringBuffer(); 169 buf.append(((Object)head).toString()); 171 buf.append(sep); 172 buf.append(((Object)l.head).toString()); 174 return buf.toString();
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/ |
H A D | XMLGregorianCalendarImpl.java | 2935 char[] buf = new char[32]; 2943 buf[bufPtr++] = fch; 2953 buf[bufPtr++] = '-'; 2956 bufPtr = print4Number(buf,bufPtr,y); 2960 char[] n = new char[buf.length+s.length()]; 2961 System.arraycopy(buf,0,n,0,bufPtr); 2962 buf = n; 2964 buf[bufPtr++] = '0'; 2965 s.getChars(0,s.length(),buf,bufPtr); 2970 bufPtr = print2Number(buf,bufPt [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/ |
H A D | JPEGMetadata.java | 158 if (((buffer.buf[0] & 0xff) != 0xff) 159 || ((buffer.buf[1] & 0xff) != JPEG.SOI) 160 || ((buffer.buf[2] & 0xff) != 0xff)) { 169 byte [] buf; 177 switch (buffer.buf[buffer.bufPtr] & 0xff) { 206 buf = buffer.buf; 208 if ((buf[ptr+3] == 'J') 209 && (buf[ptr+4] == 'F') 210 && (buf[pt [all...] |
H A D | MarkerSegment.java | 59 tag = buffer.buf[buffer.bufPtr++] & 0xff; 60 length = (buffer.buf[buffer.bufPtr++] & 0xff) << 8; 61 length |= buffer.buf[buffer.bufPtr++] & 0xff;
|
/openjdk7/hotspot/agent/src/os/win32/windbg/ |
H A D | sawindbg.cpp | 78 AutoJavaString(JNIEnv* env, jstring str, const char* buf) argument 79 : m_env(env), m_str(str), m_buf(buf) { 317 const char* buf; local 320 buf = env->GetStringUTFChars(path, &isCopy); 322 AutoJavaString imagePath(env, path, buf); 325 buf = env->GetStringUTFChars(path, &isCopy); 327 AutoJavaString symbolPath(env, path, buf); 341 const char* buf = env->GetStringUTFChars(coreFileName, &isCopy); local 343 AutoJavaString coreFile(env, coreFileName, buf); 871 const char* buf local 925 const char* buf = env->GetStringUTFChars(sym, &isCopy); local 954 char buf[SYMBOL_BUFSIZE]; local [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | ExtendedTextSourceLabel.java | 899 StringBuffer buf = new StringBuffer(); 900 buf.append(super.toString()); 901 buf.append("[source:"); 902 buf.append(source.toString(source.WITHOUT_CONTEXT)); 903 buf.append(", lb:"); 904 buf.append(lb); 905 buf.append(", ab:"); 906 buf.append(ab); 907 buf.append(", vb:"); 908 buf [all...] |
/openjdk7/hotspot/src/os/windows/launcher/ |
H A D | java_md.c | 470 * If app is "c:\foo\bin\javac", then put "c:\foo" into buf. 473 GetApplicationHome(char *buf, jint bufsize) argument 477 GetModuleFileName(0, buf, bufsize); 478 *strrchr(buf, '\\') = '\0'; /* remove .exe file name */ 479 if ((cp = strrchr(buf, '\\')) == 0) { 482 buf[0] = '\0'; 495 snprintf(buf, bufsize, "%s", getenv("ALT_JAVA_HOME")); 529 if (fgets(buf, bufsize, fp) == NULL) { 535 p = buf + strlen(buf) 575 GetStringFromRegistry(HKEY key, const char *name, char *buf, jint bufsize) argument 590 GetPublicJREHome(char *buf, jint bufsize) argument 1285 char *buf = JLI_MemAlloc(strlen(name) + 2); local [all...] |
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | hprof_check.c | 81 read_raw(unsigned char **pp, unsigned char *buf, int len) argument 84 *buf = **pp; 85 buf++; 141 char buf[256]; local 153 (void)md_snprintf(buf, sizeof(buf), "System %s failed: %s\n", 155 HPROF_ERROR(JNI_TRUE, buf); 160 system_write(int fd, void *buf, int len) argument 165 res = md_write(fd, buf, len); 223 check_raw(void *buf, in argument 248 char buf[1024]; local [all...] |
/openjdk7/hotspot/test/testlibrary/com/oracle/java/testlibrary/ |
H A D | OutputAnalyzer.java | 53 * @param buf String buffer to analyze 55 public OutputAnalyzer(String buf) { argument 56 this(buf, buf);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ |
H A D | ByteCodeRewriter.java | 88 static private void writeShort(byte[] buf, int index, short value) { argument 89 buf[index] = (byte) ((value >> 8) & 0x00FF); 90 buf[index + 1] = (byte) (value & 0x00FF);
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | Deflater.java | 77 private byte[] buf = new byte[0]; field in class:Deflater 207 this.buf = b; 530 buf = null;
|
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | FileCacheImageInputStream.java | 54 private byte[] buf = new byte[BUFFER_LENGTH]; field in class:FileCacheImageInputStream 142 stream.read(buf, 0, (int)Math.min(len, (long)BUFFER_LENGTH)); 148 cache.write(buf, 0, nbytes);
|
H A D | FileCacheImageOutputStream.java | 250 byte[] buf = new byte[bufLen]; 254 cache.readFully(buf, 0, len); 255 stream.write(buf, 0, len);
|
/openjdk7/jdk/src/share/classes/javax/naming/ |
H A D | Reference.java | 367 StringBuffer buf = new StringBuffer("Reference Class Name: " + 371 buf.append(get(i).toString()); 373 return buf.toString();
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | debug.hpp | 37 inline FormatBufferBase(char* buf) : _buf(buf) {} argument 241 void pd_obfuscate_location(char *buf, size_t buflen);
|
H A D | globalDefinitions_visCPP.hpp | 196 inline int vsnprintf(char* buf, size_t count, const char* fmt, va_list argptr) { argument 199 int ret = _vsnprintf(buf, count, fmt, argptr); 200 if (count > 0) buf[count-1] = '\0';
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/ |
H A D | AnnotationProcessorContext.java | 167 StringBuffer buf = new StringBuffer(method.getSimpleName()); 169 buf.append(";"+param.getType().toString()); 170 return buf.toString();
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/util/ |
H A D | DOMUtils.java | 152 Element[] buf = new Element[elements.length + 1]; 153 System.arraycopy(elements, 0, buf, 0, elements.length); 154 elements = buf;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/ |
H A D | FaultDetailHeader.java | 84 MutableXMLStreamBuffer buf = new MutableXMLStreamBuffer(); 85 XMLStreamWriter w = buf.createFromXMLStreamWriter(); 87 return buf.readAsXMLStreamReader();
|
H A D | ProblemActionHeader.java | 88 MutableXMLStreamBuffer buf = new MutableXMLStreamBuffer(); 89 XMLStreamWriter w = buf.createFromXMLStreamWriter(); 91 return buf.readAsXMLStreamReader();
|
H A D | StringHeader.java | 97 MutableXMLStreamBuffer buf = new MutableXMLStreamBuffer(); 98 XMLStreamWriter w = buf.createFromXMLStreamWriter(); 100 return buf.readAsXMLStreamReader();
|