/third_party/skia/third_party/externals/libwebp/src/webp/ |
H A D | encode.h | 423 // self-crops a picture to the rectangle defined by top/left/width/height. 426 // The rectangle for the view is defined by the top-left corner pixel 427 // coordinates (left, top) as well as its width and height. This rectangle 429 // picture uses the YUV420 colorspace, the top and left coordinates will be 432 int left, int top, int width, int height); 435 // is defined by the top-left corner pixel coordinates (left, top) as well 438 // the top and left coordinates will be snapped to even values. 446 int left, int top, int width, int height,
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/ |
H A D | MusicKeyboardView.java | 32 * MusicKeyListener. Keys that pressed are highlighted. Running a finger along the top of the 150 int top = 0; in makeBlackRectangles() 165 Rect rect = new Rect(left, top, right, mBlackBottom); in makeBlackRectangles()
|
/third_party/skia/src/utils/ |
H A D | SkPaintFilterCanvas.cpp | 124 void SkPaintFilterCanvas::onDrawImage2(const SkImage* image, SkScalar left, SkScalar top, in onDrawImage2() argument 128 this->SkNWayCanvas::onDrawImage2(image, left, top, sampling, &apf.paint()); in onDrawImage2()
|
/third_party/skia/tests/ |
H A D | StrokeTest.cpp | 18 SkScalarNearlyEqual(a.top(), b.top()) && in equal()
|
/third_party/skia/src/sksl/ |
H A D | SkSLThreadContext.cpp | 151 CurrentEmitArgs()->fFragBuilder->fDeclarations.swap(instance.fStack.top().fSavedDeclarations); in StartFragmentProcessor() 158 CurrentEmitArgs()->fFragBuilder->fDeclarations.swap(instance.fStack.top().fSavedDeclarations); in EndFragmentProcessor()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | SplitModule.cpp | 191 unsigned CurrentClusterID = BalancinQueue.top().first; in findPartitions() 192 unsigned CurrentClusterSize = BalancinQueue.top().second; in findPartitions()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyCFGSort.cpp | 307 Next = Preferred.top(); in sortBlocks() 309 // If X isn't dominated by the top active region header, defer it until in sortBlocks() 338 Next = Ready.top(); in sortBlocks() 340 // If Next isn't dominated by the top active region header, defer it in sortBlocks()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | FieldType.java | 270 top: in getListParameter() 317 continue top; in getListParameter()
|
/third_party/python/Lib/unittest/ |
H A D | main.py | 157 self.test = loader.discover(self.start, self.pattern, self.top) 219 'importable from the top level directory of the ' 226 parser.add_argument('-t', '--top-level-directory', dest='top', 229 for arg in ('start', 'pattern', 'top'): 239 self.top = None
|
/third_party/skia/modules/androidkit/src/ |
H A D | Canvas.cpp | 137 jfloat left, jfloat top, jfloat right, jfloat bottom, in Canvas_DrawRect() 142 canvas->drawRect(SkRect::MakeLTRB(left, top, right, bottom), *paint); in Canvas_DrawRect() 136 Canvas_DrawRect(JNIEnv* env, jobject, jlong native_instance, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong native_paint) Canvas_DrawRect() argument
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | bn.rs | 9 pub fn BN_rand(r: *mut BIGNUM, bits: c_int, top: c_int, bottom: c_int) -> c_int; in BN_rand() 11 pub fn BN_pseudo_rand(r: *mut BIGNUM, bits: c_int, top: c_int, bottom: c_int) -> c_int; in BN_pseudo_rand()
|
/kernel/linux/linux-5.10/drivers/fsi/ |
H A D | fsi-master-ast-cf.c | 140 int top; in msg_push_crc() local 142 top = msg->bits & 0x3; in msg_push_crc() 144 /* start bit, and any non-aligned top bits */ in msg_push_crc() 145 crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); in msg_push_crc() 148 crc = crc4(crc, msg->msg, msg->bits - top); in msg_push_crc() 176 * top two address bits. So, if we're referencing a different ID, in check_relative_address() 182 /* remove the top two bits from any 23-bit addressing */ in check_relative_address()
|
/kernel/linux/linux-5.10/crypto/ |
H A D | algapi.c | 103 struct list_head *top, in crypto_more_spawns() 116 return top; in crypto_more_spawns() 159 LIST_HEAD(top); in crypto_remove_spawns() 166 list_move(&spawn->list, &top); in crypto_remove_spawns() 174 spawns = ⊤ in crypto_remove_spawns() 214 } while ((spawns = crypto_more_spawns(alg, &stack, &top, in crypto_remove_spawns() 101 crypto_more_spawns(struct crypto_alg *alg, struct list_head *stack, struct list_head *top, struct list_head *secondary_spawns) crypto_more_spawns() argument
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | mt9m111.c | 406 ret = reg_write(ROW_START, rect->top); in mt9m111_setup_geometry() 424 __func__, code, rect->width, rect->height, rect->left, rect->top, in mt9m111_setup_geometry() 478 rect.top = clamp(rect.top, MT9M111_MIN_DARK_ROWS, in mt9m111_set_selection() 508 sel->r.top = MT9M111_MIN_DARK_ROWS; in mt9m111_get_selection() 1331 mt9m111->rect.top = MT9M111_MIN_DARK_ROWS; in mt9m111_probe()
|
H A D | mt9v032.c | 407 ret = regmap_write(map, MT9V032_ROW_START, crop->top); in mt9v032_s_stream() 569 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1, in mt9v032_set_selection() 582 rect.height, MT9V032_PIXEL_ARRAY_HEIGHT - rect.top); in mt9v032_set_selection() 927 crop->top = MT9V032_ROW_START_DEF; in mt9v032_open() 1143 mt9v032->crop.top = MT9V032_ROW_START_DEF; in mt9v032_probe()
|
H A D | mt9p031.c | 404 ret = mt9p031_write(client, MT9P031_ROW_START, crop->top); in mt9p031_set_params() 637 rect.top = clamp(ALIGN(sel->r.top, 2), MT9P031_ROW_START_MIN, in mt9p031_set_selection() 649 MT9P031_PIXEL_ARRAY_HEIGHT - rect.top); in mt9p031_set_selection() 974 crop->top = MT9P031_ROW_START_DEF; in mt9p031_open() 1148 mt9p031->crop.top = MT9P031_ROW_START_DEF; in mt9p031_probe()
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe-4-7.c | 851 first = line->crop.top; in vfe_set_crop_cfg() 852 last = line->crop.top + line->crop.height - 1; in vfe_set_crop_cfg() 861 first = line->crop.top; in vfe_set_crop_cfg() 862 last = line->crop.top + line->crop.height - 1; in vfe_set_crop_cfg() 864 first = line->crop.top / 2; in vfe_set_crop_cfg() 865 last = line->crop.top / 2 + line->crop.height / 2 - 1; in vfe_set_crop_cfg()
|
H A D | camss-vfe-4-1.c | 748 first = line->crop.top; in vfe_set_crop_cfg() 749 last = line->crop.top + line->crop.height - 1; in vfe_set_crop_cfg() 758 first = line->crop.top; in vfe_set_crop_cfg() 759 last = line->crop.top + line->crop.height - 1; in vfe_set_crop_cfg() 761 first = line->crop.top / 2; in vfe_set_crop_cfg() 762 last = line->crop.top / 2 + line->crop.height / 2 - 1; in vfe_set_crop_cfg()
|
/kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/ |
H A D | bdisp-hw.c | 842 dst_rect.top /= 2; in bdisp_hw_build_node() 847 node->txy = cfg->vflip ? (dst_rect.height - 1) : dst_rect.top; in bdisp_hw_build_node() 855 /* handle only the top field which is half height of a frame */ in bdisp_hw_build_node() 856 src_rect.top /= 2; in bdisp_hw_build_node() 870 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node() 876 src_rect.top /= 2; in bdisp_hw_build_node() 892 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_plane.c | 289 unsigned int left, right, top, bottom, adjhdisplay, adjvdisplay; in vc4_plane_margins_adj() local 295 vc4_crtc_get_margins(crtc_state, &left, &right, &top, &bottom); in vc4_plane_margins_adj() 296 if (!left && !right && !top && !bottom) in vc4_plane_margins_adj() 300 top + bottom >= crtc_state->mode.vdisplay) in vc4_plane_margins_adj() 311 adjvdisplay = crtc_state->mode.vdisplay - (top + bottom); in vc4_plane_margins_adj() 315 vc4_pstate->crtc_y += top; in vc4_plane_margins_adj()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | mt9m111.c | 405 ret = reg_write(ROW_START, rect->top); in mt9m111_setup_geometry() 423 __func__, code, rect->width, rect->height, rect->left, rect->top, in mt9m111_setup_geometry() 477 rect.top = clamp(rect.top, MT9M111_MIN_DARK_ROWS, in mt9m111_set_selection() 507 sel->r.top = MT9M111_MIN_DARK_ROWS; in mt9m111_get_selection() 1332 mt9m111->rect.top = MT9M111_MIN_DARK_ROWS; in mt9m111_probe()
|
H A D | mt9p031.c | 419 ret = mt9p031_write(client, MT9P031_ROW_START, crop->top); in mt9p031_set_params() 635 sel->r.top = MT9P031_ROW_START_MIN; in mt9p031_get_selection() 667 rect.top = clamp(ALIGN(sel->r.top, 2), MT9P031_ROW_START_MIN, in mt9p031_set_selection() 679 MT9P031_PIXEL_ARRAY_HEIGHT - rect.top); in mt9p031_set_selection() 712 crop->top = MT9P031_ROW_START_DEF; in mt9p031_init_cfg()
|
H A D | mt9v032.c | 411 ret = regmap_write(map, MT9V032_ROW_START, crop->top); in mt9v032_s_stream() 575 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1, in mt9v032_set_selection() 588 rect.height, MT9V032_PIXEL_ARRAY_HEIGHT - rect.top); in mt9v032_set_selection() 935 crop->top = MT9V032_ROW_START_DEF; in mt9v032_open() 1151 mt9v032->crop.top = MT9V032_ROW_START_DEF; in mt9v032_probe()
|
H A D | hi556.c | 511 .top = HI556_PIXEL_ARRAY_TOP, 529 .top = 250, 547 .top = HI556_PIXEL_ARRAY_TOP, 904 sel->r.top = 0; in hi556_get_selection() 913 sel->r.top = HI556_PIXEL_ARRAY_TOP; in hi556_get_selection() 1147 try_crop->top = HI556_PIXEL_ARRAY_TOP; in hi556_open()
|
/kernel/linux/linux-6.6/drivers/fsi/ |
H A D | fsi-master-ast-cf.c | 140 int top; in msg_push_crc() local 142 top = msg->bits & 0x3; in msg_push_crc() 144 /* start bit, and any non-aligned top bits */ in msg_push_crc() 145 crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); in msg_push_crc() 148 crc = crc4(crc, msg->msg, msg->bits - top); in msg_push_crc() 176 * top two address bits. So, if we're referencing a different ID, in check_relative_address() 182 /* remove the top two bits from any 23-bit addressing */ in check_relative_address()
|