Searched defs:unit (Results 51 - 75 of 283) sorted by relevance

1234567891011>>

/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnv20_state_tex.c42 struct gl_texture_unit *unit = &ctx->Texture.Unit[i]; local
46 if (nctx->fallback == HWTNL && (unit->TexGenEnabled & 1 << j)) {
47 struct gl_texgen *coord = get_texgen_coord(unit, j);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_sampler.c216 GLuint unit; local
228 for (unit = 0; unit < max_units; unit++, samplers_used >>= 1) {
229 struct pipe_sampler_state *sampler = samplers + unit;
232 const GLuint texUnit = prog->SamplerUnits[unit];
236 *num_samplers = unit + 1;
238 cso_single_sampler(st->cso_context, shader_stage, unit, sampler);
240 else if (samplers_used != 0 || unit < old_max) {
241 cso_single_sampler(st->cso_context, shader_stage, unit, NUL
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_texfetch.c1168 _mesa_update_fetch_functions(struct gl_context *ctx, GLuint unit) argument
1170 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
1178 samp = _mesa_get_samplerobj(ctx, unit);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowAsyncTask.java71 public Result get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { argument
72 return future.get(timeout, unit);
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
H A DPixelUtils.java165 final float f = TypedValue.applyDimension(internalDimension.unit, value, metrics);
176 return TypedValue.applyDimension(internalDimension.unit, internalDimension.value, metrics);
187 String unit = matcher.group(3).toLowerCase();
189 Integer dimensionUnit = dimensionConstantLookup.get(unit);
205 int unit; field in class:PixelUtils.InternalDimension
207 public InternalDimension(float value, int unit) { argument
209 this.unit = unit;
/external/guava/guava/src/com/google/common/base/
H A DSuppliers.java156 * @param unit the unit that {@code duration} is expressed in
161 Supplier<T> delegate, long duration, TimeUnit unit) {
162 return new ExpiringMemoizingSupplier<T>(delegate, duration, unit);
174 Supplier<T> delegate, long duration, TimeUnit unit) {
176 this.durationNanos = unit.toNanos(duration);
206 // This is a little strange if the unit the user provided was not NANOS,
207 // but we don't want to store the unit just for toString
160 memoizeWithExpiration( Supplier<T> delegate, long duration, TimeUnit unit) argument
173 ExpiringMemoizingSupplier( Supplier<T> delegate, long duration, TimeUnit unit) argument
/external/guava/guava/src/com/google/common/util/concurrent/
H A DAbstractExecutionThreadService.java107 * // perform a unit of work
229 @Override public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException { argument
230 delegate.awaitRunning(timeout, unit);
243 @Override public final void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException { argument
244 delegate.awaitTerminated(timeout, unit);
H A DService.java176 * @param unit the time unit of the timeout argument
185 void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException; argument
202 * @param unit the time unit of the timeout argument
207 void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException; argument
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DMapMaker.java178 MapMaker expireAfterWrite(long duration, TimeUnit unit) { argument
186 this.expirationMillis = unit.toMillis(duration);
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
H A DSameThreadScheduledExecutorService.java74 public boolean awaitTermination(long timeout, TimeUnit unit) argument
76 Preconditions.checkNotNull(unit, "unit must not be null!");
77 return delegate.awaitTermination(timeout, unit);
108 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
111 Preconditions.checkNotNull(unit, "unit must not be null!");
112 return delegate.invokeAll(tasks, timeout, unit);
124 long timeout, TimeUnit unit)
127 Preconditions.checkNotNull(unit, "uni
107 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
123 invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
138 schedule(Runnable command, long delay, TimeUnit unit) argument
156 get(long timeout, TimeUnit unit) argument
163 getDelay(TimeUnit unit) argument
176 schedule(final Callable<V> callable, long delay, TimeUnit unit) argument
185 scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) argument
192 scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) argument
[all...]
H A DTestingExecutors.java124 @Override public boolean awaitTermination(long timeout, TimeUnit unit) { argument
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) { argument
130 schedule( Callable<V> callable, long delay, TimeUnit unit) argument
135 schedule( Runnable command, long delay, TimeUnit unit) argument
140 scheduleAtFixedRate( Runnable command, long initialDelay, long period, TimeUnit unit) argument
145 scheduleWithFixedDelay( Runnable command, long initialDelay, long delay, TimeUnit unit) argument
/external/guava/guava-tests/test/com/google/common/collect/
H A DQueuesTest.java72 long timeout, TimeUnit unit, boolean interruptibly) throws InterruptedException {
74 ? Queues.drain(q, buffer, maxElements, timeout, unit)
75 : Queues.drainUninterruptibly(q, buffer, maxElements, timeout, unit);
71 drain(BlockingQueue<T> q, Collection<? super T> buffer, int maxElements, long timeout, TimeUnit unit, boolean interruptibly) argument
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DJdkFutureAdaptersTest.java188 public V get(long timeout, TimeUnit unit) { argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
H A DPeriod.java13 * Represents an approximate duration in multiple TimeUnits. Each unit,
36 * @param unit the unit
39 public static Period at(float count, TimeUnit unit) { argument
41 return new Period(ETimeLimit.NOLIMIT, false, count, unit);
48 * @param unit the unit
51 public static Period moreThan(float count, TimeUnit unit) { argument
53 return new Period(ETimeLimit.MT, false, count, unit);
60 * @param unit th
63 lessThan(float count, TimeUnit unit) argument
79 and(float count, TimeUnit unit) argument
90 omit(TimeUnit unit) argument
179 isSet(TimeUnit unit) argument
189 getCount(TimeUnit unit) argument
291 Period(int limit, boolean future, float count, TimeUnit unit) argument
310 setTimeUnitValue(TimeUnit unit, float value) argument
325 setTimeUnitInternalValue(TimeUnit unit, int value) argument
[all...]
H A DPeriodBuilderFactory.java18 * @param minUnit the smallest time unit available for use
19 * @param maxUnit the largest time unit available for use
26 * Sets whether the time unit is available for use.
27 * @param unit the time unit
28 * @param available true if the unit is available for use
31 PeriodBuilderFactory setUnitIsAvailable(TimeUnit unit, boolean available); argument
34 * Sets the maximum value for the largest available time unit (as
36 * this will be pinned to this value of that time unit and return
43 * Sets the minimum value for the smallest available time unit (a
102 getFixedUnitBuilder(TimeUnit unit) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCharsTrieBuilder.java156 protected int write(int unit) { argument
160 chars[chars.length-charsLength]=(char)unit;
/external/kernel-headers/original/uapi/linux/
H A Duvcvideo.h59 __u8 unit; member in struct:uvc_xu_control_query
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_llvm_sample.c89 unsigned unit,
101 debug_assert(unit < PIPE_MAX_SAMPLERS);
107 /* context[0].textures[unit] */
108 indices[2] = lp_build_const_int32(gallivm, unit);
109 /* context[0].textures[unit].member */
119 lp_build_name(res, "context.texture%u.%s", unit, member_name);
138 unsigned unit) \
140 return draw_llvm_texture_member(base, gallivm, unit, _index, #_name, _emit_load ); \
173 unsigned unit,
183 assert(unit < PIPE_MAX_SAMPLER
87 draw_llvm_texture_member(const struct lp_sampler_dynamic_state *base, struct gallivm_state *gallivm, unsigned unit, unsigned member_index, const char *member_name, boolean emit_load) argument
170 draw_llvm_sampler_soa_emit_fetch_texel(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, unsigned num_coords, const LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *texel) argument
201 draw_llvm_sampler_soa_emit_size_query(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, LLVMValueRef explicit_lod, LLVMValueRef *sizes_out) argument
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_tex_sample.c94 unsigned unit,
106 assert(unit < PIPE_MAX_SAMPLERS);
112 /* context[0].textures[unit] */
113 indices[2] = lp_build_const_int32(gallivm, unit);
114 /* context[0].textures[unit].member */
124 lp_build_name(res, "context.texture%u.%s", unit, member_name);
143 unsigned unit) \
145 return lp_llvm_texture_member(base, gallivm, unit, _index, #_name, _emit_load ); \
178 unsigned unit,
188 assert(unit < PIPE_MAX_SAMPLER
92 lp_llvm_texture_member(const struct lp_sampler_dynamic_state *base, struct gallivm_state *gallivm, unsigned unit, unsigned member_index, const char *member_name, boolean emit_load) argument
175 lp_llvm_sampler_soa_emit_fetch_texel(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, unsigned num_coords, const LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *texel) argument
210 lp_llvm_sampler_soa_emit_size_query(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, LLVMValueRef explicit_lod, LLVMValueRef *sizes_out) argument
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_derived.c303 * the polygon stipple texture. The texture unit that we use depends on
304 * the fragment shader (we need to use a unit not otherwise used by the
312 const unsigned unit = softpipe->fs_variant->stipple_sampler_unit; local
315 softpipe->samplers[PIPE_SHADER_FRAGMENT][unit] = softpipe->pstipple.sampler;
318 pipe_sampler_view_reference(&softpipe->sampler_views[PIPE_SHADER_FRAGMENT][unit],
321 sp_tex_tile_cache_set_sampler_view(softpipe->tex_cache[PIPE_SHADER_FRAGMENT][unit],
H A Dsp_state_sampler.c251 * sampler and tex unit.
253 * Note that the tex unit is significant. We can't re-use a sampler
260 get_sampler_variant( unsigned unit, argument
269 /* if this fails, widen the key.unit field and update this assertion */
275 key.bits.unit = unit;
H A Dsp_state_shader.c55 unsigned unit = 0; local
61 curfs, &unit);
72 var->stipple_sampler_unit = unit;
H A Dsp_tex_sample.h75 unsigned unit:4; member in struct:sp_sampler_key::__anon12175
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_tss.c58 unsigned unit; member in struct:bind_queue::__anon12379
123 queue.bind[queue.bind_count].unit = i;
145 ts[i].stage = queue.bind[i].unit;
197 queue.bind[queue.bind_count].unit = i;
216 ts[i].stage = queue.bind[i].unit;
253 #define EMIT_TS(svga, unit, val, token, fail) \
255 assert(unit < Elements(svga->state.hw_draw.ts)); \
256 assert(SVGA3D_TS_##token < Elements(svga->state.hw_draw.ts[unit])); \
257 if (svga->state.hw_draw.ts[unit][SVGA3D_TS_##token] != val) { \
258 svga_queue_tss( &queue, unit, SVGA3D_TS
276 svga_queue_tss( struct ts_queue *q, unsigned unit, unsigned tss, unsigned value ) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Di830_texblend.c97 GetTexelOp(GLint unit) argument
99 switch (unit) {
353 * tex unit, and put last stage on it
389 emit_texblend(struct i830_context *i830, GLuint unit, GLuint blendUnit, argument
392 struct gl_texture_unit *texUnit = &i830->intel.ctx.Texture.Unit[unit];
397 fprintf(stderr, "%s unit %d\n", __FUNCTION__, unit);
402 GetTexelOp(unit), tmp, texUnit->EnvColor);
423 GLuint unit = 0; local
425 tmp_sz = pass_through(tmp, unit);
443 GLuint unit, last_stage = 0, blendunit = 0; local
[all...]

Completed in 567 milliseconds

1234567891011>>