Home
last modified time | relevance | path

Searched refs:Bounds (Results 1 – 25 of 133) sorted by relevance

123456

/external/llvm-project/llvm/unittests/Analysis/
DLoopInfoTest.cpp272 Optional<Loop::LoopBounds> Bounds = L->getBounds(SE); in TEST() local
273 EXPECT_NE(Bounds, None); in TEST()
275 dyn_cast<ConstantInt>(&Bounds->getInitialIVValue()); in TEST()
277 EXPECT_EQ(Bounds->getStepInst().getName(), "inc"); in TEST()
279 dyn_cast_or_null<ConstantInt>(Bounds->getStepValue()); in TEST()
281 EXPECT_EQ(Bounds->getFinalIVValue().getName(), "ub"); in TEST()
282 EXPECT_EQ(Bounds->getCanonicalPredicate(), ICmpInst::ICMP_SLT); in TEST()
283 EXPECT_EQ(Bounds->getDirection(), in TEST()
331 Optional<Loop::LoopBounds> Bounds = L->getBounds(SE); in TEST() local
332 EXPECT_NE(Bounds, None); in TEST()
[all …]
/external/skqp/src/core/
DSkRecordDraw.cpp175 fSaveStack.push_back({ 0, Bounds::MakeEmpty(), nullptr, fCTM }); in FillBounds()
200 typedef SkRect Bounds; typedef in SkRecords::FillBounds
204 const Bounds& getBounds(int index) const { return fBounds[index]; } in getBounds()
207 Bounds adjustAndMap(SkRect rect, const SkPaint* paint) const { in adjustAndMap()
228 return Bounds::MakeEmpty(); in adjustAndMap()
237 Bounds bounds; // Bounds of everything in the block.
278 PaintMayAffectTransparentBlack(paint) ? fCullRect : Bounds::MakeEmpty(); in pushSaveBlock()
319 Bounds popSaveBlock() { in popSaveBlock()
342 void popControl(const Bounds& bounds) { in popControl()
347 void updateSaveBounds(const Bounds& bounds) { in updateSaveBounds()
[all …]
/external/skia/src/core/
DSkRecordDraw.cpp187 fSaveStack.push_back({ 0, Bounds::MakeEmpty(), nullptr, fCTM }); in FillBounds()
212 typedef SkRect Bounds; typedef in SkRecords::FillBounds
215 Bounds adjustAndMap(SkRect rect, const SkPaint* paint) const { in adjustAndMap()
236 return Bounds::MakeEmpty(); in adjustAndMap()
245 Bounds bounds; // Bounds of everything in the block.
299 PaintMayAffectTransparentBlack(paint) ? fCullRect : Bounds::MakeEmpty(); in pushSaveBlock()
340 Bounds popSaveBlock() { in popSaveBlock()
363 void popControl(const Bounds& bounds) { in popControl()
369 void updateSaveBounds(const Bounds& bounds) { in updateSaveBounds()
376 Bounds bounds(const Flush&) const { return fCullRect; } in bounds()
[all …]
/external/dng_sdk/source/
Ddng_image.h187 const dng_rect & Bounds () const in Bounds() function
196 return Bounds ().Size (); in Size()
203 return Bounds ().W (); in Width()
210 return Bounds ().H (); in Height()
332 SetConstant (value, Bounds ()); in SetConstant_uint8()
347 SetConstant_uint16 (value, Bounds ()); in SetConstant_uint16()
362 SetConstant_int16 (value, Bounds ()); in SetConstant_int16()
377 SetConstant_uint32 (value, Bounds ()); in SetConstant_uint32()
400 SetConstant_real32 (value, Bounds ()); in SetConstant_real32()
Ddng_opcodes.cpp280 fDstImage.Bounds ()); in SrcArea()
288 fDstImage.Bounds ()); in SrcTileSize()
302 fDstImage.Bounds ()); in ProcessArea()
320 fDstImage.Bounds (), in Start()
364 dng_rect modifiedBounds = ModifiedBounds (image->Bounds ()); in Apply()
376 if (modifiedBounds == image->Bounds ()) in Apply()
379 dstImage.Reset (host.Make_dng_image (image->Bounds (), in Apply()
465 fImage.Bounds (), in Start()
493 fImage.Bounds ()); in Process()
538 dng_rect modifiedBounds = ModifiedBounds (image->Bounds ()); in Apply()
Ddng_negative.cpp1483 dng_pixel_buffer buffer (image.Bounds (), 0, image.Planes (), in FindImageDigest()
1515 image.Bounds ()); in FindImageDigest()
1655 fUnitCell = dng_point (Min_int32 (kTileSize, fImage.Bounds ().H ()), in dng_find_new_raw_image_digest_task()
1656 Min_int32 (kTileSize, fImage.Bounds ().W ())); in dng_find_new_raw_image_digest_task()
1673 fTilesAcross = (fImage.Bounds ().W () + fUnitCell.h - 1) / fUnitCell.h; in Start()
1674 fTilesDown = (fImage.Bounds ().H () + fUnitCell.v - 1) / fUnitCell.v; in Start()
1698 int32 colIndex = (tile.l - fImage.Bounds ().l) / fUnitCell.h; in Process()
1699 int32 rowIndex = (tile.t - fImage.Bounds ().t) / fUnitCell.v; in Process()
1701 DNG_ASSERT (tile.l == fImage.Bounds ().l + colIndex * fUnitCell.h && in Process()
1702 tile.t == fImage.Bounds ().t + rowIndex * fUnitCell.v, in Process()
[all …]
Ddng_simple_image.cpp60 AutoPtr<dng_simple_image> result (new dng_simple_image (Bounds (), in Clone()
66 Bounds (), in Clone()
Ddng_host.cpp540 srcImage.Bounds (), in ResampleImage()
541 dstImage.Bounds (), in ResampleImage()
/external/mesa3d/src/gallium/targets/haiku-softpipe/
DSoftwareRenderer.cpp69 BRect b = view->Bounds(); in SoftwareRenderer()
169 != fBitmap->Bounds().IntegerHeight() in SwapBuffers()
171 != fBitmap->Bounds().IntegerWidth()) { in SwapBuffers()
177 uint8 bytesPerPixel = bytesPerRow / fBitmap->Bounds().IntegerWidth(); in SwapBuffers()
225 BRect sr = fBitmap->Bounds(); in CopyPixelsOut()
226 BRect dr = bitmap->Bounds(); in CopyPixelsOut()
270 BRect sr = bitmap->Bounds(); in CopyPixelsIn()
271 BRect dr = fBitmap->Bounds(); in CopyPixelsIn()
355 fBitmap->Bounds().IntegerWidth(), fBitmap->Bounds().IntegerHeight()); in _AllocateBitmap()
/external/libchrome/base/numerics/
Dsafe_conversions_impl.h238 template <typename Dst, typename Src, template <typename> class Bounds>
272 static constexpr Dst max() { return Adjust(Bounds<Dst>::max()); }
273 static constexpr Dst lowest() { return Adjust(Bounds<Dst>::lowest()); }
278 template <typename> class Bounds,
296 template <typename> class Bounds,
301 Bounds,
307 using DstLimits = NarrowingRange<Dst, Src, Bounds>;
318 template <typename Dst, typename Src, template <typename> class Bounds>
321 Bounds,
326 using DstLimits = NarrowingRange<Dst, Src, Bounds>;
[all …]
/external/pdfium/third_party/base/numerics/
Dsafe_conversions_impl.h239 template <typename Dst, typename Src, template <typename> class Bounds>
273 static constexpr Dst max() { return Adjust(Bounds<Dst>::max()); }
274 static constexpr Dst lowest() { return Adjust(Bounds<Dst>::lowest()); }
279 template <typename> class Bounds,
297 template <typename> class Bounds,
302 Bounds,
308 using DstLimits = NarrowingRange<Dst, Src, Bounds>;
319 template <typename Dst, typename Src, template <typename> class Bounds>
322 Bounds,
327 using DstLimits = NarrowingRange<Dst, Src, Bounds>;
[all …]
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
Dp9-0x.cpp42 template<typename ...ElementTypes, unsigned ...Bounds>
43 struct split_arrays<ElementTypes[Bounds]...> {
47 typedef tuple<unsigned_c<Bounds>...> bounds_types;
/external/skqp/tools/skqp/
Dmake_gmkb.go79 w := img.Bounds().Max.X - img.Bounds().Min.X
80 h := img.Bounds().Max.Y - img.Bounds().Min.Y
147 nimg := *image.NewNRGBA(img.Bounds())
148 draw.Draw(&nimg, img.Bounds(), img, image.Point{0, 0}, draw.Src)
/external/autotest/client/cros/multimedia/
Ddisplay_info.py11 class Bounds(object): class in DisplayInfo
59 self.bounds = self.Bounds(d['bounds'])
61 self.work_area = self.Bounds(d['workArea'])
/external/mesa3d/src/hgl/
DGLView.cpp134 if (!dest || !dest->Bounds().IsValid()) in CopyPixelsOut()
147 if (!source || !source->Bounds().IsValid()) in CopyPixelsIn()
189 fBounds = Bounds(); in AttachedToWindow()
208 glViewport(0, 0, Bounds().IntegerWidth(), Bounds().IntegerHeight()); in AttachedToWindow()
210 fRenderer->FrameResized(Bounds().IntegerWidth(), in AttachedToWindow()
211 Bounds().IntegerHeight()); in AttachedToWindow()
258 fBounds = Bounds(); in FrameResized()
/external/llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
Dp9-0x.cpp80 template<typename ...ElementTypes, unsigned ...Bounds>
81 struct split_arrays<ElementTypes[Bounds]...> {
85 typedef tuple<unsigned_c<Bounds>...> bounds_types;
/external/llvm-project/clang/lib/Frontend/
DPrecompiledPreamble.cpp313 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds, in Build() argument
343 Bounds.Size); in Build()
344 bool PreambleEndsAtStartOfLine = Bounds.PreambleEndsAtStartOfLine; in Build()
409 MainFileBuffer->getBuffer().slice(0, Bounds.Size), MainFilePath); in Build()
505 PreambleBounds Bounds, in CanReuse() argument
509 Bounds.Size <= MainFileBuffer->getBufferSize() && in CanReuse()
520 if (PreambleBytes.size() != Bounds.Size || in CanReuse()
521 PreambleEndsAtStartOfLine != Bounds.PreambleEndsAtStartOfLine || in CanReuse()
617 PreambleBounds Bounds(PreambleBytes.size(), PreambleEndsAtStartOfLine); in AddImplicitPreamble() local
618 configurePreamble(Bounds, CI, VFS, MainFileBuffer); in AddImplicitPreamble()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DPreamble.cpp222 PreambleBounds Bounds = {0, false}; member
252 auto Bounds = ComputePreambleBounds(*CI->getLangOpts(), *ContentsBuffer, 0); in scanPreamble() local
254 llvm::MemoryBuffer::getMemBufferCopy(Contents.substr(0, Bounds.Size)); in scanPreamble()
272 SP.Bounds = Bounds; in scanPreamble()
324 auto Bounds = ComputePreambleBounds(*CI.getLangOpts(), *ContentsBuffer, 0); in buildPreamble() local
347 CI, ContentsBuffer.get(), Bounds, *PreambleDiagsEngine, in buildPreamble()
377 auto Bounds = ComputePreambleBounds(*CI.getLangOpts(), *ContentsBuffer, 0); in isPreambleCompatible() local
381 Preamble.Preamble.CanReuse(CI, ContentsBuffer.get(), Bounds, in isPreambleCompatible()
440 PP.ModifiedBounds = ModifiedScan->Bounds; in create()
DXRefs.cpp867 SourceRange Bounds; // Half-open, restricts reported targets. member in clang::clangd::__anon7033247a0b11::FindControlFlow
890 if (SM.isBeforeInTranslationUnit(Loc, Bounds.getBegin()) || in found()
891 SM.isBeforeInTranslationUnit(Bounds.getEnd(), Loc)) in found()
897 FindControlFlow(SourceRange Bounds, std::vector<SourceLocation> &Result, in FindControlFlow() argument
899 : Bounds(Bounds), Result(Result), SM(SM) {} in FindControlFlow()
938 if (SM.isBeforeInTranslationUnit(LD->getLocation(), Bounds.getBegin()) || in VisitGotoStmt()
939 SM.isBeforeInTranslationUnit(Bounds.getEnd(), LD->getLocation())) in VisitGotoStmt()
1015 SourceRange Bounds; in relatedControlFlow() local
1044 Bounds = findCaseBounds(*SS, N.ASTNode.getSourceRange().getBegin(), SM); in relatedControlFlow()
1053 if (!Bounds.isValid()) in relatedControlFlow()
[all …]
/external/llvm-project/mlir/test/Conversion/SCFToGPU/
Dstep_one.mlir7 // Bounds of the loop, its range and step.
19 // Bounds of the loop, its range and step.
41 // Bounds of the loop, its range and step.
50 // Bounds of the loop, its range and step.
/external/rust/crates/csv/src/
Dbyte_record.rs92 bounds: Bounds,
140 bounds: Bounds::with_capacity(fields), in with_capacity()
644 struct Bounds { struct
655 impl Default for Bounds { argument
657 fn default() -> Bounds { in default()
658 Bounds::with_capacity(0) in default()
662 impl Bounds { impl
666 fn with_capacity(capacity: usize) -> Bounds { in with_capacity() argument
667 Bounds { ends: vec![0; capacity], len: 0 } in with_capacity()
/external/mesa3d/src/gallium/frontends/hgl/
Dbitmap_wrapper.cpp58 uint32 w = bb->Bounds().IntegerWidth() + 1; in get_bitmap_size()
59 uint32 h = bb->Bounds().IntegerHeight() + 1; in get_bitmap_size()
/external/llvm-project/clang/include/clang/Frontend/
DPrecompiledPreamble.h82 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds,
107 const llvm::MemoryBuffer *MainFileBuffer, PreambleBounds Bounds,
234 void configurePreamble(PreambleBounds Bounds, CompilerInvocation &CI,
/external/llvm-project/clang/test/SemaCXX/
Dext-int.cpp3 template<int Bounds>
5 _ExtInt(Bounds) b;
6 unsigned _ExtInt(Bounds) b2;
/external/pdfium/testing/resources/pixel/
Dbug_551460.in54 /Bounds [2.0]

123456