/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | CharsTrieBuilder.java | 154 protected int write(int unit) { in write() argument 158 chars[chars.length-charsLength]=(char)unit; in write()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_nir_lower_txf_ms.c | 79 unsigned unit = txf_ms->texture_index; in vc4_nir_lower_txf_ms_instr() local 80 uint32_t w = align(c->key->tex[unit].msaa_width, tile_w); in vc4_nir_lower_txf_ms_instr()
|
H A D | vc4_program.c | 359 unsigned unit = instr->texture_index; in ntq_emit_txf() local 360 uint32_t w = align(c->key->tex[unit].msaa_width, tile_width); in ntq_emit_txf() 362 uint32_t h = align(c->key->tex[unit].msaa_height, tile_height); in ntq_emit_txf() 376 addr, qir_uniform(c, QUNIFORM_TEXTURE_MSAA_ADDR, unit)); in ntq_emit_txf() 383 enum pipe_format format = c->key->tex[unit].format; in ntq_emit_txf() 400 unsigned unit = instr->texture_index; in ntq_emit_tex() local 444 if (c->key->tex[unit].force_first_level) { in ntq_emit_tex() 445 lod = qir_uniform(c, QUNIFORM_TEXTURE_FIRST_LEVEL, unit); in ntq_emit_tex() 451 qir_uniform(c, QUNIFORM_TEXTURE_CONFIG_P0, unit), in ntq_emit_tex() 452 qir_uniform(c, QUNIFORM_TEXTURE_CONFIG_P1, unit), in ntq_emit_tex() [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_texture.h | 135 unsigned unit) in st_get_texture_object() 137 const GLuint texUnit = prog->SamplerUnits[unit]; in st_get_texture_object() 133 st_get_texture_object(struct gl_context *ctx, const struct gl_program *prog, unsigned unit) st_get_texture_object() argument
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fUniformApiTests.cpp | 306 int unit; 595 result.val.intV[0] = sampler.val.samplerV.unit; in getSamplerUnitValue() 676 result << value.val.samplerV.unit; in apiVarValueStr() 687 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() 721 result.val.samplerV.unit = samplerUnit; in generateRandomVarValue() 773 result.val.samplerV.unit = 0; in generateZeroVarValue() 826 if (a.val.samplerV.unit != b.val.samplerV.unit) in apiVarValueEquals() 1411 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit)); in setupTexture() 1412 m_filledTextureUnits.push_back(value.val.samplerV.unit); in setupTexture() 1766 GLint unit = -1; getUniforms() local 2031 const GLint unit = uniform.finalValue.val.samplerV.unit; assignUniforms() local [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fUniformApiTests.cpp | 245 int unit; 511 result.val.intV[0] = sampler.val.samplerV.unit; in getSamplerUnitValue() 567 result << value.val.samplerV.unit; in apiVarValueStr() 578 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() 603 result.val.samplerV.unit = samplerUnit; in generateRandomVarValue() 637 result.val.samplerV.unit = 0; in generateZeroVarValue() 675 if (a.val.samplerV.unit != b.val.samplerV.unit) in apiVarValueEquals() 1213 GLU_CHECK_CALL(glActiveTexture(GL_TEXTURE0 + value.val.samplerV.unit)); in setupTexture() 1214 m_filledTextureUnits.push_back(value.val.samplerV.unit); in setupTexture() 1400 GLint unit = -1; getUniforms() local 1619 const GLint unit = uniform.finalValue.val.samplerV.unit; assignUniforms() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_transpose.c | 375 { "cclock_flip", "rotate counter-clockwise with vertical flip", 0, AV_OPT_TYPE_CONST, { .i64 = TRANSPOSE_CCLOCK_FLIP }, .flags=FLAGS, .unit = "dir" }, 376 { "clock", "rotate clockwise", 0, AV_OPT_TYPE_CONST, { .i64 = TRANSPOSE_CLOCK }, .flags=FLAGS, .unit = "dir" }, 377 { "cclock", "rotate counter-clockwise", 0, AV_OPT_TYPE_CONST, { .i64 = TRANSPOSE_CCLOCK }, .flags=FLAGS, .unit = "dir" }, 378 { "clock_flip", "rotate clockwise with vertical flip", 0, AV_OPT_TYPE_CONST, { .i64 = TRANSPOSE_CLOCK_FLIP }, .flags=FLAGS, .unit = "dir" },
|
H A D | vf_transpose_vulkan.c | 302 { "cclock_flip", "rotate counter-clockwise with vertical flip", 0, AV_OPT_TYPE_CONST, { .i64 = TRANSPOSE_CCLOCK_FLIP }, .flags=FLAGS, .unit = "dir" }, 303 { "clock", "rotate clockwise", 0, AV_OPT_TYPE_CONST, { .i64 = TRANSPOSE_CLOCK }, .flags=FLAGS, .unit = "dir" }, 304 { "cclock", "rotate counter-clockwise", 0, AV_OPT_TYPE_CONST, { .i64 = TRANSPOSE_CCLOCK }, .flags=FLAGS, .unit = "dir" }, 305 { "clock_flip", "rotate clockwise with vertical flip", 0, AV_OPT_TYPE_CONST, { .i64 = TRANSPOSE_CLOCK_FLIP }, .flags=FLAGS, .unit = "dir" },
|
H A D | vf_overlay.c | 1068 { "init", "eval expressions once during initialization", 0, AV_OPT_TYPE_CONST, {.i64=EVAL_MODE_INIT}, .flags = FLAGS, .unit = "eval" }, 1069 { "frame", "eval expressions per-frame", 0, AV_OPT_TYPE_CONST, {.i64=EVAL_MODE_FRAME}, .flags = FLAGS, .unit = "eval" }, 1072 { "yuv420", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_YUV420}, .flags = FLAGS, .unit = "format" }, 1073 { "yuv420p10", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_YUV420P10}, .flags = FLAGS, .unit = "format" }, 1074 { "yuv422", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_YUV422}, .flags = FLAGS, .unit = "format" }, 1075 { "yuv422p10", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_YUV422P10}, .flags = FLAGS, .unit = "format" }, 1076 { "yuv444", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_YUV444}, .flags = FLAGS, .unit = "format" }, 1077 { "rgb", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_RGB}, .flags = FLAGS, .unit = "format" }, 1078 { "gbrp", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_GBRP}, .flags = FLAGS, .unit = "format" }, 1079 { "auto", "", 0, AV_OPT_TYPE_CONST, {.i64=OVERLAY_FORMAT_AUTO}, .flags = FLAGS, .unit [all...] |
/third_party/benchmark/src/ |
H A D | benchmark_register.cc | 243 Benchmark* Benchmark::Unit(TimeUnit unit) { in Unit() argument 244 time_unit_ = unit; in Unit() 434 StatisticUnit unit) { in ComputeStatistics() 435 statistics_.emplace_back(name, statistics, unit); in ComputeStatistics() 432 ComputeStatistics(const std::string& name, StatisticsFunc* statistics, StatisticUnit unit) ComputeStatistics() argument
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_llvm_sample.c | 122 /* context[0].textures[unit] */ in draw_llvm_texture_member() 129 /* context[0].textures[unit].member */ in draw_llvm_texture_member() 173 /* context[0].samplers[unit] */ in draw_llvm_sampler_member() 175 /* context[0].samplers[unit].member */ in draw_llvm_sampler_member() 219 /* context[0].textures[unit] */ in draw_llvm_image_member() 226 /* context[0].textures[unit].member */ in draw_llvm_image_member() 342 LLVMValueRef unit = LLVMBuildAdd(gallivm->builder, params->texture_index_offset, in draw_llvm_sampler_soa_emit_fetch_texel() local 344 lp_build_sample_array_init_soa(&switch_info, gallivm, params, unit, in draw_llvm_sampler_soa_emit_fetch_texel() 428 LLVMValueRef unit = LLVMBuildAdd(gallivm->builder, params->image_index_offset, in draw_llvm_image_soa_emit_op() local 431 unit, in draw_llvm_image_soa_emit_op() [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | r300_fragprog_emit.c | 427 unsigned int unit; in emit_tex() local 437 unit = inst->U.I.TexSrcUnit; in emit_tex() 451 unit = 0; in emit_tex() 464 | (unit << R300_TEX_ID_SHIFT) in emit_tex()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | units_data.cpp | 52 * Method for use by `ures_getAllItemsWithFallback`. Adds the unit 57 * @param value The "convertUnits" resource, containing unit conversion rate 73 for (int32_t unit = 0; conversionRateTable.getKeyAndValue(unit, srcUnit, value); unit++) { in put() 120 * A ResourceSink that collects unit preferences information. 138 * Method for use by `ures_getAllItemsWithFallback`. Adds the unit 143 * @param value The "unitPreferenceData" resource, containing unit 185 // Verify that unit preferences are sorted and in put() 204 if (uprv_strcmp(key, "unit") in put() [all...] |
/third_party/skia/tests/ |
H A D | TextBlobCacheTest.cpp | 324 SkBitmap unit = draw_blob(blob.get(), surface.get(), {40, y + 1.0f}); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 325 bool isOk = compare_bitmaps(base, half) || compare_bitmaps(unit, half); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 349 SkBitmap unit = draw_blob(blob.get(), surface.get(), {x + 1.0f, 40}); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 350 bool isOk = compare_bitmaps(base, half) || compare_bitmaps(unit, half); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/backends/backend/ |
H A D | agfafocus.c | 226 DBG (1, "test_ready: test unit ready failed (%s)\n", in test_ready() 1062 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 1071 s->opt[OPT_SOURCE].unit = SANE_UNIT_NONE; in init_options() 1093 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options() 1103 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options() 1113 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options() 1123 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options() 1141 s->opt[OPT_EXPOSURE].unit = SANE_UNIT_PERCENT; in init_options() 1170 s->opt[OPT_BRIGHTNESS].unit = SANE_UNIT_PERCENT; in init_options() 1181 s->opt[OPT_CONTRAST].unit in init_options() [all...] |
H A D | tamarack.c | 165 DBG(1, "wait_ready: test unit ready failed (%s)\n", in wait_ready() 631 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 662 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options() 672 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options() 682 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options() 692 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options() 709 s->opt[OPT_TRANS].unit = SANE_UNIT_NONE; in init_options() 719 s->opt[OPT_BRIGHTNESS].unit = SANE_UNIT_PERCENT; in init_options() 731 s->opt[OPT_CONTRAST].unit = SANE_UNIT_PERCENT; in init_options() 742 s->opt[OPT_THRESHOLD].unit in init_options() [all...] |
H A D | hpljm1005.c | 277 dev->optiond[0].unit = SANE_UNIT_NONE; in attach() 286 dev->optiond[RES_OFFSET].unit = SANE_UNIT_DPI; in attach() 299 dev->optiond[X1_OFFSET].unit = SANE_UNIT_MM; in attach() 310 dev->optiond[Y1_OFFSET].unit = SANE_UNIT_MM; in attach() 321 dev->optiond[X2_OFFSET].unit = SANE_UNIT_MM; in attach() 332 dev->optiond[Y2_OFFSET].unit = SANE_UNIT_MM; in attach() 344 dev->optiond[BRIGH_OFFSET].unit = SANE_UNIT_NONE; in attach() 357 dev->optiond[CONTR_OFFSET].unit = SANE_UNIT_NONE; in attach() 627 /* convert into "scanner" unit, then back into mm */ in setvalue()
|
H A D | st400.c | 868 dev->opt[OPT_NUM_OPTS].unit = SANE_UNIT_NONE; in st400_init_options() 880 dev->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in st400_init_options() 890 dev->opt[OPT_DEPTH].unit = SANE_UNIT_BIT; in st400_init_options() 900 dev->opt[OPT_THRESHOLD].unit = SANE_UNIT_PERCENT; in st400_init_options() 913 dev->opt[OPT_TL_X].unit = SANE_UNIT_MM; in st400_init_options() 923 dev->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in st400_init_options() 933 dev->opt[OPT_BR_X].unit = SANE_UNIT_MM; in st400_init_options() 943 dev->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in st400_init_options()
|
H A D | ricoh.c | 157 DBG (1, "attach: test unit ready failed (%s)\n", in attach() 357 s->opt[OPT_X_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 371 s->opt[OPT_Y_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 391 s->opt[OPT_TL_X].unit = SANE_UNIT_PIXEL; in init_options() 401 s->opt[OPT_TL_Y].unit = SANE_UNIT_PIXEL; in init_options() 411 s->opt[OPT_BR_X].unit = SANE_UNIT_PIXEL; in init_options() 421 s->opt[OPT_BR_Y].unit = SANE_UNIT_PIXEL; in init_options() 438 s->opt[OPT_BRIGHTNESS].unit = SANE_UNIT_NONE; in init_options() 448 s->opt[OPT_CONTRAST].unit = SANE_UNIT_NONE; in init_options()
|
H A D | plustek_pp.c | 649 s->opt[OPT_NUM_OPTS].unit = SANE_UNIT_NONE; in init_options() 703 s->opt[OPT_BRIGHTNESS].unit = SANE_UNIT_PERCENT; in init_options() 713 s->opt[OPT_CONTRAST].unit = SANE_UNIT_PERCENT; in init_options() 723 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 755 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options() 765 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options() 775 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options() 785 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options() 804 s->opt[OPT_GAMMA_VECTOR].unit = SANE_UNIT_NONE; in init_options() 815 s->opt[OPT_GAMMA_VECTOR_R].unit in init_options() [all...] |
H A D | u12.c | 464 s->opt[OPT_NUM_OPTS].unit = SANE_UNIT_NONE; in init_options() 502 s->opt[OPT_BRIGHTNESS].unit = SANE_UNIT_PERCENT; in init_options() 512 s->opt[OPT_CONTRAST].unit = SANE_UNIT_PERCENT; in init_options() 522 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 554 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options() 564 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options() 574 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options() 584 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options() 603 s->opt[OPT_GAMMA_VECTOR].unit = SANE_UNIT_NONE; in init_options() 614 s->opt[OPT_GAMMA_VECTOR_R].unit in init_options() [all...] |
H A D | epson2.c | 568 /* Issue a test unit ready SCSI command. The FilmScan 200 in detect_scsi() 991 s->opt[OPT_BIT_DEPTH].unit = SANE_UNIT_BIT; in init_options() 1039 s->opt[OPT_BRIGHTNESS].unit = SANE_UNIT_NONE; in init_options() 1053 s->opt[OPT_SHARPNESS].unit = SANE_UNIT_NONE; in init_options() 1103 s->opt[OPT_GAMMA_VECTOR_R].unit = SANE_UNIT_NONE; in init_options() 1115 s->opt[OPT_GAMMA_VECTOR_G].unit = SANE_UNIT_NONE; in init_options() 1128 s->opt[OPT_GAMMA_VECTOR_B].unit = SANE_UNIT_NONE; in init_options() 1185 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 1196 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in init_options() 1233 s->opt[OPT_CCT_PROFILE].unit in init_options() [all...] |
H A D | pieusb_specific.c | 678 scanner->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in sanei_pieusb_init_options() 699 scanner->opt[OPT_THRESHOLD].unit = SANE_UNIT_PERCENT; in sanei_pieusb_init_options() 710 scanner->opt[OPT_SHARPEN].unit = SANE_UNIT_NONE; in sanei_pieusb_init_options() 720 scanner->opt[OPT_SHADING_ANALYSIS].unit = SANE_UNIT_NONE; in sanei_pieusb_init_options() 750 scanner->opt[OPT_FAST_INFRARED].unit = SANE_UNIT_NONE; in sanei_pieusb_init_options() 760 scanner->opt[OPT_ADVANCE_SLIDE].unit = SANE_UNIT_NONE; in sanei_pieusb_init_options() 777 scanner->opt[OPT_TL_X].unit = SANE_UNIT_MM; in sanei_pieusb_init_options() 787 scanner->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in sanei_pieusb_init_options() 797 scanner->opt[OPT_BR_X].unit = SANE_UNIT_MM; in sanei_pieusb_init_options() 807 scanner->opt[OPT_BR_Y].unit in sanei_pieusb_init_options() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | MeasureUnit.java | 35 * A unit such as length, mass, volume, currency, etc. A unit is 77 * Enumeration for unit complexity. There are three levels: 79 * <li>SINGLE: A single unit, optionally with a power and/or SI or binary prefix. 81 * <li>COMPOUND: A unit composed of the product of multiple single units. Examples: 83 * <li>MIXED: A unit composed of the sum of multiple single units. Examples: foot-and-inch, 87 * or prefix of a compound unit. 93 * A single unit, like kilojoule. 100 * A compound unit, like meter-per-second. 107 * A mixed unit, lik [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | pngset.c | 329 /* TODO: validate format of calibration name and unit name */ in png_set_pCAL() 431 int unit, png_const_charp swidth, png_const_charp sheight) in png_set_sCAL_s() 440 /* Double check the unit (should never get here with an invalid in png_set_sCAL_s() 441 * unit unless this is an API call.) in png_set_sCAL_s() 443 if (unit != 1 && unit != 2) in png_set_sCAL_s() 444 png_error(png_ptr, "Invalid sCAL unit"); in png_set_sCAL_s() 454 info_ptr->scal_unit = (png_byte)unit; in png_set_sCAL_s() 458 png_debug1(3, "allocating unit for info (%u bytes)", (unsigned int)lengthw); in png_set_sCAL_s() 474 png_debug1(3, "allocating unit fo in png_set_sCAL_s() 430 png_set_sCAL_s(png_const_structrp png_ptr, png_inforp info_ptr, int unit, png_const_charp swidth, png_const_charp sheight) png_set_sCAL_s() argument 497 png_set_sCAL(png_const_structrp png_ptr, png_inforp info_ptr, int unit, double width, double height) png_set_sCAL() argument 527 png_set_sCAL_fixed(png_const_structrp png_ptr, png_inforp info_ptr, int unit, png_fixed_point width, png_fixed_point height) png_set_sCAL_fixed() argument [all...] |