Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 22 of 22) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
DIdentityScope.java75 private static IdentityScope scope; field in IdentityScope
95 scope = (IdentityScope) Class.forName(classname).newInstance(); in initializeSystemScope()
130 public IdentityScope(String name, IdentityScope scope) in IdentityScope() argument
132 super(name, scope); in IdentityScope()
144 if (scope == null) { in getSystemScope()
147 return scope; in getSystemScope()
168 protected static void setSystemScope(IdentityScope scope) { in setSystemScope() argument
170 IdentityScope.scope = scope; in setSystemScope()
DIdentity.java94 IdentityScope scope; field in Identity
119 public Identity(String name, IdentityScope scope) throws in Identity() argument
122 if (scope != null) { in Identity()
123 scope.addIdentity(this); in Identity()
125 this.scope = scope; in Identity()
152 return scope; in getScope()
391 if (scope != null) { in fullName()
392 parsable += "." + scope.getName(); in fullName()
417 if (scope != null) { in toString()
418 printable += "[" + scope.getName() + "]"; in toString()
DSigner.java89 public Signer(String name, IdentityScope scope) in Signer() argument
91 super(name, scope); in Signer()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScopeTest.java78 IdentityScope scope = new IdentityScopeStub("my scope"); in testIdentityScopeStringIdentityScope() local
79 is = new IdentityScopeStub("Aleksei Semenov", scope); in testIdentityScopeStringIdentityScope()
82 assertEquals(scope.getName(), is.getScope().getName()); in testIdentityScopeStringIdentityScope()
92 IdentityScope scope = IdentityScope.getSystemScope(); in testGetSystemScope() local
93 assertNull(scope); in testGetSystemScope()
DIdentity2Test.java132 public IdentitySubclass(String name, IdentityScope scope) in IdentitySubclass() argument
134 super(name, scope); in IdentitySubclass()
203 IdentityScope scope = new IdentityScopeSubclass(); in test_getScope() local
204 IdentitySubclass sub = new IdentitySubclass("test", scope); in test_getScope()
206 assertEquals("Wrong Scope returned", scope, returnedScope); in test_getScope()
DIdentityScope2Test.java65 public IdentityScopeSubclass(String name, IdentityScope scope) in IdentityScopeSubclass() argument
67 super(name, scope); in IdentityScopeSubclass()
320 IdentityScope scope = IdentityScope.getSystemScope(); in test_getIdentity() local
322 scope.getIdentity((String) null); in test_getIdentity()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DIdentityScopeStub.java59 public IdentityScopeStub(String name, IdentityScope scope) in IdentityScopeStub() argument
61 super(name, scope); in IdentityScopeStub()
120 public static void mySetSystemScope(IdentityScope scope) { in mySetSystemScope() argument
122 IdentityScope.setSystemScope(scope); in mySetSystemScope()
DSignerStub.java59 public SignerStub(String name, IdentityScope scope) in SignerStub() argument
61 super(name, scope); in SignerStub()
DIdentityStub.java63 public IdentityStub(String name, IdentityScope scope) in IdentityStub() argument
65 super(name, scope); in IdentityStub()
DSystemScope.java67 public SystemScope(String name, IdentityScope scope) in SystemScope() argument
69 super(name, scope); in SystemScope()
/libcore/ojluni/src/main/java/java/nio/
DHeap-X-Buffer.java.template331 … return SCOPED_MEMORY_ACCESS.getCharUnaligned(scope(), hb, byteOffset(nextGetIndex(2)), bigEndian);
335 …return SCOPED_MEMORY_ACCESS.getCharUnaligned(scope(), hb, byteOffset(checkIndex(i, 2)), bigEndian);
342 … SCOPED_MEMORY_ACCESS.putCharUnaligned(scope(), hb, byteOffset(nextPutIndex(2)), x, bigEndian);
351 … SCOPED_MEMORY_ACCESS.putCharUnaligned(scope(), hb, byteOffset(checkIndex(i, 2)), x, bigEndian);
383 …return SCOPED_MEMORY_ACCESS.getShortUnaligned(scope(), hb, byteOffset(nextGetIndex(2)), bigEndian);
387 …return SCOPED_MEMORY_ACCESS.getShortUnaligned(scope(), hb, byteOffset(checkIndex(i, 2)), bigEndian…
394 … SCOPED_MEMORY_ACCESS.putShortUnaligned(scope(), hb, byteOffset(nextPutIndex(2)), x, bigEndian);
403 … SCOPED_MEMORY_ACCESS.putShortUnaligned(scope(), hb, byteOffset(checkIndex(i, 2)), x, bigEndian);
435 … return SCOPED_MEMORY_ACCESS.getIntUnaligned(scope(), hb, byteOffset(nextGetIndex(4)), bigEndian);
439 … return SCOPED_MEMORY_ACCESS.getIntUnaligned(scope(), hb, byteOffset(checkIndex(i, 4)), bigEndian);
[all …]
DDirect-X-Buffer.java.template304 Scope scope = scope();
305 if (scope != null) {
306 if (scope.ownerThread() == null) {
310 scope.checkValidState();
324 … return $fromBits$($swap$(SCOPED_MEMORY_ACCESS.get$Swaptype$(scope(), null, ix(nextGetIndex()))));
332 … return $fromBits$($swap$(SCOPED_MEMORY_ACCESS.get$Swaptype$(scope(), null, ix(checkIndex(i)))));
352 … SCOPED_MEMORY_ACCESS.put$Swaptype$(scope(), null, ix(nextPutIndex()), $swap$($toBits$(x)));
365 … SCOPED_MEMORY_ACCESS.put$Swaptype$(scope(), null, ix(checkIndex(i)), $swap$($toBits$(x)));
382 // null is passed as destination Scope to avoid checking scope() twice
383 SCOPED_MEMORY_ACCESS.copyMemory(scope(), null, null,
DByteBufferAs-X-Buffer.java.template133 …$memtype$ x = SCOPED_MEMORY_ACCESS.get$Memtype$Unaligned(scope(), bb.hb, byteOffset(nextGetIndex()…
139 …$memtype$ x = SCOPED_MEMORY_ACCESS.get$Memtype$Unaligned(scope(), bb.hb, byteOffset(checkIndex(i)),
157 SCOPED_MEMORY_ACCESS.put$Memtype$Unaligned(scope(), bb.hb, byteOffset(nextPutIndex()), y,
168 SCOPED_MEMORY_ACCESS.put$Memtype$Unaligned(scope(), bb.hb, byteOffset(checkIndex(i)), y,
DDirect-X-Buffer-bin.java.template36 $memtype$ x = SCOPED_MEMORY_ACCESS.get$Memtype$Unaligned(scope(), null, a, bigEndian);
65 SCOPED_MEMORY_ACCESS.put$Memtype$Unaligned(scope(), null, a, y, bigEndian);
DX-Buffer.java.template928 scope(), null, base(), bufAddr,
933 scope(), null, base(), bufAddr,
1098 src.scope(), scope(), srcBase, srcAddr,
1103 src.scope(), scope(), srcBase, srcAddr,
1318 null, scope(), src, srcOffset,
1323 null, scope(), src, srcOffset,
/libcore/ojluni/src/main/native/
Dnet_util.c235 jint scope; in NET_SockaddrToInetAddress() local
251 scope = getScopeID(him); in NET_SockaddrToInetAddress()
252 setInet6Address_scopeid(env, iaObj, scope); in NET_SockaddrToInetAddress()
313 int scope; in NET_SockaddrEqualsInetAddress() local
318 scope = getInet6Address_scopeid(env, iaObj); in NET_SockaddrEqualsInetAddress()
320 if (NET_IsEqual(caddrNew, caddrCur) && cmpScopeID(scope, him)) { in NET_SockaddrEqualsInetAddress()
Dnet_util_md.c249 int cmpScopeID (unsigned int scope, struct sockaddr *him) { in cmpScopeID() argument
251 return hext->sin6_scope_id == scope; in cmpScopeID()
261 int cmpScopeID (unsigned int scope, struct sockaddr *him) { in cmpScopeID() argument
263 return him6->sin6_scope_id == scope; in cmpScopeID()
630 int plen, scope, dad_status, if_idx;
636 &if_idx, &plen, &scope, &dad_status, devname) == 13) {
/libcore/ojluni/src/main/java/java/sql/
DDatabaseMetaData.java1833 String table, int scope, boolean nullable) throws SQLException; in getBestRowIdentifier() argument
/libcore/ojluni/src/tools/
DLICENSE73 covered by this License; they are outside its scope. The act of
132 the scope of this License.
/libcore/ojluni/src/test/
DLICENSE73 covered by this License; they are outside its scope. The act of
132 the scope of this License.
/libcore/
DLICENSE71 this License; they are outside its scope. The act of running the Program is
125 distribution medium does not bring the other work under the scope of this
/libcore/ojluni/src/main/
DLICENSE79 this License; they are outside its scope. The act of running the Program is
133 distribution medium does not bring the other work under the scope of this