/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/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_tss.c | 58 unsigned unit; member in struct:bind_queue::__anon18755 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/guava/guava/src/com/google/common/util/concurrent/ |
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/mesa3d/src/gallium/drivers/svga/ |
svga_state_tss.c | 58 unsigned unit; member in struct:bind_queue::__anon7093 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...] |
s_texcombine.c | 55 * Return array of texels for given unit. 58 get_texel_array(SWcontext *swrast, GLuint unit) 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, 95 const struct gl_texture_unit *textureUnit = &(ctx->Texture.Unit[unit]); 154 argRGB[term] = get_texel_array(swrast, unit); 608 GLuint unit; local [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...] |
s_texcombine.c | 47 * Return array of texels for given unit. 50 get_texel_array(SWcontext *swrast, GLuint unit) 53 return (float4_array) (swrast->TexelBuffer + unit * SWRAST_MAX_WIDTH * 4 * omp_get_num_threads() + (SWRAST_MAX_WIDTH * 4 * omp_get_thread_num())); 55 return (float4_array) (swrast->TexelBuffer + unit * SWRAST_MAX_WIDTH * 4); 72 * \param unit the texture combiner unit 81 texture_combine( struct gl_context *ctx, GLuint unit, 87 const struct gl_texture_unit *textureUnit = &(ctx->Texture.Unit[unit]); 146 argRGB[term] = get_texel_array(swrast, unit); 600 GLuint unit; local [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...] |
/external/chromium_org/media/base/android/ |
media_decoder_job.cc | 233 MediaCodecStatus MediaDecoderJob::QueueInputBuffer(const AccessUnit& unit) { 255 if (unit.end_of_stream || unit.data.empty()) { 260 if (unit.key_id.empty() || unit.iv.empty()) { 261 DCHECK(unit.iv.empty() || !unit.key_id.empty()); 263 input_buf_index, &unit.data[0], unit.data.size(), unit.timestamp) [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
GLClientState.cpp | 63 memset(m_tex.unit, 0, sizeof(m_tex.unit)); 64 m_tex.activeUnit = &m_tex.unit[0]; 248 GLuint unit = texture - GL_TEXTURE0; local 249 if (unit >= MAX_TEXTURE_UNITS) { 252 m_tex.activeUnit = &m_tex.unit[unit]; 258 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]); 408 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...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_state_derived.c | 39 static uint find_mapping(const struct i915_fragment_shader* fs, int unit) 44 if (fs->generic_mapping[i] == unit) 77 uint unit = I915_SEMANTIC_POS; local 78 texCoords[find_mapping(fs, unit)] = TRUE; 88 uint unit = fs->info.input_semantic_index[i]; local 90 texCoords[find_mapping(fs, unit)] = TRUE;
|
/external/chromium_org/tools/telemetry/telemetry/results/ |
gtest_progress_reporter.py | 87 unit = 'test' if len(successful_runs) == 1 else 'tests' 89 (len(successful_runs), unit)) 91 unit = 'test' if len(failed_runs) == 1 else 'tests' 93 (len(page_test_results.failures), unit)) 99 unit = 'TEST' if count == 1 else 'TESTS' 100 print >> self._output_stream, '%d FAILED %s' % (count, unit)
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state_derived.c | 39 static uint find_mapping(const struct i915_fragment_shader* fs, int unit) 44 if (fs->generic_mapping[i] == unit) 77 uint unit = I915_SEMANTIC_POS; local 78 texCoords[find_mapping(fs, unit)] = TRUE; 88 uint unit = fs->info.input_semantic_index[i]; local 90 texCoords[find_mapping(fs, unit)] = TRUE;
|
/external/llvm/bindings/ocaml/target/ |
llvm_target.ml | 50 external register_exns : exn -> unit = "llvm_register_target_exns" 59 Llvm.PassManager.t -> t -> unit 92 external default_triple : unit -> string = "llvm_target_default_triple" 93 external first : unit -> t option = "llvm_target_first" 130 external set_verbose_asm : bool -> t -> unit 133 t -> unit
|
/dalvik/dx/tests/115-merge/ |
run | 34 junit.textui.TestRunner com.android.dx.merge.DexMergeTest > unit-out.txt 39 cat unit-out.txt
|
/external/chromium_org/extensions/browser/api/system_display/ |
display_info_provider.h | 62 // Update the content of the |unit| obtained for |display| using 66 core_api::system_display::DisplayUnitInfo* unit) = 0;
|
/external/chromium_org/ppapi/cpp/dev/ |
scrollbar_dev.h | 34 void ScrollBy(PP_ScrollBy_Dev unit, int32_t multiplier);
|