/openjdk10/jdk/src/java.desktop/share/native/libmlib_image/ |
H A D | safe_alloc.h | 36 #define SAFE_TO_ALLOC_2(c, sz) \ 37 (((c) > 0) && ((sz) > 0) && \ 38 ((0x7fffffff / (c)) > (sz))) 40 #define SAFE_TO_ALLOC_3(w, h, sz) \ 41 (((w) > 0) && ((h) > 0) && ((sz) > 0) && \ 42 (((0x7fffffff / (w)) / (h)) > (sz)))
|
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/reflect/ |
H A D | ByteVectorFactory.java | 33 static ByteVector create(int sz) { argument 34 return new ByteVectorImpl(sz);
|
/openjdk10/jdk/test/java/io/charStreams/ |
H A D | BufferSizes.java | 38 for (int sz = min; sz <= max; sz++) { 39 System.err.println(sz); 41 = new BufferedInputStream(new ABCInputStream(count, chunk), sz); 43 = new BufferedOutputStream(new ABCOutputStream(count), sz); 45 byte[] buf = new byte[sz]; 46 while ((n = in.read(buf, 0, sz)) != -1) 55 for (int sz = min; sz < [all...] |
/openjdk10/hotspot/src/share/vm/oops/ |
H A D | annotations.cpp | 105 void Annotations::collect_statistics(KlassSizeStats *sz) const { 106 sz->_annotations_bytes = sz->count(this); 107 sz->_class_annotations_bytes = sz->count(class_annotations()); 108 sz->_class_type_annotations_bytes = sz->count(class_type_annotations()); 109 sz->_fields_annotations_bytes = count_bytes(fields_annotations()); 110 sz->_fields_type_annotations_bytes = count_bytes(fields_type_annotations()); 112 sz [all...] |
/openjdk10/langtools/test/tools/javac/overload/ |
H A D | T8176265.java | 41 static <Z> void m(T8176265<? extends Z> test, Sub<Z> sz) { argument 42 test.method(sz);
|
/openjdk10/jdk/test/java/awt/FontMetrics/ |
H A D | StyledSpaceAdvance.java | 40 for (int sz=9;sz<18;sz++) { 41 test(sz); 45 static void test(int sz) { argument 46 Font reg = new Font(name, Font.PLAIN, sz); 47 Font bold = new Font(name, Font.BOLD, sz);
|
/openjdk10/hotspot/test/native/memory/ |
H A D | test_guardedMemory.cpp | 31 static void guarded_memory_test_check(void* p, size_t sz, void* tag) { argument 37 EXPECT_EQ(guarded.get_user_size(), sz) << "User size is not the same as supplied"; 86 size_t sz = 0; local 88 void* p = os::malloc(GuardedMemory::get_total_size(sz), mtInternal); 89 void* up = guarded.wrap_with_guards(p, sz, (void*) 1); 90 memset(up, 0, sz); 91 guarded_memory_test_check(up, sz, (void*) 1); 97 sz = (sz << 4) + 1; 98 } while (sz < (25 119 size_t sz = 1; local [all...] |
/openjdk10/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/macho/ |
H A D | MachO.java | 57 final int sz; field in class:MachO.mach_header_64 61 this.sz = size; 112 final int sz; field in class:MachO.segment_command_64 116 this.sz = size; 142 final int sz; field in class:MachO.section_64 146 this.sz = size; 167 final int sz; field in class:MachO.version_min_command 171 this.sz = size; 192 final int sz; field in class:MachO.symtab_command 196 this.sz 217 final int sz; field in class:MachO.nlist_64 258 final int sz; field in class:MachO.dysymtab_command 278 final int sz; field in class:MachO.reloc_info [all...] |
/openjdk10/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/ |
H A D | NMethod.java | 45 NMethod(double s, String i, long a, long sz) { argument 48 size = sz;
|
/openjdk10/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/pecoff/ |
H A D | PECoff.java | 47 final int sz; field in class:PECoff.IMAGE_FILE_HEADER 51 this.sz = size; 85 final int sz; field in class:PECoff.IMAGE_SECTION_HEADER 89 this.sz = size; 147 final int sz; field in class:PECoff.IMAGE_SYMBOL 151 this.sz = size; 181 final int sz; field in class:PECoff.IMAGE_RELOCATION 185 this.sz = size;
|
/openjdk10/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/elf/ |
H A D | Elf.java | 54 final int sz; field in class:Elf.Elf64_Ehdr 58 this.sz = size; 120 final int sz; field in class:Elf.Elf64_Shdr 124 this.sz = size; 168 final int sz; field in class:Elf.Elf64_Sym 172 this.sz = size; 199 final int sz; field in class:Elf.Elf64_Rel 203 this.sz = size; 228 final int sz; field in class:Elf.Elf64_Rela 232 this.sz [all...] |
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/mimepull/ |
H A D | ChunkInputStream.java | 54 public int read(byte b[], int off, int sz) throws IOException { argument 59 sz = Math.min(sz, len-offset); 60 System.arraycopy(buf,offset,b,off,sz); 61 return sz;
|
/openjdk10/hotspot/src/share/vm/services/ |
H A D | mallocTracker.hpp | 55 inline void allocate(size_t sz) { argument 57 if (sz > 0) { 58 Atomic::add(sz, &_size); 64 inline void deallocate(size_t sz) { argument 66 assert(_size >= sz, "deallocation > allocated"); 68 if (sz > 0) { 71 Atomic::add(-sz, &_size); 75 inline void resize(long sz) { argument 76 if (sz != 0) { 77 Atomic::add(size_t(sz), 102 record_malloc(size_t sz) argument 106 record_free(size_t sz) argument 118 record_arena_size_change(long sz) argument 222 record_new_malloc_header(size_t sz) argument 226 record_free_malloc_header(size_t sz) argument [all...] |
H A D | virtualMemoryTracker.hpp | 49 inline void reserve_memory(size_t sz) { _reserved += sz; } argument 50 inline void commit_memory (size_t sz) { argument 51 _committed += sz; 55 inline void release_memory (size_t sz) { argument 56 assert(_reserved >= sz, "Negative amount"); 57 _reserved -= sz; 60 inline void uncommit_memory(size_t sz) { argument 61 assert(_committed >= sz, "Negative amount"); 62 _committed -= sz; 75 reserve_memory(size_t sz) argument 76 commit_memory(size_t sz) argument 77 uncommit_memory(size_t sz) argument 78 release_memory(size_t sz) argument 223 exclude_region(address addr, size_t sz) argument 234 expand_region(address addr, size_t sz) argument [all...] |
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/util/ |
H A D | ByteArrayOutputStreamEx.java | 65 int sz = is.read(buf,count,buf.length-count); 66 if(sz<0) return; 67 count += sz;
|
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/staxex/ |
H A D | ByteArrayOutputStreamEx.java | 65 int sz = is.read(buf,count,buf.length-count); 66 if(sz<0) return; 67 count += sz;
|
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/fmt/ |
H A D | JStaticFile.java | 73 int sz; 74 while( (sz=dis.read(buf))>0 ) 75 os.write(buf,0,sz);
|
/openjdk10/jdk/test/java/nio/channels/Channels/ |
H A D | TinyBuffers.java | 40 private static void test(int sz) throws Exception { argument 43 Reader r = Channels.newReader(ch, cs.newDecoder(), sz);
|
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/ |
H A D | GraphicsUtilities.java | 114 Dimension sz = component.getSize(); 115 int x = ((containerDimension.width - sz.width) / 2); 116 int y = ((containerDimension.height - sz.height) / 2); 128 Dimension sz = component.getSize(); 129 int xPos = Math.min(d.width - sz.width, 130 (int) ((d.width * relativeX) - (sz.width / 2))); 131 int yPos = Math.min(d.height - sz.height, 132 (int) ((d.height * relativeY) - (sz.height / 2))); 146 Dimension sz = component.getSize(); 147 int x = (int)((containerDimension.width - sz [all...] |
/openjdk10/hotspot/src/share/vm/gc/cms/ |
H A D | freeChunk.cpp | 51 void FreeChunk::mangleFreed(size_t sz) { argument 55 assert(sz >= MinChunkSize, "smallest size of object"); 56 assert(sz == size(), "just checking"); 59 Copy::fill_to_words(addr + hdr, sz - hdr, deadbeefHeapWord);
|
/openjdk10/jdk/test/sun/nio/cs/ |
H A D | StrCodingBenchmarkUTF8.java | 57 int sz = 12; 58 while (sz < size) { 59 System.out.printf(" [len=%d]%n", sz); 60 final byte[] bs = Arrays.copyOf(bytes, sz); 88 sz <<= 1;
|
H A D | StrCodingBenchmarkDB.java | 101 for (int sz = 8; sz <= 2048; sz *= 2) { 102 System.out.printf(" [len=%d]%n", sz); 104 final char[] chars = Arrays.copyOf(ca, sz);
|
/openjdk10/jdk/test/com/sun/jdi/ |
H A D | AnyDebuggeeTest.java | 124 int sz = nested.size(); 125 size += sz; 136 int sz = subs.size(); 137 size += sz;
|
/openjdk10/hotspot/test/compiler/c2/ |
H A D | Test8002069.java | 65 int sz; field in class:Test8002069.B 69 sz = s; 74 a[i % sz] = i;
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/util/ |
H A D | ReadAllStream.java | 92 public int read(byte b[], int off, int sz) throws IOException { argument 93 int len = memStream.read(b, off, sz); 95 len = fileStream.read(b, off, sz); 135 public int read(byte b[], int off, int sz) throws IOException { argument 136 return (fin != null) ? fin.read(b, off, sz) : -1; 211 public int read(byte b[], int off, int sz) throws IOException { argument 215 sz = Math.min(sz, head.len-(curOff-head.off)); 216 System.arraycopy(head.buf,curOff,b,off,sz); 217 curOff += sz; [all...] |