Searched defs:box (Results 1 - 25 of 255) sorted by relevance

1234567891011

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatBoxTest.cpp38 FloatBox box(1, 2, 3, 4, 5, 6);
39 EXPECT_EQ(1, box.x());
40 EXPECT_EQ(2, box.y());
41 EXPECT_EQ(3, box.z());
42 EXPECT_EQ(4, box.width());
43 EXPECT_EQ(5, box.height());
44 EXPECT_EQ(6, box.depth());
45 EXPECT_EQ(5, box.right());
46 EXPECT_EQ(7, box.bottom());
47 EXPECT_EQ(9, box
79 FloatBox box; local
98 FloatBox box; local
113 FloatBox box; local
[all...]
H A DFloatBoxTestHelpers.cpp31 void blink::PrintTo(const FloatBox& box, ::std::ostream* os) argument
34 << box.x() << ", "
35 << box.y() << ", "
36 << box.z() << ", "
37 << box.width() << ", "
38 << box.height() << ", "
39 << box.depth() << ")";
/external/clang/test/CodeGenCXX/
H A Dvirtual-destructor-synthesis.cpp3 struct box { struct
4 virtual ~box();
7 struct pile_box : public box {
8 pile_box(box *);
11 pile_box::pile_box(box *pp)
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_tile.h46 u_clip_tile(uint x, uint y, uint *w, uint *h, const struct pipe_box *box) argument
48 if (x >= box->width)
50 if (y >= box->height)
52 if (x + *w > box->width)
53 *w = box->width - x;
54 if (y + *h > box->height)
55 *h = box->height - y;
H A Du_staging.c57 const struct pipe_box *box,
67 tx->base.box = *box;
75 util_staging_resource_template(pt, box->width, box->height, box->depth, &staging_resource_template);
89 sbox.x = box->x;
90 sbox.y = box->y;
91 sbox.z = box->z;
92 sbox.width = box
53 util_staging_transfer_init(struct pipe_context *pipe, struct pipe_resource *pt, unsigned level, unsigned usage, const struct pipe_box *box, boolean direct, struct util_staging_transfer *tx) argument
[all...]
H A Du_resource.c31 const struct pipe_box *box)
34 return ur->vtbl->get_transfer(context, resource, level, usage, box);
53 const struct pipe_box *box)
56 ur->vtbl->transfer_flush_region(pipe, transfer, box);
70 const struct pipe_box *box,
80 box,
27 u_get_transfer_vtbl(struct pipe_context *context, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
51 u_transfer_flush_region_vtbl( struct pipe_context *pipe, struct pipe_transfer *transfer, const struct pipe_box *box) argument
66 u_transfer_inline_write_vtbl( struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument
H A Du_transfer.c14 const struct pipe_box *box,
28 if (box->x == 0 && box->width == resource->width0) {
38 box );
47 assert(box->height == 1);
48 assert(box->depth == 1);
50 memcpy(map, data, box->width);
56 for (i = 0; i < box->depth; i++) {
61 box->width,
62 box
10 u_default_transfer_inline_write( struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument
89 u_default_transfer_flush_region( struct pipe_context *pipe, struct pipe_transfer *transfer, const struct pipe_box *box) argument
97 u_default_get_transfer(struct pipe_context *context, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_tile.h46 u_clip_tile(uint x, uint y, uint *w, uint *h, const struct pipe_box *box) argument
48 if (x >= box->width)
50 if (y >= box->height)
52 if (x + *w > box->width)
53 *w = box->width - x;
54 if (y + *h > box->height)
55 *h = box->height - y;
H A Du_staging.c57 const struct pipe_box *box,
67 tx->base.box = *box;
75 util_staging_resource_template(pt, box->width, box->height, box->depth, &staging_resource_template);
89 sbox.x = box->x;
90 sbox.y = box->y;
91 sbox.z = box->z;
92 sbox.width = box
53 util_staging_transfer_init(struct pipe_context *pipe, struct pipe_resource *pt, unsigned level, unsigned usage, const struct pipe_box *box, boolean direct, struct util_staging_transfer *tx) argument
[all...]
/external/chromium_org/net/quic/crypto/
H A Dcrypto_secret_boxer_test.cc26 const string box = boxer.Box(QuicRandom::GetInstance(), message); local
30 EXPECT_TRUE(boxer.Unbox(box, &storage, &result));
33 EXPECT_FALSE(boxer.Unbox(string(1, 'X') + box, &storage, &result));
34 EXPECT_FALSE(boxer.Unbox(box.substr(1, string::npos), &storage, &result));
36 EXPECT_FALSE(boxer.Unbox(string(1, box[0]^0x80) + box.substr(1, string::npos),
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderLayerReflectionInfo.h76 RenderBox& box() { return *m_box; } function in class:blink::RenderLayerReflectionInfo
77 const RenderBox& box() const { return *m_box; } function in class:blink::RenderLayerReflectionInfo
H A DPaintInvalidationState.cpp89 const RenderBox& box = toRenderBox(renderer); local
93 if (box.usesCompositedScrolling()) {
94 ASSERT(!m_clipped); // The box should establish paint invalidation container, so no m_clipped inherited.
96 LayoutRect clipRect(toPoint(m_paintOffset), box.layer()->size());
105 m_paintOffset -= box.scrolledContentOffset();
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
H A DAnimatableLengthBoxAndBool.h41 static PassRefPtrWillBeRawPtr<AnimatableLengthBoxAndBool> create(PassRefPtrWillBeRawPtr<AnimatableValue> box, bool flag) argument
43 return adoptRefWillBeNoop(new AnimatableLengthBoxAndBool(box, flag));
45 const AnimatableValue* box() const { return m_box.get(); } function in class:blink::FINAL
55 AnimatableLengthBoxAndBool(PassRefPtrWillBeRawPtr<AnimatableValue> box, bool flag) argument
56 : m_box(box)
/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawTextBox.cpp72 SkTextBox box; local
73 box.setMode((SkTextBox::Mode) mode);
74 box.setSpacingAlign((SkTextBox::SpacingAlign) spacingAlign);
75 box.setBox(fRect);
76 box.setSpacing(fSpacingMul, fSpacingAdd);
78 box.draw(maker.fCanvas, fText.c_str(), fText.size(), *maker.fPaint);
/external/chromium_org/third_party/skia/src/svg/
H A DSkSVGSVG.cpp46 SkRect box; local
47 box.fLeft = SkScalarDiv(viewBox[0], width);
48 box.fTop = SkScalarDiv(viewBox[1], height);
49 box.fRight = SkScalarDiv(viewBox[2], width);
50 box.fBottom = SkScalarDiv(viewBox[3], height);
51 if (box.fLeft == 0 && box.fTop == 0 &&
52 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1)
55 if (box
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
H A DPath.java36 public static String createPath(Box box) { argument
37 return createPath(box, "");
40 private static String createPath(Box box, String path) { argument
41 if (box instanceof IsoFile) {
44 List<?> boxesOfBoxType = box.getParent().getBoxes(box.getClass());
45 int index = boxesOfBoxType.indexOf(box);
46 path = String.format("/%s[%d]", box.getType(), index) + path;
48 return createPath(box.getParent(), path);
52 public static Box getPath(Box box, Strin argument
58 getPaths(Box box, String path) argument
111 isContained(Box box, String path) argument
[all...]
/external/skia/src/animator/
H A DSkDrawTextBox.cpp72 SkTextBox box; local
73 box.setMode((SkTextBox::Mode) mode);
74 box.setSpacingAlign((SkTextBox::SpacingAlign) spacingAlign);
75 box.setBox(fRect);
76 box.setSpacing(fSpacingMul, fSpacingAdd);
78 box.draw(maker.fCanvas, fText.c_str(), fText.size(), *maker.fPaint);
/external/skia/src/svg/
H A DSkSVGSVG.cpp46 SkRect box; local
47 box.fLeft = SkScalarDiv(viewBox[0], width);
48 box.fTop = SkScalarDiv(viewBox[1], height);
49 box.fRight = SkScalarDiv(viewBox[2], width);
50 box.fBottom = SkScalarDiv(viewBox[3], height);
51 if (box.fLeft == 0 && box.fTop == 0 &&
52 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1)
55 if (box
[all...]
/external/chromium_org/ui/gfx/geometry/
H A Dbox_f.cc46 void BoxF::Union(const BoxF& box) { argument
48 *this = box;
51 if (box.IsEmpty())
53 ExpandTo(box);
60 void BoxF::ExpandTo(const BoxF& box) { argument
61 ExpandTo(box.origin(), gfx::Point3F(box.right(), box.bottom(), box.front()));
/external/chromium_org/cc/layers/
H A Dlayer_utils_unittest.cc72 gfx::BoxF box; local
73 bool success = LayerUtils::GetAnimationBounds(*child(), &box);
76 EXPECT_BOXF_EQ(expected, box);
95 gfx::BoxF box; local
96 bool success = LayerUtils::GetAnimationBounds(*child(), &box);
99 EXPECT_BOXF_EQ(expected, box);
118 gfx::BoxF box; local
119 bool success = LayerUtils::GetAnimationBounds(*child(), &box);
122 EXPECT_BOXF_EQ(expected, box);
145 gfx::BoxF box; local
171 gfx::BoxF box; local
205 gfx::BoxF box; local
231 gfx::BoxF box; local
261 gfx::BoxF box; local
[all...]
/external/chromium_org/media/formats/mp4/
H A Dbox_reader_unittest.cc18 // Top-level test box containing three children
22 // Ordinary (8-byte header) child box
24 // Extended-size header child box
28 // Empty free box
93 SkipBox box; local
94 EXPECT_TRUE(box.Parse(reader.get()));
97 EXPECT_EQ(0x05, box.a);
98 EXPECT_EQ(0x06, box.b);
99 EXPECT_EQ(0x0708, box.c);
100 EXPECT_EQ(static_cast<int32>(0xf90a0b0c), box
132 SkipBox box; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DRenderedPosition.cpp123 InlineBox* box = atLeftmostOffsetInBox() ? prevLeafChild() : m_inlineBox; local
124 return box ? box->bidiLevel() : 0;
129 InlineBox* box = atRightmostOffsetInBox() ? nextLeafChild() : m_inlineBox; local
130 return box ? box->bidiLevel() : 0;
138 InlineBox* box = m_inlineBox;
140 InlineBox* prev = box->prevLeafChildIgnoringLineBreak();
142 return RenderedPosition(&box->renderer(), box, bo
[all...]
H A DRenderedPosition.h106 inline RenderedPosition::RenderedPosition(RenderObject* renderer, InlineBox* box, int offset) argument
108 , m_inlineBox(box)
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DPolygonShape.cpp118 FloatRect box = m_polygon.boundingBox(); local
119 box.inflate(shapeMargin());
120 return LayoutRect(box);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_resource_buffer.c68 const struct pipe_box *box)
79 transfer->box = *box;
100 return buffer->data + transfer->box.x;
109 const struct pipe_box *box,
116 memcpy(buffer->data + box->x,
118 box->width);
64 i915_get_transfer(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
105 i915_buffer_transfer_inline_write( struct pipe_context *rm_ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) argument

Completed in 516 milliseconds

1234567891011