/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv20_state_tnl.c | 36 #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/ |
D | tdemo_bytedesign.py | 110 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/ |
D | bytedesign.py | 109 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/ |
D | trmul.cc | 79 for (Side side : {Side::kLhs, Side::kRhs}) { in Run() 80 if (!params_->is_prepacked[side]) { in Run() 81 const int size = NumBlocksPerSide(side, block_map_); in Run() 82 local_allocator_->Allocate(size, &local_already_packed_[side]); in Run() 83 memset(local_already_packed_[side], 0, size * sizeof(bool)); in Run() 123 bool TryPack(Side side, int block, int start, int end, Tuning tuning) { in TryPack() argument 124 if (params_->is_prepacked[side]) { in TryPack() 127 if (!local_already_packed_[side][block]) { in TryPack() 164 std::atomic<PackingStatus>& status = packing_status_[side][block]; in TryPack() 172 params_->RunPack(side, tuning, start, end); in TryPack() [all …]
|
D | prepare_packed_matrices.cc | 37 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()
|
D | side_pair.h | 33 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);
|
D | block_map.cc | 122 for (Side side : {Side::kLhs, Side::kRhs}) { in GetBlockByIndex() 123 const std::uint32_t mask = (1u << block_map.rectangularness_log2[side]) - 1; in GetBlockByIndex() 126 (*block)[side] = local_pos[side] + rectangular_offset; in GetBlockByIndex() 472 void GetBlockMatrixCoords(Side side, const BlockMap& block_map, int block, in GetBlockMatrixCoords() argument 475 *start = block * block_map.small_block_dims[side] + in GetBlockMatrixCoords() 476 std::min(block, block_map.large_blocks[side]) * in GetBlockMatrixCoords() 477 block_map.kernel_dims[side]; in GetBlockMatrixCoords() 479 *start + block_map.small_block_dims[side] + in GetBlockMatrixCoords() 480 (block < block_map.large_blocks[side] ? block_map.kernel_dims[side] : 0); in GetBlockMatrixCoords() 482 RUY_DCHECK_EQ(0, *start % block_map.kernel_dims[side]); in GetBlockMatrixCoords() [all …]
|
/external/python/cpython2/Demo/tix/samples/ |
D | NoteBook.py | 48 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/ |
D | static_range_map_unittest.cc | 210 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 …]
|
D | range_map_unittest.cc | 130 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/cpython2/Lib/lib-tk/test/test_tkinter/ |
D | test_geometry_managers.py | 33 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/tkinter/test/test_tkinter/ |
D | test_geometry_managers.py | 33 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/ |
D | configdialog.py | 126 note.pack(side=TOP, expand=TRUE, fill=BOTH) 127 self.create_action_buttons().pack(side=BOTTOM) 163 self.buttons[txt].pack(side=LEFT, padx=5) 165 Frame(outer, height=2, borderwidth=0).pack(side=TOP) 166 buttons_frame.pack(side=BOTTOM) 585 frame_font_name.pack(side=TOP, padx=5, pady=5, fill=X) 586 frame_font_param.pack(side=TOP, padx=5, pady=5, fill=X) 587 font_name_title.pack(side=TOP, anchor=W) 588 self.fontlist.pack(side=LEFT, expand=TRUE, fill=X) 589 scroll_font.pack(side=LEFT, fill=Y) [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | searchsorted_op_test.py | 33 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/llvm-project/llvm/test/Analysis/ScalarEvolution/ |
D | exact_iter_count.ll | 4 ; One side exit dominating the latch, exact backedge taken count is known. 15 %side.cond = icmp slt i32 %iv, 50 16 br i1 %side.cond, label %backedge, label %side.exit 26 side.exit: 49 %side.cond = icmp slt i32 %iv, 50 50 br i1 %side.cond, label %backedge, label %side.exit 60 side.exit:
|
/external/walt/pywalt/pywalt/ |
D | minimization.py | 56 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/python/cpython2/Demo/tix/ |
D | tixwidgets.py | 62 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/ |
D | ExternalTypeIdWithCreatorTest.java | 27 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/ |
D | firmware_PDTrySrc.py | 117 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/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/ |
D | example-select-03.kt | 12 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/python/cpython2/Tools/webchecker/ |
D | tktools.py | 91 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/python/cpython2/Lib/idlelib/ |
D | configDialog.py | 83 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/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorContractionMapper.h | 73 template<typename Scalar, typename Index, int side, 115 const bool left = (side == Lhs); 124 if (side == Lhs && inner_dim_contiguous) { 140 if (side == Rhs && inner_dim_contiguous) { 153 const bool left = (side == Lhs); 165 if (side == Lhs && inner_dim_contiguous) { 186 if (side == Rhs && inner_dim_contiguous) { 202 return (Alignment == Aligned) && (side == Lhs) && inner_dim_contiguous ? 0 : size; 205 …return ((side == Lhs) && inner_dim_contiguous && array_size<contract_t>::value > 0) ? m_contract_s… 217 template<typename Scalar, typename Index, int side, [all …]
|
/external/python/cpython2/Demo/tkinter/guido/ |
D | dialog.py | 21 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/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | bugprone-assert-side-effect.rst | 1 .. title:: clang-tidy - bugprone-assert-side-effect 3 bugprone-assert-side-effect 6 Finds ``assert()`` with side effect. 9 condition with side effect can cause different behavior in debug / release 22 side effects. Disabled by default because it can increase the number of false
|