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

123

/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/src/com/google/common/util/concurrent/
H A DCheckedFuture.java68 public V checkedGet(long timeout, TimeUnit unit) argument
H A DUninterruptibleFuture.java37 /*@Override*/ V get(long timeout, TimeUnit unit) argument
H A DForwardingFuture.java62 public V get(long timeout, TimeUnit unit) argument
64 return delegate().get(timeout, unit);
H A DAbstractCheckedFuture.java76 public V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, E { argument
78 return get(timeout, unit);
107 public V get(long timeout, TimeUnit unit) throws InterruptedException, argument
109 return delegate.get(timeout, unit);
H A DAbstractFuture.java59 public V get(long timeout, TimeUnit unit) throws InterruptedException, argument
61 return sync.get(unit.toNanos(timeout));
H A DAbstractService.java288 public State get(long timeout, TimeUnit unit) argument
290 if (done.await(timeout, unit)) {
H A DExecutors.java57 * @param timeUnit unit of time for the time parameter
85 * @param timeUnit unit of time for the time parameter
110 * @param timeUnit unit of time for the time parameter
300 public boolean awaitTermination(long timeout, TimeUnit unit) argument
302 long nanos = unit.toNanos(timeout);
/external/qemu/
H A Dblockdev.h27 int unit; member in struct:DriveInfo
37 extern DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit);
H A Dblockdev.c62 DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit) argument
66 /* seek interface, bus and unit */
71 dinfo->unit == unit)
173 unit_id = qemu_opt_get_number(opts, "unit", -1);
347 /* compute bus and unit according index */
352 "qemu: index cannot be used with bus and unit\n");
380 /* check unit id */
383 fprintf(stderr, "qemu: unit %d too big (max is %d)\n",
418 dinfo->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.
H A DAbstractClientConnAdapter.java355 public void setIdleDuration(long duration, TimeUnit unit) { argument
357 this.duration = unit.toMillis(duration);
/external/guava/src/com/google/common/base/
H A DSuppliers.java118 * @param unit the unit that {@code duration} is expressed in
123 Supplier<T> delegate, long duration, TimeUnit unit) {
124 return new ExpiringMemoizingSupplier<T>(delegate, duration, unit);
136 Supplier<T> delegate, long duration, TimeUnit unit) {
138 this.durationNanos = unit.toNanos(duration);
122 memoizeWithExpiration( Supplier<T> delegate, long duration, TimeUnit unit) argument
135 ExpiringMemoizingSupplier( Supplier<T> delegate, long duration, TimeUnit unit) argument
/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);
/external/chromium/base/
H A Dpickle_unittest.cc207 size_t unit = Pickle::kPayloadUnit; local
208 scoped_array<char> data(new char[unit]);
210 for (size_t i = 0; i < unit; i++)
213 // construct a message that will be exactly the size of one payload unit,
215 const size_t payload_size_after_header = unit - sizeof(uint32);
221 // note: we assume 'unit' is a power of 2
222 EXPECT_EQ(unit, pickle.capacity());
226 pickle.WriteData(data_ptr, static_cast<int>(unit - sizeof(uint32)));
227 cur_payload += unit;
228 EXPECT_EQ(unit *
[all...]
/external/oprofile/libop/
H A Dop_events.h23 /** Describe an unit mask type. Events can optionally use a filter called
24 * the unit mask. the mask type can be a bitmask or a discrete value */
31 /** up to thirty two allowed unit masks */
35 /** Describe an unit mask. */
37 char * name; /**< name of unit mask type */
38 u32 num; /**< number of possible unit masks */
54 /** which unit mask if any allowed */
55 struct op_unit_mask * unit; member in struct:op_event
86 OP_INVALID_UM = 2, /**< unit mask is invalid */
94 * @param um unit mas
[all...]
/external/skia/gpu/src/
H A DFlingState.cpp47 static void unit_axis_align(SkVector* unit) { argument
49 if (SkScalarAbs(unit->fX) < TOLERANCE) {
50 unit->fX = 0;
51 unit->fY = SkScalarSign(unit->fY);
52 } else if (SkScalarAbs(unit->fY) < TOLERANCE) {
53 unit->fX = SkScalarSign(unit->fX);
54 unit->fY = 0;
/external/chromium/chrome/browser/
H A Dprocess_info_snapshot_mac.cc83 // Converts a byte unit such as 'K' or 'M' into the scale for the unit.
87 static bool ConvertByteUnitToScale(char unit, uint64_t* out_scale) { argument
89 switch (unit) {
247 std::string unit; local
248 in >> unit; local
252 if (unit.empty())
256 if (!ConvertByteUnitToScale(unit[0], &scale))
/external/dropbear/
H A Dprogressmeter.c68 static const char unit[] = " KMGT"; variable
82 for (i = 0; bytes >= 100*1000 && unit[i] != 'T'; i++)
91 unit[i],
100 for (i = 0; bytes >= 10000 && unit[i] != 'T'; i++)
104 unit[i],
/external/grub/stage2/
H A Dserial.c49 /* Store the port number of a serial unit. */
119 serial_hw_get_port (int unit)
124 return addr[unit];
118 serial_hw_get_port(int unit) argument
/external/icu4c/tools/toolutil/
H A Ducmstate.c623 uint16_t unit; local
799 unit=(*pUnicodeCodeUnits)[offset]=oldUnicodeCodeUnits[oldOffset];
800 if(unit==0xfffe && (fallback=ucm_findFallback(toUFallbacks, countToUFallbacks, oldOffset))>=0) {
/external/ppp/pppd/
H A Dfsm.h67 int unit; /* Interface unit number */ member in struct:fsm
168 extern int peer_mru[]; /* currently negotiated peer MRU (per unit) */
/external/v8/src/
H A Dfast-dtoa.cc56 // * distance_too_high_w == (too_high - w).f() * unit
57 // * unsafe_interval == (too_high - too_low).f() * unit
58 // * rest = (too_high - buffer * 10^kappa).f() * unit
59 // * ten_kappa = 10^kappa * unit
60 // * unit = the common multiplier
70 uint64_t unit) {
71 uint64_t small_distance = distance_too_high_w - unit;
72 uint64_t big_distance = distance_too_high_w + unit;
77 // The real w (* unit) must lie somewhere inside the interval
84 // ^v 1 unit
64 RoundWeed(Vector<char> buffer, int length, uint64_t distance_too_high_w, uint64_t unsafe_interval, uint64_t rest, uint64_t ten_kappa, uint64_t unit) argument
184 RoundWeedCounted(Vector<char> buffer, int length, uint64_t rest, uint64_t ten_kappa, uint64_t unit, int* kappa) argument
403 uint64_t unit = 1; local
[all...]

Completed in 545 milliseconds

123