Searched defs:box (Results 1 - 25 of 120) 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/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...]
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/openssh/
H A Dsandbox-capsicum.c53 struct ssh_sandbox *box; local
60 box = xcalloc(1, sizeof(*box));
61 box->monitor = monitor;
62 box->child_pid = 0;
64 return box;
68 ssh_sandbox_child(struct ssh_sandbox *box) argument
97 if (cap_rights_limit(box->monitor->m_recvfd, &rights) < 0 &&
101 if (cap_rights_limit(box->monitor->m_log_sendfd, &rights) < 0 &&
110 ssh_sandbox_parent_finish(struct ssh_sandbox *box) argument
117 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
[all...]
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
85 ssh_sandbox_parent_finish(struct ssh_sandbox *box) argument
87 free(box);
92 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
94 box
[all...]
H A Dsandbox-seccomp-filter.c147 struct ssh_sandbox *box; local
154 box = xcalloc(1, sizeof(*box));
155 box->child_pid = 0;
157 return box;
198 ssh_sandbox_child(struct ssh_sandbox *box) argument
235 ssh_sandbox_parent_finish(struct ssh_sandbox *box) argument
237 free(box);
242 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
244 box
[all...]
H A Dsandbox-systrace.c94 struct ssh_sandbox *box; local
97 box = xcalloc(1, sizeof(*box));
98 box->systrace_fd = -1;
99 box->child_pid = 0;
100 box->osigchld = signal(SIGCHLD, SIG_IGN);
102 return box;
106 ssh_sandbox_child(struct ssh_sandbox *box) argument
109 signal(SIGCHLD, box->osigchld);
116 ssh_sandbox_parent(struct ssh_sandbox *box, pid_ argument
195 ssh_sandbox_parent_finish(struct ssh_sandbox *box) argument
205 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
[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/parser/
H A DSkSVGSVG.cpp46 SkRect box = SkRect::MakeLTRB(viewBox[0] / width, viewBox[1] / height, local
48 if (box.fLeft == 0 && box.fTop == 0 &&
49 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1)
52 if (box.fLeft != 0) {
54 x.appendScalar(box.fLeft);
57 if (box.fTop != 0) {
59 y.appendScalar(box.fTop);
62 if (box
[all...]
/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/mesa3d/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
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_transfer.c59 tex, transfer->level, &transfer->box);
69 u_box_origin_2d(transfer->box.width, transfer->box.height, &src_box);
72 transfer->box.x, transfer->box.y, transfer->box.z,
84 const struct pipe_box *box)
107 trans->transfer.box = *box;
122 base.width0 = box
80 r300_texture_get_transfer(struct pipe_context *ctx, struct pipe_resource *texture, unsigned level, unsigned usage, const struct pipe_box *box) argument
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_buffer.c70 const struct pipe_box *box)
85 transfer->box = *box;
220 map += transfer->box.x;
230 const struct pipe_box *box)
235 unsigned offset = transfer->box.x + box->x;
236 unsigned length = box->width;
66 svga_buffer_get_transfer(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
228 svga_buffer_transfer_flush_region( struct pipe_context *pipe, struct pipe_transfer *transfer, const struct pipe_box *box) argument
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
H A DFreeBox.java36 * A free box. Just a placeholder to enable editing without rewriting the whole file.
97 // It's quite expensive to map a file into the memory. Just do it when the box is larger than a MB.
107 public void addAndReplace(Box box) { argument
108 data.position(l2i(box.getSize()));
110 replacers.add(box);
/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; // expected-warning {{expression result unused}}
/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);

Completed in 3333 milliseconds

12345