Searched refs:res (Results 26 - 50 of 785) sorted by relevance

1234567891011>>

/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DheapRegion.inline.hpp29 HeapWord* res = ContiguousSpace::allocate(size); local
30 if (res != NULL) {
31 _offsets.alloc_block(res, size);
33 return res;
42 HeapWord* res = ContiguousSpace::allocate(size); local
43 if (res != NULL) {
44 _offsets.alloc_block(res, size);
46 return res;
/openjdk7/hotspot/src/share/vm/memory/
H A DmemRegion.cpp33 MemRegion res; local
37 res.set_start(res_start);
38 res.set_end(res_end);
40 return res;
52 MemRegion res; local
55 res.set_start(res_start);
56 res.set_end(res_end);
57 return res;
/openjdk7/jdk/src/share/classes/sun/reflect/
H A DUTF8.java36 byte[] res = new byte[utf8Length(str)];
42 res[utf8Idx++] = (byte) c;
45 res[utf8Idx++] = (byte) (0xC0 + (c >> 6));
46 res[utf8Idx++] = (byte) (0x80 + (c & 0x3F));
48 res[utf8Idx++] = (byte) (0xE0 + (c >> 12));
49 res[utf8Idx++] = (byte) (0x80 + ((c >> 6) & 0x3F));
50 res[utf8Idx++] = (byte) (0x80 + (c & 0x3F));
57 return res;
/openjdk7/langtools/test/tools/javac/generics/
H A DT4711572.java47 boolean res;
48 return true && (res = isOKAgain(x));
/openjdk7/langtools/test/tools/apt/mirror/type/
H A DWildcardTyp.java91 final Collection<String> res = new ArrayList<String>();
95 res.add("type");
98 res.add("ref type");
101 res.add("wild thing");
104 return res;
117 Collection<String> res = new ArrayList<String>();
119 res.add(w.toString());
121 return res;
137 Collection<ReferenceType> res = new ArrayList<ReferenceType>();
144 res
[all...]
H A DPrimitiveTyp.java64 final Collection<String> res = new ArrayList<String>();
68 res.add("type");
71 res.add("primitive");
74 res.add("ref type");
77 return res;
/openjdk7/jdk/src/windows/native/sun/nio/fs/
H A DRegistryFileTypeDetector.c41 LONG res; local
45 res = RegOpenKeyExW(HKEY_CLASSES_ROOT, lpSubKey, 0, KEY_READ, &hKey);
46 if (res == ERROR_SUCCESS) {
51 res = RegQueryValueExW(hKey, lpValueName, NULL, &type, (LPBYTE)&data, &size);
52 if (res == ERROR_SUCCESS) {
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageAffine_NN_Bit.c65 mlib_s32 i, bit, res; local
76 mlib_s32 res = dp[0]; local
87 res = (res & ~(1 << bit)) | (((srcPixelPtr[X >> (MLIB_SHIFT + 3)] >> (7 - (X >> MLIB_SHIFT) & 7)) & 1) <<
94 dp[0] = res;
103 res = ((srcPixelPtr0[X >> (MLIB_SHIFT + 3)] << (((X >> MLIB_SHIFT)) & 7)) & 0x0080);
108 res |= ((srcPixelPtr1[X >> (MLIB_SHIFT + 3)] << (((X >> MLIB_SHIFT) - 1) & 7)) & 0x4040);
113 res |= ((srcPixelPtr2[X >> (MLIB_SHIFT + 3)] << (((X >> MLIB_SHIFT) - 2) & 7)) & 0x2020);
118 res |= ((srcPixelPtr3[X >> (MLIB_SHIFT + 3)] << (((X >> MLIB_SHIFT) - 3) & 7)) & 0x1010);
123 res |
146 mlib_s32 res = dp[0]; local
[all...]
/openjdk7/hotspot/test/compiler/7177917/
H A DTest7177917.java38 double res = 0;
41 res += Math.pow(values[i][0], values[i][1]);
44 d = res;
49 double res = 0;
52 res += Math.exp(values[i]);
55 d = res;
60 double[][] res = new double[nb][2];
70 res[i][0] = x;
71 res[i][1] = y;
73 return res;
[all...]
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DMaskCache.cpp31 HRESULT res; local
36 if (FAILED(res = (*ppMaskCache)->Init(pCtx))) {
40 return res;
68 HRESULT res; local
73 res = pCtx->GetResourceManager()->GetMaskTexture(&pMaskTexRes);
74 RETURN_STATUS_IF_FAILED(res);
76 res = pCtx->SetTexture(pMaskTexRes->GetTexture(), 0);
85 return res;
102 HRESULT res; local
112 res
[all...]
H A DD3DPipeline.h49 #define DebugPrintD3DError(res, msg) \
50 DXTRACE_ERR(msg, res)
64 #define DebugPrintD3DError(res, msg) \
65 J2dTraceLn1(J2D_TRACE_ERROR, "D3D Error: " ## msg ## " res=%d", res)
116 if (FAILED(res = (EXPR))) { \
117 DebugPrintD3DError(res, " " ## #EXPR ## " failed in " ## __FILE__); \
118 return res; \
H A DD3DResourceManager.cpp137 HRESULT res; local
142 if (FAILED(res = (*ppResourceMgr)->Init(pCtx))) {
146 return res;
235 HRESULT res = S_OK; local
260 HRESULT res; local
272 if (FAILED(res = pd3dDevice->TestCooperativeLevel())) {
273 return res;
317 res = pd3dDevice->CreateTexture(width, height, 1/*levels*/, dwUsage,
319 if (SUCCEEDED(res)) {
322 res
341 HRESULT res; local
384 HRESULT res; local
433 HRESULT res; local
506 HRESULT res; local
549 HRESULT res = local
567 HRESULT res = local
584 HRESULT res = local
602 HRESULT res = local
619 HRESULT res = GetStockTextureResource(width, height, local
652 HRESULT res = S_OK; local
682 HRESULT res = S_OK; local
720 HRESULT res = local
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/ctx/
H A DComponentContext.java508 HeadTail res = p_resolveIntermediate(name, cont);
509 switch (res.getStatus()) {
533 HeadTail res = p_resolveIntermediate(name, cont);
534 switch (res.getStatus()) {
536 ret = c_lookup_nns(res.getHead(), cont);
538 cont.setContinue(ret, res.getHead(), this);
544 ret = c_lookup(res.getHead(), cont);
546 cont.setContinue(ret, res.getHead(), this);
562 HeadTail res = p_resolveIntermediate(name, cont);
563 switch (res
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DDebuggerUtilities.java193 byte[] res = new byte[1];
194 res[0] = (byte) (value ? 1 : 0);
195 return res;
199 byte[] res = new byte[1];
200 res[0] = value;
201 return res;
205 byte[] res = new byte[2];
206 res[0] = (byte) ((value >> 8) & 0xFF);
207 res[1] = (byte) value;
209 byteSwap(res);
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/
H A DBasicFunctionSym.java56 StringBuffer res = new StringBuffer();
57 res.append(getName());
58 res.append("(");
63 res.append(type.getArgumentType(i).toString());
65 res.append(", ");
69 res.append(")");
70 return res.toString();
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DEPoll.c75 int res; local
80 RESTARTABLE(epoll_ctl(epfd, (int)opcode, (int)fd, &event), res); local
82 return (res == 0) ? 0 : errno;
90 int res; local
92 RESTARTABLE(epoll_wait(epfd, events, numfds, -1), res);
93 if (res < 0) {
96 return res;
101 int res; local
102 RESTARTABLE(close(epfd), res); local
/openjdk7/langtools/test/tools/javac/processing/model/util/
H A DOverridesSpecEx.java72 boolean res =
74 System.out.println("String.hashCode overrides Object.hashCode? " + res);
75 checkResult(res);
88 res = elements.overrides(m1, m2, a);
89 System.out.println("A.m overrides B.m in B? " + res);
90 checkResult(!res);
91 res = elements.overrides(m1, m2, c);
92 System.out.println("A.m overrides B.m in C? " + res);
93 checkResult(res);
/openjdk7/jdk/src/solaris/native/sun/management/
H A DFileSystemImpl.c45 jboolean res = JNI_FALSE; local
51 res = ((sb.st_mode & (S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) == 0) ? JNI_TRUE : JNI_FALSE;
59 return res;
/openjdk7/jdk/test/javax/sound/midi/Gervill/SimpleSoundbank/
H A DAddResource.java44 SoundbankResource res = new SoundbankResource(soundbank, "test", null) {
48 soundbank.addResource(res);
50 assertEquals(soundbank.getResources()[0], res);
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/
H A DJavaValueArray.java123 byte[] res = new byte[length];
124 buf.get(offset + 5, res);
125 return res;
210 boolean[] res = new boolean[len];
212 res[i] = booleanAt(index, data);
215 return res;
218 byte[] res = new byte[len];
220 res[i] = byteAt(index, data);
223 return res;
226 char[] res
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/declaration/
H A DDeclarationMaker.java77 PackageDeclaration res = packageDecls.get(p);
78 if (res == null) {
79 res = new PackageDeclarationImpl(env, p);
80 packageDecls.put(p, res);
82 return res;
121 TypeDeclaration res = typeDecls.get(c);
122 if (res == null) {
124 res = new AnnotationTypeDeclarationImpl(env, c);
126 res = new InterfaceDeclarationImpl(env, c);
128 res
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A DbitMap.inline.hpp175 idx_t res = map(index) >> pos;
176 if (res != (uintptr_t)NoBits) {
178 for (; !(res & 1); res_offset++) {
179 res = res >> 1;
192 // is a set bit in that map word above l_offset (i.e. res != NoBits).
200 // word (i.e. res == NoBits), or res_offset will be less than r_offset.
209 res = map(index);
210 if (res != (uintptr_t)NoBits) {
212 for (res_offset = bit_index(index); !(res
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/res/
H A DXResourceBundleBase.java23 package com.sun.org.apache.xml.internal.utils.res;
H A DXResources_de.java23 package com.sun.org.apache.xml.internal.utils.res;
H A DXResources_en.java23 package com.sun.org.apache.xml.internal.utils.res;

Completed in 100 milliseconds

1234567891011>>