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

12345

/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/webkit/LayoutTests/fast/events/touch/script-tests/
H A Ddocument-create-touch.js5 var box = document.createElement("div"); variable
6 box.id = "box";
7 box.style.width = "100px";
8 box.style.height = "100px";
9 document.body.appendChild(box);
11 var target = document.getElementById("box");
14 shouldBe("touch.target", "box");
/external/openssh/
H A Dsandbox-darwin.c45 struct ssh_sandbox *box; local
52 box = xcalloc(1, sizeof(*box));
53 box->child_pid = 0;
55 return box;
59 ssh_sandbox_child(struct ssh_sandbox *box) argument
86 ssh_sandbox_parent_finish(struct ssh_sandbox *box) argument
88 free(box);
93 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
95 box
[all...]
H A Dsandbox-null.c44 struct ssh_sandbox *box; local
50 box = xcalloc(1, sizeof(*box));
51 return box;
55 ssh_sandbox_child(struct ssh_sandbox *box) argument
61 ssh_sandbox_parent_finish(struct ssh_sandbox *box) argument
63 free(box);
67 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
H A Dsandbox-rlimit.c47 struct ssh_sandbox *box; local
54 box = xcalloc(1, sizeof(*box));
55 box->child_pid = 0;
57 return box;
61 ssh_sandbox_child(struct ssh_sandbox *box) argument
81 ssh_sandbox_parent_finish(struct ssh_sandbox *box) argument
83 free(box);
88 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
90 box
[all...]
H A Dsandbox-systrace.c80 struct ssh_sandbox *box; local
84 box = xcalloc(1, sizeof(*box));
87 box->child_sock = s[0];
88 box->parent_sock = s[1];
89 box->systrace_fd = -1;
90 box->child_pid = 0;
92 return box;
96 ssh_sandbox_child(struct ssh_sandbox *box) argument
100 close(box
113 ssh_sandbox_parent(struct ssh_sandbox *box, pid_t child_pid, const struct sandbox_policy *allowed_syscalls) argument
183 ssh_sandbox_parent_finish(struct ssh_sandbox *box) argument
193 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) 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/webkit/Source/WebCore/rendering/mathml/
H A DRenderMathMLBlock.h58 RenderBoxModelObject* box = toRenderBoxModelObject(object); local
59 return box->offsetHeight();
67 const RenderBoxModelObject* box = toRenderBoxModelObject(object); local
68 return box->offsetHeight();
76 RenderBoxModelObject* box = toRenderBoxModelObject(object); local
77 return box->offsetWidth();
85 const RenderBoxModelObject* box = toRenderBoxModelObject(object); local
86 return box->offsetWidth();
H A DRenderMathMLRow.cpp51 // Check to see if this box has a larger height
55 RenderBoxModelObject* box = toRenderBoxModelObject(current); local
56 // Check to see if this box has a larger height
57 if (box->offsetHeight() > maxHeight)
58 maxHeight = box->offsetHeight();
91 RenderBoxModelObject* box = toRenderBoxModelObject(current); local
92 // Check to see if this box has a larger height.
93 if (box->offsetHeight() > maxHeight)
94 maxHeight = box->offsetHeight();
H A DRenderMathMLSquareRoot.cpp85 RenderBoxModelObject* box = toRenderBoxModelObject(current); local
87 // Check to see if this box has a larger height
88 if (box->offsetHeight() > maxHeight)
89 maxHeight = box->offsetHeight();
90 width += box->offsetWidth();
173 RenderBoxModelObject* box = toRenderBoxModelObject(current); local
175 if (box->offsetHeight() > maxHeight)
176 maxHeight = box->offsetHeight();
178 box->style()->setVerticalAlign(BASELINE);
H A DRenderMathMLSubSup.cpp189 RenderBoxModelObject* box = toRenderBoxModelObject(base); local
191 int topAdjust = (m_scripts->offsetHeight() - box->offsetHeight()) / 2;
196 return topAdjust + box->baselinePosition(AlphabeticBaseline, firstLine, direction, linePositionMode) + static_cast<int>((zoomFactor > 1.25 ? 2 : 3) * zoomFactor);
201 RenderBoxModelObject* box = toRenderBoxModelObject(base); local
202 baseline = box->baselinePosition(AlphabeticBaseline, firstLine, direction, linePositionMode);
H A DRenderMathMLUnderOver.cpp114 RenderBoxModelObject* box = toRenderBoxModelObject(obj); local
115 return box->offsetHeight();
157 // FIXME: bases that ascend higher than the line box intrude into the over
209 // FIXME: bases that ascend higher than the line box intrude into the over
/external/clang/test/SemaCXX/
H A Dwarn-unused-value.cpp13 Box* box = new Box; local
14 box->i; // expected-warning {{expression result unused}}
15 box->j;
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
H A DHelloPhysics.java74 private static final Box box; field in class:HelloPhysics
90 box = new Box(Vector3f.ZERO, brickLength, brickHeight, brickWidth);
91 box.scaleTextureCoordinates(new Vector2f(1f, .5f));
185 Geometry brick_geo = new Geometry("brick", box);
/external/jmonkeyengine/engine/src/test/jme3test/tools/
H A DTestOctree.java68 private WireBox box = new WireBox(1,1,1); field in class:TestOctree
155 // tree.renderBounds(rq, transform, box, mat);
/external/jmonkeyengine/engine/src/test/jme3test/water/
H A DTestPostWater.java174 Geometry box; field in class:TestPostWater
177 //creating a transluscent box
178 box = new Geometry("box", new Box(new Vector3f(0, 0, 0), 50, 50, 50));
184 box.setMaterial(mat);
185 box.setQueueBucket(Bucket.Translucent);
193 box.setLocalTranslation(-600, 0, 300);
195 //attaching the box to the post viewport
196 //Don't forget to updateGeometricState() the box in the simpleUpdate
197 // post.attachScene(box);
[all...]
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGInline.cpp41 InlineFlowBox* box = new (renderArena()) SVGInlineFlowBox(this); local
42 box->setHasVirtualLogicalHeight();
43 return box;
92 for (InlineFlowBox* box = firstLineBox(); box; box = box->nextLineBox())
93 quads.append(localToAbsoluteQuad(FloatRect(textBoundingBox.x() + box->x(), textBoundingBox.y() + box->y(), box
[all...]
H A DRenderSVGModelObject.cpp66 IntRect box = enclosingIntRect(repaintRectInLocalCoordinates()); local
67 adjustRectForOutlineAndShadow(box);
69 FloatQuad containerRelativeQuad = localToContainerQuad(FloatRect(box), repaintContainer);
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
H A DBIHNode.java149 BoundingBox box,
158 float[] minExts = {box.getCenter().x - box.getXExtent(),
159 box.getCenter().y - box.getYExtent(),
160 box.getCenter().z - box.getZExtent()};
162 float[] maxExts = {box.getCenter().x + box.getXExtent(),
163 box
148 intersectWhere(Collidable col, BoundingBox box, Matrix4f worldMatrix, BIHTree tree, CollisionResults results) argument
[all...]
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
H A DOctnode.java260 public void renderBounds(RenderQueue rq, Matrix4f transform, WireBox box, Material mat){ argument
271 // WireBox box = new WireBox(bbox2.getXExtent(), bbox2.getYExtent(),
273 // WireBox box = new WireBox(1,1,1);
275 Geometry geom = new Geometry("bound", box);
282 box = null;
287 children[i].renderBounds(rq, transform, box, mat);
H A DOctree.java86 // generate bound box for all geom
146 public void renderBounds(RenderQueue rq, Matrix4f transform, WireBox box, Material mat){ argument
147 root.renderBounds(rq, transform, box, mat);
/external/qemu/android/skin/
H A Drect.c194 skin_box_minmax_init( SkinBox* box )
196 box->x1 = box->y1 = INT_MAX;
197 box->x2 = box->y2 = INT_MIN;
214 skin_box_minmax_to_rect( SkinBox* box, SkinRect* r ) argument
216 if (box->x1 > box->x2) {
220 skin_box_to_rect( box, r );
225 skin_box_from_rect( SkinBox* box, SkinRec argument
234 skin_box_to_rect( SkinBox* box, SkinRect* r ) argument
[all...]
/external/webkit/Source/WebCore/rendering/
H A DRenderMarquee.cpp113 RenderBox* box = m_layer->renderBox(); local
114 ASSERT(box);
115 RenderStyle* s = box->style();
118 int clientWidth = box->clientWidth();
119 int contentWidth = ltr ? box->maxXLayoutOverflow() : box->minXLayoutOverflow();
121 contentWidth += (box->paddingRight() - box->borderLeft());
123 contentWidth = box->width() - contentWidth;
124 contentWidth += (box
[all...]
/external/chromium/chrome/browser/notifications/
H A Ddesktop_notifications_unittest.cc349 gfx::Rect box = balloon_collection_->GetBalloonsBoundingBox(); local
356 // Make sure each balloon's 4 corners are inside the box.
365 EXPECT_TRUE(box.Contains(gfx::Point(min_x, min_y)));
366 EXPECT_TRUE(box.Contains(gfx::Point(min_x, max_y)));
367 EXPECT_TRUE(box.Contains(gfx::Point(max_x, min_y)));
368 EXPECT_TRUE(box.Contains(gfx::Point(max_x, max_y)));

Completed in 477 milliseconds

12345