/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_box.h | 9 struct pipe_box *box ) in u_box_1d() argument 11 box->x = x; in u_box_1d() 12 box->y = 0; in u_box_1d() 13 box->z = 0; in u_box_1d() 14 box->width = w; in u_box_1d() 15 box->height = 1; in u_box_1d() 16 box->depth = 1; in u_box_1d() 24 struct pipe_box *box ) in u_box_2d() argument 26 box->x = x; in u_box_2d() 27 box->y = y; in u_box_2d() [all …]
|
D | u_staging.c | 57 const struct pipe_box *box, in util_staging_transfer_init() argument 67 tx->base.box = *box; in util_staging_transfer_init() 75 …util_staging_resource_template(pt, box->width, box->height, box->depth, &staging_resource_template… in util_staging_transfer_init() 89 sbox.x = box->x; in util_staging_transfer_init() 90 sbox.y = box->y; in util_staging_transfer_init() 91 sbox.z = box->z; in util_staging_transfer_init() 92 sbox.width = box->width; in util_staging_transfer_init() 93 sbox.height = box->height; in util_staging_transfer_init() 95 for(zi = 0; zi < box->depth; ++zi) { in util_staging_transfer_init() 119 sbox.width = tx->base.box.width; in util_staging_transfer_destroy() [all …]
|
D | u_transfer.c | 14 const struct pipe_box *box, in u_default_transfer_inline_write() argument 28 if (box->x == 0 && box->width == resource->width0) { in u_default_transfer_inline_write() 38 box ); in u_default_transfer_inline_write() 47 assert(box->height == 1); in u_default_transfer_inline_write() 48 assert(box->depth == 1); in u_default_transfer_inline_write() 50 memcpy(map, data, box->width); in u_default_transfer_inline_write() 56 for (i = 0; i < box->depth; i++) { in u_default_transfer_inline_write() 61 box->width, in u_default_transfer_inline_write() 62 box->height, in u_default_transfer_inline_write() 91 const struct pipe_box *box) in u_default_transfer_flush_region() argument [all …]
|
/external/syslinux/gpxe/src/hci/mucurses/widgets/ |
D | editbox.c | 45 void init_editbox ( struct edit_box *box, char *buf, size_t len, in init_editbox() argument 48 memset ( box, 0, sizeof ( *box ) ); in init_editbox() 49 box->string.buf = buf; in init_editbox() 50 box->string.len = len; in init_editbox() 51 box->string.cursor = strlen ( buf ); in init_editbox() 52 box->win = ( win ? win : stdscr ); in init_editbox() 53 box->row = row; in init_editbox() 54 box->col = col; in init_editbox() 55 box->width = width; in init_editbox() 56 box->flags = flags; in init_editbox() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | SampleTableBox.java | 44 for (Box box : boxes) { in getSampleDescriptionBox() 45 if (box instanceof SampleDescriptionBox) { in getSampleDescriptionBox() 46 return (SampleDescriptionBox) box; in getSampleDescriptionBox() 53 for (Box box : boxes) { in getSampleSizeBox() 54 if (box instanceof SampleSizeBox) { in getSampleSizeBox() 55 return (SampleSizeBox) box; in getSampleSizeBox() 62 for (Box box : boxes) { in getSampleToChunkBox() 63 if (box instanceof SampleToChunkBox) { in getSampleToChunkBox() 64 return (SampleToChunkBox) box; in getSampleToChunkBox() 71 for (Box box : boxes) { in getChunkOffsetBox() [all …]
|
D | MediaBox.java | 34 for (Box box : boxes) { in getMediaInformationBox() 35 if (box instanceof MediaInformationBox) { in getMediaInformationBox() 36 return (MediaInformationBox) box; in getMediaInformationBox() 43 for (Box box : boxes) { in getMediaHeaderBox() 44 if (box instanceof MediaHeaderBox) { in getMediaHeaderBox() 45 return (MediaHeaderBox) box; in getMediaHeaderBox() 52 for (Box box : boxes) { in getHandlerBox() 53 if (box instanceof HandlerBox) { in getHandlerBox() 54 return (HandlerBox) box; in getHandlerBox()
|
D | MediaInformationBox.java | 32 for (Box box : boxes) { in getSampleTableBox() 33 if (box instanceof SampleTableBox) { in getSampleTableBox() 34 return (SampleTableBox) box; in getSampleTableBox() 41 for (Box box : boxes) { in getMediaHeaderBox() 42 if (box instanceof AbstractMediaHeaderBox) { in getMediaHeaderBox() 43 return (AbstractMediaHeaderBox) box; in getMediaHeaderBox()
|
D | TrackBox.java | 36 for (Box box : boxes) { in getTrackHeaderBox() 37 if (box instanceof TrackHeaderBox) { in getTrackHeaderBox() 38 return (TrackHeaderBox) box; in getTrackHeaderBox() 63 for (Box box : boxes) { in getMediaBox() 64 if (box instanceof MediaBox) { in getMediaBox() 65 return (MediaBox) box; in getMediaBox()
|
/external/openssh/ |
D | sandbox-systrace.c | 96 struct ssh_sandbox *box; in ssh_sandbox_init() local 99 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init() 100 box->systrace_fd = -1; in ssh_sandbox_init() 101 box->child_pid = 0; in ssh_sandbox_init() 102 box->osigchld = signal(SIGCHLD, SIG_IGN); in ssh_sandbox_init() 104 return box; in ssh_sandbox_init() 108 ssh_sandbox_child(struct ssh_sandbox *box) in ssh_sandbox_child() argument 111 signal(SIGCHLD, box->osigchld); in ssh_sandbox_child() 118 ssh_sandbox_parent(struct ssh_sandbox *box, pid_t child_pid, in ssh_sandbox_parent() argument 130 signal(SIGCHLD, box->osigchld); in ssh_sandbox_parent() [all …]
|
D | sandbox-capsicum.c | 53 struct ssh_sandbox *box; in ssh_sandbox_init() local 60 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init() 61 box->monitor = monitor; in ssh_sandbox_init() 62 box->child_pid = 0; in ssh_sandbox_init() 64 return box; in ssh_sandbox_init() 68 ssh_sandbox_child(struct ssh_sandbox *box) in ssh_sandbox_child() argument 97 if (cap_rights_limit(box->monitor->m_recvfd, &rights) < 0 && in ssh_sandbox_child() 101 if (cap_rights_limit(box->monitor->m_log_sendfd, &rights) < 0 && in ssh_sandbox_child() 110 ssh_sandbox_parent_finish(struct ssh_sandbox *box) in ssh_sandbox_parent_finish() argument 112 free(box); in ssh_sandbox_parent_finish() [all …]
|
D | sandbox-rlimit.c | 47 struct ssh_sandbox *box; in ssh_sandbox_init() local 54 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init() 55 box->child_pid = 0; in ssh_sandbox_init() 57 return box; in ssh_sandbox_init() 61 ssh_sandbox_child(struct ssh_sandbox *box) in ssh_sandbox_child() argument 85 ssh_sandbox_parent_finish(struct ssh_sandbox *box) in ssh_sandbox_parent_finish() argument 87 free(box); in ssh_sandbox_parent_finish() 92 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) in ssh_sandbox_parent_preauth() argument 94 box->child_pid = child_pid; in ssh_sandbox_parent_preauth()
|
D | sandbox-darwin.c | 45 struct ssh_sandbox *box; in ssh_sandbox_init() local 52 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init() 53 box->child_pid = 0; in ssh_sandbox_init() 55 return box; in ssh_sandbox_init() 59 ssh_sandbox_child(struct ssh_sandbox *box) in ssh_sandbox_child() argument 86 ssh_sandbox_parent_finish(struct ssh_sandbox *box) in ssh_sandbox_parent_finish() argument 88 free(box); in ssh_sandbox_parent_finish() 93 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) in ssh_sandbox_parent_preauth() argument 95 box->child_pid = child_pid; in ssh_sandbox_parent_preauth()
|
D | sandbox-null.c | 44 struct ssh_sandbox *box; in ssh_sandbox_init() local 50 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init() 51 return box; in ssh_sandbox_init() 55 ssh_sandbox_child(struct ssh_sandbox *box) in ssh_sandbox_child() argument 61 ssh_sandbox_parent_finish(struct ssh_sandbox *box) in ssh_sandbox_parent_finish() argument 63 free(box); in ssh_sandbox_parent_finish() 67 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) in ssh_sandbox_parent_preauth() argument
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
D | Path.java | 36 public static String createPath(Box box) { in createPath() argument 37 return createPath(box, ""); in createPath() 40 private static String createPath(Box box, String path) { in createPath() argument 41 if (box instanceof IsoFile) { in createPath() 44 List<?> boxesOfBoxType = box.getParent().getBoxes(box.getClass()); in createPath() 45 int index = boxesOfBoxType.indexOf(box); in createPath() 46 path = String.format("/%s[%d]", box.getType(), index) + path; in createPath() 48 return createPath(box.getParent(), path); in createPath() 52 public static Box getPath(Box box, String path) { in getPath() argument 53 List<Box> all = getPaths(box, path); in getPath() [all …]
|
/external/toybox/kconfig/lxdialog/ |
D | textbox.c | 38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument 41 print_page(box, boxh, boxw); in refresh_text_box() 57 WINDOW *dialog, *box; in dialog_textbox() local 97 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox() 98 wattrset(box, dlg.dialog.atr); in dialog_textbox() 99 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox() 101 keypad(box, TRUE); in dialog_textbox() 122 attr_clear(box, boxh, boxw, dlg.dialog.atr); in dialog_textbox() 123 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox() 132 delwin(box); in dialog_textbox() [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
D | bitmaptools.cc | 100 if (!box.Read()) { in Read() 105 if (box.bottom * row_stride > total_size || in Read() 106 box.right * pixel_stride > row_size) { in Read() 118 total_size = (box.bottom - box.top) * row_stride; in Read() 119 row_size = (box.right - box.left) * pixel_stride; in Read() 120 data = pixels + box.top * row_stride + box.left * pixel_stride; in Read() 125 int out_size = row_size * box.height(); in WriteCroppedPixels() 140 Box box; member 206 Box box; in BoundingBox() local 207 box.left = bmp.total_size; in BoundingBox() [all …]
|
/external/eigen/test/ |
D | geo_alignedbox.cpp | 118 BoxType box( m, M ); in specificTest1() local 121 VERIFY_IS_APPROX(sides, box.sizes() ); in specificTest1() 122 VERIFY_IS_APPROX(sides[1], box.sizes()[1] ); in specificTest1() 123 VERIFY_IS_APPROX(sides[1], box.sizes().maxCoeff() ); in specificTest1() 124 VERIFY_IS_APPROX(sides[0], box.sizes().minCoeff() ); in specificTest1() 126 VERIFY_IS_APPROX( 14.0f, box.volume() ); in specificTest1() 127 VERIFY_IS_APPROX( 53.0f, box.diagonal().squaredNorm() ); in specificTest1() 128 VERIFY_IS_APPROX( std::sqrt( 53.0f ), box.diagonal().norm() ); in specificTest1() 130 VERIFY_IS_APPROX( m, box.corner( BoxType::BottomLeft ) ); in specificTest1() 131 VERIFY_IS_APPROX( M, box.corner( BoxType::TopRight ) ); in specificTest1() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_texture.c | 60 SVGA3dCopyBox box; in svga_transfer_dma_band() local 63 box.x = st->base.box.x; in svga_transfer_dma_band() 64 box.y = y; in svga_transfer_dma_band() 65 box.z = st->base.box.z; in svga_transfer_dma_band() 66 box.w = st->base.box.width; in svga_transfer_dma_band() 67 box.h = h; in svga_transfer_dma_band() 68 box.d = 1; in svga_transfer_dma_band() 69 box.srcx = 0; in svga_transfer_dma_band() 70 box.srcy = srcy; in svga_transfer_dma_band() 71 box.srcz = 0; in svga_transfer_dma_band() [all …]
|
D | svga_pipe_blit.c | 87 &box, in svga_surface_copy() 96 &box, in svga_surface_copy() 101 box->x = dstx; in svga_surface_copy() 102 box->y = dsty; in svga_surface_copy() 103 box->z = 0; in svga_surface_copy() 104 box->w = width; in svga_surface_copy() 105 box->h = height; in svga_surface_copy() 106 box->d = 1; in svga_surface_copy() 107 box->srcx = src_box->x; in svga_surface_copy() 108 box->srcy = src_box->y; in svga_surface_copy() [all …]
|
/external/deqp/doc/testspecs/GLES3/ |
D | functional.primitive_bounding_box.txt | 28 - Set bounding box with gl_BoundingBoxEXT and PrimitiveBoundingBoxEXT 32 - Render pattern and hint the final depth range with bounding box 35 - Blit should not be affected by the bounding box 37 - Clears should not be affected by the bounding box 53 bounding box and render a test pattern. Rendering results within the 54 bounding box are then verified. 56 "global_state.*" cases set the bounding box of the whole test pattern 58 cases set the bounding box of the whole test pattern using 60 set the bounding box for each (tessellation input) primitive separately. 62 "*_bbox_equal" cases set the bounding box to tightly cover the primitive [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
D | IsoFile.java | 85 Box box = boxParser.parseBox(byteChannel, this); in parse() local 86 if (box != null) { in parse() 88 boxes.add(box); in parse() 149 for (Box box : boxes) { in getSize() 150 size += box.getSize(); in getSize() 169 for (Box box : boxes) { in getMovieBox() 170 if (box instanceof MovieBox) { in getMovieBox() 171 return (MovieBox) box; in getMovieBox() 178 for (Box box : boxes) { in getBox() 182 box.getBox(os); in getBox() [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11.cpp | 100 pipe_box box; in d3d11_to_pipe_box() local 103 box.x = pBox->left; in d3d11_to_pipe_box() 104 box.y = pBox->top; in d3d11_to_pipe_box() 105 box.z = pBox->front; in d3d11_to_pipe_box() 106 box.width = pBox->right - pBox->left; in d3d11_to_pipe_box() 107 box.height = pBox->bottom - pBox->top; in d3d11_to_pipe_box() 108 box.depth = pBox->back - pBox->front; in d3d11_to_pipe_box() 112 box.x = box.y = box.z = 0; in d3d11_to_pipe_box() 113 box.width = u_minify(resource->width0, level); in d3d11_to_pipe_box() 114 box.height = u_minify(resource->height0, level); in d3d11_to_pipe_box() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_transfer.c | 59 tex, transfer->level, &transfer->box); in r300_copy_from_tiled_texture() 69 u_box_origin_2d(transfer->box.width, transfer->box.height, &src_box); in r300_copy_into_tiled_texture() 72 transfer->box.x, transfer->box.y, transfer->box.z, in r300_copy_into_tiled_texture() 84 const struct pipe_box *box) in r300_texture_get_transfer() argument 107 trans->transfer.box = *box; in r300_texture_get_transfer() 122 base.width0 = box->width; in r300_texture_get_transfer() 123 base.height0 = box->height; in r300_texture_get_transfer() 199 trans->offset = r300_texture_get_offset(tex, level, box->z); in r300_texture_get_transfer() 249 transfer->box.y / util_format_get_blockheight(format) * transfer->stride + in r300_texture_transfer_map() 250 … transfer->box.x / util_format_get_blockwidth(format) * util_format_get_blocksize(format); in r300_texture_transfer_map()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_buffer.c | 44 const struct pipe_box *box) in r600_get_transfer() argument 49 assert(box->x + box->width <= resource->width0); in r600_get_transfer() 54 transfer->transfer.box = *box; in r600_get_transfer() 138 transfer->box.x % 4 == 0 && transfer->box.width % 4 == 0) { in r600_buffer_transfer_map() 149 PIPE_USAGE_STAGING, transfer->box.width); in r600_buffer_transfer_map() 159 return (uint8_t*)data + transfer->box.x; in r600_buffer_transfer_map() 168 struct pipe_box box; in r600_buffer_transfer_unmap() local 169 u_box_1d(0, transfer->box.width, &box); in r600_buffer_transfer_unmap() 172 r600_copy_buffer(pipe, transfer->resource, transfer->box.x, in r600_buffer_transfer_unmap() 173 &rtransfer->staging->b.b, &box); in r600_buffer_transfer_unmap()
|
/external/autotest/client/cros/video/ |
D | chameleon_screenshot_capturer.py | 24 timeout_video_input_s, box=None): argument 41 self.box = box 84 def capture(self, filename, box=None): argument 99 if not box: 100 box = self.box 103 img.crop(box).save(fullpath)
|