/libcore/luni/src/main/java/java/util/concurrent/ |
CompletionService.java | 86 * {@code unit} 87 * @param unit a {@code TimeUnit} determining how to interpret the 94 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException;
|
Future.java | 129 * @param unit the time unit of the timeout argument 138 V get(long timeout, TimeUnit unit)
|
TransferQueue.java | 91 * {@code unit} 92 * @param unit a {@code TimeUnit} determining how to interpret the 105 boolean tryTransfer(E e, long timeout, TimeUnit unit)
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
Condition.java | 283 * boolean aMethod(long timeout, TimeUnit unit) { 284 * long nanos = unit.toNanos(timeout); 335 * <pre> {@code awaitNanos(unit.toNanos(time)) > 0}</pre> 338 * @param unit the time unit of the {@code time} argument 344 boolean await(long time, TimeUnit unit) throws InterruptedException;
|
Lock.java | 284 * @param unit the time unit of the {@code time} argument 292 boolean tryLock(long time, TimeUnit unit) throws InterruptedException;
|
/system/core/libutils/tests/ |
Android.mk | 1 # Build the unit tests. 5 # Build the unit tests.
|
/system/core/toolbox/ |
df.c | 11 char unit = 'K'; local 18 unit = 'M'; 23 unit = 'G'; 27 printf("%4lld.%1lld%c", t/10, t%10, unit);
|
/cts/libs/commonutil/src/com/android/cts/util/ |
ReportLog.java | 31 * summary = message|target|unit|type|value, target can be " " if there is no target set. 32 * log for array = classMethodName:line_number|message|unit|type|space seSummaryparated values 46 public void printArray(String message, double[] values, ResultType type, ResultUnit unit) { 47 doPrintArray(message, values, type, unit); 53 public void printValue(String message, double value, ResultType type, ResultUnit unit) { 55 doPrintArray(message, vals, type, unit); 58 private void doPrintArray(String message, double[] values, ResultType type, ResultUnit unit) { 64 unit.getXmlString() + LOG_ELEM_SEPARATOR); 83 * @param unit 86 ResultType type, ResultUnit unit) { [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
MediaQueryExp.cpp | 72 if (!(((value->unit >= CSSPrimitiveValue::CSS_EMS && value->unit <= CSSPrimitiveValue::CSS_PC) || value->unit == CSSPrimitiveValue::CSS_REMS) || (value->unit == CSSPrimitiveValue::CSS_NUMBER && !(value->fValue))) || value->fValue < 0) 92 if ((value->unit != CSSPrimitiveValue::CSS_DPPX && value->unit != CSSPrimitiveValue::CSS_DPI && value->unit != CSSPrimitiveValue::CSS_DPCM) || value->fValue <= 0) 118 if (value->unit != CSSPrimitiveValue::CSS_NUMBER || value->fValue < 0) 213 expValue.unit = CSSPrimitiveValue::CSS_VALUE_ID; 220 expValue.unit = (CSSPrimitiveValue::UnitType)value->unit [all...] |
/external/chromium_org/tools/deep_memory_profiler/lib/ |
sorter.py | 34 class Unit(object): 35 """Represents a minimum unit of memory usage categorization. 54 class VMUnit(Unit): 55 """Represents a Unit for a memory region on virtual memory.""" 91 """Represents a Unit for a mmap'ed region.""" 107 """Represents a Unit for a non-mmap'ed memory region on virtual memory.""" 117 class MallocUnit(Unit): 118 """Represents a Unit for a malloc'ed memory block.""" 154 def append(self, unit, overwrite=False): 155 if not overwrite and unit.unit_id in self._units [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_texstate.c | 300 * Texture unit state management 303 static GLboolean r200UpdateTextureEnv( struct gl_context *ctx, int unit, int slot, GLuint replaceargs ) 306 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 315 /* texUnit->_Current can be NULL if and only if the texture unit is 322 fprintf( stderr, "%s( %p, %d )\n", __FUNCTION__, (void *)ctx, unit ); 332 color_scale |= ((rmesa->state.texture.unit[unit].outputreg + 1) << R200_TXC_OUTPUT_REG_SHIFT) | 333 (unit << R200_TXC_TFACTOR_SEL_SHIFT) | 335 alpha_scale |= ((rmesa->state.texture.unit[unit].outputreg + 1) << R200_TXA_OUTPUT_REG_SHIFT) [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_texstate.c | 300 * Texture unit state management 303 static GLboolean r200UpdateTextureEnv( struct gl_context *ctx, int unit, int slot, GLuint replaceargs ) 306 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 315 /* texUnit->_Current can be NULL if and only if the texture unit is 322 fprintf( stderr, "%s( %p, %d )\n", __FUNCTION__, (void *)ctx, unit ); 332 color_scale |= ((rmesa->state.texture.unit[unit].outputreg + 1) << R200_TXC_OUTPUT_REG_SHIFT) | 333 (unit << R200_TXC_TFACTOR_SEL_SHIFT) | 335 alpha_scale |= ((rmesa->state.texture.unit[unit].outputreg + 1) << R200_TXA_OUTPUT_REG_SHIFT) [all...] |
/external/chromium_org/media/base/android/ |
media_decoder_job.cc | 239 MediaCodecStatus MediaDecoderJob::QueueInputBuffer(const AccessUnit& unit) { 261 if (unit.end_of_stream || unit.data.empty()) { 266 if (unit.key_id.empty() || unit.iv.empty()) { 267 DCHECK(unit.iv.empty() || !unit.key_id.empty()); 269 input_buf_index, &unit.data[0], unit.data.size(), unit.timestamp) [all...] |
/external/ppp/pppd/ |
upap.c | 109 upap_state upap[NUM_PPP]; /* UPAP state; one for each unit */ 121 * upap_init - Initialize a UPAP unit. 124 upap_init(unit) 125 int unit; 127 upap_state *u = &upap[unit]; 129 u->us_unit = unit; 149 upap_authwithpeer(unit, user, password) 150 int unit; 153 upap_state *u = &upap[unit]; 179 upap_authpeer(unit) [all...] |
auth.c | 532 link_required(unit) 533 int unit; 591 link_terminated(unit) 592 int unit; 613 * can happen that another pppd gets the same unit and then 621 * the ppp unit back to the loopback. Set the 659 link_down(unit) 660 int unit; 666 update_link_stats(unit); 672 upper_layers_down(unit); [all...] |
/external/chromium_org/tools/telemetry/telemetry/results/ |
gtest_test_results.py | 63 unit = 'test' if len(self.successes) == 1 else 'tests' 65 '%d %s.' % (len(self.successes), unit)) 69 unit = 'test' if len(all_errors) == 1 else 'tests' 71 '%d %s, listed below:' % (len(all_errors), unit)) 77 unit = 'TEST' if count == 1 else 'TESTS' 78 print >> self._output_stream, '%d FAILED %s' % (count, unit)
|
/external/chromium_org/tools/telemetry/telemetry/unittest/ |
gtest_unittest_results.py | 71 unit = 'test' if self._successes_count == 1 else 'tests' 73 '%d %s.' % (self._successes_count, unit)) 77 unit = 'test' if len(all_errors) == 1 else 'tests' 79 '%d %s, listed below:' % (len(all_errors), unit)) 86 unit = 'TEST' if count == 1 else 'TESTS' 87 print >> self._output_stream, '%d FAILED %s' % (count, unit)
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
ForwardingExecutorService.java | 48 public boolean awaitTermination(long timeout, TimeUnit unit) 50 return delegate().awaitTermination(timeout, unit); 61 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) 63 return delegate().invokeAll(tasks, timeout, unit); 74 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) 76 return delegate().invokeAny(tasks, timeout, unit);
|
/external/llvm/bindings/ocaml/transforms/vectorize/ |
llvm_vectorize.mli | 16 external add_bb_vectorize : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 20 external add_loop_vectorize : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit 24 external add_slp_vectorize : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
|
/external/oprofile/libop/ |
op_xml_events.c | 63 int has_nested = strcmp(event->unit->name, "zero"); 83 init_xml_int_attr(HELP_DEFAULT_MASK, event->unit->default_mask, 85 switch (event->unit->unit_type_mask){ 98 for (i = 0; i < event->unit->num; i++) { 101 event->unit->um[i].value, 104 event->unit->um[i].desc,
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_maos_verts.c | 315 GLuint unit; local 345 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) { 346 if (inputs & VERT_BIT_TEX(unit)) { 347 req |= RADEON_ST_BIT(unit); 350 if (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size >= 3) { 351 req |= RADEON_Q_BIT(unit); 352 vtx |= RADEON_Q_BIT(unit); 354 if ( (ctx->Texture.Unit[unit].TexGenEnabled & (R_BIT | Q_BIT)) [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_maos_verts.c | 315 GLuint unit; local 345 for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) { 346 if (inputs & VERT_BIT_TEX(unit)) { 347 req |= RADEON_ST_BIT(unit); 350 if (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size >= 3) { 351 req |= RADEON_Q_BIT(unit); 352 vtx |= RADEON_Q_BIT(unit); 354 if ( (ctx->Texture.Unit[unit].TexGenEnabled & (R_BIT | Q_BIT)) [all...] |
/external/chromium_org/chrome/browser/extensions/api/system_display/ |
system_display_apitest.cc | 141 // Update the content of the |unit| obtained for |display| using 145 extensions::api::system_display::DisplayUnitInfo* unit) OVERRIDE { 147 unit->name = "DISPLAY NAME FOR " + base::Int64ToString(id); 149 unit->mirroring_source_id = "0"; 150 unit->is_primary = id == 0 ? true : false; 151 unit->is_internal = id == 0 ? true : false; 152 unit->is_enabled = true; 153 unit->rotation = (90 * id) % 360; 154 unit->dpi_x = 96.0; 155 unit->dpi_y = 96.0 [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
nv30_fragtex.c | 42 unsigned unit = ffs(dirty) - 1; local 43 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; 44 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit]; 46 PUSH_RESET(push, BUFCTX_FRAGTEX(unit)); 90 BEGIN_NV04(push, NV40_3D(TEX_SIZE1(unit)), 1); 126 BEGIN_NV04(push, NV30_3D(TEX_OFFSET(unit)), 8); 127 PUSH_MTHDl(push, NV30_3D(TEX_OFFSET(unit)), BUFCTX_FRAGTEX(unit), 129 PUSH_MTHDs(push, NV30_3D(TEX_FORMAT(unit)), BUFCTX_FRAGTEX(unit), [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderFactory.java | 165 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; 186 private DurationSpec(long duration, TimeUnit unit) { 188 this.unit = unit; 191 public static DurationSpec of(long duration, TimeUnit unit) { 192 return new DurationSpec(duration, unit); 197 return Objects.hashCode(duration, unit); [all...] |