Home
last modified time | relevance | path

Searched refs:grid (Results 1 – 25 of 222) sorted by relevance

123456789

/external/skia/src/compute/skc/
Dgrid.c151 skc_grid_call(skc_grid_t const grid, struct skc_grid_pfn_name const * const pn) in skc_grid_call() argument
154 pn->pfn(grid); in skc_grid_call()
160 skc_grid_schedule(skc_grid_t const grid, struct skc_grid_pfn_name const * const pn) in skc_grid_schedule() argument
163 skc_scheduler_schedule(grid->deps->scheduler,pn->pfn,grid,pn->name); in skc_grid_schedule()
173 skc_grid_invalidate(skc_grid_t const grid) in skc_grid_invalidate() argument
175 if (grid->addr != NULL) { in skc_grid_invalidate()
176 *grid->addr = NULL; in skc_grid_invalidate()
186 skc_grid_move(skc_grid_t const grid,
191 skc_grid_invalidate(grid);
193 grid->state = state;
[all …]
Dgrid.h29 typedef void (* skc_grid_pfn)(skc_grid_t const grid);
35 #define SKC_IS_GRID_INVALID(grid) (grid == NULL) argument
87 skc_grid_detach(skc_grid_t const grid);
95 skc_grid_get_data(skc_grid_t const grid);
98 skc_grid_set_data(skc_grid_t const grid, void * const data);
105 skc_grid_map(skc_grid_t const grid, skc_handle_t const handle);
138 skc_grid_start(skc_grid_t const grid);
141 skc_grid_force(skc_grid_t const grid);
148 skc_grid_complete(skc_grid_t const grid);
159 skc_grid_move(skc_grid_t const grid,
/external/skqp/src/compute/skc/
Dgrid.c151 skc_grid_call(skc_grid_t const grid, struct skc_grid_pfn_name const * const pn) in skc_grid_call() argument
154 pn->pfn(grid); in skc_grid_call()
160 skc_grid_schedule(skc_grid_t const grid, struct skc_grid_pfn_name const * const pn) in skc_grid_schedule() argument
163 skc_scheduler_schedule(grid->deps->scheduler,pn->pfn,grid,pn->name); in skc_grid_schedule()
173 skc_grid_invalidate(skc_grid_t const grid) in skc_grid_invalidate() argument
175 if (grid->addr != NULL) { in skc_grid_invalidate()
176 *grid->addr = NULL; in skc_grid_invalidate()
186 skc_grid_move(skc_grid_t const grid,
191 skc_grid_invalidate(grid);
193 grid->state = state;
[all …]
Dgrid.h29 typedef void (* skc_grid_pfn)(skc_grid_t const grid);
35 #define SKC_IS_GRID_INVALID(grid) (grid == NULL) argument
87 skc_grid_detach(skc_grid_t const grid);
95 skc_grid_get_data(skc_grid_t const grid);
98 skc_grid_set_data(skc_grid_t const grid, void * const data);
105 skc_grid_map(skc_grid_t const grid, skc_handle_t const handle);
138 skc_grid_start(skc_grid_t const grid);
141 skc_grid_force(skc_grid_t const grid);
148 skc_grid_complete(skc_grid_t const grid);
159 skc_grid_move(skc_grid_t const grid,
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dspecial_math_test.py62 grid = np.linspace(grid_spec.min, grid_spec.max, num=num_points).astype(dtype)
64 grid += 0.1 * grid_spacing * rng.randn(*grid.shape)
66 grid = np.sort(grid)
67 return np.reshape(grid, grid_spec.shape)
169 grid = _make_grid(dtype, grid_spec)
170 actual = self.evaluate(sm.log_ndtr(grid))
182 expected = special.log_ndtr(grid)
195 grid = _make_grid(dtype, grid_spec)
196 actual = self.evaluate(sm.ndtr(grid))
208 expected = special.ndtr(grid)
[all …]
/external/perfetto/ui/src/assets/
Drecord.scss31 display: grid;
32 grid-template-columns: 2fr 5fr;
33 grid-template-rows: 1fr;
34 grid-template-areas: "sidebar section";
40 grid-area: sidebar;
74 display: grid;
75 grid-template-columns: 50px 1fr;
76 grid-template-rows: 40px 1fr;
77 grid-template-areas: "icon title" "icon subtext";
89 grid-area: icon;
[all …]
Dcommon.scss90 display: grid;
91 grid-template-areas:
95 grid-template-rows: var(--topbar-height) auto 1fr;
96 grid-template-columns: var(--sidebar-width) auto;
130 grid-area: page;
140 grid-area: alerts;
236 display: grid;
237 grid-template-columns: auto 1fr;
238 grid-template-rows: 1fr 0;
243 grid-column: 1 / span 2;
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DBufferLibrary.java36 public void add(Grid grid) { in add() argument
37 mGridList.add(grid); in add()
48 Grid grid = mGridList.get(x); in generateHardwareBuffers() local
49 grid.generateHardwareBuffers(gl); in generateHardwareBuffers()
58 Grid grid = mGridList.get(x); in releaseHardwareBuffers() local
59 grid.releaseHardwareBuffers(gl); in releaseHardwareBuffers()
68 Grid grid = mGridList.get(x); in invalidateHardwareBuffers() local
69 grid.invalidateHardwareBuffers(); in invalidateHardwareBuffers()
DTiledVertexGrid.java84 Grid grid = null; in generateGrid() local
86 grid = new Grid(tilesAcross, tilesDown, false); in generateGrid()
122 grid.set(tileX, tileY, positions, uvs); in generateGrid()
127 return grid; in generateGrid()
145 Grid grid = generateGrid((int)mWorldPixelWidth, (int)mWorldPixelHeight, 0, 0); in draw() local
146 mTileMap = grid; in draw()
148 if (grid != null) { in draw()
149 bufferLibrary.add(grid); in draw()
151 grid.generateHardwareBuffers(gl); in draw()
/external/python/cpython2/Tools/pynche/
DTypeinViewer.py30 self.__frame.grid(row=3, column=1, sticky='NSEW')
33 self.__xl.grid(row=0, column=0, sticky=E)
35 subframe.grid(row=0, column=1)
37 self.__xox.grid(row=0, column=0, sticky=E)
40 self.__x.grid(row=0, column=1)
46 self.__yl.grid(row=1, column=0, sticky=E)
48 subframe.grid(row=1, column=1)
50 self.__yox.grid(row=0, column=0, sticky=E)
53 self.__y.grid(row=0, column=1)
57 self.__zl.grid(row=2, column=0, sticky=E)
[all …]
/external/python/cpython3/Tools/pynche/
DTypeinViewer.py30 self.__frame.grid(row=3, column=1, sticky='NSEW')
33 self.__xl.grid(row=0, column=0, sticky=E)
35 subframe.grid(row=0, column=1)
37 self.__xox.grid(row=0, column=0, sticky=E)
40 self.__x.grid(row=0, column=1)
46 self.__yl.grid(row=1, column=0, sticky=E)
48 subframe.grid(row=1, column=1)
50 self.__yox.grid(row=0, column=0, sticky=E)
53 self.__y.grid(row=0, column=1)
57 self.__zl.grid(row=2, column=0, sticky=E)
[all …]
/external/libxcam/xcore/
Dx3a_stats_pool.cpp85 const uint32_t grid = 16; in fixate_video_info() local
87 _stats_info.aligned_width = (info.width + grid - 1) / grid; in fixate_video_info()
88 _stats_info.aligned_height = (info.height + grid - 1) / grid; in fixate_video_info()
90 _stats_info.width = info.width / grid; in fixate_video_info()
91 _stats_info.height = info.height / grid; in fixate_video_info()
92 _stats_info.grid_pixel_size = grid; in fixate_video_info()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dreqd-work-group-size.ll89 %gep.grid.size.x = getelementptr inbounds i8, i8 addrspace(4)* %dispatch.ptr, i64 12
90 %gep.grid.size.x.bc = bitcast i8 addrspace(4)* %gep.grid.size.x to i32 addrspace(4)*
91 %grid.size.x = load i32, i32 addrspace(4)* %gep.grid.size.x.bc, align 4
95 %sub = sub i32 %grid.size.x, %group.id_x_group.size.x
110 %gep.grid.size.y = getelementptr inbounds i8, i8 addrspace(4)* %dispatch.ptr, i64 16
111 %gep.grid.size.y.bc = bitcast i8 addrspace(4)* %gep.grid.size.y to i32 addrspace(4)*
112 %grid.size.y = load i32, i32 addrspace(4)* %gep.grid.size.y.bc, align 4
116 %sub = sub i32 %grid.size.y, %group.id_x_group.size.y
131 %gep.grid.size.z = getelementptr inbounds i8, i8 addrspace(4)* %dispatch.ptr, i64 20
132 %gep.grid.size.z.bc = bitcast i8 addrspace(4)* %gep.grid.size.z to i32 addrspace(4)*
[all …]
/external/tensorflow/tensorflow/contrib/image/python/ops/
Ddense_image_warp.py31 def _interpolate_bilinear(grid, argument
57 grid = ops.convert_to_tensor(grid)
59 shape = grid.get_shape().as_list()
62 raise ValueError(msg + str(grid.get_shape()))
64 batch_size, height, width, channels = (array_ops.shape(grid)[0],
65 array_ops.shape(grid)[1],
66 array_ops.shape(grid)[2],
67 array_ops.shape(grid)[3])
71 grid_type = grid.dtype
135 grid, [batch_size * height * width, channels])
/external/skia/src/compute/skc/platforms/cl_12/
Dstyling_cl_12.c32 skc_styling_unmap_complete(skc_grid_t const grid) in skc_styling_unmap_complete() argument
34 struct skc_styling_impl * const impl = skc_grid_get_data(grid); in skc_styling_unmap_complete()
38 skc_grid_complete(grid); in skc_styling_unmap_complete()
43 skc_styling_unmap_cb(cl_event event, cl_int status, skc_grid_t const grid) in skc_styling_unmap_cb() argument
47 struct skc_styling_impl * const impl = skc_grid_get_data(grid); in skc_styling_unmap_cb()
51 SKC_SCHEDULER_SCHEDULE(scheduler,skc_styling_unmap_complete,grid); in skc_styling_unmap_cb()
56 skc_styling_grid_pfn_execute(skc_grid_t const grid) in skc_styling_grid_pfn_execute() argument
58 struct skc_styling_impl * const impl = skc_grid_get_data(grid); in skc_styling_grid_pfn_execute()
71 cl(SetEventCallback(complete,CL_COMPLETE,skc_styling_unmap_cb,grid)); in skc_styling_grid_pfn_execute()
105 impl->grid = SKC_GRID_DEPS_ATTACH(runtime->deps, in skc_styling_pfn_seal()
[all …]
Draster_builder_cl_12.c376 skc_raster_builder_cohort_grid_pfn_dispose(skc_grid_t const grid) in skc_raster_builder_cohort_grid_pfn_dispose() argument
393 struct skc_raster_cohort * const cohort = skc_grid_get_data(grid); in skc_raster_builder_cohort_grid_pfn_dispose()
456 skc_raster_cohort_prefix_release(skc_grid_t const grid) in skc_raster_cohort_prefix_release() argument
461 skc_grid_complete(grid); in skc_raster_cohort_prefix_release()
466 skc_raster_cohort_prefix_cb(cl_event event, cl_int status, skc_grid_t const grid) in skc_raster_cohort_prefix_cb() argument
470 struct skc_raster_cohort * const cohort = skc_grid_get_data(grid); in skc_raster_cohort_prefix_cb()
474 SKC_SCHEDULER_SCHEDULE(scheduler,skc_raster_cohort_prefix_release,grid); in skc_raster_cohort_prefix_cb()
500 skc_raster_cohort_sort_prefix(skc_grid_t const grid) in skc_raster_cohort_sort_prefix() argument
518 struct skc_raster_cohort * const cohort = skc_grid_get_data(grid); in skc_raster_cohort_sort_prefix()
769 cl(SetEventCallback(complete,CL_COMPLETE,skc_raster_cohort_prefix_cb,grid)); in skc_raster_cohort_sort_prefix()
[all …]
/external/skqp/src/compute/skc/platforms/cl_12/
Dstyling_cl_12.c32 skc_styling_unmap_complete(skc_grid_t const grid) in skc_styling_unmap_complete() argument
34 struct skc_styling_impl * const impl = skc_grid_get_data(grid); in skc_styling_unmap_complete()
38 skc_grid_complete(grid); in skc_styling_unmap_complete()
43 skc_styling_unmap_cb(cl_event event, cl_int status, skc_grid_t const grid) in skc_styling_unmap_cb() argument
47 struct skc_styling_impl * const impl = skc_grid_get_data(grid); in skc_styling_unmap_cb()
51 SKC_SCHEDULER_SCHEDULE(scheduler,skc_styling_unmap_complete,grid); in skc_styling_unmap_cb()
56 skc_styling_grid_pfn_execute(skc_grid_t const grid) in skc_styling_grid_pfn_execute() argument
58 struct skc_styling_impl * const impl = skc_grid_get_data(grid); in skc_styling_grid_pfn_execute()
71 cl(SetEventCallback(complete,CL_COMPLETE,skc_styling_unmap_cb,grid)); in skc_styling_grid_pfn_execute()
105 impl->grid = SKC_GRID_DEPS_ATTACH(runtime->deps, in skc_styling_pfn_seal()
[all …]
Draster_builder_cl_12.c376 skc_raster_builder_cohort_grid_pfn_dispose(skc_grid_t const grid) in skc_raster_builder_cohort_grid_pfn_dispose() argument
393 struct skc_raster_cohort * const cohort = skc_grid_get_data(grid); in skc_raster_builder_cohort_grid_pfn_dispose()
456 skc_raster_cohort_prefix_release(skc_grid_t const grid) in skc_raster_cohort_prefix_release() argument
461 skc_grid_complete(grid); in skc_raster_cohort_prefix_release()
466 skc_raster_cohort_prefix_cb(cl_event event, cl_int status, skc_grid_t const grid) in skc_raster_cohort_prefix_cb() argument
470 struct skc_raster_cohort * const cohort = skc_grid_get_data(grid); in skc_raster_cohort_prefix_cb()
474 SKC_SCHEDULER_SCHEDULE(scheduler,skc_raster_cohort_prefix_release,grid); in skc_raster_cohort_prefix_cb()
500 skc_raster_cohort_sort_prefix(skc_grid_t const grid) in skc_raster_cohort_sort_prefix() argument
518 struct skc_raster_cohort * const cohort = skc_grid_get_data(grid); in skc_raster_cohort_sort_prefix()
769 cl(SetEventCallback(complete,CL_COMPLETE,skc_raster_cohort_prefix_cb,grid)); in skc_raster_cohort_sort_prefix()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/util/
Dfactor.hpp63 const std::vector<T> &grid, in next_grid_factor() argument
73 return next_grid_factor(limits, grid, factors, in next_grid_factor()
85 grid[d] % block.second[d] == 0) { in next_grid_factor()
97 return next_grid_factor(limits, grid, factors, in next_grid_factor()
113 const std::vector<T> &grid) { in find_grid_optimal_factor() argument
115 map(find_integer_prime_factors<T>, grid, coord_limit); in find_grid_optimal_factor()
117 auto best = std::make_pair(T(1), std::vector<T>(grid.size(), T(1))); in find_grid_optimal_factor()
121 block = detail::next_grid_factor(limits, grid, factors, block)) { in find_grid_optimal_factor()
/external/deqp/modules/gles3/functional/
Des3fVertexTextureTests.cpp429 …Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst) in setPixelColors() argument
431 const int gridSize = grid.getSize(); in setPixelColors()
437 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] in setPixelColors()
460 …oat lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst,… in computeReference() argument
462 const int gridSize = grid.getSize(); in computeReference()
469 const typename TexTypeCoordVec<TexType>::t& coord = grid.getQuadTexCoord(x, y); in computeReference()
474 setPixelColors(quadColors, dstRegion, grid, dst); in computeReference()
502 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const;
503 void renderCell (int textureNdx, float lod, const Grid& grid) const;
504 …void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, co…
[all …]
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp334 …Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst) in setPixelColors() argument
336 const int gridSize = grid.getSize(); in setPixelColors()
342 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] in setPixelColors()
363 …oat lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst,… in computeReference() argument
365 const int gridSize = grid.getSize(); in computeReference()
372 const typename TexTypeCoordVec<TexType>::t& coord = grid.getQuadTexCoord(x, y); in computeReference()
377 setPixelColors(quadColors, dstRegion, grid, dst); in computeReference()
405 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const;
406 void renderCell (int textureNdx, float lod, const Grid& grid) const;
407 …void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, co…
[all …]
/external/python/cpython2/Lib/idlelib/
DaboutDialog.py51 labelTitle.grid(row=0, column=0, sticky=W, padx=10, pady=10)
59 labelDesc.grid(row=2, column=0, sticky=W, columnspan=3, padx=10, pady=5)
62 labelEmail.grid(row=6, column=0, columnspan=2,
67 labelWWW.grid(row=7, column=0, columnspan=2, sticky=W, padx=10, pady=0)
69 height=2, bg=self.bg).grid(row=8, column=0, sticky=EW,
73 labelPythonVer.grid(row=9, column=0, sticky=W, padx=10, pady=0)
77 labelTkVer.grid(row=9, column=1, sticky=W, padx=2, pady=0)
79 py_button_f.grid(row=10, column=0, columnspan=2, sticky=NSEW)
93 height=2, bg=self.bg).grid(row=11, column=0, sticky=EW,
97 idle_v.grid(row=12, column=0, sticky=W, padx=10, pady=0)
[all …]
DkeybindingDialog.py60 self.buttonOK.grid(row=0,column=0,padx=5,pady=5)
63 self.buttonCancel.grid(row=0,column=1,padx=5,pady=5)
68 self.frameKeySeqAdvanced.grid(row=0,column=0,sticky=NSEW,padx=5,pady=5)
69 self.frameKeySeqBasic.grid(row=0,column=0,sticky=NSEW,padx=5,pady=5)
71 self.frameHelpAdvanced.grid(row=1,column=0,sticky=NSEW,padx=5)
72 self.frameControlsBasic.grid(row=1,column=0,sticky=NSEW,padx=5)
76 self.buttonLevel.grid(row=2,column=0,stick=EW,padx=5,pady=5)
90 check.grid(row=0,column=column,padx=2,sticky=W)
101 labelFnAdvice.grid(row=1,column=0,columnspan=4,padx=2,sticky=W)
105 self.listKeysFinal.grid(row=0,column=4,rowspan=4,sticky=NS)
[all …]
/external/python/cpython3/Lib/idlelib/
Dconfig_key.py109 self.button_ok.grid(row=0, column=0, padx=5, pady=5)
112 self.button_cancel.grid(row=0, column=1, padx=5, pady=5)
116 self.frame_keyseq_basic.grid(row=0, column=0, sticky='nsew',
129 self.frame_controls_basic.grid(row=1, column=0, sticky='nsew', padx=5)
139 check.grid(row=0, column=column, padx=2, sticky='w')
151 help_basic.grid(row=1, column=0, columnspan=4, padx=2, sticky='w')
158 self.list_keys_final.grid(row=0, column=4, rowspan=4, sticky='ns')
163 scroll_keys_final.grid(row=0, column=5, rowspan=4, sticky='ns')
167 self.button_clear.grid(row=2, column=0, columnspan=4)
171 self.frame_keyseq_advanced.grid(row=0, column=0, sticky='nsew',
[all …]
Dhelp_about.py74 header.grid(row=0, column=0, sticky=E, padx=10, pady=10)
82 logo.grid(row=0, column=0, sticky=W, rowspan=2, padx=10, pady=10)
87 byline.grid(row=2, column=0, sticky=W, columnspan=3, padx=10, pady=5)
90 email.grid(row=6, column=0, columnspan=2, sticky=W, padx=10, pady=0)
94 docs.grid(row=7, column=0, columnspan=2, sticky=W, padx=10, pady=0)
97 height=2, bg=self.bg).grid(row=8, column=0, sticky=EW,
103 pyver.grid(row=9, column=0, sticky=W, padx=10, pady=0)
106 tkver.grid(row=9, column=1, sticky=W, padx=2, pady=0)
108 py_buttons.grid(row=10, column=0, columnspan=2, sticky=NSEW)
123 height=2, bg=self.bg).grid(row=11, column=0, sticky=EW,
[all …]

123456789