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

1234567891011>>

/external/clang/tools/scan-build-py/tests/
H A D__init__.py9 import tests.unit namespace
16 suite.addTests(loader.loadTestsFromModule(tests.unit))
/external/googletest/googlemock/
H A DAndroid.mk29 define gmock-unit-test
52 $(eval $(call gmock-unit-test,gmock-actions_test,,libgmock_main,$(1))) \
53 $(eval $(call gmock-unit-test,gmock-cardinalities_test,,libgmock_main,$(1))) \
54 $(eval $(call gmock-unit-test,gmock-generated-actions_test,,libgmock_main,$(1))) \
55 $(eval $(call gmock-unit-test,gmock-generated-function-mockers_test,,libgmock_main,$(1))) \
56 $(eval $(call gmock-unit-test,gmock-generated-internal-utils_test,,libgmock_main,$(1))) \
57 $(eval $(call gmock-unit-test,gmock-generated-matchers_test,,libgmock_main,$(1))) \
58 $(eval $(call gmock-unit-test,gmock-internal-utils_test,,libgmock_main,$(1))) \
59 $(eval $(call gmock-unit-test,gmock-matchers_test,,libgmock_main,$(1))) \
60 $(eval $(call gmock-unit
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DTimeUnitAmount.java13 * Express a duration as a time unit and number. Patterned after Currency.
23 * Create from a number and unit.
25 public TimeUnitAmount(Number number, TimeUnit unit) { argument
26 super(number, unit);
30 * Create from a number and unit.
32 public TimeUnitAmount(double number, TimeUnit unit) { argument
33 super(new Double(number), unit);
37 * Get the unit (convenience to avoid cast).
H A DMeasure.java18 * An amount of a specified unit, consisting of a Number and a Unit.
20 * unit, such as feet or meters.
36 private final MeasureUnit unit; field in class:Measure
39 * Constructs a new object given a number and a unit.
41 * @param unit the unit
43 public Measure(Number number, MeasureUnit unit) { argument
44 if (number == null || unit == null) {
48 this.unit = unit;
[all...]
/external/icu/icu4c/source/i18n/unicode/
H A Dmeasure.h32 * An amount of a specified unit, consisting of a number and a Unit.
34 * unit, such as feet or meters.
47 * unit. After this call, the caller must not delete the given
48 * unit object.
50 * @param adoptedUnit the unit object, which must not be NULL
51 * @param ec input-output error code. If the amount or the unit
99 * Return a reference to the unit of this object.
144 * The unit of this object, e.g., "millimeter" or "JPY". This is
147 MeasureUnit* unit; member in class:Measure
155 return *unit;
[all...]
/external/mesa3d/src/mesa/main/
H A Dtexstate.h42 _mesa_get_tex_unit(struct gl_context *ctx, GLuint unit) argument
44 assert(unit < ARRAY_SIZE(ctx->Texture.Unit));
45 return &(ctx->Texture.Unit[unit]);
49 * Return pointer to current texture unit.
50 * This the texture unit set by glActiveTexture(), not glClientActiveTexture().
71 _mesa_print_texunit_state( struct gl_context *ctx, GLuint unit );
H A Dsamplerobj.h39 _mesa_get_samplerobj(struct gl_context *ctx, GLuint unit) argument
41 if (ctx->Texture.Unit[unit].Sampler)
42 return ctx->Texture.Unit[unit].Sampler;
43 else if (ctx->Texture.Unit[unit]._Current)
44 return &ctx->Texture.Unit[unit]._Current->Sampler;
95 _mesa_bind_sampler(struct gl_context *ctx, GLuint unit,
107 _mesa_BindSampler(GLuint unit, GLuint sampler);
/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.java84 * {@code List<ListenableFuture<T>> futures = (List) executor.invokeAll(tasks, timeout, unit);}
96 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
95 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
H A DListeningScheduledExecutorService.java41 Runnable command, long delay, TimeUnit unit);
46 Callable<V> callable, long delay, TimeUnit unit);
51 Runnable command, long initialDelay, long period, TimeUnit unit);
56 Runnable command, long initialDelay, long delay, TimeUnit unit);
40 schedule( Runnable command, long delay, TimeUnit unit) argument
45 schedule( Callable<V> callable, long delay, TimeUnit unit) argument
50 scheduleAtFixedRate( Runnable command, long initialDelay, long period, TimeUnit unit) argument
55 scheduleWithFixedDelay( Runnable command, long initialDelay, long delay, TimeUnit unit) argument
H A DWrappingScheduledExecutorService.java41 public final ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { argument
42 return delegate.schedule(wrapTask(command), delay, unit);
46 public final <V> ScheduledFuture<V> schedule(Callable<V> task, long delay, TimeUnit unit) { argument
47 return delegate.schedule(wrapTask(task), delay, unit);
52 Runnable command, long initialDelay, long period, TimeUnit unit) {
53 return delegate.scheduleAtFixedRate(wrapTask(command), initialDelay, period, unit);
58 Runnable command, long initialDelay, long delay, TimeUnit unit) {
59 return delegate.scheduleWithFixedDelay(wrapTask(command), initialDelay, delay, unit);
51 scheduleAtFixedRate( Runnable command, long initialDelay, long period, TimeUnit unit) argument
57 scheduleWithFixedDelay( Runnable command, long initialDelay, long delay, TimeUnit unit) argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DTimeUnitAmount.java12 * Express a duration as a time unit and number. Patterned after Currency.
22 * Create from a number and unit.
25 public TimeUnitAmount(Number number, TimeUnit unit) { argument
26 super(number, unit);
30 * Create from a number and unit.
33 public TimeUnitAmount(double number, TimeUnit unit) { argument
34 super(new Double(number), unit);
38 * Get the unit (convenience to avoid cast).
H A DMeasure.java17 * An amount of a specified unit, consisting of a Number and a Unit.
19 * unit, such as feet or meters.
36 private final MeasureUnit unit; field in class:Measure
39 * Constructs a new object given a number and a unit.
41 * @param unit the unit
44 public Measure(Number number, MeasureUnit unit) { argument
45 if (number == null || unit == null) {
49 this.unit = unit;
[all...]
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/
H A Dcpuset_memory_pressure.c32 int unit = 1024 * 1024; variable
49 long int mmap_block = use * unit / 10 / pagesize;
52 while (pagesize * mmap_block > 2 * unit) {
62 if (total_block * pagesize >= use * unit)
/external/caliper/caliper/src/main/java/com/google/caliper/model/
H A DValue.java35 public static Value create(double value, String unit) { argument
36 return new Value(value, checkNotNull(unit));
42 private String unit; field in class:Value
46 this.unit = "";
49 private Value(double value, String unit) { argument
51 this.unit = unit;
54 public String unit() { method in class:Value
55 return unit;
68 && this.unit
[all...]
/external/guava/guava-bootstrap/src/java/util/concurrent/
H A DAbstractExecutorService.java115 long timeout, TimeUnit unit)
117 return doInvokeAny(tasks, true, unit.toNanos(timeout));
151 long timeout, TimeUnit unit)
153 if (tasks == null || unit == null)
155 long nanos = unit.toNanos(timeout);
114 invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
150 invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DGenericMapMaker.java70 abstract GenericMapMaker<K0, V0> expireAfterWrite(long duration, TimeUnit unit); argument
/external/ltp/testcases/kernel/mem/ksm/
H A Dksm01.c87 int size = 128, num = 3, unit = 1; local
93 check_ksm_options(&size, &num, &unit);
94 create_same_memory(size, num, unit);
H A Dksm02.c89 int size = 128, num = 3, unit = 1; local
102 check_ksm_options(&size, &num, &unit);
113 create_same_memory(size, num, unit);
116 create_same_memory(size, num, unit);
H A Dksm03.c87 int size = 128, num = 3, unit = 1; local
93 check_ksm_options(&size, &num, &unit);
95 create_same_memory(size, num, unit);
H A Dksm04.c89 int size = 128, num = 3, unit = 1; local
102 check_ksm_options(&size, &num, &unit);
115 create_same_memory(size, num, unit);
118 create_same_memory(size, num, unit);
/external/ltp/testcases/lib/
H A Dtst_sleep.c27 printf(" If no unit is specified the interval is in seconds\n");
30 static struct unit { struct
31 const char *unit; member in struct:unit
76 if (!strcmp(units[i].unit, end))
81 fprintf(stderr, "ERROR: Invalid interval unit '%s'\n\n", end);

Completed in 679 milliseconds

1234567891011>>