/external/chromium_org/tools/telemetry/telemetry/unittest/ |
gtest_testrunner.py | 23 unit = 'test' if len(self._tests) == 1 else 'tests' 25 print '[----------] %d %s' % (len(self._tests), unit) 33 print '[----------] %d %s (%d ms total)' % (len(self._tests), unit, ms)
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
MoreExecutors.java | 64 * @param timeUnit unit of time for the time parameter 95 * @param timeUnit unit of time for the time parameter 124 * @param timeUnit unit of time for the time parameter 297 public boolean awaitTermination(long timeout, TimeUnit unit) 299 long nanos = unit.toNanos(timeout); 413 public boolean awaitTermination(long timeout, TimeUnit unit) 415 return delegate.awaitTermination(timeout, unit); 455 Runnable command, long delay, TimeUnit unit) { 456 return delegate.schedule(command, delay, unit); 461 Callable<V> callable, long delay, TimeUnit unit) { [all...] |
Monitor.java | 309 public boolean enter(long time, TimeUnit unit) { 315 long timeoutNanos = unit.toNanos(time); 339 public boolean enterInterruptibly(long time, TimeUnit unit) throws InterruptedException { 340 return lock.tryLock(time, unit); 403 public boolean enterWhen(Guard guard, long time, TimeUnit unit) throws InterruptedException { 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) { 446 remainingNanos = unit.toNanos(time) [all...] |
/external/guava/guava-bootstrap/src/java/util/concurrent/ |
ExecutorService.java | 25 boolean awaitTermination(long timeout, TimeUnit unit) 38 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) 45 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
|
/external/valgrind/main/massif/ |
ms_print | 40 # Time unit used in profile. 285 my $unit = "i"; 287 if ($nI_scaled >= 1000) { $unit = "ki"; $nI_scaled /= 1024; } 288 if ($nI_scaled >= 1000) { $unit = "Mi"; $nI_scaled /= 1024; } 289 if ($nI_scaled >= 1000) { $unit = "Gi"; $nI_scaled /= 1024; } 290 if ($nI_scaled >= 1000) { $unit = "Ti"; $nI_scaled /= 1024; } 291 if ($nI_scaled >= 1000) { $unit = "Pi"; $nI_scaled /= 1024; } 292 if ($nI_scaled >= 1000) { $unit = "Ei"; $nI_scaled /= 1024; } 293 if ($nI_scaled >= 1000) { $unit = "Zi"; $nI_scaled /= 1024; } 294 if ($nI_scaled >= 1000) { $unit = "Yi"; $nI_scaled /= 1024; [all...] |
ms_print.in | 40 # Time unit used in profile. 285 my $unit = "i"; 287 if ($nI_scaled >= 1000) { $unit = "ki"; $nI_scaled /= 1024; } 288 if ($nI_scaled >= 1000) { $unit = "Mi"; $nI_scaled /= 1024; } 289 if ($nI_scaled >= 1000) { $unit = "Gi"; $nI_scaled /= 1024; } 290 if ($nI_scaled >= 1000) { $unit = "Ti"; $nI_scaled /= 1024; } 291 if ($nI_scaled >= 1000) { $unit = "Pi"; $nI_scaled /= 1024; } 292 if ($nI_scaled >= 1000) { $unit = "Ei"; $nI_scaled /= 1024; } 293 if ($nI_scaled >= 1000) { $unit = "Zi"; $nI_scaled /= 1024; } 294 if ($nI_scaled >= 1000) { $unit = "Yi"; $nI_scaled /= 1024; [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ExecutorService.java | 165 * @param unit the time unit of the timeout argument 170 boolean awaitTermination(long timeout, TimeUnit unit) 261 * @param unit the time unit of the timeout argument 270 * unit are {@code null} 275 long timeout, TimeUnit unit) 310 * @param unit the time unit of the timeout argument 313 * @throws NullPointerException if tasks, or unit, or any elemen [all...] |
Executors.java | 588 public boolean awaitTermination(long timeout, TimeUnit unit) 590 return e.awaitTermination(timeout, unit); 606 long timeout, TimeUnit unit) 608 return e.invokeAll(tasks, timeout, unit); 615 long timeout, TimeUnit unit) 617 return e.invokeAny(tasks, timeout, unit); 643 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 644 return e.schedule(command, delay, unit); 646 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { 647 return e.schedule(callable, delay, unit); [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
fast-dtoa.cc | 57 // * distance_too_high_w == (too_high - w).f() * unit 58 // * unsafe_interval == (too_high - too_low).f() * unit 59 // * rest = (too_high - buffer * 10^kappa).f() * unit 60 // * ten_kappa = 10^kappa * unit 61 // * unit = the common multiplier 71 uint64_t unit) { 72 uint64_t small_distance = distance_too_high_w - unit; 73 uint64_t big_distance = distance_too_high_w + unit; 78 // The real w (* unit) must lie somewhere inside the interval 85 // ^v 1 unit ^ ^ ^ [all...] |
/external/chromium_org/v8/src/ |
fast-dtoa.cc | 35 // * 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 ^ ^ ^ 382 uint64_t unit = 1; local [all...] |
/external/guava/guava/src/com/google/common/base/ |
Stopwatch.java | 150 * 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); local 189 double value = (double) nanos / NANOSECONDS.convert(1, unit); 193 value, abbreviate(unit)); 209 private static String abbreviate(TimeUnit unit) { 210 switch (unit) {
|
/external/ppp/pppd/ |
lcp.c | 336 lcp_init(unit) 337 int unit; 339 fsm *f = &lcp_fsm[unit]; 340 lcp_options *wo = &lcp_wantoptions[unit]; 341 lcp_options *ao = &lcp_allowoptions[unit]; 343 f->unit = unit; 376 lcp_open(unit) 377 int unit; 379 fsm *f = &lcp_fsm[unit]; [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_tss.c | 58 unsigned unit; member in struct:bind_queue::__anon17750 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_##token, val ); [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_tss.c | 58 unsigned unit; member in struct:bind_queue::__anon31309 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_##token, val ); [all...] |
/external/icu/icu4c/source/test/intltest/ |
reldatefmttest.cpp | 25 static const char *RelativeUnitStr(UDateRelativeUnit unit); 26 static const char *AbsoluteUnitStr(UDateAbsoluteUnit unit); 31 UDateRelativeUnit unit; member in struct:WithQuantityExpected 37 UDateAbsoluteUnit unit; member in struct:WithoutQuantityExpected 219 UDateRelativeUnit unit); 223 UDateAbsoluteUnit unit); 380 fmt.format(expectedResult.value, expectedResult.direction, expectedResult.unit, actual, status); 390 RelativeUnitStr(expectedResult.unit)); 404 fmt.format(expectedResult.direction, expectedResult.unit, actual, status); 413 AbsoluteUnitStr(expectedResult.unit)); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_sampler.c | 135 texobj = ctx->Texture.Unit[texUnit]._Current; 154 sampler->lod_bias = ctx->Texture.Unit[texUnit].LodBias + msamp->LodBias; 216 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) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_fragprog.c | 80 GLuint unit, GLfloat color[4] ) 82 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 87 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); 91 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current, 112 GLfloat lodBias, GLuint unit, GLfloat color[4] ) 115 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_sampler.c | 135 texobj = ctx->Texture.Unit[texUnit]._Current; 154 sampler->lod_bias = ctx->Texture.Unit[texUnit].LodBias + msamp->LodBias; 216 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) [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_fragprog.c | 80 GLuint unit, GLfloat color[4] ) 82 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 87 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); 91 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current, 112 GLfloat lodBias, GLuint unit, GLfloat color[4] ) 115 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
i915_texstate.c | 135 i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3) 139 struct gl_texture_unit *tUnit = &ctx->Texture.Unit[unit]; 143 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); 144 GLuint *state = i915->state.Tex[unit], format, pitch; 153 if (i915->state.tex_buffer[unit] != NULL) { 154 drm_intel_bo_unreference(i915->state.tex_buffer[unit]); 155 i915->state.tex_buffer[unit] = NULL; 158 if (!intel_finalize_mipmap_tree(intel, unit)) 167 i915->state.tex_buffer[unit] = intelObj->mt->region->bo [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_texstate.c | 135 i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3) 139 struct gl_texture_unit *tUnit = &ctx->Texture.Unit[unit]; 143 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit); 144 GLuint *state = i915->state.Tex[unit], format, pitch; 153 if (i915->state.tex_buffer[unit] != NULL) { 154 drm_intel_bo_unreference(i915->state.tex_buffer[unit]); 155 i915->state.tex_buffer[unit] = NULL; 158 if (!intel_finalize_mipmap_tree(intel, unit)) 167 i915->state.tex_buffer[unit] = intelObj->mt->region->bo [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
GLClientState.cpp | 62 memset(m_tex.unit, 0, sizeof(m_tex.unit)); 63 m_tex.activeUnit = &m_tex.unit[0]; 247 GLuint unit = texture - GL_TEXTURE0; local 248 if (unit >= MAX_TEXTURE_UNITS) { 251 m_tex.activeUnit = &m_tex.unit[unit]; 257 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]); 407 for (TextureUnit* unit = m_tex.unit; [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_tex.c | 302 GLuint unit = ctx->Texture.CurrentUnit; local 303 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 318 if ( rmesa->hw.tf.cmd[TF_TFACTOR_0 + unit] != envColor ) { 320 rmesa->hw.tf.cmd[TF_TFACTOR_0 + unit] = envColor; 342 if ( (rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] & R200_LOD_BIAS_MASK) != b ) { 343 R200_STATECHANGE( rmesa, tex[unit] ); 344 rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] &= ~R200_LOD_BIAS_MASK; 345 rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] |= b; 353 rmesa->hw.spr.cmd[SPR_POINT_SPRITE_CNTL] |= R200_PS_GEN_TEX_0 << unit; 455 GLuint unit = ctx->Texture.CurrentUnit; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_tex.c | 302 GLuint unit = ctx->Texture.CurrentUnit; local 303 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 318 if ( rmesa->hw.tf.cmd[TF_TFACTOR_0 + unit] != envColor ) { 320 rmesa->hw.tf.cmd[TF_TFACTOR_0 + unit] = envColor; 342 if ( (rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] & R200_LOD_BIAS_MASK) != b ) { 343 R200_STATECHANGE( rmesa, tex[unit] ); 344 rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] &= ~R200_LOD_BIAS_MASK; 345 rmesa->hw.tex[unit].cmd[TEX_PP_TXFORMAT_X] |= b; 353 rmesa->hw.spr.cmd[SPR_POINT_SPRITE_CNTL] |= R200_PS_GEN_TEX_0 << unit; 455 GLuint unit = ctx->Texture.CurrentUnit; local [all...] |
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
GLClientState.cpp | 61 memset(m_tex.unit, 0, sizeof(m_tex.unit)); 62 m_tex.activeUnit = &m_tex.unit[0]; 244 GLuint unit = texture - GL_TEXTURE0; local 245 if (unit >= MAX_TEXTURE_UNITS) { 248 m_tex.activeUnit = &m_tex.unit[unit]; 254 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]); 404 for (TextureUnit* unit = m_tex.unit; [all...] |