/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_tgsi_soa.c | 2073 unsigned unit = inst->Src[sampler_reg].Register.Index; in emit_tex() local 2264 params.texture_index = unit; in emit_tex() 2265 params.sampler_index = unit; in emit_tex() 2466 unsigned unit, target; in emit_fetch_texels() local 2488 unit = inst->Src[1].Register.Index; in emit_fetch_texels() 2491 target = bld->sv[unit].Resource; in emit_fetch_texels() 2566 params.texture_index = unit; in emit_fetch_texels() 2611 unsigned unit = inst->Src[1].Register.Index; in emit_size_query() local 2617 target = bld->sv[unit].Resource; in emit_size_query() 2653 params.texture_unit = unit; in emit_size_query() [all...] |
/kernel/linux/linux-5.10/tools/perf/ui/browsers/ |
H A D | hists.c | 3415 char bf[256], unit; in perf_evsel_menu__write() local 3433 nr_events = convert_unit(nr_events, &unit); in perf_evsel_menu__write() 3435 unit, unit == ' ' ? "" : " ", ev_name); in perf_evsel_menu__write() 3443 nr_events = convert_unit(nr_events, &unit); in perf_evsel_menu__write() 3445 nr_events, unit, unit == ' ' ? "" : " "); in perf_evsel_menu__write()
|
/kernel/linux/linux-6.6/tools/perf/ui/browsers/ |
H A D | hists.c | 3417 char bf[256], unit; in perf_evsel_menu__write() local 3435 nr_events = convert_unit(nr_events, &unit); in perf_evsel_menu__write() 3437 unit, unit == ' ' ? "" : " ", ev_name); in perf_evsel_menu__write() 3445 nr_events = convert_unit(nr_events, &unit); in perf_evsel_menu__write() 3447 nr_events, unit, unit == ' ' ? "" : " "); in perf_evsel_menu__write()
|
/third_party/backends/backend/ |
H A D | kodakaio.c | 2766 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_PERCENT; in init_options() 2778 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_PERCENT; in init_options() 2790 s->opt[OPT_BIT_DEPTH].unit = SANE_UNIT_NONE; in init_options() 2807 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 2824 s->opt[OPT_TRIALOPT].unit = SANE_UNIT_NONE; in init_options() 2881 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options() 2891 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options() 2901 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options() 2911 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_grid_bridge.cpp | 188 columnGap.unit = static_cast<int32_t>(DimensionUnit::CALC); in SetColumnsGap() 194 columnGap.unit = static_cast<int32_t>(size.Unit()); in SetColumnsGap() 227 rowsGap.unit = static_cast<int32_t>(DimensionUnit::CALC); in SetRowsGap() 233 rowsGap.unit = static_cast<int32_t>(size.Unit()); in SetRowsGap()
|
H A D | arkts_native_image_bridge.cpp | 114 DimensionUnit unit = DimensionUnit::PX; in PushDimensionsToVector() local 117 unit = optDimension.value().Unit(); in PushDimensionsToVector() 118 if (unit == DimensionUnit::CALC) { in PushDimensionsToVector() 126 results.push_back(ArkUIStringAndFloat { static_cast<double>(unit), nullptr }); in PushDimensionsToVector()
|
/foundation/arkui/ace_engine/advanced_ui_component/subheader/interfaces/ |
H A D | subheader.js | 1348 margin: { value: INDEX_ZERO, unit: LengthUnit.VP }, 1516 margin: { value: INDEX_ZERO, unit: LengthUnit.VP }, 1629 margin: { value: INDEX_ZERO, unit: LengthUnit.VP }, 1907 margin: { value: INDEX_ZERO, unit: LengthUnit.VP },
|
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-input.c | 214 * See HID specification v1.11 6.2.2.7 Global Items for unit decoding in hidinput_calc_abs_res() 226 if (field->unit == 0x11) { /* If centimeters */ in hidinput_calc_abs_res() 229 } else if (field->unit == 0x13) { /* If inches */ in hidinput_calc_abs_res() 247 if (field->unit == 0x14) { /* If degrees */ in hidinput_calc_abs_res() 254 } else if (field->unit != 0x12) { /* If not radians */ in hidinput_calc_abs_res() 263 /* Apply negative unit exponent */ in hidinput_calc_abs_res() 270 /* Apply positive unit exponent */ in hidinput_calc_abs_res()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | synthetic-events.c | 1714 size_t size = strlen(evsel->unit); in perf_event__synthesize_event_update_unit() 1722 strlcpy(ev->data, evsel->unit, size + 1); in perf_event__synthesize_event_update_unit() 1811 return evsel->unit && *evsel->unit; in has_unit() 1827 * attr event - unit, scale, name in perf_event__synthesize_extra_attr() 1834 * Synthesize unit and scale only if it's defined. in perf_event__synthesize_extra_attr() 1839 pr_err("Couldn't synthesize evsel unit.\n"); in perf_event__synthesize_extra_attr()
|
/kernel/linux/linux-6.6/drivers/block/ |
H A D | virtio_blk.c | 1113 int unit; in virtblk_name_format() local 1117 unit = base; in virtblk_name_format() 1121 *--p = 'a' + (index % unit); in virtblk_name_format() 1122 index = (index / unit) - 1; in virtblk_name_format()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | file_ops.c | 1145 cinfo.unit = uctxt->dd->unit; in get_ctxt_info() 1689 snprintf(name, sizeof(name), "%s_%d", class_name(), dd->unit); in user_add() 1690 ret = hfi1_cdev_init(dd->unit, name, &hfi1_file_ops, in user_add() 1700 * Create per-unit files in /dev 1708 * Remove per-unit files in /dev
|
/kernel/linux/linux-6.6/drivers/net/ipa/ |
H A D | ipa_endpoint.c | 495 u32 unit = endpoint_id / 32; in ipa_endpoint_aggr_active() local 502 val = ioread32(ipa->reg_virt + reg_n_offset(reg, unit)); in ipa_endpoint_aggr_active() 512 u32 unit = endpoint_id / 32; in ipa_endpoint_force_close() local 518 iowrite32(mask, ipa->reg_virt + reg_n_offset(reg, unit)); in ipa_endpoint_force_close()
|
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-input.c | 261 * See HID specification v1.11 6.2.2.7 Global Items for unit decoding in hidinput_calc_abs_res() 273 if (field->unit == 0x11) { /* If centimeters */ in hidinput_calc_abs_res() 276 } else if (field->unit == 0x13) { /* If inches */ in hidinput_calc_abs_res() 294 if (field->unit == 0x14) { /* If degrees */ in hidinput_calc_abs_res() 301 } else if (field->unit != 0x12) { /* If not radians */ in hidinput_calc_abs_res() 310 /* Apply negative unit exponent */ in hidinput_calc_abs_res() 317 /* Apply positive unit exponent */ in hidinput_calc_abs_res()
|
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | applespi.c | 559 dl_t->delay.unit = SPI_DELAY_UNIT_USECS; in applespi_setup_read_txfrs() 589 wt_t->delay.unit = SPI_DELAY_UNIT_USECS; in applespi_setup_write_txfrs() 593 dl_t->delay.unit = SPI_DELAY_UNIT_USECS; in applespi_setup_write_txfrs() 598 wr_t->delay.unit = SPI_DELAY_UNIT_USECS; in applespi_setup_write_txfrs()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | mtypes.h | 1200 /** Tex-gen enabled for texture unit? */ 1201 #define ENABLE_TEXGEN(unit) (1 << (unit)) 1203 /** Non-identity texture matrix for texture unit? */ 1204 #define ENABLE_TEXMAT(unit) (1 << (unit)) 1218 * Sampler-related subset of a texture unit, like current texture objects. 1247 * Fixed-function-related subset of a texture unit, like enable flags, 1315 /** Largest index of a texture unit with _Current != NULL. */ 2265 * Array of 2 bit values for each tex unit t [all...] |
H A D | uniforms.c | 58 * particular texture unit. We know the sampler's texture target 59 * (1D/2D/3D/etc) from compile time but the sampler's texture unit is 64 * Each value of TexturesUsed[unit] is one of zero, TEXTURE_1D_INDEX, 71 GLuint unit, GLuint target) in update_single_shader_texture_used() 76 assert(unit < ARRAY_SIZE(prog->TexturesUsed)); in update_single_shader_texture_used() 82 * to the same texture image unit within a program object." in update_single_shader_texture_used() 95 if (glprog->TexturesUsed[unit] & ~(1 << target)) in update_single_shader_texture_used() 99 prog->TexturesUsed[unit] |= (1 << target); in update_single_shader_texture_used() 132 update_single_shader_texture_used(shProg, prog, sampler->unit, in _mesa_update_shader_textures_used() 69 update_single_shader_texture_used(struct gl_shader_program *shProg, struct gl_program *prog, GLuint unit, GLuint target) update_single_shader_texture_used() argument
|
/third_party/mesa3d/src/glx/ |
H A D | indirect_vertex_array.c | 1773 const GLint unit = (GLint) texture - GL_TEXTURE0; in __indirect_glClientActiveTexture() local 1776 if ((unit < 0) || (unit >= arrays->num_texture_units)) { in __indirect_glClientActiveTexture() 1781 arrays->active_texture_unit = unit; in __indirect_glClientActiveTexture()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | synthetic-events.c | 1975 size_t size = strlen(evsel->unit); in perf_event__synthesize_event_update_unit() 1983 strlcpy(ev->unit, evsel->unit, size + 1); in perf_event__synthesize_event_update_unit() 2066 return evsel->unit && *evsel->unit; in has_unit() 2082 * attr event - unit, scale, name in perf_event__synthesize_extra_attr() 2089 * Synthesize unit and scale only if it's defined. in perf_event__synthesize_extra_attr() 2094 pr_err("Couldn't synthesize evsel unit.\n"); in perf_event__synthesize_extra_attr()
|
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | entry_points_gles_3_1_autogen.cpp | 52 void GL_APIENTRY GL_BindImageTexture(GLuint unit, in GL_BindImageTexture() argument 62 "context = %d, unit = %u, texture = %u, level = %d, layered = %s, layer = %d, access = " in GL_BindImageTexture() 64 CID(context), unit, texture, level, GLbooleanToString(layered), layer, in GL_BindImageTexture() 74 ValidateBindImageTexture(context, angle::EntryPoint::GLBindImageTexture, unit, in GL_BindImageTexture() 78 context->bindImageTexture(unit, texturePacked, level, layered, layer, access, format); in GL_BindImageTexture() 80 ANGLE_CAPTURE(BindImageTexture, isCallValid, context, unit, texturePacked, level, layered, in GL_BindImageTexture()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl2_rendering_context_impl.cpp | 260 napi_value WebGL2RenderingContextImpl::BindSampler(napi_env env, GLuint unit, napi_value samplerObj) in BindSampler() argument 268 if (unit >= samplerUnits_.size()) { in BindSampler() 272 sampler->SetSampleUnit(unit); in BindSampler() 273 glBindSampler(unit, samplerId); in BindSampler() 274 samplerUnits_[unit] = samplerId; in BindSampler() 275 LOGD("WebGL2 bindSampler unit = %{public}u samplerId = %{public}u", unit, samplerId); in BindSampler()
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_ra.cpp | 64 return size >> unit[f]; in units() 85 return (size < 4) ? u : ((u << unit[f]) / 4); in unitsToId() 95 int unit[LAST_REGISTER_FILE + 1]; // log2 of allocation granularity member in nv50_ir::RegisterSet 115 unit[rf] = targ->getFileUnit(f); in init() 169 occupy(v->reg.file, idToUnits(v), v->reg.size >> unit[v->reg.file]); in occupy() 192 idToUnits(v), v->reg.size >> unit[v->reg.file]); in testOccupy()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | State.cpp | 1735 // deleted, it is as though BindSampler is called once for each texture unit to in detachSampler() 1736 // which the sampler is bound, with unit set to the texture unit and sampler set to zero. in detachSampler() 3623 size_t unit, 3633 ImageUnit &imageUnit = mImageUnits[unit]; 3647 onImageStateChange(context, unit); 3677 void State::onImageStateChange(const Context *context, size_t unit) 3681 const ImageUnit &image = mImageUnits[unit]; 3689 mDirtyImages.set(unit);
|
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 1659 unit = self.Unit() 1660 if unit >= 1000000000: 1661 unit = int(unit / 1000000000) 1663 elif unit >= 1000000: 1664 unit = int(unit / 1000000) 1666 elif unit >= 1000: 1667 unit = int(unit / 100 [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 1660 unit = self.Unit() 1661 if unit >= 1000000000: 1662 unit = int(unit / 1000000000) 1664 elif unit >= 1000000: 1665 unit = int(unit / 1000000) 1667 elif unit >= 1000: 1668 unit = int(unit / 100 [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | modifier.h | 47 PIXEL_POSITION, // animatable properties are related to position of the object, the unit is pixels 423 void SetPropertyUnit(PropertyUnit unit);
|