Searched defs:unit (Results 201 - 225 of 384) sorted by relevance

1234567891011>>

/external/guava/guava-testlib/test/com/google/common/testing/anotherpackage/
H A DForwardingWrapperTesterTest.java353 Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner,
368 Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner,
372 r, n, it, b, eq, e, in, c, ord, charset, unit, cls, joiner, pattern,
351 foo(String s, Runnable r, Number n, Iterable<?> it, boolean b, Equivalence<String> eq, Exception e, InputStream in, Comparable<?> c, Ordering<Integer> ord, Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, Pattern pattern, UnsignedInteger ui, UnsignedLong ul, StringBuilder sb, Predicate<?> pred, Function<?, ?> func, Object obj) argument
365 foo( String s, Runnable r, Number n, Iterable<?> it, boolean b, Equivalence<String> eq, Exception e, InputStream in, Comparable<?> c, Ordering<Integer> ord, Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, Pattern pattern, UnsignedInteger ui, UnsignedLong ul, StringBuilder sb, Predicate<?> pred, Function<?, ?> func, Object obj) argument
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DRelativeDateTimeFormatter.java44 * involving one single unit. This API does not support relative dates
100 * Represents the unit for formatting a relative date. e.g "in 5 days"
150 * Represents an absolute unit.
224 * Represents a direction for an absolute unit e.g "Next Tuesday"
260 * Represents the unit for formatting a relative date. e.g "in 5 days"
266 * Specifies that relative unit is year, e.g. "last year",
272 * Specifies that relative unit is quarter, e.g. "last quarter",
278 * Specifies that relative unit is month, e.g. "last month",
284 * Specifies that relative unit is week, e.g. "last week",
290 * Specifies that relative unit i
457 format(double quantity, Direction direction, RelativeUnit unit) argument
493 formatNumeric(double offset, RelativeDateTimeUnit unit) argument
537 format(Direction direction, AbsoluteUnit unit) argument
572 format(double offset, RelativeDateTimeUnit unit) argument
636 getAbsoluteUnitString(Style style, AbsoluteUnit unit, Direction direction) argument
740 getRelativeUnitPluralPattern( Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) argument
751 getRelativeUnitPattern( Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) argument
937 DateTimeUnit unit; // From the unit key string, with the style (e.g., "-short") separated out. field in class:RelativeDateTimeFormatter.RelDateTimeDataSink
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DStringTrieBuilder.java549 // Branch on the middle unit.
670 // Write the rest of this node's unit-value pairs.
675 // Write the final value for the one string ending with this unit.
688 // Adds a unit with a final value.
696 // Adds a unit which leads to another match node.
719 unit=middleUnit;
732 return unit==o.unit && lessThan==o.lessThan && greaterOrEqual==o.greaterOrEqual;
756 offset=builder.write(unit);
759 private char unit; field in class:StringTrieBuilder.SplitBranchNode
848 write(int unit) argument
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
H A DLanguageTestFmwk.java71 private static long approximateDuration(TimeUnit unit) { argument
72 return approxDurations[unit.ordinal()];
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DMeasureUnitTest.java275 // http://site.icu-project.org/design/formatting/measureformat/updating-measure-unit
1450 // per unit pattern
1456 // per unit
1462 // per unit
1598 MeasureUnit unit = (MeasureUnit) test[0];
1604 String actual = mf.getUnitDisplayName(unit);
1605 assertEquals(String.format("Unit Display Name for %s, %s, %s", unit, locale, formatWidth),
1873 MeasureUnit unit = (MeasureUnit) field.get(cMeasureUnit);
1874 knownUnits.add(unit);
1888 for (MeasureUnit unit
1969 checkForDup( Map<String, MeasureUnit> seen, String name, MeasureUnit unit) argument
2142 toCamelCase(MeasureUnit unit) argument
2213 toJAVAName(MeasureUnit unit) argument
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dreldatefmttest.cpp26 static const char *RelativeUnitStr(UDateRelativeUnit unit);
27 static const char *AbsoluteUnitStr(UDateAbsoluteUnit unit);
32 UDateRelativeUnit unit; member in struct:WithQuantityExpected
38 UDateAbsoluteUnit unit; member in struct:WithoutQuantityExpected
533 UDateRelativeUnit unit);
537 UDateAbsoluteUnit unit);
837 fmt.format(expectedResult.value, expectedResult.direction, expectedResult.unit, actual, status);
847 RelativeUnitStr(expectedResult.unit));
861 fmt.format(expectedResult.direction, expectedResult.unit, actual, status);
870 AbsoluteUnitStr(expectedResult.unit));
878 VerifyIllegalArgument( const RelativeDateTimeFormatter& fmt, UDateDirection direction, UDateRelativeUnit unit) argument
890 VerifyIllegalArgument( const RelativeDateTimeFormatter& fmt, UDateDirection direction, UDateAbsoluteUnit unit) argument
996 RelativeUnitStr( UDateRelativeUnit unit) argument
1019 AbsoluteUnitStr( UDateAbsoluteUnit unit) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DRelativeDateTimeFormatter.java43 * involving one single unit. This API does not support relative dates
105 * Represents the unit for formatting a relative date. e.g "in 5 days"
163 * Represents an absolute unit.
250 * Represents a direction for an absolute unit e.g "Next Tuesday"
293 * Represents the unit for formatting a relative date. e.g "in 5 days"
300 * Specifies that relative unit is year, e.g. "last year",
307 * Specifies that relative unit is quarter, e.g. "last quarter",
314 * Specifies that relative unit is month, e.g. "last month",
321 * Specifies that relative unit is week, e.g. "last week",
328 * Specifies that relative unit i
513 format(double quantity, Direction direction, RelativeUnit unit) argument
550 formatNumeric(double offset, RelativeDateTimeUnit unit) argument
595 format(Direction direction, AbsoluteUnit unit) argument
631 format(double offset, RelativeDateTimeUnit unit) argument
695 getAbsoluteUnitString(Style style, AbsoluteUnit unit, Direction direction) argument
803 getRelativeUnitPluralPattern( Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) argument
814 getRelativeUnitPattern( Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) argument
1000 DateTimeUnit unit; // From the unit key string, with the style (e.g., "-short") separated out. field in class:RelativeDateTimeFormatter.RelDateTimeDataSink
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DStringTrieBuilder.java551 // Branch on the middle unit.
672 // Write the rest of this node's unit-value pairs.
677 // Write the final value for the one string ending with this unit.
690 // Adds a unit with a final value.
698 // Adds a unit which leads to another match node.
721 unit=middleUnit;
734 return unit==o.unit && lessThan==o.lessThan && greaterOrEqual==o.greaterOrEqual;
758 offset=builder.write(unit);
761 private char unit; field in class:StringTrieBuilder.SplitBranchNode
850 write(int unit) argument
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DLanguageTestFmwk.java70 private static long approximateDuration(TimeUnit unit) { argument
71 return approxDurations[unit.ordinal()];
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DMeasureUnitTest.java274 // http://site.icu-project.org/design/formatting/measureformat/updating-measure-unit
1449 // per unit pattern
1455 // per unit
1461 // per unit
1597 MeasureUnit unit = (MeasureUnit) test[0];
1603 String actual = mf.getUnitDisplayName(unit);
1604 assertEquals(String.format("Unit Display Name for %s, %s, %s", unit, locale, formatWidth),
1872 MeasureUnit unit = (MeasureUnit) field.get(cMeasureUnit);
1873 knownUnits.add(unit);
1887 for (MeasureUnit unit
1968 checkForDup( Map<String, MeasureUnit> seen, String name, MeasureUnit unit) argument
2141 toCamelCase(MeasureUnit unit) argument
2212 toJAVAName(MeasureUnit unit) argument
[all...]
/external/ipsec-tools/src/racoon/
H A Disakmp_cfg.c2115 size_t unit; local
2118 unit = sizeof(*isakmp_cfg_config.port_pool);
2121 bzero((char *)new_pool + (old_size * unit),
2122 (size - old_size) * unit);
/external/kernel-headers/original/uapi/linux/
H A Dhiddev.h104 __u32 unit; member in struct:hiddev_field_info
/external/libcxx/utils/google-benchmark/src/
H A Dbenchmark_register.cc259 Benchmark* Benchmark::Unit(TimeUnit unit) { argument
260 time_unit_ = unit;
/external/libnl/lib/route/
H A Dtc.c875 char *unit, fmt[64]; local
886 res = nl_cancel_down_bytes(tc->tc_stats[RTNL_TC_BYTES], &unit);
887 if (*unit == 'B')
890 nl_dump_line(p, fmt, res, unit,
897 res = nl_cancel_down_bytes(tc->tc_stats[RTNL_TC_RATE_BPS], &unit);
901 if (*unit == 'B')
904 nl_dump_line(p, fmt, res, unit, tc->tc_stats[RTNL_TC_RATE_PPS]);
/external/libpcap/
H A Dpcap-dlpi.c371 * Split the device name into a device type name and a unit number;
372 * chop off the unit number, so "dname" is just a device type name.
420 * table for the specified device type name and unit number.
441 * Get the unit number, and a pointer to the end of the device
451 * Make a copy of the device pathname, and then remove the unit
457 /* Try device without unit number */
469 /* Try again with unit number */
507 /* XXX Assume unit zero */
825 * Split a device name into a device type name and a unit number;
826 * return the a pointer to the beginning of the unit numbe
837 long unit; local
1481 get_dlpi_ppa(register int fd, register const char *device, register int unit, register char *ebuf) argument
1668 get_dlpi_ppa(register int fd, register const char *ifname, register int unit, register char *ebuf) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi.h107 unsigned unit:8; /* Sampler unit */ member in struct:lp_tgsi_texture_info
175 unsigned unit,
187 unsigned unit,
199 unsigned unit,
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnvfx_fragprog.c217 if(insn.unit >= 0)
219 hw[0] |= (insn.unit << NVFX_FP_OP_TEX_UNIT_SHIFT);
447 int mask, sat, unit = 0; local
516 unit = fsrc->Register.Index;
774 nvfx_fp_emit(fpc, tex(sat, TEX, unit, dst, mask, src[0], none, none));
790 nvfx_fp_emit(fpc, tex(sat, TXB, unit, dst, mask, src[0], none, none));
794 nvfx_fp_emit(fpc, tex(sat, TXL_NV40, unit, dst, mask, src[0], none, none));
796 nvfx_fp_emit(fpc, tex(sat, TEX, unit, dst, mask, src[0], none, none));
799 nvfx_fp_emit(fpc, tex(sat, TXP, unit, dst, mask, src[0], none, none));
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_build_util.cpp319 BuildUtil::mkClobber(DataFile f, uint32_t rMask, int unit) argument
340 reg->reg.size = size1 << unit;
346 reg->reg.size = size2 << unit;
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_tgsi_emit.h59 int unit; member in struct:svga_shader_emitter
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_wm_fp.c48 /** An invalid texture unit */
242 TEX_UNIT_NONE, TEX_TARGET_NONE, 0, /* unit, tgt, shadow */
667 const GLuint unit = c->fp->program.Base.SamplerUnits[inst->TexSrcUnit]; local
674 if (c->key.tex.swizzles[unit] != SWIZZLE_NOOP) {
680 assert(unit < BRW_MAX_TEX_UNIT);
744 unit,
774 if (c->key.tex.yuvtex_mask & (1 << unit)) {
776 bool swap_uv = c->key.tex.yuvtex_swap_mask & (1 << unit);
801 unit,
862 unit,
[all...]
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_texstate.c260 * Texture unit state management
263 static GLboolean radeonUpdateTextureEnv( struct gl_context *ctx, int unit )
266 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
276 /* texUnit->_Current can be NULL if and only if the texture unit is
283 fprintf( stderr, "%s( %p, %d )\n", __FUNCTION__, (void *)ctx, unit );
295 rmesa->state.texture.unit[unit].format = 0;
296 rmesa->state.texture.unit[unit].envMode = 0;
324 color_arg[i] = radeon_texture_color[op][unit];
781 import_tex_obj_state( r100ContextPtr rmesa, int unit, radeonTexObjPtr texobj ) argument
828 set_texgen_matrix( r100ContextPtr rmesa, GLuint unit, const GLfloat *s_plane, const GLfloat *t_plane, const GLfloat *r_plane, const GLfloat *q_plane ) argument
976 setup_hardware_state(r100ContextPtr rmesa, radeonTexObj *t, int unit) argument
1055 radeon_validate_texture(struct gl_context *ctx, struct gl_texture_object *texObj, int unit) argument
[all...]
/external/mesa3d/src/mesa/main/
H A Dtexobj.c1041 struct gl_texture_unit *unit = &ctx->Texture.Unit[u]; local
1043 if (texObj == unit->CurrentTex[tex]) {
1044 _mesa_reference_texobj(&unit->CurrentTex[tex],
1046 ASSERT(unit->CurrentTex[tex]);
1063 * texture unit, unbind the texture first. Decrement the reference
H A Duniforms.c53 * particular texture unit. We know the sampler's texture target
54 * (1D/2D/3D/etc) from compile time but the sampler's texture unit is
59 * Each value of TexturesUsed[unit] is one of zero, TEXTURE_1D_INDEX,
74 GLuint unit = shProg->SamplerUnits[s]; local
76 assert(unit < Elements(prog->TexturesUsed));
78 prog->TexturesUsed[unit] |= (1 << tgt);
/external/mesa3d/src/mesa/program/
H A Dprog_execute.c393 const GLuint unit = machine->Samplers[inst->TexSrcUnit]; local
405 lodBias, unit, color);
408 machine->FetchTexelLod(ctx, texcoord, lodBias, unit, color);
/external/skia/tests/
H A DPictureTest.cpp118 SkScalar unit = rand.nextUScalar1(); local
119 if (unit <= 0.3) {
122 } else if (unit <= 0.6) {
125 } else if (unit <= 0.9) {

Completed in 2836 milliseconds

1234567891011>>