Home
last modified time | relevance | path

Searched refs:acc (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java78 private final AccessControlContext acc; field in URLClassLoader
106 this.acc = AccessController.getContext(); in URLClassLoader()
107 ucp = new URLClassPath(urls, acc); in URLClassLoader()
111 AccessControlContext acc) { in URLClassLoader() argument
118 this.acc = acc; in URLClassLoader()
119 ucp = new URLClassPath(urls, acc); in URLClassLoader()
150 this.acc = AccessController.getContext(); in URLClassLoader()
151 ucp = new URLClassPath(urls, acc); in URLClassLoader()
154 URLClassLoader(URL[] urls, AccessControlContext acc) { in URLClassLoader() argument
161 this.acc = acc; in URLClassLoader()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
DSubjectTest.java155 AccessControlContext acc = AccessController.getContext(); in test_doAsPrivileged_01() local
158 Object obj = Subject.doAsPrivileged(null, pa, acc); in test_doAsPrivileged_01()
164 Object obj = Subject.doAsPrivileged(subj, pa, acc); in test_doAsPrivileged_01()
170 Object obj = Subject.doAsPrivileged(subj, paNull, acc); in test_doAsPrivileged_01()
185 AccessControlContext acc = AccessController.getContext(); in test_doAsPrivileged_02() local
188 Object obj = Subject.doAsPrivileged(null, pea, acc); in test_doAsPrivileged_02()
194 Object obj = Subject.doAsPrivileged(subj, pea, acc); in test_doAsPrivileged_02()
200 Object obj = Subject.doAsPrivileged(subj, peaNull, acc); in test_doAsPrivileged_02()
212 }, acc); in test_doAsPrivileged_02()
223 AccessControlContext acc = new AccessControlContext(new ProtectionDomain[0]); in test_getSubject() local
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java1171 TemporalAccessor acc = fmt.parse("86402"); in test_parse_fromField_InstantSeconds() local
1173 assertEquals(acc.isSupported(INSTANT_SECONDS), true); in test_parse_fromField_InstantSeconds()
1174 assertEquals(acc.isSupported(NANO_OF_SECOND), true); in test_parse_fromField_InstantSeconds()
1175 assertEquals(acc.isSupported(MICRO_OF_SECOND), true); in test_parse_fromField_InstantSeconds()
1176 assertEquals(acc.isSupported(MILLI_OF_SECOND), true); in test_parse_fromField_InstantSeconds()
1177 assertEquals(acc.getLong(INSTANT_SECONDS), 86402L); in test_parse_fromField_InstantSeconds()
1178 assertEquals(acc.getLong(NANO_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds()
1179 assertEquals(acc.getLong(MICRO_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds()
1180 assertEquals(acc.getLong(MILLI_OF_SECOND), 0L); in test_parse_fromField_InstantSeconds()
1181 assertEquals(Instant.from(acc), expected); in test_parse_fromField_InstantSeconds()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DLongAccumulatorTest.java141 final LongAccumulator acc; field in LongAccumulatorTest.AccTask
145 AccTask(LongAccumulator acc, Phaser phaser, int incs) { in AccTask() argument
146 this.acc = acc; in AccTask()
153 LongAccumulator a = acc; in run()
DDoubleAccumulatorTest.java141 final DoubleAccumulator acc; field in DoubleAccumulatorTest.AccTask
145 AccTask(DoubleAccumulator acc, Phaser phaser, int incs) { in AccTask() argument
146 this.acc = acc; in AccTask()
153 DoubleAccumulator a = acc; in run()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DDoubleAccumulatorTest.java164 final DoubleAccumulator acc; field in DoubleAccumulatorTest.AccTask
168 AccTask(DoubleAccumulator acc, Phaser phaser, int incs) { in AccTask() argument
169 this.acc = acc; in AccTask()
176 DoubleAccumulator a = acc; in run()
DLongAccumulatorTest.java164 final LongAccumulator acc; field in LongAccumulatorTest.AccTask
168 AccTask(LongAccumulator acc, Phaser phaser, int incs) { in AccTask() argument
169 this.acc = acc; in AccTask()
176 LongAccumulator a = acc; in run()
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java472 final AccessControlContext acc;
476 this.acc = AccessController.getContext();
486 }, acc);
500 final AccessControlContext acc;
519 this.acc = AccessController.getContext();
541 }, acc);
582 final AccessControlContext acc;
600 this.acc = AccessController.getContext();
613 }, acc);
DForkJoinWorkerThread.java93 AccessControlContext acc) { in ForkJoinWorkerThread() argument
95 U.putOrderedObject(this, INHERITEDACCESSCONTROLCONTEXT, acc); in ForkJoinWorkerThread()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DURLClassPath.java37 java.security.AccessControlContext acc) { in URLClassPath() argument
45 public URLClassPath(java.net.URL[] urls, java.security.AccessControlContext acc) { in URLClassPath() argument
184 private final java.security.AccessControlContext acc; field in URLClassPath
187 acc = null;
236 java.security.AccessControlContext acc) in JarLoader() argument
307 private final java.security.AccessControlContext acc; field in URLClassPath.JarLoader
310 acc = null;
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java110 private final AccessControlContext acc; field in URLClassPath
126 AccessControlContext acc) { in URLClassPath() argument
135 this.acc = null; in URLClassPath()
137 this.acc = acc; in URLClassPath()
148 public URLClassPath(URL[] urls, AccessControlContext acc) { in URLClassPath() argument
149 this(urls, null, acc); in URLClassPath()
584 return new JarLoader(url, jarHandler, lmap, acc);
587 }, acc);
817 private final AccessControlContext acc;
829 AccessControlContext acc)
[all …]
/libcore/ojluni/src/main/java/javax/security/auth/
DSubject.java283 public static Subject getSubject(final AccessControlContext acc) { in getSubject() argument
290 if (acc == null) { in getSubject()
299 DomainCombiner dc = acc.getDomainCombiner(); in getSubject()
463 final java.security.AccessControlContext acc) {
477 (acc == null ?
479 acc);
529 final java.security.AccessControlContext acc)
543 (acc == null ?
545 acc);
554 final AccessControlContext acc) {
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java336 final java.security.AccessControlContext acc; field in Executors.PrivilegedCallable
339 acc = null;
361 final java.security.AccessControlContext acc; field in Executors.PrivilegedCallableUsingCurrentClassLoader
364 acc = null;
392 final java.security.AccessControlContext acc; field in Executors.PrivilegedThreadFactory
395 acc = null;
/libcore/ojluni/src/main/java/java/security/
DAccessControlContext.java42 public AccessControlContext(AccessControlContext acc, in AccessControlContext() argument
/libcore/ojluni/src/main/java/sun/nio/ch/
DUnixAsynchronousServerSocketChannelImpl.java228 AccessControlContext acc) in finishAccept() argument
241 if (acc != null) { in finishAccept()
251 }, acc); in finishAccept()
DAsynchronousChannelGroupImpl.java321 final AccessControlContext acc = AccessController.getContext();
332 }, acc);
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java42 Thread(java.lang.Runnable target, java.security.AccessControlContext acc) { in Thread() argument
119 java.security.AccessControlContext acc) { in init() argument
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectInputStream.java870 java.security.AccessControlContext acc) { in Callback() argument
874 final java.security.AccessControlContext acc; field in ObjectInputStream.ValidationList.Callback
877 acc = null;
/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java2089 BigDecimal acc = ONE; // accumulator in pow() local
2095 acc = acc.multiply(lhs, workmc); // acc=acc*x in pow()
2100 acc=acc.multiply(acc, workmc); // acc=acc*acc [square] in pow()
2105 acc=ONE.divide(acc, workmc); in pow()
2107 return doRound(acc, mc); in pow()