Searched defs:size (Results 651 - 675 of 1126) sorted by relevance

<<21222324252627282930>>

/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Clipboard.cpp446 jsize size = (globalSize <= INT_MAX) ? (jsize)globalSize : INT_MAX; local
452 bytes = env->NewByteArray(size);
457 if (size != 0) {
459 env->SetByteArrayRegion(bytes, 0, size, (jbyte *)data);
H A Dawt_Debug.cpp41 void * operator new(size_t size, const char * filename, int linenumber) { argument
42 void * ptr = DMem_AllocateBlock(size, filename, linenumber);
50 void * operator new[](size_t size, const char * filename, int linenumber) { argument
51 void * ptr = DMem_AllocateBlock(size, filename, linenumber);
71 DWORD size = ::GetRegionData(rgn, 0, NULL); local
72 char* buffer = (char *)safe_Malloc(size);
73 memset(buffer, 0, size);
77 VERIFY(::GetRegionData(rgn, size, rgndata));
H A Dawt_Label.cpp128 SIZE size; local
140 size = AwtFont::getMFStringSize(hDC, font, text);
145 y = (r.top + r.bottom - size.cy) / 2;
153 x = (r.left + r.right - size.cx) / 2;
156 x = r.right - 2 - size.cx;
/openjdk7/jdk/test/java/io/Serializable/subclass/
H A DXObjectInputStream.java153 public void readFully(byte[] data, int offset, int size) throws IOException { argument
/openjdk7/jdk/test/java/math/BigInteger/
H A DBigIntegerTest.java52 static int size = 1000; // numbers per batch field in class:BigIntegerTest
63 for (int i=0; i<size; i++) {
81 for (int i=0; i<size; i++) {
124 for (int i=0; i<size*10; i++) {
145 for (int i=0; i<size*10; i++) {
166 for (int i=0; i<size*5; i++) {
196 for (int i=0; i<size*5; i++) {
220 for (int i=0; i<size; i++) {
232 for (int i=0; i<size; i++) {
285 for (int i=0; i<size;
[all...]
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DTransfers.java120 int sz = (int)fc.size();
176 protected final int size; field in class:Transfers.Source
180 Source(int size, long seed, String name) { argument
181 this.size = size;
203 FileSource(int size, long seed) throws IOException { argument
204 super(size, seed, "FileChannel");
209 writeRandomBytes(seed, fc, 0, size);
217 if (fc.position() != size)
219 + fc.position() + " (expected " + size
234 UserSource(int size, long seed) argument
274 protected final int size; field in class:Transfers.Target
278 Target(int size, long seed, String name) argument
301 FileTarget(int size, long seed) argument
330 UserTarget(int size, long seed) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/
H A DPathFileObject.java298 private long size() { method in class:PathFileObject
300 return Files.size(path);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DList.java161 public int size() { method in class:List
255 vec = (T[])Array.newInstance(vec.getClass().getComponentType(), size());
260 return toArray(new Object[size()]);
422 "Size: " + size());
472 if (fromIndex < 0 || toIndex > size() || fromIndex > toIndex)
H A DListBuffer.java87 public int size() { method in class:ListBuffer
182 return toArray(new Object[size()]);
/openjdk7/langtools/test/tools/apt/mirror/type/
H A DClassTyp.java62 public int size() { method in class:ClassTyp.C1
/openjdk7/jdk/src/share/demo/jvmti/heapViewer/
H A DheapViewer.c88 cbHeapObject(jlong class_tag, jlong size, jlong* tag_ptr, jint length, argument
97 d->space += (int)size;
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_event.c114 jint size; local
131 size = (jint)getObjectSize(object);
132 tag_new_object(object, OBJECT_NORMAL, thread_serial_num, size, site_index);
377 jint size; local
379 size = (jint)getObjectSize(thread);
382 object_index = object_new(site_index, size, OBJECT_NORMAL,
H A Dhprof_object.c44 * An Object is unique by it's allocation site (SiteIndex), it's size,
67 * With heap=sites, each ObjectIndex represents a unique site, size,
86 jint size; /* Size of object as reported by VM */ member in struct:ObjectKey
133 " size=%d, kind=%d, refs=0x%x, threadSN=%u\n",
134 i, pkey->site_index, pkey->serial_num, pkey->size, pkey->kind,
171 object_new(SiteIndex site_index, jint size, ObjectKind kind, SerialNumber thread_serial_num) argument
179 key.size = size;
196 site_update_stats(site_index, size, 1);
229 return pkey->size;
[all...]
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dbytes.h86 size_t size() { return b.len; } function in struct:fillbytes
99 void trimToSize() { if (allocated > size()) b.realloc(allocated = size()); }
120 int length() { return (int)(size() / sizeof(cvptr)); }
136 int length() { return (int)(size() / sizeof(int)); }
/openjdk7/jdk/src/share/native/com/sun/media/sound/
H A DPlatformMidi.h75 UINT32 size; member in struct:tag_MidiMessage::__anon640::__anon642
94 INT32 size; member in struct:tag_MidiQueue
135 int MIDI_QueueAddLong(MidiMessageQueue* queue, UBYTE* data, UINT32 size,
331 INT32 MIDI_OUT_SendLongMessage(MidiDeviceHandle* handle, UBYTE* data, UINT32 size, UINT32 timestamp);
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dinflate.c224 thereafter. This reduces the size of the code by about 2K bytes, in
295 unsigned low, size; local
308 size = 1U << 9;
309 printf(" static const code lenfix[%u] = {", size);
315 if (++low == size) break;
319 size = 1U << 5;
320 printf("\n static const code distfix[%u] = {", size);
326 if (++low == size) break;
345 The advantage may be dependent on the size of the processor's data caches.
647 strm->msg = (char *)"invalid window size";
[all...]
/openjdk7/jdk/src/share/native/sun/awt/debug/
H A Ddebug_mem.c42 MAX_GUARD_BYTES = 8, /* size of guard areas on either side of a block */
50 size_t size; /* size of the allocation */ member in struct:MemoryBlockHeader
81 static void * DMem_ClientAllocate(size_t size) { argument
83 return (*DMemGlobalState.pfnAlloc)(size);
85 return malloc(size);
95 static dbool_t DMem_ClientCheckPtr(void * ptr, size_t size) { argument
97 return (*DMemGlobalState.pfnCheckPtr)(ptr, size);
138 DASSERTMSG( header->size <= DMemGlobalState.biggestBlock, "Header corruption, block size i
198 DMem_AllocateBlock(size_t size, const char * filename, int linenumber) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/image/
H A Dawt_parseImage.c148 int size = lastPixelOffset + off; local
154 if (size < lastPixelOffset || size >= dataArrayLength) {
370 * size of raster samples doesn't exceed the data type capacity.
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageLookUp_64.c212 mlib_s32 size = xsize; local
220 size--;
231 for (i = 0; i < size - 7; i += 4, dp += 4, sa++) {
248 for (; i < size; i++, dp++, sp++)
263 mlib_s32 size = xsize * 2; local
272 size -= 2;
277 size--;
292 for (i = 0; i < size - 7; i += 4, dp += 4, sa++) {
310 for (; i < size - 1; i += 2, sp += 2) {
315 if (i < size)
331 mlib_s32 size = xsize * 3; local
424 mlib_s32 size = xsize * 4; local
595 mlib_s32 size = xsize; local
700 mlib_s32 size = xsize; local
832 mlib_s32 size = xsize; local
[all...]
H A Dmlib_c_ImageCopy.c40 * src and dst must have the same size, type and number of channels.
84 mlib_s32 size);
91 mlib_s32 size, s_stride, d_stride; local
105 width = mlib_ImageGetWidth(dst) * mlib_ImageGetChannels(dst); /* size in bits */
111 size = height * (width >> 3);
112 if (!mlib_ImageIsNotAligned8(src) && !mlib_ImageIsNotAligned8(dst) && ((size & 7) == 0)) {
114 mlib_c_ImageCopy_a1((TYPE_64BIT *) sa, (TYPE_64BIT *) da, size >> 3);
118 mlib_ImageCopy_na(sa, da, size);
203 mlib_s32 size,
211 if (size <
201 mlib_ImageCopy_bit_al(const mlib_u8 *sa, mlib_u8 *da, mlib_s32 size, mlib_s32 offset) argument
626 mlib_c_ImageCopy_a1(const TYPE_64BIT *sp, TYPE_64BIT *dp, mlib_s32 size) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_gif.c163 unsigned size = image->ExtensionBlocks[i].ByteCount; local
184 if (size == sizeof(szNetscape20ext)
185 && memcmp(pExtension, szNetscape20ext, size) == 0) {
H A Dsplashscreen_impl.c291 SplashLoadMemory(void *data, int size) argument
294 return SplashStreamInitMemory(&stream, data, size) &&
366 int SplashStreamInitMemory(SplashStream * pStream, void* pData, int size) { argument
368 pStream->arg.mem.pDataEnd = (unsigned char*)pData + size;
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DSunLayoutEngine.cpp132 // le_uint32 is the same size as jint... forever, we hope
189 size_t size = len * sizeof(jchar); local
190 if (size / sizeof(jchar) != len) {
193 chars = (jchar*)malloc(size);
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmserr.c113 void* _cmsMallocDefaultFn(cmsContext ContextID, cmsUInt32Number size) argument
115 if (size > MAX_MEMORY_FOR_ALLOC) return NULL; // Never allow over maximum
117 return (void*) malloc(size);
124 void* _cmsMallocZeroDefaultFn(cmsContext ContextID, cmsUInt32Number size) argument
126 void *pt = _cmsMalloc(ContextID, size);
129 memset(pt, 0, size);
147 // realloc behaves the same way as malloc and allocates a new block of size bytes.
149 void* _cmsReallocDefaultFn(cmsContext ContextID, void* Ptr, cmsUInt32Number size) argument
152 if (size > MAX_MEMORY_FOR_ALLOC) return NULL; // Never realloc over 512Mb
154 return realloc(Ptr, size);
163 _cmsCallocDefaultFn(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) argument
185 _cmsDupDefaultFn(cmsContext ContextID, const void* Org, cmsUInt32Number size) argument
242 _cmsMalloc(cmsContext ContextID, cmsUInt32Number size) argument
248 _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size) argument
254 _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) argument
260 _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number size) argument
272 _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size) argument
354 _cmsSubAlloc(_cmsSubAllocator* sub, cmsUInt32Number size) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jca/
H A DProviderList.java101 int n = list.size();
115 ProviderConfig[] configs = new ProviderConfig[providerList.size() - 1];
143 public int size() {
223 public int size() { method in class:ProviderList
426 } else if ((services != null) && (services.size() > index)) {
460 public int size() { method in class:ProviderList.ServiceList
463 n = services.size();
473 // override isEmpty() and iterator() to not call size()

Completed in 128 milliseconds

<<21222324252627282930>>