/libcore/ojluni/src/main/java/java/util/concurrent/ |
Future.java | 159 * @param unit the time unit of the timeout argument 168 V get(long timeout, TimeUnit unit)
|
TransferQueue.java | 120 * {@code unit} 121 * @param unit a {@code TimeUnit} determining how to interpret the 134 boolean tryTransfer(E e, long timeout, TimeUnit unit)
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
Condition.java | 313 * boolean aMethod(long timeout, TimeUnit unit) { 314 * long nanos = unit.toNanos(timeout); 365 * <pre> {@code awaitNanos(unit.toNanos(time)) > 0}</pre> 368 * @param unit the time unit of the {@code time} argument 374 boolean await(long time, TimeUnit unit) throws InterruptedException;
|
Lock.java | 315 * @param unit the time unit of the {@code time} argument 323 boolean tryLock(long time, TimeUnit unit) throws InterruptedException;
|
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/ |
FuturesUtil.java | 26 TimeUnit unit, Handler handler) { 27 return withTimeout(future, time, unit, ContactsExecutors.newHandlerExecutor(handler)); 39 TimeUnit unit, ScheduledExecutorService executor) { 47 }, time, unit);
|
/packages/apps/Settings/tests/unit/src/com/android/settings/tests/ |
Manufacturer.java | 21 import com.android.settings.tests.unit.R;
|
Operator.java | 21 import com.android.settings.tests.unit.R;
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
FakeClock.java | 68 * Increment the current time by one unit of time. 70 * @param unit The time unit to increment by. 72 public void increment(TimeUnit unit) { 73 increment(unit, 1); 77 * Increment the current time by {@code amount} unit of time. 79 * @param unit The time unit to increment by. 82 public void increment(TimeUnit unit, long amount) { 83 mCurrentTimeMillis += unit.toMillis(amount) [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/tic6x/ |
resource-func-unit-1.s | 1 # Test parallel instructions on same functional unit.
|
insns-bad-1.l | 15 [^:]*:18: Error: 'abs' instruction not supported on this functional unit 39 [^:]*:38: Error: 'abs2' instruction not supported on this functional unit 43 [^:]*:41: Error: 'absdp' instruction not supported on this functional unit 47 [^:]*:44: Error: 'absdp' instruction not supported on this functional unit 48 [^:]*:45: Error: 'abssp' instruction not supported on this functional unit 52 [^:]*:49: Error: 'add' instruction not supported on this functional unit 66 [^:]*:63: Error: 'add' instruction not supported on this functional unit 73 [^:]*:70: Error: 'addab' instruction not supported on this functional unit 82 [^:]*:79: Error: 'addad' instruction not supported on this functional unit 83 [^:]*:80: Error: 'addad' instruction not supported on this functional unit [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
InterruptionUtil.java | 76 static void requestInterruptIn(final long time, final TimeUnit unit) { 77 checkNotNull(unit); 83 unit.sleep(time); 120 Thread thread, long timeout, TimeUnit unit) { 123 long remainingNanos = unit.toNanos(timeout);
|
WrappingScheduledExecutorServiceTest.java | 112 void assertLastMethodCalled(String method, long delay, TimeUnit unit) { 115 assertEquals(unit, lastUnit); 118 void assertLastMethodCalled(String method, long initialDelay, long delay, TimeUnit unit) { 122 assertEquals(unit, lastUnit); 125 @Override public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 129 lastUnit = unit; 134 Callable<V> callable, long delay, TimeUnit unit) { 138 lastUnit = unit; 143 Runnable command, long initialDelay, long period, TimeUnit unit) { 148 lastUnit = unit; [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
nv40_verttex.c | 36 unsigned unit = ffs(dirty) - 1; local 37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; 38 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit]; 42 BEGIN_NV04(push, NV40_3D(VTXTEX_ENABLE(unit)), 1); 45 dirty &= ~(1 << unit);
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_texstate.c | 213 * Texture unit state management 216 static GLboolean r200UpdateTextureEnv( struct gl_context *ctx, int unit, int slot, GLuint replaceargs ) 219 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 229 fprintf( stderr, "%s( %p, %d )\n", __func__, (void *)ctx, unit ); 239 color_scale |= ((rmesa->state.texture.unit[unit].outputreg + 1) << R200_TXC_OUTPUT_REG_SHIFT) | 240 (unit << R200_TXC_TFACTOR_SEL_SHIFT) | 242 alpha_scale |= ((rmesa->state.texture.unit[unit].outputreg + 1) << R200_TXA_OUTPUT_REG_SHIFT) [all...] |
/external/ppp/pppd/ |
upap.c | 109 upap_state upap[NUM_PPP]; /* UPAP state; one for each unit */ 121 * upap_init - Initialize a UPAP unit. 124 upap_init(unit) 125 int unit; 127 upap_state *u = &upap[unit]; 129 u->us_unit = unit; 149 upap_authwithpeer(unit, user, password) 150 int unit; 153 upap_state *u = &upap[unit]; 179 upap_authpeer(unit) [all...] |
auth.c | 545 link_required(unit) 546 int unit; 553 void start_link(unit) 554 int unit; 613 link_terminated(unit) 614 int unit; 633 * can happen that another pppd gets the same unit and then 641 * the ppp unit back to the loopback. Set the 683 link_down(unit) 684 int unit; [all...] |
/external/llvm/bindings/ocaml/executionengine/ |
llvm_executionengine.ml | 14 external initialize : unit -> bool 34 external dispose : llexecutionengine -> unit 36 external add_module : Llvm.llmodule -> llexecutionengine -> unit 38 external remove_module : Llvm.llmodule -> llexecutionengine -> unit 40 external run_static_ctors : llexecutionengine -> unit 42 external run_static_dtors : llexecutionengine -> unit 46 external add_global_mapping_ : Llvm.llvalue -> nativeint -> llexecutionengine -> unit
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestScheduledExecutorService.java | 71 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { 98 TimeUnit unit) throws InterruptedException { 109 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) 120 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 121 TestFuture future = new TestFuture(command, delay, unit); 127 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { 133 TimeUnit unit) { 139 long delay, TimeUnit unit) { 186 final TimeUnit unit; field in class:TestScheduledExecutorService.TestFuture 188 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_maos_verts.c | 316 GLuint unit; local 346 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) { 347 if (inputs & VERT_BIT_TEX(unit)) { 348 req |= RADEON_ST_BIT(unit); 351 if (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size >= 3) { 352 req |= RADEON_Q_BIT(unit); 353 vtx |= RADEON_Q_BIT(unit); 355 if ( (ctx->Texture.Unit[unit].TexGenEnabled & (R_BIT | Q_BIT)) [all...] |
/external/syslinux/core/lwip/src/netif/ppp/ |
chap.c | 140 chap_state chap[NUM_PPP]; /* CHAP state; one for each unit */ 155 * ChapInit - Initialize a CHAP unit. 158 ChapInit(int unit) 160 chap_state *cstate = &chap[unit]; 163 cstate->unit = unit; 177 ChapAuthWithPeer(int unit, char *our_name, u_char digest) 179 chap_state *cstate = &chap[unit]; 204 ChapAuthPeer(int unit, char *our_name, u_char digest) 206 chap_state *cstate = &chap[unit]; [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
ForwardingExecutorService.java | 48 public boolean awaitTermination(long timeout, TimeUnit unit) 50 return delegate().awaitTermination(timeout, unit); 61 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) 63 return delegate().invokeAll(tasks, timeout, unit); 74 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) 76 return delegate().invokeAny(tasks, timeout, unit);
|
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
TestingExecutors.java | 124 @Override public boolean awaitTermination(long timeout, TimeUnit unit) { 131 Callable<V> callable, long delay, TimeUnit unit) { 136 Runnable command, long delay, TimeUnit unit) { 141 Runnable command, long initialDelay, long period, TimeUnit unit) { 146 Runnable command, long initialDelay, long delay, TimeUnit unit) { 157 @Override public long getDelay(TimeUnit unit) {
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
LocalizedNumberFormatter.java | 88 * The unit specified here overrides any unit that may have been specified in the setter chain. This method is 89 * intended for cases when each input to the number formatter has a different unit. 98 MeasureUnit unit = input.getUnit(); local 101 if (Utility.equals(resolve().unit, unit)) { 104 // This mechanism saves the previously used unit, so if the user calls this method with the 105 // same unit multiple times in a row, they get a more efficient code path. 107 if (withUnit == null || !Utility.equals(withUnit.resolve().unit, unit)) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
LocalizedNumberFormatter.java | 90 * The unit specified here overrides any unit that may have been specified in the setter chain. This method is 91 * intended for cases when each input to the number formatter has a different unit. 101 MeasureUnit unit = input.getUnit(); local 104 if (Utility.equals(resolve().unit, unit)) { 107 // This mechanism saves the previously used unit, so if the user calls this method with the 108 // same unit multiple times in a row, they get a more efficient code path. 110 if (withUnit == null || !Utility.equals(withUnit.resolve().unit, unit)) { [all...] |
/external/junit/src/main/java/org/junit/internal/runners/statements/ |
FailOnTimeout.java | 42 timeUnit = builder.unit; 52 private TimeUnit unit = TimeUnit.SECONDS; field in class:FailOnTimeout.Builder 67 * @param unit the time unit of the {@code timeout} argument 70 public Builder withTimeout(long timeout, TimeUnit unit) { 74 if (unit == null) { 78 this.unit = unit;
|