Searched defs:unit (Results 151 - 175 of 405) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_texcombine.c55 * Return array of texels for given unit.
58 get_texel_array(SWcontext *swrast, GLuint unit) argument
61 return (float4_array) (swrast->TexelBuffer + unit * SWRAST_MAX_WIDTH * 4 * omp_get_num_threads() + (SWRAST_MAX_WIDTH * 4 * omp_get_thread_num()));
63 return (float4_array) (swrast->TexelBuffer + unit * SWRAST_MAX_WIDTH * 4);
80 * \param unit the texture combiner unit
89 texture_combine( struct gl_context *ctx, GLuint unit, argument
95 const struct gl_texture_unit *textureUnit = &(ctx->Texture.Unit[unit]);
154 argRGB[term] = get_texel_array(swrast, unit);
250 argA[term] = get_texel_array(swrast, unit);
608 GLuint unit; local
[all...]
H A Ds_texture.c299 GLuint unit = ffs(enabledUnits) - 1; local
300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
304 enabledUnits &= ~(1 << unit);
319 GLuint unit = ffs(enabledUnits) - 1; local
320 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
324 enabledUnits &= ~(1 << unit);
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_rasterpos.c255 * \param unit texture unit number
260 const GLfloat normal[3], GLuint unit, GLfloat texcoord[4])
262 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
259 compute_texgen(struct gl_context *ctx, const GLfloat vObj[4], const GLfloat vEye[4], const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) argument
H A Dt_vb_program.c196 GLuint unit, GLfloat color[4])
201 swrast->TextureSample[unit](ctx, _mesa_get_samplerobj(ctx, unit),
202 ctx->Texture.Unit[unit]._Current,
195 vp_fetch_texel(struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4]) argument
/external/chromium_org/tools/grit/grit/
H A Dgrit_runner.py64 import grit.tool.unit namespace
65 return grit.tool.unit.UnitTestTool()
100 ['unit', { _FACTORY : ToolFactoryUnit, _REQUIRES_INPUT : False }],
/external/chromium_org/tools/telemetry/telemetry/core/platform/
H A D__init__.py118 def __init__(self, name, value, unit):
121 self._unit = unit
132 def unit(self): member in class:Platform.RawDisplayFrameRateMeasurement
/external/chromium_org/ui/base/l10n/
H A Dformatter.cc213 void Formatter::Format(Unit unit, argument
216 DCHECK(simple_format_[unit]);
218 formatted_string = simple_format_[unit]->format(value, error);
/external/chromium_org/v8/src/
H A Dfast-dtoa.cc35 // * distance_too_high_w == (too_high - w).f() * unit
36 // * unsafe_interval == (too_high - too_low).f() * unit
37 // * rest = (too_high - buffer * 10^kappa).f() * unit
38 // * ten_kappa = 10^kappa * unit
39 // * unit = the common multiplier
49 uint64_t unit) {
50 uint64_t small_distance = distance_too_high_w - unit;
51 uint64_t big_distance = distance_too_high_w + unit;
56 // The real w (* unit) must lie somewhere inside the interval
63 // ^v 1 unit
43 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
163 RoundWeedCounted(Vector<char> buffer, int length, uint64_t rest, uint64_t ten_kappa, uint64_t unit, int* kappa) argument
382 uint64_t unit = 1; local
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DAbstractScheduledService.java114 * @param unit the time unit of the initialDelay and delay parameters
117 final TimeUnit unit) {
122 return executor.scheduleWithFixedDelay(task, initialDelay, delay, unit);
133 * @param unit the time unit of the initialDelay and period parameters
136 final TimeUnit unit) {
141 return executor.scheduleAtFixedRate(task, initialDelay, period, unit);
359 currentFuture = executor.schedule(this, schedule.delay, schedule.unit);
410 private final TimeUnit unit; field in class:AbstractScheduledService.CustomScheduler.Schedule
116 newFixedDelaySchedule(final long initialDelay, final long delay, final TimeUnit unit) argument
135 newFixedRateSchedule(final long initialDelay, final long period, final TimeUnit unit) argument
416 Schedule(long delay, TimeUnit unit) argument
[all...]
H A DFutures.java561 public O get(long timeout, TimeUnit unit)
563 return applyTransformation(future.get(timeout, unit));
644 public O get(long timeout, TimeUnit unit) throws TimeoutException, argument
647 // Use a single time unit so we can decrease remaining timeout
649 if (unit != NANOSECONDS) {
650 timeout = NANOSECONDS.convert(timeout, unit);
651 unit = NANOSECONDS;
661 inputFuture.get(timeout, unit);
669 if (!outputCreated.await(timeout, unit)) {
681 outputFuture.get(timeout, unit);
1102 get( Future<V> future, long timeout, TimeUnit unit, Class<X> exceptionClass) argument
[all...]
H A DMonitor.java309 public boolean enter(long time, TimeUnit unit) { argument
315 long timeoutNanos = unit.toNanos(time);
339 public boolean enterInterruptibly(long time, TimeUnit unit) throws InterruptedException { argument
340 return lock.tryLock(time, unit);
403 public boolean enterWhen(Guard guard, long time, TimeUnit unit) throws InterruptedException { argument
411 remainingNanos = unit.toNanos(time);
414 if (!lock.tryLock(time, unit)) {
417 remainingNanos = unit.toNanos(time) - (System.nanoTime() - startNanos);
436 public boolean enterWhenUninterruptibly(Guard guard, long time, TimeUnit unit) { argument
446 remainingNanos = unit
533 enterIf(Guard guard, long time, TimeUnit unit) argument
558 enterIfInterruptibly(Guard guard, long time, TimeUnit unit) argument
639 waitFor(Guard guard, long time, TimeUnit unit) argument
655 waitForUninterruptibly(Guard guard, long time, TimeUnit unit) argument
[all...]
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
H A DCacheBuilder.java83 public CacheBuilder<K, V> expireAfterWrite(long duration, TimeUnit unit) { argument
86 checkArgument(duration >= 0, "duration cannot be negative: %s %s", duration, unit);
87 this.expirationMillis = unit.toMillis(duration);
/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheBuilderFactory.java165 builder.expireAfterWrite(expireAfterWrite.duration, expireAfterWrite.unit);
168 builder.expireAfterAccess(expireAfterAccess.duration, expireAfterAccess.unit);
171 builder.refreshAfterWrite(refresh.duration, refresh.unit);
184 private final TimeUnit unit; field in class:CacheBuilderFactory.DurationSpec
186 private DurationSpec(long duration, TimeUnit unit) { argument
188 this.unit = unit;
191 public static DurationSpec of(long duration, TimeUnit unit) { argument
192 return new DurationSpec(duration, unit);
197 return Objects.hashCode(duration, unit);
[all...]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DAbstractListeningExecutorServiceTest.java48 public boolean awaitTermination(long timeout, TimeUnit unit) { argument
425 * timed invokeAny(null time unit) throws NPE
523 * timed invokeAll(null time unit) throws NPE
H A DAbstractScheduledServiceTest.java54 long delay, TimeUnit unit) {
55 return future = super.scheduleWithFixedDelay(command, initialDelay, delay, unit);
236 private static final TimeUnit unit = TimeUnit.MILLISECONDS; field in class:AbstractScheduledServiceTest.SchedulerTest
243 long delay, TimeUnit unit) {
248 assertEquals(SchedulerTest.unit, unit);
253 Scheduler schedule = Scheduler.newFixedRateSchedule(initialDelay, delay, unit);
257 long period, TimeUnit unit) {
258 assertSingleCallWithCorrectParameters(command, initialDelay, delay, unit);
266 Scheduler schedule = Scheduler.newFixedDelaySchedule(initialDelay, delay, unit);
242 assertSingleCallWithCorrectParameters(Runnable command, long initialDelay, long delay, TimeUnit unit) argument
[all...]
/external/icu/icu4c/source/common/unicode/
H A Dstringtriebuilder.h110 // Finds the first unit index after this one where
121 virtual int32_t indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, UChar unit) const = 0;
327 // Adds a unit with a final value.
335 // Adds a unit which leads to another match node.
358 unit(middleUnit), lessThan(lessThanNode), greaterOrEqual(greaterOrEqualNode) {}
363 UChar unit; member in class:StringTrieBuilder::SplitBranchNode
368 // Branch head node, for writing the actual node lead unit.
389 virtual int32_t write(int32_t unit) = 0;
/external/icu/icu4c/source/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/libnl/lib/route/sch/
H A Dcbq.c188 char *unit, buf[32]; local
196 w = nl_cancel_down_bits(cbq->cbq_wrr.weight * 8, &unit);
202 cbq->cbq_wrr.allot, w, unit);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dstring.c13 s64 length = -1, unit = 1; local
32 unit = K;
43 unit = K * K;
54 unit = K * K * K;
65 unit = K * K * K * K;
68 unit = 1;
77 length = atoll(str) * unit;
/external/ltrace/sysdeps/linux-gnu/metag/
H A Dtrace.c38 /* unit codes */
109 /* 2-bit base unit (BU) mapping. */
118 get_regval_from_unit(enum metag_unitnum unit, unsigned int reg, argument
126 if ((unit == METAG_UNIT_A0) || (unit == METAG_UNIT_A1)) {
129 } else if ((unit == METAG_UNIT_D0) || (unit == METAG_UNIT_D1)) {
134 switch(unit) {
145 assert(unit != unit);
163 unsigned int unit = 0, reg; local
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog_emit.c425 unsigned int unit; local
435 unit = inst->U.I.TexSrcUnit;
449 unit = 0;
462 | (unit << R300_TEX_ID_SHIFT)
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_wm.c371 found |= key_debug("GL_CLAMP enabled on any texture unit's 1st coordinate",
373 found |= key_debug("GL_CLAMP enabled on any texture unit's 2nd coordinate",
375 found |= key_debug("GL_CLAMP enabled on any texture unit's 3rd coordinate",
448 const struct gl_texture_unit *unit = &ctx->Texture.Unit[unit_id]; local
450 if (unit->_ReallyEnabled && unit->_Current->Target != GL_TEXTURE_BUFFER) {
451 const struct gl_texture_object *t = unit->_Current;
H A Dgen7_wm_surface_state.c233 unsigned unit,
238 struct gl_texture_object *tObj = ctx->Texture.Unit[unit]._Current;
293 unsigned unit,
298 struct gl_texture_object *tObj = ctx->Texture.Unit[unit]._Current;
302 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit);
307 gen7_update_buffer_texture_surface(ctx, unit, binding_table, surf_index);
452 gen7_update_null_renderbuffer_surface(struct brw_context *brw, unsigned unit) argument
477 sizeof(*surf), 32, &brw->wm.surf_offset[unit]);
503 unsigned int unit)
514 sizeof(*surf), 32, &brw->wm.surf_offset[unit]);
232 gen7_update_buffer_texture_surface(struct gl_context *ctx, unsigned unit, uint32_t *binding_table, unsigned surf_index) argument
292 gen7_update_texture_surface(struct gl_context *ctx, unsigned unit, uint32_t *binding_table, unsigned surf_index) argument
501 gen7_update_renderbuffer_surface(struct brw_context *brw, struct gl_renderbuffer *rb, unsigned int unit) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnv10_state_frag.c65 int unit; member in struct:combiner_state
79 /* Initialize a combiner_state struct from the texture unit
85 (rc)->unit = i; \
104 return RC_IN_SOURCE(TEXTURE0) + rc->unit;
121 RC_IN_SOURCE(CONSTANT_COLOR0) + rc->unit;
127 return rc->unit ? RC_IN_SOURCE(SPARE0)
171 rc->unit : source - GL_TEXTURE0);
/external/mesa3d/src/mesa/main/
H A Dsamplerobj.c245 _mesa_BindSampler(GLuint unit, GLuint sampler) argument
250 if (unit >= ctx->Const.MaxCombinedTextureImageUnits) {
251 _mesa_error(ctx, GL_INVALID_VALUE, "glBindSampler(unit %u)", unit);
270 if (ctx->Texture.Unit[unit].Sampler != sampObj) {
275 _mesa_reference_sampler_object(ctx, &ctx->Texture.Unit[unit].Sampler,

Completed in 966 milliseconds

1234567891011>>