Searched refs:sizeof (Results 1 - 25 of 45) sorted by relevance

12

/openjdk7/jdk/src/macosx/native/apple/applescript/
H A DAS_NS_ConversionUtils.m285 AEGetDescData(aeDesc, &v, sizeof(v));
332 if (bytes < sizeof(Float32)) {
335 bytes = sizeof(floatVal);
339 if (bytes > sizeof(Float64)) {
342 bytes = sizeof(doubleVal);
345 if (bytes == sizeof(Float32)) {
349 if (bytes == sizeof(Float64)) {
362 if (bytes < sizeof(SInt16)) {
365 bytes = sizeof(intVal);
368 if (bytes == sizeof(SInt1
[all...]
H A DAppleScriptExecutionContext.m99 length:sizeof(pid)];
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/
H A DCoder.java75 args.didPutArgValue(sizeof());
82 public abstract int sizeof(Width w); method in class:Coder
83 final public int sizeof(){ return sizeof(JObjCRuntime.WIDTH); } method in class:Coder
148 @Override public int sizeof(Width w) { return -1; } method in class:Coder.VoidCoder
156 @Override public int sizeof(Width w) { return -1; } method in class:Coder.UnknownCoder
164 @Override public int sizeof(Width w) { return JObjCRuntime.PTR_LEN; } method in class:Coder.PrimitivePointerCoder
175 argBuf.didPutArgValue(sizeof());
193 @Override public int sizeof(Width w) { return PrimitivePointerCoder.INST.sizeof( method in class:Coder.PointerCoder
206 @Override public int sizeof(Width w) { return PrimitivePointerCoder.INST.sizeof(w); } method in class:Coder.SELCoder
218 final int sizeof; field in class:Coder.StructCoder
220 StructCoder(final int sizeof, final Coder... elementCoders) argument
226 @Override public int sizeof(Width w) { return sizeof; } method in class:Coder.StructCoder
260 @Override public int sizeof(Width w) { return PrimitivePointerCoder.INST.sizeof(w); } method in class:Coder.IDCoder
278 @Override public int sizeof(Width w) { return PrimitivePointerCoder.INST.sizeof(w); } method in class:Coder.NSClassCoder
[all...]
H A DFFIType.java46 elIterPtr += PrimitivePointerCoder.INST.sizeof();
H A DNativeArgumentBuffer.java81 // Call this after having written a value of size `sizeof` to `argValuesPtr`.
82 public void didPutArgValue(int sizeof) { argument
85 argValuesPtr += sizeof;
H A DNativeBuffer.java76 public NativeBuffer limit(final int sizeof) { buffer.limit(sizeof); return this; } argument
H A DPrimitiveCoder.java40 args.didPutArgValue(sizeof());
52 args.didPutArgValue(sizeof());
64 args.didPutArgValue(sizeof());
76 args.didPutArgValue(sizeof());
88 args.didPutArgValue(sizeof());
100 args.didPutArgValue(sizeof());
112 args.didPutArgValue(sizeof());
124 args.didPutArgValue(sizeof());
141 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.BoolCoder
184 @Override public int sizeof(Widt method in class:PrimitiveCoder.SCharCoder
227 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.UCharCoder
270 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.SShortCoder
313 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.UShortCoder
356 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.SIntCoder
399 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.UIntCoder
442 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.SLongCoder
491 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.ULongCoder
540 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.SLongLongCoder
583 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.ULongLongCoder
626 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.FloatCoder
669 @Override public int sizeof(Width w){ method in class:PrimitiveCoder.DoubleCoder
[all...]
H A DInvoke.java124 switch(scoder.sizeof){
130 if(scoder.sizeof > 16)
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/types/
H A DNType.java65 public final Map<Width, Integer> sizeof; field in class:NType
67 public NType(Map<Width, Integer> sizeof) { argument
68 this.sizeof = sizeof;
77 this.sizeof.put(Width.W32, sz32);
78 this.sizeof.put(Width.W64, sz32);
81 public int sizeof32(){ return sizeof.get(Width.W32); }
82 public int sizeof64(){ return sizeof.get(Width.W64); }
90 && this.sizeof.equals(((NType) o).sizeof)
209 NStruct(String name, List<NField> fields, Map<Width,Integer> sizeof) argument
237 NUnion(String name, List<NField> fields, Map<Width,Integer> sizeof) argument
[all...]
/openjdk7/jdk/src/macosx/native/jobjc/src/core/native/
H A DCIF.m37 return (jint) sizeof(ffi_cif);
H A DFFIType.m42 return (jint) sizeof(ffi_type);
H A DSubclassing.m119 sizeof(id),
120 (uint8_t)log2((double)sizeof(id)),
186 if ((closure = mmap(NULL, sizeof(ffi_closure), PROT_READ | PROT_WRITE,
198 munmap(closure, sizeof(ffi_closure));
203 if (mprotect(closure, sizeof(closure), PROT_READ | PROT_EXEC) == -1)
206 munmap(closure, sizeof(ffi_closure));
218 closure_data_t *user_data = malloc(sizeof(closure_data_t));
248 munmap(closure, sizeof(ffi_closure));
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCGraphicsEnv.m87 assert(sizeof(jint) >= sizeof(CGDirectDisplayID));
H A Dawt_DrawingSurface.m33 JAWT_DrawingSurfaceInfo* dsi = (JAWT_DrawingSurfaceInfo*)malloc(sizeof(JAWT_DrawingSurfaceInfo));
93 JAWT_DrawingSurface* ds = (JAWT_DrawingSurface*)malloc(sizeof(JAWT_DrawingSurface));
H A DCSystemColors.m70 sColors = (NSColor**)malloc(sizeof(NSColor*) * java_awt_SystemColor_NUM_COLORS);
110 appleColors = (NSColor**)malloc(sizeof(NSColor*) * sun_lwawt_macosx_LWCToolkit_NUM_APPLE_COLORS);
H A DCRobot.m119 gsButtonEventNumber = (int*)SAFE_SIZE_ARRAY_ALLOC(malloc, sizeof(int), gNumberOfButtons);
353 8, picWidth * sizeof(jint),
H A DLWCToolkit.m207 gButtonDownMasks = (jint*)SAFE_SIZE_ARRAY_ALLOC(malloc, sizeof(jint), gNumberOfButtons);
257 memcpy(_colors, colors, len * sizeof(UInt32));
/openjdk7/jdk/src/macosx/native/sun/java2d/opengl/
H A DCGLGraphicsConfig.m103 memset(&address, 0, sizeof(struct sockaddr_un));
109 sizeof(struct sockaddr_un));
374 CGLCtxInfo *ctxinfo = (CGLCtxInfo *)malloc(sizeof(CGLCtxInfo));
381 memset(ctxinfo, 0, sizeof(CGLCtxInfo));
385 OGLContext *oglc = (OGLContext *)malloc(sizeof(OGLContext));
393 memset(oglc, 0, sizeof(OGLContext));
398 CGLGraphicsConfigInfo *cglinfo = (CGLGraphicsConfigInfo *)malloc(sizeof(CGLGraphicsConfigInfo));
407 memset(cglinfo, 0, sizeof(CGLGraphicsConfigInfo));
/openjdk7/jdk/src/macosx/native/sun/font/
H A DCGGlyphOutlines.m32 size_t growth = sizeof(jbyte)*path->fAllocatedSegmentTypeSpace*kStorageSizeChangeOnGetMoreFactor;
38 size_t growth = sizeof(jfloat)*path->fAllocatedSegmentDataSpace*kStorageSizeChangeOnGetMoreFactor;
198 AWTPathRef path = (AWTPathRef) malloc(sizeof(AWTPath));
200 path->fSegmentData = (jfloat*)malloc(sizeof(jfloat) * kInitialAllocatedPathSegments);
201 path->fSegmentType = (jbyte*)malloc(sizeof(jbyte) * kInitialAllocatedPathSegments);
H A DCGGlyphImages.m351 size_t bytesPerRow = width * sizeof(UInt32);
354 canvas->image = malloc(sizeof(vImage_Buffer));
359 canvas->image->data = (void *)calloc(byteCount, sizeof(UInt32));
483 GlyphInfo *glyphInfo = (GlyphInfo *)malloc(sizeof(GlyphInfo));
487 GlyphInfo *glyphInfo = (GlyphInfo *)malloc(sizeof(GlyphInfo) +
503 glyphInfo->image = ((void *)glyphInfo) + sizeof(GlyphInfo);
813 void *buffer = malloc(sizeof(CGRect) * sizeof(CGSize) *
814 sizeof(CGGlyph) * sizeof(UniCha
[all...]
H A DCCharToGlyphMapper.m75 CGGlyph *cgGlyphs = (CGGlyph *)malloc(count * sizeof(CGGlyph));
/openjdk7/jdk/src/macosx/native/apple/security/
H A DKeystoreImpl.m45 SecKeychainAttributeList attrList = { sizeof(itemAttrs) / sizeof(itemAttrs[0]), itemAttrs };
69 SecKeychainAttributeList attrList = { sizeof(itemAttrs) / sizeof(itemAttrs[0]), itemAttrs };
97 const SecKeychainAttributeList attributes = { sizeof(attrs) / sizeof(attrs[0]), attrs };
318 bzero(&currCertData, sizeof(CSSM_DATA));
/openjdk7/jdk/src/macosx/native/sun/osxapp/
H A DNSApplicationAWT.m146 snprintf(envVar, sizeof(envVar), "APP_NAME_%d", getpid());
161 snprintf(mainClassEnvVar, sizeof(mainClassEnvVar), "JAVA_MAIN_CLASS_%d", getpid());
250 snprintf(envVar, sizeof(envVar), "APP_ICON_%d", getpid());
273 iconData = [[NSData alloc] initWithBytesNoCopy: sAWTIconData length: sizeof(sAWTIconData) freeWhenDone: NO];
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/utils/
H A DNTypeMerger.java167 fields, mergeSizeOf(a.sizeof, b.sizeof));
176 return new NUnion(nst.name, Fp.map(NUnion.zeroOffsets, nst.fields), nst.sizeof);
/openjdk7/jdk/src/macosx/native/com/apple/laf/
H A DAquaFileView.m190 size_t pathSize = sizeof(pathCString);

Completed in 572 milliseconds

12