/libcore/dalvik/src/test/java/libcore/dalvik/system/ |
D | CloseGuardTest.java | 54 ResourceOwner owner = new ResourceOwner(); 55 assertUnreleasedResources(owner, 0); 61 ResourceOwner owner = new ResourceOwner(); 62 owner.open(); 63 assertUnreleasedResources(owner, 1); 69 ResourceOwner owner = new ResourceOwner(); 70 owner.openWithCallsite("testEnabled_OpoenWIthCallsiteNotClosed"); 71 assertUnreleasedResources(owner, 1); 77 ResourceOwner owner = new ResourceOwner(); 78 owner.open(); [all …]
|
/libcore/ojluni/src/main/java/java/lang/constant/ |
D | MethodHandleDesc.java | 78 ClassDesc owner, in of() argument 86 return ofField(kind, owner, name, ClassDesc.ofDescriptor(lookupDescriptor)); in of() 88 …return new DirectMethodHandleDescImpl(kind, owner, name, MethodTypeDesc.ofDescriptor(lookupDescrip… in of() 118 ClassDesc owner, in ofMethod() argument 134 return new DirectMethodHandleDescImpl(kind, owner, name, lookupMethodType); in ofMethod() 156 ClassDesc owner, in ofField() argument 160 case GETTER -> MethodTypeDesc.of(fieldType, owner); in ofField() 161 case SETTER -> MethodTypeDesc.of(CD_void, owner, fieldType); in ofField() 166 return new DirectMethodHandleDescImpl(kind, owner, fieldName, mtr); in ofField() 179 static DirectMethodHandleDesc ofConstructor(ClassDesc owner, in ofConstructor() argument [all …]
|
D | DirectMethodHandleDescImpl.java | 46 private final ClassDesc owner; field in DirectMethodHandleDescImpl 65 DirectMethodHandleDescImpl(Kind kind, ClassDesc owner, String name, MethodTypeDesc type) { in DirectMethodHandleDescImpl() argument 70 validateClassOrInterface(requireNonNull(owner)); in DirectMethodHandleDescImpl() 83 this.owner = owner; in DirectMethodHandleDescImpl() 86 this.invocationType = type.insertParameterTypes(0, owner); in DirectMethodHandleDescImpl() 88 this.invocationType = type.changeReturnType(owner); in DirectMethodHandleDescImpl() 121 public ClassDesc owner() { in owner() method in DirectMethodHandleDescImpl 122 return owner; in owner() 155 Class<?> resolvedOwner = (Class<?>) owner.resolveConstantDesc(lookup); in resolveConstantDesc() 189 Objects.equals(owner, desc.owner) && [all …]
|
D | ConstantDescs.java | 302 public static DirectMethodHandleDesc ofCallsiteBootstrap(ClassDesc owner, in ofCallsiteBootstrap() argument 306 … return MethodHandleDesc.ofMethod(STATIC, owner, name, MethodTypeDesc.of(returnType, paramTypes) in ofCallsiteBootstrap() 323 public static DirectMethodHandleDesc ofConstantBootstrap(ClassDesc owner, in ofConstantBootstrap() argument 327 … return MethodHandleDesc.ofMethod(STATIC, owner, name, MethodTypeDesc.of(returnType, paramTypes) in ofConstantBootstrap()
|
D | DirectMethodHandleDesc.java | 230 ClassDesc owner(); in owner() method
|
D | DynamicCallSiteDesc.java | 286 bootstrapMethod.owner().displayName(), in toString()
|
/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/ |
D | SignaturesCollector.java | 238 public boolean containsField(String owner, String name, String desc) { in containsField() argument 239 return contains(new Field(owner, name, desc)); in containsField() 242 public boolean containsMethod(String owner, String name, String desc) { in containsMethod() argument 243 return contains(new Method(owner, name, desc)); in containsMethod() 261 private final String owner; field in SignaturesCollector.Field 270 private Field(String owner, String name, String desc) { in Field() argument 271 this.owner = owner; in Field() 277 this(node.owner, node.name, node.desc); in Field() 289 return owner.equals(field.owner) && name.equals(field.name) && desc.equals(field.desc); in equals() 294 return Objects.hash(owner, name, desc); in hashCode() [all …]
|
D | DependencyAnalyzer.java | 630 String owner = member.getOwner(); in test() local 632 owner = oldPrefix + owner.substring(newPrefix.length()); in test() 638 if (mSignatures.containsMethod(owner, name, desc)) { in test() 642 if (mSignatures.containsField(owner, name, desc)) { in test()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | NativeBuffer.java | 44 private Object owner; field in NativeBuffer 85 void setOwner(Object owner) { in setOwner() argument 86 this.owner = owner; in setOwner() 90 Object owner() { in owner() method in NativeBuffer 91 return owner; in owner()
|
D | FileOwnerAttributeViewImpl.java | 89 return ((PosixFileAttributeView)view).readAttributes().owner(); in getOwner() 96 public void setOwner(UserPrincipal owner) in setOwner() argument 100 ((PosixFileAttributeView)view).setOwner(owner); in setOwner() 102 ((AclFileAttributeView)view).setOwner(owner); in setOwner()
|
D | UnixFileAttributes.java | 57 private volatile UserPrincipal owner; field in UnixFileAttributes 192 public UserPrincipal owner() { in owner() method in UnixFileAttributes 193 if (owner == null) { in owner() 195 if (owner == null) { in owner() 196 owner = UnixUserPrincipals.fromUid(st_uid); in owner() 200 return owner; in owner()
|
D | UnixFileAttributeViews.java | 196 builder.add(OWNER_NAME, attrs.owner()); in addRequestedPosixAttributes() 264 public void setOwner(UserPrincipal owner) in setOwner() argument 267 if (owner == null) in setOwner() 269 if (!(owner instanceof UnixUserPrincipals.User)) in setOwner() 271 if (owner instanceof UnixUserPrincipals.Group) in setOwner() 273 int uid = ((UnixUserPrincipals.User)owner).uid(); in setOwner() 279 return readAttributes().owner(); in getOwner()
|
D | UnixSecureDirectoryStream.java | 548 return readAttributes().owner(); in getOwner() 552 public void setOwner(UserPrincipal owner) in setOwner() argument 555 if (!(owner instanceof UnixUserPrincipals.User)) in setOwner() 557 if (owner instanceof UnixUserPrincipals.Group) in setOwner() 559 int uid = ((UnixUserPrincipals.User)owner).uid(); in setOwner()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoUtils.java | 97 private static long generateFdOwnerId(Object owner) { in generateFdOwnerId() argument 98 if (owner == null) { in generateFdOwnerId() 104 if (owner instanceof java.io.FileInputStream) { in generateFdOwnerId() 106 } else if (owner instanceof java.io.FileOutputStream) { in generateFdOwnerId() 108 } else if (owner instanceof java.io.RandomAccessFile) { in generateFdOwnerId() 110 } else if (owner instanceof java.net.DatagramSocketImpl) { in generateFdOwnerId() 112 } else if (owner instanceof java.net.SocketImpl) { in generateFdOwnerId() 114 } else if (isParcelFileDescriptor(owner)) { in generateFdOwnerId() 130 long tagValue = System.identityHashCode(owner) & mask; in generateFdOwnerId() 152 public static void setFdOwner(@NonNull FileDescriptor fd, @NonNull Object owner) { in setFdOwner() argument [all …]
|
/libcore/ojluni/src/main/java/java/security/acl/ |
D | Owner.java | 63 public boolean addOwner(Principal caller, Principal owner) in addOwner() argument 87 public boolean deleteOwner(Principal caller, Principal owner) in deleteOwner() argument 99 public boolean isOwner(Principal owner); in isOwner() argument
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | PosixFileAttributeViewTest.java | 256 view.setOwner(attrs.owner()); in ownerTests() 260 UserPrincipal owner = (UserPrincipal)Files.getAttribute(file, "posix:owner"); in ownerTests() local 261 Files.setAttribute(file, "posix:owner", owner); in ownerTests() 287 System.out.format("lookup: %s\n", attrs.owner().getName()); in lookupPrincipalTests() 289 UserPrincipal owner = lookupService.lookupPrincipalByName(attrs.owner().getName()); in lookupPrincipalTests() local 290 if (owner instanceof GroupPrincipal) in lookupPrincipalTests() 292 if (!owner.equals(attrs.owner())) in lookupPrincipalTests()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogManager.java | 290 final LogManager owner = this; in ensureLogManagerInitialized() local 291 if (initializationDone || owner != manager) { in ensureLogManagerInitialized() 337 owner.readPrimordialConfiguration(); in ensureLogManagerInitialized() 340 owner.rootLogger = owner.new RootLogger(); in ensureLogManagerInitialized() 341 owner.addLogger(owner.rootLogger); in ensureLogManagerInitialized() 342 if (!owner.rootLogger.isLevelInitialized()) { in ensureLogManagerInitialized() 343 owner.rootLogger.setLevel(defaultLevel); in ensureLogManagerInitialized() 354 owner.addLogger(global); in ensureLogManagerInitialized() 647 final LogManager owner = getOwner(); in demandLogger() local 648 return owner.demandLogger(name, resourceBundleName, null); in demandLogger() [all …]
|
/libcore/test-rules/src/main/java/libcore/junit/util/ |
D | ResourceLeakageDetector.java | 200 public void assertUnreleasedResourceCount(Object owner, int expectedCount) { in assertUnreleasedResourceCount() argument 202 FINALIZER_CHECKER.accept(owner, expectedCount); in assertUnreleasedResourceCount()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | PosixFileAttributes.java | 52 UserPrincipal owner(); in owner() method
|
D | FileOwnerAttributeView.java | 100 void setOwner(UserPrincipal owner) throws IOException; in setOwner() argument
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | Inflater.java | 765 private InflaterZStreamRef(Inflater owner, long addr) { in InflaterZStreamRef() argument 766 … this.cleanable = (owner != null) ? CleanerFactory.cleaner().register(owner, this) : null; in InflaterZStreamRef()
|
D | Deflater.java | 960 private DeflaterZStreamRef(Deflater owner, long addr) { in DeflaterZStreamRef() argument 961 … this.cleanable = (owner != null) ? CleanerFactory.cleaner().register(owner, this) : null; in DeflaterZStreamRef()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | SubmissionPublisher.java | 245 Thread owner; field in SubmissionPublisher 355 owner = Thread.currentThread(); in subscribe() 406 if ((unowned = ((o = owner) != t)) && o != null) in doOffer() 407 owner = null; // disable bias in doOffer() 632 owner = null; in close() 669 owner = null; in closeExceptionally()
|
D | ForkJoinPool.java | 888 final ForkJoinWorkerThread owner; // owning thread or null if shared 928 WorkQueue(ForkJoinWorkerThread owner, boolean isInnocuous) { 930 this.owner = owner; 939 owner = null; 964 return !((source != 0 && owner == null) || top - base > 0); 1019 if (owner == null) 1286 return ((wt = owner) != null && 1603 Thread vt = v.owner; 1797 Thread vt = v.owner; 2333 if ((q = qs[j]) != null && (thread = q.owner) != null &&
|
/libcore/benchmarks/libs/ |
D | caliper.jar.txt | 13 "Licensor" shall mean the copyright owner or entity authorized by 14 the copyright owner that is granting the License. 52 submitted to Licensor for inclusion in the Work by the copyright owner 54 the copyright owner. For the purposes of this definition, "submitted" 61 designated in writing by the copyright owner as "Not a Contribution." 190 Copyright [yyyy] [name of copyright owner]
|