Searched refs:new_length (Results 1 - 10 of 10) sorted by relevance

/openjdk10/jdk/src/java.instrument/share/native/libinstrument/
H A DEncodingSupport.c37 int new_length; local
40 new_length = 0;
46 new_length++;
48 new_length++; /* We gain one byte in length on NULL bytes */
56 new_length += 2;
64 new_length += 3;
73 new_length += 6; /* 4byte encoding turns into 2 3byte ones */
83 return new_length;
94 convertUtf8ToModifiedUtf8(char *string, int length, char *new_string, int new_length) argument
/openjdk10/hotspot/src/share/vm/classfile/
H A DstackMapTable.cpp302 int new_length = length; local
305 new_length = chop(locals, length, chops);
307 new_length, max_locals, CHECK_VERIFY_(_verifier, NULL));
310 for (int i=0; i<new_length; i++) {
320 if (new_length > 0) {
322 THREAD, VerificationType, new_length);
330 offset, flags, new_length, 0, max_locals, max_stack,
340 int new_length = real_length + appends*2; local
341 locals = NEW_RESOURCE_ARRAY_IN_THREAD(THREAD, VerificationType, new_length);
/openjdk10/jdk/src/jdk.jdwp.agent/share/native/libjdwp/
H A DoutStream.c315 jint new_length; local
317 new_length = utf8mToUtf8sLength((jbyte*)string, length);
318 if ( new_length == length ) {
324 new_string = jvmtiAllocate(new_length+1);
325 utf8mToUtf8s((jbyte*)string, length, (jbyte*)new_string, new_length);
326 (void)outStream_writeInt(stream, new_length);
327 error = writeBytes(stream, (jbyte *)new_string, new_length);
H A DinStream.c395 int new_length; local
401 new_length = utf8sToUtf8mLength((jbyte*)string, length);
402 if ( new_length != length ) {
405 new_string = jvmtiAllocate(new_length+1);
406 utf8sToUtf8m((jbyte*)string, length, (jbyte*)new_string, new_length);
/openjdk10/hotspot/src/share/vm/memory/
H A Dallocation.inline.hpp235 E* ArrayAllocator<E>::reallocate(E* old_addr, size_t old_length, size_t new_length, MEMFLAGS flags) { argument
236 E* new_addr = (new_length > 0)
237 ? allocate(new_length, flags)
241 memcpy(new_addr, old_addr, MIN2(old_length, new_length) * sizeof(E));
H A Dallocation.hpp505 static E* reallocate(E* old_addr, size_t old_length, size_t new_length, MEMFLAGS flags);
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/
H A Dhb-ot-cmap-table.hh157 uint16_t new_length = (uint16_t) MIN ((uintptr_t) 65535, local
160 if (!c->try_set (&length, new_length))
/openjdk10/hotspot/src/share/vm/oops/
H A Dklass.cpp309 int new_length = primaries->length() + secondaries->length(); variable
311 class_loader_data(), new_length, CHECK);
/openjdk10/hotspot/src/share/vm/ci/
H A DciReplay.cpp364 int new_length = _buffer_length * 2; local
366 _buffer = REALLOC_RESOURCE_ARRAY(char, _buffer, _buffer_length, new_length);
367 _buffer_length = new_length;
/openjdk10/hotspot/src/share/vm/gc/shared/
H A Dtaskqueue.hpp66 inline void record_overflow(size_t new_length);

Completed in 82 milliseconds