Home
last modified time | relevance | path

Searched refs:side (Results 1 – 25 of 3129) sorted by relevance

12345678910>>...126

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tnl.c36 #define LIGHT_MODEL_AMBIENT_R(side) \ argument
37 ((side) ? NV20_3D_LIGHT_MODEL_BACK_AMBIENT_R : \
39 #define LIGHT_AMBIENT_R(side, i) \ argument
40 ((side) ? NV20_3D_LIGHT_BACK_AMBIENT_R(i) : \
42 #define LIGHT_DIFFUSE_R(side, i) \ argument
43 ((side) ? NV20_3D_LIGHT_BACK_DIFFUSE_R(i) : \
45 #define LIGHT_SPECULAR_R(side, i) \ argument
46 ((side) ? NV20_3D_LIGHT_BACK_SPECULAR_R(i) : \
48 #define MATERIAL_FACTOR_R(side) \ argument
49 ((side) ? NV20_3D_MATERIAL_FACTOR_BACK_R : \
[all …]
/external/python/cpython2/Demo/turtle/
Dtdemo_bytedesign.py110 def pentl(self, side, ang, scale): argument
111 if side < (2 * scale): return
112 self.forward(side)
114 self.pentl(side - (.38 * scale), ang, scale)
116 def pentr(self, side, ang, scale): argument
117 if side < (2 * scale): return
118 self.forward(side)
120 self.pentr(side - (.38 * scale), ang, scale)
122 def tripolyr(self, side, scale): argument
123 if side < (4 * scale): return
[all …]
/external/python/cpython3/Lib/turtledemo/
Dbytedesign.py109 def pentl(self, side, ang, scale): argument
110 if side < (2 * scale): return
111 self.forward(side)
113 self.pentl(side - (.38 * scale), ang, scale)
115 def pentr(self, side, ang, scale): argument
116 if side < (2 * scale): return
117 self.forward(side)
119 self.pentr(side - (.38 * scale), ang, scale)
121 def tripolyr(self, side, scale): argument
122 if side < (4 * scale): return
[all …]
/external/ruy/ruy/
Dtrmul.cc80 for (Side side : {Side::kLhs, Side::kRhs}) { in Run()
81 if (!params_->is_prepacked[side]) { in Run()
82 const int size = NumBlocksPerSide(side, block_map_); in Run()
83 local_allocator_->Allocate(size, &local_already_packed_[side]); in Run()
84 memset(local_already_packed_[side], 0, size * sizeof(bool)); in Run()
124 bool TryPack(Side side, int block, int start, int end, Tuning tuning) { in TryPack() argument
125 if (params_->is_prepacked[side]) { in TryPack()
128 if (!local_already_packed_[side][block]) { in TryPack()
165 std::atomic<PackingStatus>& status = packing_status_[side][block]; in TryPack()
173 params_->RunPack(side, tuning, start, end); in TryPack()
[all …]
Dprepare_packed_matrices.cc37 bool ShouldCache(const TrMulParams& params, Side side) { in ShouldCache() argument
38 const CachePolicy cache_policy = params.src[side].cache_policy; in ShouldCache()
41 const Side other_side = OtherSide(side); in ShouldCache()
71 for (Side side : {Side::kLhs, Side::kRhs}) { in PreparePackedMatrices()
72 PEMat& packed_matrix = params->packed_matrix[side]; in PreparePackedMatrices()
73 if (ShouldCache(*params, side)) { in PreparePackedMatrices()
76 auto action = cache->Get(params->src[side].data, &packed_matrix); in PreparePackedMatrices()
79 params->RunPack(side, ctx->GetMainThreadTuning(), 0, in PreparePackedMatrices()
82 params->is_prepacked[side] = true; in PreparePackedMatrices()
88 DataBytes(packed_matrix), params->src[side].data); in PreparePackedMatrices()
Dblock_map.cc123 for (Side side : {Side::kLhs, Side::kRhs}) { in GetBlockByIndex()
124 const std::uint32_t mask = (1u << block_map.rectangularness_log2[side]) - 1; in GetBlockByIndex()
127 (*block)[side] = local_pos[side] + rectangular_offset; in GetBlockByIndex()
473 void GetBlockMatrixCoords(Side side, const BlockMap& block_map, int block, in GetBlockMatrixCoords() argument
476 *start = block * block_map.small_block_dims[side] + in GetBlockMatrixCoords()
477 std::min(block, block_map.large_blocks[side]) * in GetBlockMatrixCoords()
478 block_map.kernel_dims[side]; in GetBlockMatrixCoords()
480 *start + block_map.small_block_dims[side] + in GetBlockMatrixCoords()
481 (block < block_map.large_blocks[side] ? block_map.kernel_dims[side] : 0); in GetBlockMatrixCoords()
483 RUY_DCHECK_EQ(0, *start % block_map.kernel_dims[side]); in GetBlockMatrixCoords()
[all …]
Dside_pair.h33 inline Side OtherSide(Side side) { in OtherSide() argument
34 return side == Side::kLhs ? Side::kRhs : Side::kLhs; in OtherSide()
44 const T& operator[](Side side) const {
45 const int index = static_cast<int>(side);
52 T& operator[](Side side) {
53 const int index = static_cast<int>(side);
/external/python/cpython2/Demo/tix/samples/
DNoteBook.py48 nb.pack(expand=1, fill=Tix.BOTH, padx=5, pady=5 ,side=Tix.TOP)
60 f.pack(side=Tix.LEFT, padx=2, pady=2, fill=Tix.BOTH, expand=1)
61 common.pack(side=Tix.RIGHT, padx=2, fill=Tix.Y)
68 a.pack(side=Tix.TOP, padx=20, pady=2)
69 w.pack(side=Tix.TOP, padx=20, pady=2)
70 r.pack(side=Tix.TOP, padx=20, pady=2)
71 c.pack(side=Tix.TOP, padx=20, pady=2)
85 f.pack(side=Tix.LEFT, padx=2, pady=2, fill=Tix.BOTH, expand=1)
86 common.pack(side=Tix.RIGHT, padx=2, fill=Tix.Y)
94 a.pack(side=Tix.TOP, padx=20, pady=2)
[all …]
/external/google-breakpad/src/processor/
Dstatic_range_map_unittest.cc210 for (unsigned int side = 0; side <= 1; ++side) { in RetrieveTest() local
224 if (!side) // When checking the low side, in RetrieveTest()
233 (!side ? range_test->address : in RetrieveTest()
241 expected_result = side; // should fail low and succeed high. in RetrieveTest()
243 expected_result = !side; // should succeed low and fail high. in RetrieveTest()
256 << ", side " << side << ", offset " << offset << " FAILED."; in RetrieveTest()
263 << ", side " << side << ", offset " << offset << " FAILED."; in RetrieveTest()
266 << ", side " << side << ", offset " << offset << " FAILED."; in RetrieveTest()
273 if (!side && offset < 0) in RetrieveTest()
287 if (side && offset > 0 && nearest_base == address) { in RetrieveTest()
[all …]
Drange_map_unittest.cc130 for (unsigned int side = 0; side <= 1; ++side) { in RetrieveTest() local
144 if (!side) // When checking the low side, in RetrieveTest()
153 (!side ? range_test->address : in RetrieveTest()
161 expected_result = side; // should fail low and succeed high. in RetrieveTest()
163 expected_result = !side; // should succeed low and fail high. in RetrieveTest()
182 side, in RetrieveTest()
198 side, in RetrieveTest()
209 if (!side && offset < 0) in RetrieveTest()
226 if (side && offset > 0 && nearest_base == address) { in RetrieveTest()
238 side, in RetrieveTest()
[all …]
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_geometry_managers.py33 a.pack_configure(side='top')
34 b.pack_configure(side='top')
35 c.pack_configure(side='top')
36 d.pack_configure(side='top')
46 a.pack_configure(side='top', ipadx=5, padx=10, ipady=15, pady=20,
66 a.pack_configure(side='top')
67 b.pack_configure(side='top')
68 c.pack_configure(side='top')
69 d.pack_configure(side='top')
84 a.pack_configure(side='left')
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_geometry_managers.py33 a.pack_configure(side='top')
34 b.pack_configure(side='top')
35 c.pack_configure(side='top')
36 d.pack_configure(side='top')
46 a.pack_configure(side='top', ipadx=5, padx=10, ipady=15, pady=20,
66 a.pack_configure(side='top')
67 b.pack_configure(side='top')
68 c.pack_configure(side='top')
69 d.pack_configure(side='top')
84 a.pack_configure(side='left')
[all …]
/external/python/cpython3/Lib/idlelib/
Dconfigdialog.py131 note.pack(side=TOP, expand=TRUE, fill=BOTH)
132 self.create_action_buttons().pack(side=BOTTOM)
168 self.buttons[txt].pack(side=LEFT, padx=5)
170 Frame(outer, height=2, borderwidth=0).pack(side=TOP)
171 buttons_frame.pack(side=BOTTOM)
374 frame_font_name.pack(side=TOP, padx=5, pady=5, fill=X)
375 frame_font_param.pack(side=TOP, padx=5, pady=5, fill=X)
376 font_name_title.pack(side=TOP, anchor=W)
377 self.fontlist.pack(side=LEFT, expand=TRUE, fill=X)
378 scroll_font.pack(side=LEFT, fill=Y)
[all …]
/external/walt/pywalt/pywalt/
Dminimization.py56 side = ((numpy.arange(len(tl)) + 1) / 2) % 2
65 residuals0.append(calc_ssr(xl[side == 0], yl[side == 0]))
66 residuals1.append(calc_ssr(xl[side == 1], yl[side == 1]))
124 for side in [0, 1]:
125 xls = xl[sides == side]
126 yls = yl[sides == side]
127 plt.plot(xls, yls, 'o' + colors[side])
129 plt.plot(x_linear, a * x_linear + c, colors[side])
/external/tensorflow/tensorflow/compiler/tests/
Dsearchsorted_op_test.py33 for side in ['left', 'right']:
41 np_ans = np.searchsorted(sorted_sequence, values, side=side)
45 tf_ans = array_ops.searchsorted(sorted_sequence, values, side=side)
49 def _test2DExample(self, dtype, side, sorted_sequence, values, correct_ans): argument
53 tf_ans = array_ops.searchsorted(sorted_sequence, values, side=side)
/external/python/cpython2/Demo/tix/
Dtixwidgets.py62 file.pack(side=LEFT)
63 help.pack(side=RIGHT)
124 frame1.pack(side=TOP, fill=X)
125 frame3.pack(side=BOTTOM, fill=X)
126 frame2.pack(side=TOP, expand=1, fill=BOTH, padx=4, pady=4)
189 bar.pack(side=TOP, fill=X, padx=2, pady=2)
190 text.pack(side=TOP, fill=BOTH, expand=1)
220 b1.pack(side=Tix.LEFT, padx=4, pady=4)
221 b2.pack(side=Tix.LEFT, padx=4, pady=4)
334 static.pack(side=Tix.TOP, padx=5, pady=3)
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ext/
DExternalTypeIdWithCreatorTest.java27 public String side; field in ExternalTypeIdWithCreatorTest.Attack
30 public Attack(String side) { in Attack() argument
31 this.side = side; in Attack()
37 public Kick(String side) { in Kick() argument
38 super(side); in Kick()
44 public Punch(String side) { in Punch() argument
45 super(side); in Punch()
/external/autotest/server/site_tests/firmware_PDTrySrc/
Dfirmware_PDTrySrc.py117 for side in xrange(len(port_pair)):
118 original_drp[side] = port_pair[side].drp_get()
119 if port_pair[side].is_pdtester:
121 p_idx = side
122 d_idx = side ^ 1
182 for side in xrange(len(port_pair)):
183 port_pair[side].drp_set(original_drp[side])
/external/python/cpython2/Lib/idlelib/
DconfigDialog.py83 self.tabPages.pack(side=TOP, expand=TRUE, fill=BOTH)
89 self.create_action_buttons().pack(side=BOTTOM)
106 **paddingArgs).pack(side=LEFT, padx=5)
108 Frame(outer, height=2, borderwidth=0).pack(side=TOP)
109 buttons.pack(side=BOTTOM)
161 frameFont.pack(side=LEFT, padx=5, pady=5, expand=TRUE, fill=BOTH)
162 frameIndent.pack(side=LEFT, padx=5, pady=5, fill=Y)
164 frameFontName.pack(side=TOP, padx=5, pady=5, fill=X)
165 frameFontParam.pack(side=TOP, padx=5, pady=5, fill=X)
166 labelFontNameTitle.pack(side=TOP, anchor=W)
[all …]
/external/python/cpython2/Tools/webchecker/
Dtktools.py91 vbar.pack(fill=Y, side=RIGHT)
94 vbarframe.pack(fill=Y, side=RIGHT)
96 vbar.pack(in_=vbarframe, expand=1, fill=Y, side=TOP)
100 corner.pack(side=BOTTOM)
107 hbar.pack(fill=X, side=BOTTOM)
156 widget.pack(expand=expand, fill=fill, side=LEFT)
178 widget.pack(expand=expand, fill=fill, side=LEFT)
202 widget.pack(expand=expand, fill=fill, side=LEFT)
227 label.pack(side=LEFT)
233 entry.pack(side=LEFT, fill=X, expand=1)
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-select-03.kt12 fun CoroutineScope.produceNumbers(side: SendChannel<Int>) = produce<Int> { in <lambda>()
17 side.onSend(num) {} // or to the side channel in <lambda>()
23 val side = Channel<Int>() // allocate side channel in <lambda>() constant
25 side.consumeEach { println("Side channel has $it") } in <lambda>()
27 produceNumbers(side).consumeEach { in <lambda>()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorContractionMapper.h30 template <typename Scalar, typename Index, int side, typename Tensor,
110 template<typename Scalar, typename Index, int side,
152 const bool left = (side == Lhs);
163 if (side == Lhs && inner_dim_contiguous) {
180 if (side == Rhs && inner_dim_contiguous) {
193 const bool left = (side == Lhs);
207 if (side == Lhs && inner_dim_contiguous) {
229 if (side == Rhs && inner_dim_contiguous) {
245 return (Alignment == Aligned) && (side == Lhs) && inner_dim_contiguous ? 0 : size;
248 …return ((side == Lhs) && inner_dim_contiguous && array_size<contract_t>::value > 0) ? m_contract_s…
[all …]
/external/python/cpython2/Demo/tkinter/guido/
Ddialog.py21 top.pack(side=TOP, fill=BOTH)
23 bot.pack(side=BOTTOM, fill=BOTH)
29 msg.pack(side=RIGHT, expand=1, fill=BOTH, padx='3m', pady='3m')
32 bm.pack(side=LEFT, padx='3m', pady='3m')
44 bd.pack(side=LEFT, expand=1, padx='3m', pady='2m')
46 b.pack (in_=bd, side=LEFT,
49 b.pack (side=LEFT, expand=1,
/external/toybox/toys/other/
Dhexedit.c152 static void highlight(int xx, int yy, int side) in highlight() argument
158 printf("\e[%u;%uH\e[%dm", yy+1, TT.numlen+3*(xx+1), 7*(side!=2)); in highlight()
159 if (side>1) draw_byte(cc); in highlight()
161 if (side==i) printf("\e[32m"); in highlight()
166 printf("\e[7m\e[%u;%uH"+4*(side==2), yy+1, 1+TT.numlen+17*3+xx); in highlight()
195 int x, i, side = 0, key, fd; in hexedit_main() local
254 highlight(x, y, FLAG(r) ? 3 : side); in hexedit_main()
313 if (!side) { in hexedit_main()
324 TT.data[TT.pos] &= 15<<(4*side); in hexedit_main()
325 TT.data[TT.pos] |= i<<(4*!side); in hexedit_main()
[all …]
/external/libopus/silk/
Dstereo_LR_to_MS.c53 VARDECL( opus_int16, side ); in silk_stereo_LR_to_MS()
61 ALLOC( side, frame_length + 2, opus_int16 ); in silk_stereo_LR_to_MS()
67 side[ n ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( diff, 1 ) ); in silk_stereo_LR_to_MS()
72 silk_memcpy( side, state->sSide, 2 * sizeof( opus_int16 ) ); in silk_stereo_LR_to_MS()
74 silk_memcpy( state->sSide, &side[ frame_length ], 2 * sizeof( opus_int16 ) ); in silk_stereo_LR_to_MS()
89 …sum = silk_RSHIFT_ROUND( silk_ADD_LSHIFT( side[ n ] + (opus_int32)side[ n + 2 ], side[ n + 1 ], 1 … in silk_stereo_LR_to_MS()
91 HP_side[ n ] = side[ n + 1 ] - sum; in silk_stereo_LR_to_MS()
211 … sum = silk_SMLAWB( silk_SMULWB( w_Q24, side[ n + 1 ] ), sum, pred0_Q13 ); /* Q8 */ in silk_stereo_LR_to_MS()
221 … sum = silk_SMLAWB( silk_SMULWB( w_Q24, side[ n + 1 ] ), sum, pred0_Q13 ); /* Q8 */ in silk_stereo_LR_to_MS()

12345678910>>...126