/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | MeasureUnit.java | 32 * A unit such as length, mass, volume, currency, etc. A unit is 154 for (MeasureUnit unit : MeasureUnit.getAvailable(type)) { in getAvailable() 155 result.add(unit); in getAvailable() 214 // First search for the whole code unit identifier as a subType in parseCoreUnitIdentifier() 245 public static MeasureUnit resolveUnitPerUnit(MeasureUnit unit, MeasureUnit perUnit) { in resolveUnitPerUnit() argument 246 return unitPerUnitToSingleUnit.get(Pair.of(unit, perUnit)); in resolveUnitPerUnit() 362 // Load the unit types. Use English, since we know that that is a superset. in populateCache() 390 MeasureUnit unit = tmp.get(unitName); in addUnit() 391 if (unit in addUnit() [all...] |
H A D | StringTrieBuilder.java | 550 // Branch on the middle unit. in register() 671 // Write the rest of this node's unit-value pairs. in write() 676 // Write the final value for the one string ending with this unit. in write() 689 // Adds a unit with a final value. 697 // Adds a unit which leads to another match node. 720 unit=middleUnit; in SplitBranchNode() 733 return unit==o.unit && lessThan==o.lessThan && greaterOrEqual==o.greaterOrEqual; in equals() 757 offset=builder.write(unit); in write() 760 private char unit; field in StringTrieBuilder.SplitBranchNode 849 write(int unit) write() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_image.c | 220 if (params->unit >= PIPE_MAX_SHADER_IMAGES) in sp_tgsi_load() 222 iview = &sp_img->sp_iview[params->unit]; in sp_tgsi_load() 304 if (params->unit >= PIPE_MAX_SHADER_IMAGES) in sp_tgsi_store() 306 iview = &sp_img->sp_iview[params->unit]; in sp_tgsi_store() 636 if (params->unit >= PIPE_MAX_SHADER_IMAGES) in sp_tgsi_op() 638 iview = &sp_img->sp_iview[params->unit]; in sp_tgsi_op() 714 if (params->unit >= PIPE_MAX_SHADER_IMAGES) in sp_tgsi_get_dims() 716 iview = &sp_img->sp_iview[params->unit]; in sp_tgsi_get_dims()
|
/third_party/mesa3d/src/intel/perf/ |
H A D | gen_perf.py | 416 def output_units(unit): 417 return unit.replace(' ', '_').upper() 420 # should a unit be visible in description? 442 def desc_units(unit): 443 val = units_map.get(unit) 445 raise Exception("Unknown unit: " + unit) 448 if unit == 'hz': 449 unit = 'Hz' 450 return "Unit: " + unit [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program_tex.c | 42 compiler->state.unit[tmu].texture_swizzle); in shadow_fail_value() 53 compiler->state.unit[tmu].texture_swizzle); in shadow_pass_value() 129 rc_wrap_mode wrapmode = compiler->state.unit[inst->U.I.TexSrcUnit].wrap_mode; in radeonTransformTEX() 143 (compiler->state.unit[inst->U.I.TexSrcUnit].compare_mode_enabled))) { in radeonTransformTEX() 144 rc_compare_func comparefunc = compiler->state.unit[inst->U.I.TexSrcUnit].texture_compare_func; in radeonTransformTEX() 251 compiler->state.unit[inst->U.I.TexSrcUnit].texture_swizzle); in radeonTransformTEX() 270 compiler->state.unit[inst->U.I.TexSrcUnit].clamp_and_scale_before_fetch)) { in radeonTransformTEX() 408 compiler->state.unit[inst->U.I.TexSrcUnit].clamp_and_scale_before_fetch) { in radeonTransformTEX()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context_gles_1_0.cpp | 396 unsigned int unit = target - GL_TEXTURE0; in multiTexCoord4f() local 397 ASSERT(target >= GL_TEXTURE0 && unit < getCaps().maxMultitextureUnits); in multiTexCoord4f() 398 mState.gles1().setCurrentTextureCoords(unit, {s, t, r, q}); in multiTexCoord4f() 403 unsigned int unit = target - GL_TEXTURE0; in multiTexCoord4x() local 404 ASSERT(target >= GL_TEXTURE0 && unit < getCaps().maxMultitextureUnits); in multiTexCoord4x() 405 mState.gles1().setCurrentTextureCoords(unit, {ConvertFixedToFloat(s), ConvertFixedToFloat(t), in multiTexCoord4x() 742 int Context::TexCoordArrayIndex(unsigned int unit) in TexCoordArrayIndex() argument 744 return GLES1Renderer::TexCoordArrayIndex(unit); in TexCoordArrayIndex()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | tabs_modifier.cpp | 38 ArkUI_Int32 unit, ArkUI_Int32 layoutStyle) in SetScrollableBarModeOptions() 43 CalcDimension margin = Dimension(value, static_cast<OHOS::Ace::DimensionUnit>(unit)); in SetScrollableBarModeOptions() 164 void SetTabBarWidth(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit) in SetTabBarWidth() argument 168 CalcDimension width = Dimension(value, static_cast<OHOS::Ace::DimensionUnit>(unit)); in SetTabBarWidth() 171 void SetTabBarHeight(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit) in SetTabBarHeight() argument 175 CalcDimension width = Dimension(value, static_cast<OHOS::Ace::DimensionUnit>(unit)); in SetTabBarHeight() 37 SetScrollableBarModeOptions(ArkUINodeHandle node, const ArkUI_Float32 value, ArkUI_Int32 unit, ArkUI_Int32 layoutStyle) SetScrollableBarModeOptions() argument
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
H A D | octeon-memcpy.S | 132 #define FIRST(unit) ((unit)*NBYTES) 133 #define REST(unit) (FIRST(unit)+NBYTES-1) 134 #define UNIT(unit) FIRST(unit) 320 * are to the same unit (unless src is aligned, but it's not).
|
/kernel/linux/linux-5.10/arch/mips/lib/ |
H A D | memcpy.S | 249 #define FIRST(unit) ((unit)*NBYTES) 250 #define REST(unit) (FIRST(unit)+NBYTES-1) 251 #define UNIT(unit) FIRST(unit) 450 * are to the same unit (unless src is aligned, but it's not).
|
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/ |
H A D | octeon-memcpy.S | 132 #define FIRST(unit) ((unit)*NBYTES) 133 #define REST(unit) (FIRST(unit)+NBYTES-1) 134 #define UNIT(unit) FIRST(unit) 322 * are to the same unit (unless src is aligned, but it's not).
|
/kernel/linux/linux-6.6/arch/mips/lib/ |
H A D | memcpy.S | 249 #define FIRST(unit) ((unit)*NBYTES) 250 #define REST(unit) (FIRST(unit)+NBYTES-1) 251 #define UNIT(unit) FIRST(unit) 450 * are to the same unit (unless src is aligned, but it's not).
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | StringTrieBuilder.java | 551 // Branch on the middle unit. in register() 672 // Write the rest of this node's unit-value pairs. in write() 677 // Write the final value for the one string ending with this unit. in write() 690 // Adds a unit with a final value. 698 // Adds a unit which leads to another match node. 721 unit=middleUnit; in SplitBranchNode() 734 return unit==o.unit && lessThan==o.lessThan && greaterOrEqual==o.greaterOrEqual; in equals() 758 offset=builder.write(unit); in write() 761 private char unit; field in StringTrieBuilder.SplitBranchNode 850 write(int unit) write() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | measfmt.cpp | 109 * complete sets of unit & per patterns, 175 static UBool isCurrency(const MeasureUnit &unit) { in isCurrency() argument 176 return (uprv_strcmp(unit.getType(), "currency") == 0); in isCurrency() 513 lnf->unit(measure.getUnit()) in formatMeasurePerUnit() 571 UnicodeString MeasureFormat::getUnitDisplayName(const MeasureUnit& unit, UErrorCode& status) const { in getUnitDisplayName() argument 574 unit, in getUnitDisplayName() 713 lnf->unit(amtUnit) in formatMeasure() 786 // There is not enough info to add Field(s) for the unit because all we have are plain in formatNumeric()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_sampler.c | 355 const unsigned unit = in update_sampler_resources() local 373 unit, /* startView */ in update_sampler_resources() 501 const unsigned unit = in update_samplers() local 510 if (svga->state.hw_draw.samplers[PIPE_SHADER_FRAGMENT][unit] in update_samplers() 514 unit, /* start */ in update_samplers() 521 svga->state.hw_draw.samplers[PIPE_SHADER_FRAGMENT][unit] = in update_samplers()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | measfmt.cpp | 109 * complete sets of unit & per patterns, 175 static UBool isCurrency(const MeasureUnit &unit) { in isCurrency() argument 176 return (uprv_strcmp(unit.getType(), "currency") == 0); in isCurrency() 513 lnf->unit(measure.getUnit()) in formatMeasurePerUnit() 571 UnicodeString MeasureFormat::getUnitDisplayName(const MeasureUnit& unit, UErrorCode& status) const { in getUnitDisplayName() argument 574 unit, in getUnitDisplayName() 713 lnf->unit(amtUnit) in formatMeasure() 786 // There is not enough info to add Field(s) for the unit because all we have are plain in formatNumeric()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | measfmt.cpp | 109 * complete sets of unit & per patterns, 175 static UBool isCurrency(const MeasureUnit &unit) { in isCurrency() argument 176 return (uprv_strcmp(unit.getType(), "currency") == 0); in isCurrency() 513 lnf->unit(measure.getUnit()) in formatMeasurePerUnit() 571 UnicodeString MeasureFormat::getUnitDisplayName(const MeasureUnit& unit, UErrorCode& status) const { in getUnitDisplayName() argument 574 unit, in getUnitDisplayName() 713 lnf->unit(amtUnit) in formatMeasure() 786 // There is not enough info to add Field(s) for the unit because all we have are plain in formatNumeric()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fProgramUniformTests.cpp | 286 int unit; member 546 result.val.intV[0] = sampler.val.samplerV.unit; in getSamplerUnitValue() 627 result << value.val.samplerV.unit; in apiVarValueStr() 638 static VarValue generateRandomVarValue (const glu::DataType type, Random& rnd, int samplerUnit = -1 /* Used if type is a sampler type. \note Samplers' unit numbers are not randomized. */) in generateRandomVarValue() 672 result.val.samplerV.unit = samplerUnit; in generateRandomVarValue() 725 if (a.val.samplerV.unit != b.val.samplerV.unit) in apiVarValueEquals() 1227 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit)); in setupTexture() 1228 m_filledTextureUnits.push_back(value.val.samplerV.unit); in setupTexture() 1248 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit)); in setupTexture() 1325 GLint unit = -1; getUniforms() local 1534 const GLint unit = uniform.finalValue.val.samplerV.unit; assignUniforms() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_blank_ffi.h | 26 CJ_EXPORT void FfiOHOSAceFrameworkBlankCreate(double minSize, int32_t unit);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 159 /* unit (chip/board) our context is on */ in qib_get_base_info() 160 kinfo->spi_unit = dd->unit; in qib_get_base_info() 189 /* setup per-unit (not port) status area for user programs */ in qib_get_base_info() 1391 static int find_free_ctxt(int unit, struct file *fp, in find_free_ctxt() argument 1394 struct qib_devdata *dd = qib_lookup(unit); in find_free_ctxt() 1528 static int find_hca(unsigned int cpu, int *unit) in find_hca() argument 1532 *unit = -1; in find_hca() 1553 *unit = ndev; in find_hca() 1571 dd->unit, in do_qib_user_sdma_queue_create() 1625 int unit; in qib_assign_ctxt() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.c | 1645 VMW_DEBUG_KMS("Enabling a disabled display unit\n"); in vmw_kms_check_topology() 1927 * vmw_du_update_layout - Update the display unit with topology from resolution 1962 if (num_rects > du->unit) { in vmw_du_update_layout() 1963 du->pref_width = drm_rect_width(&rects[du->unit]); in vmw_du_update_layout() 1964 du->pref_height = drm_rect_height(&rects[du->unit]); in vmw_du_update_layout() 1966 du->gui_x = rects[du->unit].x1; in vmw_du_update_layout() 1967 du->gui_y = rects[du->unit].y1; in vmw_du_update_layout() 1980 if (num_rects > du->unit) { in vmw_du_update_layout() 2041 return ((vmw_connector_to_du(connector)->unit < num_displays && in vmw_du_connector_detect() 2231 * Update preferred topology of display unit a 2378 struct vmw_display_unit *unit = units[k]; vmw_kms_helper_dirty() local 2556 vmw_kms_fbdev_init_data(struct vmw_private *dev_priv, unsigned unit, u32 max_width, u32 max_height, struct drm_connector **p_con, struct drm_crtc **p_crtc, struct drm_display_mode **p_mode) vmw_kms_fbdev_init_data() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 159 /* unit (chip/board) our context is on */ in qib_get_base_info() 160 kinfo->spi_unit = dd->unit; in qib_get_base_info() 189 /* setup per-unit (not port) status area for user programs */ in qib_get_base_info() 1390 static int find_free_ctxt(int unit, struct file *fp, in find_free_ctxt() argument 1393 struct qib_devdata *dd = qib_lookup(unit); in find_free_ctxt() 1527 static int find_hca(unsigned int cpu, int *unit) in find_hca() argument 1531 *unit = -1; in find_hca() 1552 *unit = ndev; in find_hca() 1570 dd->unit, in do_qib_user_sdma_queue_create() 1624 int unit; in qib_assign_ctxt() local [all...] |
/third_party/backends/backend/ |
H A D | epson2-ops.c | 406 e2_set_fbf_area(Epson_Scanner * s, int x, int y, int unit) in e2_set_fbf_area() argument 414 dev->fbf_x_range.max = SANE_FIX(x * MM_PER_INCH / unit); in e2_set_fbf_area() 418 dev->fbf_y_range.max = SANE_FIX(y * MM_PER_INCH / unit); in e2_set_fbf_area() 426 SANE_UNFIX(dev->fbf_y_range.max), unit); in e2_set_fbf_area() 430 e2_set_adf_area(struct Epson_Scanner *s, int x, int y, int unit) in e2_set_adf_area() argument 435 dev->adf_x_range.max = SANE_FIX(x * MM_PER_INCH / unit); in e2_set_adf_area() 439 dev->adf_y_range.max = SANE_FIX(y * MM_PER_INCH / unit); in e2_set_adf_area() 447 SANE_UNFIX(dev->adf_y_range.max), unit); in e2_set_adf_area() 451 e2_set_tpu_area(struct Epson_Scanner *s, int x, int y, int unit) in e2_set_tpu_area() argument 456 dev->tpu_x_range.max = SANE_FIX(x * MM_PER_INCH / unit); in e2_set_tpu_area() 472 e2_set_tpu2_area(struct Epson_Scanner *s, int x, int y, int unit) e2_set_tpu2_area() argument [all...] |
H A D | apple.c | 306 DBG (ERROR_MESSAGE, "wait_ready: test unit ready failed (%s)\n", in wait_ready() 1375 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 1401 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options() 1411 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options() 1421 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options() 1431 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options() 1450 s->opt[OPT_BRIGHTNESS].unit = SANE_UNIT_NONE; in init_options() 1461 s->opt[OPT_CONTRAST].unit = SANE_UNIT_NONE; in init_options() 1471 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in init_options() 1506 s->opt[OPT_AUTOBACKGROUND_THRESHOLD].unit in init_options() [all...] |
/kernel/linux/linux-5.10/arch/mips/include/asm/sgi/ |
H A D | wd.h | 14 unsigned int unit; member
|
/kernel/linux/linux-6.6/arch/mips/include/asm/sgi/ |
H A D | wd.h | 14 unsigned int unit; member
|