/openjdk7/jdk/src/windows/native/com/sun/media/sound/ |
H A D | PLATFORM_API_WinOS_DirectSound.cpp | 538 HRESULT res = DS_OK; local 552 res = DirectSoundCreate(lpGuid, &devPlay, NULL); 555 res = DirectSoundCaptureCreate(lpGuid, &devCapture, NULL); 559 if (FAILED(res)) { 560 ERROR1("DAUDIO_Open: ERROR: Failed to create DirectSound: %s", TranslateDSError(res)); 570 res = devPlay->SetCooperativeLevel(ownerWindow, DSSCL_NORMAL); 571 if (FAILED(res)) { 572 ERROR1("DAUDIO_Open: ERROR: Failed to set cooperative level: %s", TranslateDSError(res)); 779 HRESULT res; local 807 res 933 HRESULT res = DS_OK; local 1149 HRESULT res; local 1241 HRESULT res; local [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | JSJavaInstanceKlass.java | 134 String[] res = new String[k.size() + superFields.length]; 135 System.arraycopy(superFields, 0, res, 0, superFields.length); 138 res[i] = (String) itr.next(); 141 return res; 229 Integer res = (Integer) fields.get(name); 230 return (res != null)? res.intValue() : FIELD_UNDEFINED; 337 List res = new ArrayList(0); 340 res.add(k.getJavaMirror()); 342 return factory.newJSList(res); [all...] |
/openjdk7/jdk/src/windows/classes/java/io/ |
H A D | Win32FileSystem.java | 395 String res = cache.get(path); 396 if (res == null) { 408 res = canonicalizeWithPrefix(resDir, filename); 409 cache.put(dir + File.separatorChar + filename, res); 413 if (res == null) { 414 res = canonicalize0(path); 415 cache.put(path, res); 417 resDir = parentOrNull(res); 419 File f = new File(res); 427 return res; [all...] |
/openjdk7/jdk/src/share/native/sun/security/ec/impl/ |
H A D | ecl_mult.c | 54 mp_err res = MP_OKAY; local 97 return res; 109 mp_err res = MP_OKAY; local 149 return res; 164 mp_err res = MP_OKAY; local 302 return res; 313 mp_err res = MP_OKAY; local 348 res = group->points_mul(k1p, k2p, px, py, rx, ry, group); 350 res = ec_pts_mul_simul_w2(k1p, k2p, px, py, rx, ry, group); 356 return res; [all...] |
/openjdk7/hotspot/agent/src/os/bsd/ |
H A D | libproc_impl.c | 220 uintptr_t res = search_symbol(lib->symtab, lib->base, sym_name, NULL); local 221 if (res) return res; 233 const char* res = NULL; local 237 res = nearest_symbol(lib->symtab, addr - lib->base, poffset); 238 if (res) return res;
|
/openjdk7/hotspot/agent/src/os/linux/ |
H A D | libproc_impl.c | 218 uintptr_t res = search_symbol(lib->symtab, lib->base, sym_name, NULL); local 219 if (res) return res; 231 const char* res = NULL; local 235 res = nearest_symbol(lib->symtab, addr - lib->base, poffset); 236 if (res) return res;
|
/openjdk7/jdk/src/windows/native/sun/nio/fs/ |
H A D | WindowsNativeDispatcher.c | 487 DWORD res = GetLogicalDrives(); local 488 if (res == 0) { 491 return (jint)res; 524 BOOL res = GetFileAttributesExW(lpFileName, GetFileExInfoStandard, (LPVOID)data); local 525 if (res == 0) 568 BOOL res = GetVolumeInformationW(lpFileName, local 576 if (res == 0) { 611 BOOL res = GetDiskFreeSpaceExW(lpDirName, local 615 if (res == 0) { 637 BOOL res local 680 BOOL res = SetFileSecurityW(lpFileName, local 697 BOOL res = GetFileSecurityW(lpFileName, local 961 BOOL res; local 989 BOOL res; local 1192 BOOL res; local 1216 BOOL res; local 1232 BOOL res; local 1254 BOOL res; local 1280 BOOL res; local [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/ |
H A D | PopulationCoding.java | 447 public static int parseMetaCoding(byte[] bytes, int pos, Coding dflt, CodingMethod res[]) { argument 468 res[0] = pop; 484 StringBuilder res = new StringBuilder(100); 485 res.append("pop(").append("fVlen=").append(fVlen); 487 res.append(" fV=["); 489 res.append(i==1?"":",").append(fValues[i]); 491 res.append(";").append(computeSentinelValue()); 492 res.append("]"); 494 res.append(" fc=").append(keyString(favoredCoding)); 495 res [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | workgroup.cpp | 457 bool res = old != 0; local 459 if (!res) { 464 return res; 498 jint res = Atomic::cmpxchg(t+1, n_claimed_ptr, t); 499 if (res == (jint)t) { 511 uint res = Atomic::cmpxchg(complete+1, n_completed_ptr, complete); 512 if (res == complete) { 515 complete = res; 592 int res = _hd; 593 _hd = _ids[res]; [all...] |
/openjdk7/jdk/src/share/classes/sun/invoke/anon/ |
H A D | ConstantPoolPatch.java | 461 String res = buf.toString(); 462 assert(stripSemis(names.length, res)[0].equals(name)); 463 assert(stripSemis(names.length, res)[1].equals(names[0])); 465 stripSemis(names.length, res)[2].equals(names[1])); 466 return res; 470 String[] res = new String[count+1]; 475 res[i] = string.substring(pos, pos2); 478 res[count] = string.substring(pos); 479 return res;
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/types/basic/ |
H A D | BasicType.java | 199 Field res = getField(fieldName, searchSuperclassFields); 200 if (res == null) { 203 if (!res.getType().equals(declaredType)) { 206 ", but instead of type " + res.getType()); 208 return res;
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | SourceCodePanel.java | 224 int res = 0; 226 res = in.read(tmp, 0, tmp.length); 227 if (res >= 0) { 228 buf.append(tmp, 0, res); 230 } while (res != -1);
|
/openjdk7/hotspot/test/compiler/5091921/ |
H A D | Test6890943.java | 57 String res = digs == -1 ? "No" : "Yes " + digs; 58 System.out.printf("Case #%d: %s\n", t+1, res); 138 int res = 0; 140 if (grid[p][column] == AIR) res++; 143 return res;
|
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/ |
H A D | vis_ByteGray.c | 723 mlib_s32 i, j, x0, x1, mask, res; local 773 res = LutU32[x0]; 774 mask = res >> 16; 775 *dst++ = (res & mask) | (*dst &~ mask); 783 res = (LutU32[x0] << 8) | LutU32[x1]; 784 mask = res >> 16; 785 ((mlib_u16*)dst)[0] = (res & mask) | (((mlib_u16*)dst)[0] &~ mask); 791 res = LutU32[x0]; 792 mask = res >> 16; 793 *dst = (res 891 mlib_s32 i, j, x0, x1, mask, res; local [all...] |
/openjdk7/jdk/test/sun/util/logging/ |
H A D | PlatformLoggerTest.java | 229 Point[] res = new Point[3]; 230 res[0] = new Point(0,0); 231 res[1] = new Point(1,1); 232 res[2] = new Point(2,2); 233 return res;
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | LocalVirtualMachine.java | 65 String[] res = commandLine.split(" ", 2); 66 if (res[0].endsWith(".jar")) { 67 File jarfile = new File(res[0]); 69 if (res.length == 2) { 70 displayName += " " + res[1];
|
/openjdk7/langtools/test/tools/javac/TryWithResources/ |
H A D | UnusedResourcesTest.java | 99 boolean isUsedIn(TwrStmt res, TwrStmt stmt) { argument 100 return this.stmt == res && 202 for (TwrStmt res : TwrStmt.values()) { 205 if (usage.isUsedIn(res, stmt)) { 206 usedResources[res.ordinal()] = true;
|
/openjdk7/hotspot/agent/make/ |
H A D | ClosureFinder.java | 248 Iterator res = out.keySet().iterator(); 249 for(; res.hasNext(); ) { 250 String className = (String) res.next();
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ |
H A D | ConstantPool.java | 196 int res = getIntAt(i); 198 System.err.println("ConstantPool.getFieldOrMethodAt(" + i + "): result = " + res); 200 return res; 337 int res = extractHighShortFromInt(getIntAt(i)); 339 System.err.println("ConstantPool.getMethodHandleIndexAt(" + i + "): result = " + res); 341 return res; 349 int res = extractLowShortFromInt(getIntAt(i)); 351 System.err.println("ConstantPool.getMethodHandleRefKindAt(" + i + "): result = " + res); 353 return res; 361 int res [all...] |
/openjdk7/hotspot/src/share/vm/code/ |
H A D | vmreg.hpp | 156 // VMReg res = VMRegImpl::as_VMReg(value() + offset); 157 VMReg res = stack2reg(reg2stack() + offset); local 158 assert(res->is_stack(), "must be"); 159 return res;
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | collectionSetChooser.cpp | 182 uint res = (uint) Atomic::add((jint) chunk_size, local 184 assert(regions_length() > res + chunk_size - 1, 186 return res - chunk_size;
|
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/ |
H A D | JavaObjectArray.java | 167 byte[] res = new byte[len * idSize]; 168 buf.get(offset + 4 + idSize, res); 169 return res;
|
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | DevPollArrayWrapper.c | 86 int res = ioctl(wfd, dpctl, &a); local 87 if (res < 0 && errno == EINTR) { 99 return res;
|
/openjdk7/jdk/test/java/lang/invoke/ |
H A D | PermuteArgsTest.java | 102 ArrayList<Object> res = new ArrayList<>(); 103 for (int x : va) res.add(x); 104 return res; 107 ArrayList<Object> res = new ArrayList<>(); 108 res.addAll(Arrays.asList(x, y, z)); 109 res.addAll(Arrays.asList(va)); 110 return res; 295 Object res = permuteArguments(mh, pmt, perm).invokeWithArguments(unpermuteArgs(perm, args)); 296 String str = String.valueOf(res); 371 T[] res [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/type/ |
H A D | TypeMaker.java | 123 ArrayList<T> res = new ArrayList<T>(); 127 res.add(resType.cast(mir)); 130 return res;
|