Searched defs:unit (Results 1 - 25 of 133) sorted by relevance

123456

/external/icu4c/i18n/unicode/
H A Dmeasure.h30 * An amount of a specified unit, consisting of a number and a Unit.
32 * unit, such as feet or meters. This is an abstract class.
49 * unit. After this call, the caller must not delete the given
50 * unit object.
52 * @param adoptedUnit the unit object, which must not be NULL
53 * @param ec input-output error code. If the amount or the unit
101 * Return a reference to the unit of this object.
120 * The unit of this object, e.g., "millimeter" or "JPY". This is
123 MeasureUnit* unit; member in class:Measure
131 return *unit;
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DCheckedFuture.java75 V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X; argument
H A DAbstractCheckedFuture.java105 public V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X { argument
107 return get(timeout, unit);
H A DForwardingCheckedFuture.java50 public V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X { argument
51 return delegate().checkedGet(timeout, unit);
H A DForwardingFuture.java67 public V get(long timeout, TimeUnit unit) argument
69 return delegate().get(timeout, unit);
H A DListeningExecutorService.java86 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
85 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
H A DAbstractListeningExecutorService.java142 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
144 return doInvokeAny(tasks, true, unit.toNanos(timeout));
181 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
183 if (tasks == null || unit == null) {
186 long nanos = unit.toNanos(timeout);
141 invokeAny( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
180 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
H A DForwardingBlockingQueue.java53 @Override public boolean offer(E e, long timeout, TimeUnit unit) argument
55 return delegate().offer(e, timeout, unit);
58 @Override public E poll(long timeout, TimeUnit unit) argument
60 return delegate().poll(timeout, unit);
H A DUninterruptibles.java71 * await(timeout, unit)} uninterruptibly.
74 long timeout, TimeUnit unit) {
77 long remainingNanos = unit.toNanos(timeout);
146 * {@code future.}{@link Future#get(long, TimeUnit) get(timeout, unit)}
154 Future<V> future, long timeout, TimeUnit unit)
158 long remainingNanos = unit.toNanos(timeout);
179 * {@code unit.}{@link TimeUnit#timedJoin(Thread, long)
183 long timeout, TimeUnit unit) {
187 long remainingNanos = unit.toNanos(timeout);
250 * Invokes {@code unit
73 awaitUninterruptibly(CountDownLatch latch, long timeout, TimeUnit unit) argument
153 getUninterruptibly( Future<V> future, long timeout, TimeUnit unit) argument
182 joinUninterruptibly(Thread toJoin, long timeout, TimeUnit unit) argument
253 sleepUninterruptibly(long sleepFor, TimeUnit unit) argument
[all...]
H A DAbstractService.java247 public State get(long timeout, TimeUnit unit) argument
250 return super.get(timeout, unit);
H A DForwardingExecutorService.java48 public boolean awaitTermination(long timeout, TimeUnit unit) argument
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);
60 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
73 invokeAny( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
/external/qemu/
H A Dblockdev.h27 int unit; member in struct:DriveInfo
37 extern DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit);
/external/guava/guava/src/com/google/common/collect/
H A DQueues.java198 * @param timeout how long to wait before giving up, in units of {@code unit}
199 * @param unit a {@code TimeUnit} determining how to interpret the timeout parameter
204 long timeout, TimeUnit unit) throws InterruptedException {
211 long deadline = System.nanoTime() + unit.toNanos(timeout);
238 * @param timeout how long to wait before giving up, in units of {@code unit}
239 * @param unit a {@code TimeUnit} determining how to interpret the timeout parameter
243 int numElements, long timeout, TimeUnit unit) {
245 long deadline = System.nanoTime() + unit.toNanos(timeout);
203 drain(BlockingQueue<E> q, Collection<? super E> buffer, int numElements, long timeout, TimeUnit unit) argument
242 drainUninterruptibly(BlockingQueue<E> q, Collection<? super E> buffer, int numElements, long timeout, TimeUnit unit) argument
/external/guava/guava-bootstrap/src/java/util/concurrent/
H A DExecutorService.java25 boolean awaitTermination(long timeout, TimeUnit unit) argument
38 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
45 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
37 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
44 invokeAny( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
H A DStopwatch.java149 * in the desired time unit, with any fraction rounded down.
181 private static String abbreviate(TimeUnit unit) { argument
182 switch (unit) {
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DGenericMapMaker.java74 abstract GenericMapMaker<K0, V0> expiration(long duration, TimeUnit unit); argument
79 abstract GenericMapMaker<K0, V0> expireAfterWrite(long duration, TimeUnit unit); argument
/external/jmonkeyengine/engine/src/core/com/jme3/material/
H A DMatParamTexture.java15 private int unit; field in class:MatParamTexture
17 public MatParamTexture(VarType type, String name, Texture texture, int unit) { argument
20 this.unit = unit;
35 public void setUnit(int unit) { argument
36 this.unit = unit;
40 return unit;
56 oc.write(unit, "texture_unit", -1);
64 unit
[all...]
/external/apache-http/src/org/apache/http/conn/
H A DManagedClientConnection.java259 void setIdleDuration(long duration, TimeUnit unit); argument
/external/apache-http/src/org/apache/http/impl/conn/
H A DIdleConnectionHandler.java73 public void add(HttpConnection connection, long validDuration, TimeUnit unit) { argument
81 connectionToTimes.put(connection, new TimeValues(timeAdded, validDuration, unit));
179 * @param validUnit The unit of time the duration is specified in.
/external/guava/guava/src/com/google/common/base/
H A DStopwatch.java150 * in the desired time unit, with any fraction rounded down.
180 * appropriate unit and using the specified number of significant figures.
188 TimeUnit unit = chooseUnit(nanos);
189 double value = (double) nanos / NANOSECONDS.convert(1, unit);
193 value, abbreviate(unit));
209 private static String abbreviate(TimeUnit unit) { argument
210 switch (unit) {
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DInterruptionUtil.java75 static void requestInterruptIn(final long time, final TimeUnit unit) { argument
81 unit.sleep(time);
118 Thread thread, long timeout, TimeUnit unit) {
121 long remainingNanos = unit.toNanos(timeout);
117 joinUninterruptibly( Thread thread, long timeout, TimeUnit unit) argument
/external/jmonkeyengine/engine/src/core/com/jme3/app/
H A DAppTask.java100 public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { argument
104 finishedCondition.await(timeout, unit);
/external/linux-tools-perf/util/
H A Dutil.c96 unsigned long convert_unit(unsigned long value, char *unit) argument
98 *unit = ' ';
102 *unit = 'K';
107 *unit = 'M';
112 *unit = 'G';
/external/oprofile/gui/
H A Doprof_start.h36 /// unit mask values if applicable
37 op_unit_mask const * unit; member in struct:op_event_descr
95 /// calculate unit mask for given event and unit mask part
97 /// calculate unit mask for given event
99 /// set the unit mask widgets for given event
108 /// hide unit mask widgets
/external/qemu/distrib/sdl-1.2.12/src/video/dc/
H A DSDL_dcevents.c98 int port,unit; local
114 maple_raddr(addr,&port,&unit);
116 state = maple_dev_state(port,unit);

Completed in 1181 milliseconds

123456