/third_party/libinput/test/ |
H A D | test-utils.c | 775 const char *unit; in START_TEST() member 791 for (int i = 0; tests[i].unit != NULL; i++) { in START_TEST() 796 ck_assert_str_eq(ht.unit, tests[i].unit); in START_TEST()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | comp.rs | 160 /// allocation unit. See 9.2.4 [class.bit] in the C++ standard and [section 171 /// Get the 1-based index of this bitfield unit within its containing 172 /// struct. Useful for generating a Rust struct's field name for this unit 183 /// Get the bitfields within this unit. 195 /// A physical allocation unit containing many logical bitfields. 250 <td>bitfield unit</td> in dot_attributes() 254 <td>unit.size</td><td>{}</td> in dot_attributes() 257 <td>unit.align</td><td>{}</td> in dot_attributes() 308 /// A logical bitfield within some physical bitfield allocation unit. 311 /// Index of the bit within this bitfield's allocation unit wher [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | State.h | 302 // Texture binding & active texture unit manipulation 759 size_t unit, 767 const ImageUnit &getImageUnit(size_t unit) const { return mImageUnits[unit]; } in getImageUnit() 777 void onImageStateChange(const Context *context, size_t unit); 1056 GLint mActiveSampler; // Active texture unit selector - GL_TEXTURE0
|
/third_party/skia/tests/ |
H A D | PictureTest.cpp | 77 SkScalar unit = rand.nextUScalar1(); in rand_op() local 78 if (unit <= 0.3) { in rand_op() 81 } else if (unit <= 0.6) { in rand_op() 84 } else if (unit <= 0.9) { in rand_op()
|
/third_party/backends/backend/ |
H A D | qcam.c | 1269 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_NONE; in init_options() 1279 s->opt[OPT_DEPTH].unit = SANE_UNIT_BIT; in init_options() 1307 s->opt[OPT_TL_X].unit = SANE_UNIT_PIXEL; in init_options() 1317 s->opt[OPT_TL_Y].unit = SANE_UNIT_PIXEL; in init_options() 1327 s->opt[OPT_BR_X].unit = SANE_UNIT_PIXEL; in init_options() 1337 s->opt[OPT_BR_Y].unit = SANE_UNIT_PIXEL; in init_options()
|
H A D | plustek.c | 707 s->opt[i].unit = SANE_UNIT_NONE; in init_options() 739 s->opt[OPT_BIT_DEPTH].unit = SANE_UNIT_BIT; in init_options() 766 s->opt[OPT_BRIGHTNESS].unit = SANE_UNIT_PERCENT; in init_options() 776 s->opt[OPT_CONTRAST].unit = SANE_UNIT_PERCENT; in init_options() 786 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 816 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options() 826 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options() 836 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options() 846 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options() 1102 s->opt[i].unit in init_options() [all...] |
H A D | pie.c | 595 case 0x06: /* unit attention */
in sense_handler() 600 "-> unit attention - calibration disable not granted\n");
in sense_handler() 602 DBG (DBG_sense, "-> unit attention - calibration will be ignored\n");
in sense_handler() 604 DBG (DBG_sense, "-> unit attention: asc=%d, ascq=%d\n", asc, ascq);
in sense_handler() 1298 scanner->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI;
in init_options() 1316 scanner->opt[OPT_TL_X].unit = SANE_UNIT_MM;
in init_options() 1326 scanner->opt[OPT_TL_Y].unit = SANE_UNIT_MM;
in init_options() 1336 scanner->opt[OPT_BR_X].unit = SANE_UNIT_MM;
in init_options() 1346 scanner->opt[OPT_BR_Y].unit = SANE_UNIT_MM;
in init_options() 1364 scanner->opt[OPT_GAMMA_VECTOR].unit in init_options() [all...] |
H A D | sharp.c | 492 case 0x06: /* unit attention */ in sense_handler() 496 DBG(5, "unit attention: reset occurred\n"); in sense_handler() 499 DBG(5, "unit attention: parameter changed by " in sense_handler() 503 DBG(5, "unit attention: exact reason not documented\n"); in sense_handler() 1368 DBG (1, "attach: test unit ready failed (%s)\n", in attach() 1987 s->opt[OPT_X_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 1998 s->opt[OPT_Y_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 2016 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options() 2026 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options() 2036 s->opt[OPT_BR_X].unit in init_options() [all...] |
H A D | magicolor.c | 2399 s->opt[OPT_BIT_DEPTH].unit = SANE_UNIT_NONE; in init_options() 2414 s->opt[OPT_BRIGHTNESS].unit = SANE_UNIT_NONE; in init_options() 2424 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 2478 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options() 2488 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options() 2498 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options() 2508 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | attrib.c | 268 * texture unit where they are bound. This decreases CPU overhead. in _mesa_PushAttrib() 493 /* texture unit enables */ in pop_enable_group() 497 const struct gl_fixedfunc_texture_unit *unit = &ctx->Texture.FixedFuncUnit[i]; in pop_enable_group() local 498 const GLbitfield old_enabled = unit->Enabled; in pop_enable_group() 499 const GLbitfield old_gen_enabled = unit->TexGenEnabled; in pop_enable_group() 540 /* Restore fixed-function texture unit states. */ in pop_texture_group() 542 const struct gl_fixedfunc_texture_unit *unit = in pop_texture_group() local 550 memcpy(destUnit, unit, sizeof(*unit)); in pop_texture_group()
|
/third_party/skia/third_party/externals/libpng/ |
H A D | png.h | 704 #define PNG_SCALE_UNKNOWN 0 /* unknown unit (image scale) */ 710 #define PNG_RESOLUTION_UNKNOWN 0 /* pixels/unknown unit (aspect ratio) */ 2153 png_const_inforp info_ptr, int *unit, double *width, double *height)) 2162 (png_const_structrp png_ptr, png_const_inforp info_ptr, int *unit, 2166 (png_const_structrp png_ptr, png_const_inforp info_ptr, int *unit, 2170 png_inforp info_ptr, int unit, double width, double height)) 2172 png_inforp info_ptr, int unit, png_fixed_point width, 2175 png_inforp info_ptr, int unit,
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | ps.c | 511 int unit = 60, pad = 2, j = TT.ticks; in string_field() local 514 if (which!=PS_TIME_) unit *= 60*24; in string_field() 523 if (!s && (seconds>unit || j == 1+(which!=PS_TIME))) s = out; in string_field() 525 s += sprintf(s, j ? "%0*ld": "%*ld", pad, (long)(seconds/unit)); in string_field() 529 seconds %= unit; in string_field() 530 unit /= j ? 60 : 24; in string_field()
|
/third_party/toybox/toys/posix/ |
H A D | ps.c | 554 int unit = 60, pad = 2, j = TT.ticks; in string_field() local 557 if (which!=PS_TIME_) unit *= 60*24; in string_field() 566 if (!s && (seconds>unit || j == 1+(which!=PS_TIME))) s = out; in string_field() 568 s += sprintf(s, j ? "%0*ld": "%*ld", pad, (long)(seconds/unit)); in string_field() 572 seconds %= unit; in string_field() 573 unit /= j ? 60 : 24; in string_field()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_linux_priv.h | 182 unsigned int unit; member
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_tgsi_emit.h | 62 int unit; member
|
/third_party/rust/crates/serde/test_suite/tests/ |
H A D | test_remote.rs | 97 unit: remote::Unit,
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cShaderImageLoadStoreTests.cpp | 729 bool CheckBinding(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, in CheckBinding() argument 735 glGetIntegeri_v(GL_IMAGE_BINDING_NAME, unit, &i); in CheckBinding() 742 glGetBooleani_v(GL_IMAGE_BINDING_NAME, unit, &b); in CheckBinding() 751 glGetIntegeri_v(GL_IMAGE_BINDING_LEVEL, unit, &i); in CheckBinding() 758 glGetBooleani_v(GL_IMAGE_BINDING_LEVEL, unit, &b); in CheckBinding() 767 glGetIntegeri_v(GL_IMAGE_BINDING_LAYERED, unit, &i); in CheckBinding() 774 glGetBooleani_v(GL_IMAGE_BINDING_LAYERED, unit, &b); in CheckBinding() 783 glGetIntegeri_v(GL_IMAGE_BINDING_LAYER, unit, &i); in CheckBinding() 790 glGetBooleani_v(GL_IMAGE_BINDING_LAYER, unit, &b); in CheckBinding() 799 glGetIntegeri_v(GL_IMAGE_BINDING_ACCESS, unit, in CheckBinding() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/spi/ |
H A D | spidev.c | 268 k_tmp->delay.unit = SPI_DELAY_UNIT_USECS;
in spidev_message() 271 k_tmp->word_delay.unit = SPI_DELAY_UNIT_USECS;
in spidev_message()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_fade.c | 524 { "in", "fade-in", 0, AV_OPT_TYPE_CONST, { .i64 = FADE_IN }, .flags = FLAGS, .unit = "type" }, 525 { "out", "fade-out", 0, AV_OPT_TYPE_CONST, { .i64 = FADE_OUT }, .flags = FLAGS, .unit = "type" },
|
H A D | vf_perspective.c | 89 { "init", "eval expressions once during initialization", 0, AV_OPT_TYPE_CONST, {.i64=EVAL_MODE_INIT}, .flags = FLAGS, .unit = "eval" }, 90 { "frame", "eval expressions per-frame", 0, AV_OPT_TYPE_CONST, {.i64=EVAL_MODE_FRAME}, .flags = FLAGS, .unit = "eval" },
|
H A D | vf_pad.c | 428 { "init", "eval expressions once during initialization", 0, AV_OPT_TYPE_CONST, {.i64=EVAL_MODE_INIT}, .flags = FLAGS, .unit = "eval" }, 429 { "frame", "eval expressions during initialization and per-frame", 0, AV_OPT_TYPE_CONST, {.i64=EVAL_MODE_FRAME}, .flags = FLAGS, .unit = "eval" },
|
H A D | vf_overlay_cuda.c | 537 { "init", "eval expressions once during initialization", 0, AV_OPT_TYPE_CONST, { .i64=EVAL_MODE_INIT }, .flags = FLAGS, .unit = "eval" }, 538 { "frame", "eval expressions per-frame", 0, AV_OPT_TYPE_CONST, { .i64=EVAL_MODE_FRAME }, .flags = FLAGS, .unit = "eval" },
|
H A D | vf_w3fdif.c | 55 #define CONST(name, help, val, unit) { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, unit }
|
/third_party/benchmark/src/ |
H A D | benchmark.cc | 140 // Set the default time unit to use for reports 618 // stores the time unit benchmarks use by default 624 void SetDefaultTimeUnit(TimeUnit unit) { default_time_unit = unit; } in SetDefaultTimeUnit() argument
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_hid.c | 401 c->unit = dval; in hid_get_item() 830 * calculate HID item resolution. unit/mm for distances, unit/rad for angles 836 * hid unit scaling table according to HID Usage Table Review in hid_item_resolution() 863 switch (hi->unit) { in hid_item_resolution()
|