/openjdk7/jdk/src/share/transport/shmem/ |
H A D | shmemBase.c | 96 * memory buffer and its state. 105 jbyte buffer[SHARED_BUFFER_SIZE]; member in struct:SharedStream 950 shared->buffer[offset] = data; 975 *data = shared->buffer[offset]; 1012 memcpy(shared->buffer + fragmentStart, (jbyte *)bytes + index, fragmentLength); 1083 memcpy((jbyte *)bytes + index, shared->buffer + fragmentStart, fragmentLength); 1168 char buffer[500]; local 1170 sprintf(buffer, "Shared Memory Transport \"%s\" (%s), line %d: %s\n", 1177 fprintf(stderr, "%s", buffer); 1180 (*env)->FatalError(env, buffer); [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/ |
H A D | XMLEntityManager.java | 91 /** Default buffer size (2048). */ 94 /** Default buffer size before we've finished with the XMLDecl: */ 97 /** Default internal entity buffer size (1024). */ 158 /** property identifier: buffer size. */ 226 * Debug printing of buffer. This debugging flag works best when you 320 * is used if the input buffer size property is not specified. 321 * REVISIT: do we need a property for internal entity buffer size? 1790 StringBuffer buffer = new StringBuffer(len*3); 1795 buffer.append('/'); 1807 buffer 2770 returnToPool(CharacterBuffer buffer) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/ |
H A D | DTMDocumentImpl.java | 125 // text/comment table: string buffer to hold the text string values of the document, 126 // each of which is addressed by the absolute offset and length in the buffer 298 * @param buffer FastStringBuffer reference to an instance of 299 * buffer 301 void setContentBuffer(FastStringBuffer buffer) { argument 302 m_char = buffer; 308 * @return FastStringBuffer reference to an instance of buffer 414 // characters into the buffer. 865 // // W2: Start Position within buffer 2088 * buffer (share [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | GroupLayout.java | 1215 StringBuffer buffer = new StringBuffer(); 1216 buffer.append("HORIZONTAL\n"); 1217 createSpringDescription(buffer, horizontalGroup, " ", HORIZONTAL); 1218 buffer.append("\nVERTICAL\n"); 1219 createSpringDescription(buffer, verticalGroup, " ", VERTICAL); 1220 return buffer.toString(); 1223 private void createSpringDescription(StringBuffer buffer, Spring spring, argument 1241 buffer.append(indent + spring.getClass().getName() + " " + 1254 createSpringDescription(buffer, springs.get(counter), indent,
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | DefaultStyledDocument.java | 84 buffer = new ElementBuffer(createDefaultRoot()); 116 return buffer.getRootElement(); 149 buffer.create(length, data, evnt); 212 buffer.insert(offset, length, data, evnt); 505 buffer.change(offset, length, changes); 627 * of instructions for the element buffer. 797 buffer.insert(offset, length, spec, chng); 884 buffer.remove(chng.getOffset(), chng.getLength(), chng); 1100 * The default size of the initial content buffer. 1104 protected ElementBuffer buffer; field in class:DefaultStyledDocument [all...] |
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | classLoader.cpp | 213 u1* buffer = NEW_RESOURCE_ARRAY(u1, st.st_size); local 214 size_t num_read = os::read(file_handle, (char*) buffer, st.st_size); 222 return new ClassFileStream(buffer, st.st_size, _dir); // Resource allocated 251 u1* buffer; 262 !(*ReadMappedEntry)(_zip, entry, &buffer, filename)) { 265 buffer = NEW_RESOURCE_ARRAY(u1, filesize); 266 if (!(*ReadEntry)(_zip, entry, buffer, filename)) return NULL; 272 return new ClassFileStream(buffer, filesize, _zip_name); // Resource allocated 1309 char buffer[2048]; local 1310 strncpy(buffer, nam [all...] |
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | methodOop.cpp | 1418 CompressedLineNumberReadStream::CompressedLineNumberReadStream(u_char* buffer) : CompressedReadStream(buffer) { argument
|
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | parse2.cpp | 2344 char buffer[256]; local 2345 sprintf(buffer, "Bytecode %d: %s", bci(), Bytecodes::name(bc())); 2348 printer->print_method(C, buffer, 4);
|
/openjdk7/hotspot/src/os/bsd/dtrace/ |
H A D | libjvm_db.c | 177 char *buf, /* caller's buffer */ 221 char buffer[1024]; local 227 err = read_string(J->P, buffer, sizeof(buffer), ptr); 229 *stringp = strdup(buffer); 648 raw_read_int(jvm_agent_t* J, uint64_t *buffer, int32_t *val) argument 665 err = ps_pread(J->P, (*buffer)++, &ch, sizeof(uint8_t)); 668 fprintf(stderr, "\t\t\t raw_read_int: *buffer: %#llx, ch: %#x\n", *buffer, ch); 676 err = ps_pread(J->P, (*buffer) 694 read_pair(jvm_agent_t* J, uint64_t *buffer, int32_t *bci, int32_t *line) argument 757 uint64_t buffer; local 911 uint64_t buffer; local [all...] |
/openjdk7/hotspot/src/os/posix/launcher/ |
H A D | java_md.c | 780 char buf[257]; /* recommended buffer size from sysinfo man 1558 char buffer[PATH_MAX]; local 1563 (void)strcat(strcat(strcat(strcpy(buffer, path), "/"), dir), "/bin/java"); 1564 return ((access(buffer, X_OK) == 0) ? 1 : 0); 1594 char buffer[PATH_MAX]; local 1745 * but check for "impossibly" long path names just because buffer overruns
|
/openjdk7/hotspot/src/os/solaris/dtrace/ |
H A D | libjvm_db.c | 177 char *buf, /* caller's buffer */ 221 char buffer[1024]; local 227 err = read_string(J->P, buffer, sizeof(buffer), ptr); 229 *stringp = strdup(buffer); 648 raw_read_int(jvm_agent_t* J, uint64_t *buffer, int32_t *val) argument 665 err = ps_pread(J->P, (*buffer)++, &ch, sizeof(uint8_t)); 668 fprintf(stderr, "\t\t\t raw_read_int: *buffer: %#llx, ch: %#x\n", *buffer, ch); 676 err = ps_pread(J->P, (*buffer) 694 read_pair(jvm_agent_t* J, uint64_t *buffer, int32_t *bci, int32_t *line) argument 757 uint64_t buffer; local 911 uint64_t buffer; local [all...] |
/openjdk7/hotspot/src/share/vm/c1/ |
H A D | c1_LIR.cpp | 1144 void LIR_List::append(LIR_InsertionBuffer* buffer) { argument 1145 assert(this == buffer->lir_list(), "wrong lir list"); 1148 if (buffer->number_of_ops() > 0) { 1150 _operations.at_grow(n + buffer->number_of_ops() - 1, NULL); 1151 // insert ops from buffer into instructions list 1152 int op_index = buffer->number_of_ops() - 1; 1153 int ip_index = buffer->number_of_insertion_points() - 1; 1157 int index = buffer->index_at(ip_index); 1162 // insert ops from buffer 1163 for (int i = buffer [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/ |
H A D | JPEGImageReader.java | 166 private DataBufferByte buffer = null; field in class:JPEGImageReader 183 * invalidate the native buffer contents in C. 296 * native input buffer. 413 JPEGBuffer buffer = new JPEGBuffer(iis); 414 buffer.loadBuf(0); 418 done = buffer.scanForFF(this); 419 switch (buffer.buf[buffer.bufPtr] & 0xff) { 422 // FALL THROUGH to decrement buffer vars 434 buffer 1388 readImage(long structPointer, byte [] buffer, int numRasterBands, int [] srcBands, int [] bandSizes, int sourceXOffset, int sourceYOffset, int sourceWidth, int sourceHeight, int periodX, int periodY, JPEGQTable [] abbrevQTables, JPEGHuffmanTable [] abbrevDCHuffmanTables, JPEGHuffmanTable [] abbrevACHuffmanTables, int minProgressivePass, int maxProgressivePass, boolean wantUpdates) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/ |
H A D | GTKEngine.java | 48 * First, startPainting() is called. It prepares an offscreen buffer of the 51 * the Graphics parameter and draw to the offscreen buffer. 52 * Finally, finishPainting() should be called. It fills the data buffer passed 172 private native int nativeFinishPainting(int[] buffer, int width, int height); argument 562 * Allocate a native offscreen buffer of the specified size. 585 * BufferedImage from the offscreen buffer, (optionally) cache it,
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | os.cpp | 92 // Fill in buffer with current local time as an ISO-8601 string. 94 // Returns buffer, or NULL if it failed. 100 char* os::iso8601_time(char* buffer, size_t buffer_length) { argument 109 if (buffer == NULL) { 110 assert(false, "NULL buffer"); 163 // Print an ISO 8601 date and time stamp into the buffer 166 const int printed = jio_snprintf(buffer, buffer_length, iso8601_format, 181 return buffer; 387 char buffer[JVM_MAXPATHLEN]; local 393 dll_build_name(buffer, sizeo 778 print_environment_variables(outputStream* st, const char** env_list, char* buffer, int len) argument [all...] |
H A D | thread.cpp | 1609 // initialize thread-local alloc buffer related fields 2596 char buffer[8]; local 2597 jio_snprintf(buffer, sizeof(buffer), "%d", sd->bci()); 2598 size_t len = strlen(buffer); 2599 const char * found = strstr(DeoptimizeOnlyAt, buffer); 2606 found = strstr(found + 1, buffer); 3695 char buffer[JVM_MAXPATHLEN]; 3713 os::dll_build_name(buffer, sizeof(buffer), Argument [all...] |
/openjdk7/hotspot/src/share/vm/services/ |
H A D | heapDumper.cpp | 380 char* _buffer; // internal buffer 389 char* buffer() const { return _buffer; } function in class:DumpWriter 435 // try to allocate an I/O buffer of io_buffer_size. If there isn't 497 // flush buffer to make toom 502 // buffer not available or too big to buffer it 503 if ((buffer() == NULL) || (len >= buffer_size())) { 507 memcpy(buffer() + position(), s, len); 516 write_internal(buffer(), position());
|
/openjdk7/jdk/src/windows/bin/ |
H A D | java_md.c | 530 * windows snprintf does not guarantee a null terminator in the buffer, 531 * if the computed size is equal to or greater than the buffer size, 533 * under all these conditions. An unreasonable buffer or size will return 540 JLI_Snprintf(char* buffer, size_t size, const char* format, ...) { argument 543 if (size == 0 || buffer == NULL) 545 buffer[0] = '\0'; 547 rc = vsnprintf(buffer, size, format, vl); 552 buffer[size - 1] = '\0'; 556 buffer[size - 1] = '\0';
|
/openjdk7/jdk/src/windows/native/com/sun/media/sound/ |
H A D | PLATFORM_API_WinOS_DirectSound.cpp | 326 /* the secondary buffer (Playback) */ 328 /* the secondary buffer (Capture) */ 331 /* size of the directsound buffer, usually 2 seconds */ 340 /* where to write into the buffer. 417 ** the buffer must continue to exist as long as the buffer is playing. 425 /* starts DirectSound buffer (playback or capture) */ 516 /* helper routines for DS buffer positions */ 655 /* fill buffer with silence 684 // for unknown reason with hardware DS buffer playCurso 781 void* buffer; local 843 void* buffer; local [all...] |
/openjdk7/jdk/src/windows/native/sun/security/mscapi/ |
H A D | security.cpp | 527 // Copy hash from Java to native buffer 552 // Determine size of buffer 576 // Copy data from native buffer 653 // Copy hash and signedHash from Java to native buffer 816 char buffer[64]; local 817 if (sprintf(buffer, "%lu", dwAlgId)) { 818 return env->NewStringUTF(buffer); 856 // Copy encoding from Java to native buffer 1095 // Copy encoding from Java to native buffer 1418 // Copy data from Java buffer t [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Component.h | 183 INLINE int GetText(LPTSTR buffer, int size) { argument 184 return ::GetWindowText(GetHWnd(), buffer, size);
|
H A D | awt_DnDDS.cpp | 1373 AwtDragSource::ADSIStreamProxy::ADSIStreamProxy(AwtDragSource* parent, jbyteArray buffer, jint blen) { argument 1380 env->GetByteArrayRegion(buffer, 0, blen, m_buffer);
|
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/ |
H A D | imageioJPEG.c | 98 * First we define two objects, one for the stream and buffer and one 110 jbyteArray hstreamBuffer; // Handle to a Java buffer for the stream 111 JOCTET *buf; // Pinned buffer pointer */ 119 * This buffer size was set to 64K in the old classes, 4K by default in the 130 * I.e. the buffer is empty. 139 * null, as it will be set from Java by setSource, but the buffer object 141 * if allocating the buffer or getting a global reference for it failed. 144 /* Initialize a new buffer */ 174 * resetStreamBuffer does not release the buffer reference. 190 * to the buffer i 540 char buffer[JMSG_LENGTH_MAX]; local 603 char buffer[JMSG_LENGTH_MAX]; local 629 char buffer[JMSG_LENGTH_MAX]; local 1479 char buffer[JMSG_LENGTH_MAX]; local 1599 char buffer[JMSG_LENGTH_MAX]; local 1790 Java_com_sun_imageio_plugins_jpeg_JPEGImageReader_readImage(JNIEnv *env, jobject this, jlong ptr, jbyteArray buffer, jint numBands, jintArray srcBands, jintArray bandSizes, jint sourceXStart, jint sourceYStart, jint sourceWidth, jint sourceHeight, jint stepX, jint stepY, jobjectArray qtables, jobjectArray DCHuffmanTables, jobjectArray ACHuffmanTables, jint minProgressivePass, jint maxProgressivePass, jboolean wantUpdates) argument 1921 char buffer[JMSG_LENGTH_MAX]; local 2453 char buffer[JMSG_LENGTH_MAX]; local 2551 char buffer[JMSG_LENGTH_MAX]; local 2587 Java_com_sun_imageio_plugins_jpeg_JPEGImageWriter_writeImage(JNIEnv *env, jobject this, jlong ptr, jbyteArray buffer, jint inCs, jint outCs, jint numBands, jintArray bandSizes, jint srcWidth, jint destWidth, jint destHeight, jint stepX, jint stepY, jobjectArray qtables, jboolean writeDQT, jobjectArray DCHuffmanTables, jobjectArray ACHuffmanTables, jboolean writeDHT, jboolean optimize, jboolean progressive, jint numScans, jintArray scanInfo, jintArray componentIds, jintArray HsamplingFactors, jintArray VsamplingFactors, jintArray QtableSelectors, jboolean haveMetadata, jint restartInterval) argument 2740 char buffer[JMSG_LENGTH_MAX]; local [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/ |
H A D | HttpURLConnection.java | 115 * buffer the response body (up to a certain amount and within a 145 /* buffer size for buffered error stream; 1645 // buffer the error stream if bytes < 4k 2423 /* dummy byte buffer for reading off socket prior to closing */ 3233 ByteBuffer buffer; field in class:HttpURLConnection.ErrorStream 3237 buffer = buf; 3242 buffer = buf; 3272 byte[] buffer = new byte[exp]; 3276 len = is.read(buffer, count, 3277 buffer [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XListPeer.java | 551 // Update buffer 1677 VolatileImage buffer; field in class:XListPeer.ListPainter 1707 localBuffer = buffer; 1713 if (log.isLoggable(PlatformLogger.FINE)) log.fine("Creating buffer " + width + "x" + height); 1722 if (buffer == null) { 1723 buffer = localBuffer; 1735 if (buffer != null) { 1736 buffer.flush(); 1738 buffer = null; 1765 // First time created buffer shoul [all...] |