HomeSort by relevance Sort by last modified time
    Searched defs:unit (Results 151 - 175 of 1722) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/icu/icu4c/source/common/
stringtriebuilder.cpp 140 // Branch on the middle unit.
141 // First, find the middle unit.
144 middleUnits[ltLength]=getElementUnit(i, unitIndex); // middle unit
151 // For each unit, find its elements array start and whether it has a final value.
157 UChar unit=getElementUnit(i++, unitIndex); local
158 i=indexOfElementWithNextUnit(i, unitIndex, unit);
181 // Write the rest of this node's unit-value pairs.
186 // Write the final value for the one string ending with this unit.
269 // Branch on the middle unit.
270 // First, find the middle unit
292 UChar unit=getElementUnit(i++, unitIndex); local
302 UChar unit=getElementUnit(start, unitIndex); local
    [all...]
ucharstriebuilder.cpp 32 * of the 16-bit-unit sequences, until the UCharsTrie is built.
59 // The first strings unit contains the string length.
73 // Too long: We store the length in 1 unit.
260 UChar unit=elements[i++].charAt(unitIndex, strings); local
261 while(i<limit && unit==elements[i].charAt(unitIndex, strings)) {
272 UChar unit=elements[i++].charAt(unitIndex, strings); local
273 while(unit==elements[i].charAt(unitIndex, strings)) {
281 UCharsTrieBuilder::indexOfElementWithNextUnit(int32_t i, int32_t unitIndex, UChar unit) const {
282 while(unit==elements[i].charAt(unitIndex, strings)) {
350 UCharsTrieBuilder::write(int32_t unit) {
    [all...]
  /external/icu/icu4c/source/i18n/
number_fluent.cpp 27 Derived NumberFormatterSettings<Derived>::unit(const icu::MeasureUnit &unit) const { function in class:NumberFormatterSettings
31 copy.fMacros.unit = unit;
36 Derived NumberFormatterSettings<Derived>::adoptUnit(const icu::MeasureUnit *unit) const {
38 // Just copy the unit into the MacroProps by value, and delete it since we have ownership.
41 if (unit != nullptr) {
42 copy.fMacros.unit = *unit;
43 delete unit;
    [all...]
  /external/icu/icu4c/source/test/cintltst/
crelativedateformattest.c 126 URelativeDateTimeUnit unit; member in struct:__anon21623
174 if (itemPtr->unit >= UDAT_REL_UNIT_SUNDAY && offsets[iOffset] != -1.0 && offsets[iOffset] != 0.0 && offsets[iOffset] != 1.0) {
179 ulenget = ureldatefmt_format(reldatefmt, offsets[iOffset], itemPtr->unit, ubufget, kUBufMax, &status);
181 log_err("FAIL: ureldatefmt_format() for locale %s, decPlaces %d, width %d, capContext %d, offset %.2f, unit %d: %s\n",
183 offsets[iOffset], (int)itemPtr->unit, myErrorName(status) );
190 log_err("ERROR: ureldatefmt_format() for locale %s, decPlaces %d, width %d, capContext %d, offset %.2f, unit %d;\n expected %s\n get %s\n",
192 offsets[iOffset], (int)itemPtr->unit, itemPtr->expectedResults[iOffset*2], bbufget );
196 if (itemPtr->unit >= UDAT_REL_UNIT_SUNDAY) {
201 ulenget = ureldatefmt_formatNumeric(reldatefmt, offsets[iOffset], itemPtr->unit, ubufget, kUBufMax, &status);
203 log_err("FAIL: ureldatefmt_formatNumeric() for locale %s, decPlaces %d, width %d, capContext %d, offset %.2f, unit %d: %s\n"
    [all...]
  /external/icu/icu4c/source/test/intltest/
numbertest_api.cpp 29 MeasureUnit *unit = MeasureUnit::createMeter(status); local
34 METER = *unit;
35 delete unit;
36 unit = MeasureUnit::createDay(status);
37 DAY = *unit;
38 delete unit;
39 unit = MeasureUnit::createSquareMeter(status);
40 SQUARE_METER = *unit;
41 delete unit;
42 unit = MeasureUnit::createFahrenheit(status)
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
ucmstate.cpp 625 uint16_t unit; local
801 unit=(*pUnicodeCodeUnits)[offset]=oldUnicodeCodeUnits[oldOffset];
802 if(unit==0xfffe && (fallback=ucm_findFallback(toUFallbacks, countToUFallbacks, oldOffset))>=0) {
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
NumberFormatterSettings.java 89 * Specifies the unit (unit of measure, currency, or percent) to associate with rendered numbers.
92 * <li>Unit of measure: "12.3 meters"
98 * <strong>Note:</strong> The unit can also be specified by passing a {@link Measure} to
100 * units specified here. This setter is designed for situations when the unit is constant for the duration of the
111 * NumberFormatter.with().unit(MeasureUnit.METER)
117 * NumberFormatter.with().unit(Currency.getInstance("USD"))
123 * NumberFormatter.with().unit(NoUnit.PERCENT)
128 * @param unit
129 * The unit to render
137 public T unit(MeasureUnit unit) { method in class:NumberFormatterSettings
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
RelativeDateTimeFormatterTest.java 736 public RelativeDateTimeUnit unit; field in class:RelativeDateTimeFormatterTest.TestRelativeDateTimeUnitItem
    [all...]
  /external/junit/src/main/java/org/junit/internal/runners/statements/
FailOnTimeout.java 42 timeUnit = builder.unit;
52 private TimeUnit unit = TimeUnit.SECONDS; field in class:FailOnTimeout.Builder
67 * @param unit the time unit of the {@code timeout} argument
70 public Builder withTimeout(long timeout, TimeUnit unit) {
74 if (unit == null) {
78 this.unit = unit;
  /external/kernel-headers/original/uapi/rdma/hfi/
hfi1_ioctl.h 85 __u16 unit; /* unit (chip) assigned to caller */ member in struct:hfi1_ctxt_info
86 __u16 ctxt; /* ctxt on unit assigned to caller */
87 __u16 subctxt; /* subctxt on unit assigned to caller */
  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_tgsi_aos.c 350 unsigned unit; local
367 unit = inst->Src[3].Register.Index;
370 unit = inst->Src[1].Register.Index;
374 target, unit,
386 unsigned unit; local
398 unit = inst->Src[1].Register.Index;
399 assert(inst->Src[2].Register.Index == unit);
401 target = bld->sv[unit].Resource;
405 target, unit,
  /external/mesa3d/src/gallium/drivers/i915/
i915_fpc_translate.c 160 static uint get_mapping(struct i915_fragment_shader* fs, int unit)
166 fs->generic_mapping[i] = unit;
169 if (fs->generic_mapping[i] == unit)
420 uint unit = inst->Src[1].Register.Index; local
422 uint sampler = i915_emit_decl(p, REG_TYPE_S, unit, tex);
    [all...]
i915_state_emit.c 301 uint unit; local
307 for (unit = 0; unit < I915_TEX_UNITS; unit++) {
308 if (enabled & (1 << unit)) {
309 tex = i915_texture(i915->fragment_sampler_views[unit]->texture);
321 uint unit; local
325 for (unit = 0; unit < I915_TEX_UNITS; unit++)
    [all...]
  /external/mesa3d/src/gallium/drivers/nouveau/nv50/
nv50_query_hw_sm.c 104 uint32_t unit : 8; /* UNK[0-5] */ member in struct:nv50_hw_sm_counter_cfg
207 | cfg->ctr[i].unit | cfg->ctr[i].mode);
302 | cfg->ctr[i].unit | cfg->ctr[i].mode);
  /external/mesa3d/src/gallium/drivers/svga/
svga_draw.c 347 const unsigned unit = svga->state.hw_draw.fs->pstipple_sampler_unit; local
352 surfaces[unit] = svga_texture(sv->base.texture)->handle;
353 count = MAX2(count, unit+1);
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_sampler_state.c 404 * Sets the sampler state for a single unit based off of the sampler key
561 int unit,
566 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
568 const struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit);
608 const unsigned unit = prog->SamplerUnits[s]; local
609 if (ctx->Texture.Unit[unit]._Current) {
610 update_sampler_state(brw, unit, sampler_state,
brw_wm.c 247 found |= key_debug(brw, "GL_CLAMP enabled on any texture unit's 1st coordinate",
249 found |= key_debug(brw, "GL_CLAMP enabled on any texture unit's 2nd coordinate",
251 found |= key_debug(brw, "GL_CLAMP enabled on any texture unit's 3rd coordinate",
253 found |= key_debug(brw, "gather channel quirk on any texture unit",
310 const struct gl_texture_unit *unit = &ctx->Texture.Unit[unit_id]; local
312 if (unit->_Current && unit->_Current->Target != GL_TEXTURE_BUFFER) {
313 const struct gl_texture_object *t = unit->_Current;
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv10_state_frag.c 65 int unit; member in struct:combiner_state
79 /* Initialize a combiner_state struct from the texture unit
83 ctx->Texture.Unit[i]._CurrentCombine; \
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);
172 struct gl_texture_object *t = rc->ctx->Texture.Unit[i]._Current;
319 if (ctx->Texture.Unit[i]._Current)
    [all...]
  /external/mesa3d/src/mesa/main/
samplerobj.c 252 if (ctx->Texture.Unit[j].Sampler == sampObj) {
254 _mesa_reference_sampler_object(ctx, &ctx->Texture.Unit[j].Sampler, NULL);
287 _mesa_bind_sampler(struct gl_context *ctx, GLuint unit,
290 if (ctx->Texture.Unit[unit].Sampler != sampObj) {
294 _mesa_reference_sampler_object(ctx, &ctx->Texture.Unit[unit].Sampler,
299 _mesa_BindSampler(GLuint unit, GLuint sampler)
304 if (unit >= ctx->Const.MaxCombinedTextureImageUnits) {
305 _mesa_error(ctx, GL_INVALID_VALUE, "glBindSampler(unit %u)", unit)
374 const GLuint unit = first + i; local
415 const GLuint unit = first + i; local
    [all...]
texstate.c 78 /* per-unit state */
80 dst->Texture.Unit[u].Enabled = src->Texture.Unit[u].Enabled;
81 dst->Texture.Unit[u].EnvMode = src->Texture.Unit[u].EnvMode;
82 COPY_4V(dst->Texture.Unit[u].EnvColor, src->Texture.Unit[u].EnvColor);
83 dst->Texture.Unit[u].TexGenEnabled = src->Texture.Unit[u].TexGenEnabled;
84 dst->Texture.Unit[u].GenS = src->Texture.Unit[u].GenS
475 GLuint unit; local
518 int unit; local
590 int unit = prog[i]->SamplerUnits[s]; local
611 int unit; local
    [all...]
uniform_query.cpp 767 * "Setting a sampler's value to i selects texture image unit number
786 /* check that the sampler (tex unit index) is legal */
789 "glUniform1i(invalid sampler/tex unit index for "
796 * two different sampler types are set to the same texture unit.
803 const int unit = ((GLint *) values)[i]; local
805 /* check that the image unit is legal */
806 if (unit < 0 || unit >= (int)ctx->Const.MaxImageUnits) {
808 "glUniform1i(invalid image unit index for uniform %d)",
868 unsigned unit = uni->opaque[i].index + offset + j local
1109 GLuint unit = shader->Program->SamplerUnits[s]; local
    [all...]
  /external/mesa3d/src/mesa/program/
prog_execute.c 296 const GLuint unit = machine->Samplers[inst->TexSrcUnit]; local
308 lodBias, unit, color);
311 machine->FetchTexelLod(ctx, texcoord, lodBias, unit, color);
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_program.h 67 unsigned unit = u_bit_scan(&mask); local
69 st_get_texture_object(st->ctx, prog, unit);
73 key.lower_nv12 |= (1 << unit);
76 key.lower_iyuv |= (1 << unit);
  /external/mesa3d/src/mesa/swrast/
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);
590 GLuint unit; local
    [all...]
  /external/ppp/pppd/
fsm.h 67 int unit; /* Interface unit number */ member in struct:fsm
168 extern int peer_mru[]; /* currently negotiated peer MRU (per unit) */

Completed in 1270 milliseconds

1 2 3 4 5 67 8 91011>>