/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_code.c | 47 dst->Constants = malloc(sizeof(struct rc_constant) * src->Count); in rc_constants_copy() 48 memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count); in rc_constants_copy() 55 free(c->Constants); in rc_constants_destroy() 71 memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count); in rc_constants_add() 73 free(c->Constants); in rc_constants_add() 74 c->Constants = newlist; in rc_constants_add() 77 c->Constants[index] = *constant; in rc_constants_add() 93 if (c->Constants[index].Type == RC_CONSTANT_STATE) { in rc_constants_add_state() 94 if (c->Constants[index].u.State[0] == state0 && in rc_constants_add_state() 95 c->Constants[index].u.State[1] == state1) in rc_constants_add_state() [all …]
|
D | radeon_remove_constants.c | 70 struct rc_constant *constants = c->Program.Constants.Constants; in rc_remove_unused_constants() 74 if (!c->Program.Constants.Count) { in rc_remove_unused_constants() 79 const_used = malloc(c->Program.Constants.Count); in rc_remove_unused_constants() 80 memset(const_used, 0, c->Program.Constants.Count); in rc_remove_unused_constants() 94 for (unsigned i = 0; i < c->Program.Constants.Count; i++) in rc_remove_unused_constants() 101 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants() 102 inv_remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants() 105 for (unsigned i = 0; i < c->Program.Constants.Count; i++) { in rc_remove_unused_constants() 123 assert( is_identity || new_count < c->Program.Constants.Count); in rc_remove_unused_constants() 137 c->Program.Constants.Count = new_count; in rc_remove_unused_constants() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | VertexRoutine.cpp | 120 …clipFlags = *Pointer<Int>(constants + OFFSET(Constants,maxX) + SignMask(maxX) * 4); // FIXME: Ar… in computeClipFlags() 121 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxY) + SignMask(maxY) * 4); in computeClipFlags() 122 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxZ) + SignMask(maxZ) * 4); in computeClipFlags() 123 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minX) + SignMask(minX) * 4); in computeClipFlags() 124 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minY) + SignMask(minY) * 4); in computeClipFlags() 125 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minZ) + SignMask(minZ) * 4); in computeClipFlags() 127 Int4 finiteX = CmpLE(Abs(o[pos].x), *Pointer<Float4>(constants + OFFSET(Constants,maxPos))); in computeClipFlags() 128 Int4 finiteY = CmpLE(Abs(o[pos].y), *Pointer<Float4>(constants + OFFSET(Constants,maxPos))); in computeClipFlags() 129 Int4 finiteZ = CmpLE(Abs(o[pos].z), *Pointer<Float4>(constants + OFFSET(Constants,maxPos))); in computeClipFlags() 132 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,fini) + SignMask(finiteXYZ) * 4); in computeClipFlags() [all …]
|
D | PixelRoutine.cpp | 86 x -= *Pointer<Float4>(constants + OFFSET(Constants,X) + q * sizeof(float4)); in quad() 121 XXXX += *Pointer<Float4>(constants + OFFSET(Constants,sampleX[q]) + 16 * cMask[q]); in quad() 122 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]); in quad() 123 WWWW += *Pointer<Float4>(constants + OFFSET(Constants,weight) + 16 * cMask[q]); in quad() 247 …occlusion += *Pointer<UInt>(constants + OFFSET(Constants,occlusionCount) + 4 * (zMask[q] & sMask[q… in quad() 714 …Z = As<Float4>(As<Int4>(Z) & *Pointer<Int4>(constants + OFFSET(Constants,maskD4X) + zMask * 16, 16… in writeDepth() 715 …zValue = As<Float4>(As<Int4>(zValue) & *Pointer<Int4>(constants + OFFSET(Constants,invMaskD4X) + z… in writeDepth() 789 newValue &= *Pointer<Byte8>(constants + OFFSET(Constants,maskB4Q) + 8 * cMask); in writeStencil() 790 bufferValue &= *Pointer<Byte8>(constants + OFFSET(Constants,invMaskB4Q) + 8 * cMask); in writeStencil() 818 pass &= *Pointer<Byte8>(constants + OFFSET(Constants,maskB4Q) + 8 * zMask); in stencilOperation() [all …]
|
D | Constants.hpp | 22 struct Constants struct 24 Constants(); 110 extern Constants constants;
|
/third_party/skia/third_party/externals/tint/test/bug/tint/ |
D | 998.wgsl.expected.spvasm | 10 OpName %Constants "Constants" 11 OpMemberName %Constants 0 "zero" 20 OpDecorate %Constants Block 21 OpMemberDecorate %Constants 0 Offset 0 33 %Constants = OpTypeStruct %uint 34 %_ptr_Uniform_Constants = OpTypePointer Uniform %Constants
|
D | 993.wgsl.expected.spvasm | 10 OpName %Constants "Constants" 11 OpMemberName %Constants 0 "zero" 21 OpDecorate %Constants Block 22 OpMemberDecorate %Constants 0 Offset 0 37 %Constants = OpTypeStruct %uint 38 %_ptr_Uniform_Constants = OpTypePointer Uniform %Constants
|
D | 757.wgsl.expected.spvasm | 11 OpName %Constants "Constants" 12 OpMemberName %Constants 0 "level" 25 OpDecorate %Constants Block 26 OpMemberDecorate %Constants 0 Offset 0 42 %Constants = OpTypeStruct %int 43 %_ptr_Uniform_Constants = OpTypePointer Uniform %Constants
|
D | 993.wgsl.expected.msl | 4 struct Constants { 17 int runTest(device TestData* const tint_symbol_1, const constant Constants* const tint_symbol_2) { 21 …ffer(1)]], device TestData* tint_symbol_4 [[buffer(2)]], const constant Constants* tint_symbol_5 […
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | pass_remove_duplicates_test.cpp | 322 OpName %4 "Constants" in TEST_F() 346 OpName %4 "Constants" in TEST_F() 374 OpName %3 "Constants" in TEST_F() 396 OpName %3 "Constants" in TEST_F() 423 OpName %3 "Constants" in TEST_F() 449 OpName %3 "Constants" in TEST_F() 481 OpName %3 "Constants" in TEST_F() 501 OpName %3 "Constants" in TEST_F() 530 OpName %3 "Constants" in TEST_F() 550 OpName %3 "Constants" in TEST_F() [all …]
|
/third_party/spirv-tools/test/opt/ |
D | pass_remove_duplicates_test.cpp | 322 OpName %4 "Constants" in TEST_F() 346 OpName %4 "Constants" in TEST_F() 374 OpName %3 "Constants" in TEST_F() 396 OpName %3 "Constants" in TEST_F() 423 OpName %3 "Constants" in TEST_F() 449 OpName %3 "Constants" in TEST_F() 481 OpName %3 "Constants" in TEST_F() 501 OpName %3 "Constants" in TEST_F() 530 OpName %3 "Constants" in TEST_F() 550 OpName %3 "Constants" in TEST_F() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | pass_remove_duplicates_test.cpp | 322 OpName %4 "Constants" in TEST_F() 346 OpName %4 "Constants" in TEST_F() 374 OpName %3 "Constants" in TEST_F() 396 OpName %3 "Constants" in TEST_F() 423 OpName %3 "Constants" in TEST_F() 449 OpName %3 "Constants" in TEST_F() 481 OpName %3 "Constants" in TEST_F() 501 OpName %3 "Constants" in TEST_F() 530 OpName %3 "Constants" in TEST_F() 550 OpName %3 "Constants" in TEST_F() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZConstantPoolValue.cpp | 31 const std::vector<MachineConstantPoolEntry> &Constants = CP->getConstants(); in getExistingMachineCPValue() local 32 for (unsigned I = 0, E = Constants.size(); I != E; ++I) { in getExistingMachineCPValue() 33 if (Constants[I].isMachineConstantPoolEntry() && in getExistingMachineCPValue() 34 (Constants[I].getAlignment() & AlignMask) == 0) { in getExistingMachineCPValue() 36 static_cast<SystemZConstantPoolValue *>(Constants[I].Val.MachineCPVal); in getExistingMachineCPValue()
|
/third_party/boost/boost/geometry/strategies/spherical/ |
D | envelope_multipoint.hpp | 66 template <typename Constants, typename MultiPoint, typename OutputIterator> 96 Constants::min_latitude())) in analyze_point_coordinates() 101 Constants::max_latitude())) in analyze_point_coordinates() 144 typename Constants, 169 if (math::larger(lon_max - lon_min, Constants::half_period())) in get_min_max_longitudes() 178 = Constants::period() + lon_min - lon_max; in get_min_max_longitudes() 183 lon_max = max_gap_left + Constants::period(); in get_min_max_longitudes() 190 typename Constants, 205 lat_min = Constants::min_latitude(); in get_min_max_latitudes() 206 lat_max = Constants::max_latitude(); in get_min_max_latitudes() [all …]
|
/third_party/flatbuffers/java/com/google/flatbuffers/ |
D | FlatBufferBuilder.java | 19 import static com.google.flatbuffers.Constants.*; 337 …public void putBoolean(boolean x) { bb.put (space -= Constants.SIZEOF_BYTE, (byte)(x ? 1 : 0)… in putBoolean() 345 public void putByte (byte x) { bb.put (space -= Constants.SIZEOF_BYTE, x); } in putByte() 353 public void putShort (short x) { bb.putShort (space -= Constants.SIZEOF_SHORT, x); } in putShort() 361 public void putInt (int x) { bb.putInt (space -= Constants.SIZEOF_INT, x); } in putInt() 369 public void putLong (long x) { bb.putLong (space -= Constants.SIZEOF_LONG, x); } in putLong() 377 public void putFloat (float x) { bb.putFloat (space -= Constants.SIZEOF_FLOAT, x); } in putFloat() 385 public void putDouble (double x) { bb.putDouble(space -= Constants.SIZEOF_DOUBLE, x); } in putDouble() 393 public void addBoolean(boolean x) { prep(Constants.SIZEOF_BYTE, 0); putBoolean(x); } in addBoolean() 400 public void addByte (byte x) { prep(Constants.SIZEOF_BYTE, 0); putByte (x); } in addByte() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | VertexRoutine.cpp | 132 clipFlags = Pointer<Int>(constants + OFFSET(Constants, maxX))[SignMask(maxX)]; in computeClipFlags() 133 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, maxY))[SignMask(maxY)]; in computeClipFlags() 134 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minX))[SignMask(minX)]; in computeClipFlags() 135 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minY))[SignMask(minY)]; in computeClipFlags() 140 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, maxZ))[SignMask(maxZ)]; in computeClipFlags() 141 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minZ))[SignMask(minZ)]; in computeClipFlags() 150 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, fini))[SignMask(finiteXYZ)]; in computeClipFlags() 258 if(componentCount >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleByte)); in readStream() 259 if(componentCount >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleByte)); in readStream() 260 if(componentCount >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleByte)); in readStream() [all …]
|
D | PixelRoutine.cpp | 116 x -= *Pointer<Float4>(constants + OFFSET(Constants, X) + q * sizeof(float4)); in quad() 161 XXXX += *Pointer<Float4>(constants + OFFSET(Constants, sampleX[q]) + 16 * cMask[q]); in quad() 162 YYYY += *Pointer<Float4>(constants + OFFSET(Constants, sampleY[q]) + 16 * cMask[q]); in quad() 163 WWWW += *Pointer<Float4>(constants + OFFSET(Constants, weight) + 16 * cMask[q]); in quad() 202 xxxx += Float4(Constants::SampleLocationsX[samples[0]]); in quad() 203 yyyy += Float4(Constants::SampleLocationsY[samples[0]]); in quad() 705 …Z = As<Float4>(As<Int4>(Z) & *Pointer<Int4>(constants + OFFSET(Constants, maskD4X) + zMask * 16, 1… in writeDepth32F() 706 …zValue = As<Float4>(As<Int4>(zValue) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskD4X) + … in writeDepth32F() 733 Z = Z & *Pointer<Short4>(constants + OFFSET(Constants, maskW4Q) + zMask * 8, 8); in writeDepth16() 734 zValue = zValue & *Pointer<Short4>(constants + OFFSET(Constants, invMaskW4Q) + zMask * 8, 8); in writeDepth16() [all …]
|
/third_party/flatbuffers/php/ |
D | Table.php | 76 $startPos = $offset + Constants::SIZEOF_INT; 99 return $offset + $this->bb->getInt($offset) + Constants::SIZEOF_INT; 133 if (strlen($ident) != Constants::FILE_IDENTIFIER_LENGTH) { 134 …ew \ArgumentException("FlatBuffers: file identifier must be length " . Constants::FILE_IDENTIFIER… 138 if ($ident[$i] != $bb->get($bb->getPosition() + Constants::SIZEOF_INT + $i)) {
|
D | FlatbufferBuilder.php | 287 $new_off = $this->offset() - $off + Constants::SIZEOF_INT; 570 $this->prep(Constants::SIZEOF_INT, 0); // Ensure alignment is already done 588 $this->prep(Constants::SIZEOF_INT, $elem_size * $num_elems); 833 $this->addShort(($trimmed_size + $standard_fields) * Constants::SIZEOF_SHORT); 845 for ($j = Constants::SIZEOF_SHORT; $j < $len; $j += Constants::SIZEOF_SHORT) { 909 $this->prep($this->minalign, Constants::SIZEOF_INT); 913 $this->prep($this->minalign, Constants::SIZEOF_INT + Constants::FILE_IDENTIFIER_LENGTH); 914 if (strlen($identifier) != Constants::FILE_IDENTIFIER_LENGTH) { 917 Constants::FILE_IDENTIFIER_LENGTH)); 920 for ($i = Constants::FILE_IDENTIFIER_LENGTH - 1; $i >= 0;
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | MeasureUnitImpl.java | 276 int index = trieIndex - UnitsData.Constants.kCompoundPartOffset; in getCompoundPartFromTrieIndex() 290 return this.index + UnitsData.Constants.kCompoundPartOffset; in getTrieIndex() 321 return trieIndex - UnitsData.Constants.kPowerPartOffset; in getPowerFromTrieIndex() 325 return this.power + UnitsData.Constants.kPowerPartOffset; in getTrieIndex() 346 int index = trieIndex - UnitsData.Constants.kInitialCompoundPartOffset; in getInitialCompoundPartFromTrieIndex() 355 return this.index + UnitsData.Constants.kInitialCompoundPartOffset; in getTrieIndex() 441 trieBuilder.add(simpleUnits[i], i + UnitsData.Constants.kSimpleUnitOffset); in trieBuilder.add() 467 return measurePrefixValues[trieIndex - UnitsData.Constants.kPrefixOffset]; in getPrefixFromTrieIndex() 471 return prefix.ordinal() + UnitsData.Constants.kPrefixOffset; in getTrieIndexForPrefix() 702 return this.fMatch - UnitsData.Constants.kSimpleUnitOffset; in getSimpleUnitIndex() [all …]
|
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/vm/ |
D | vm_test.py | 17 from mindspore.ops import _constants as Constants unknown 19 scala_add = Primitive(Constants.kScalarAdd) 20 scala_mul = Primitive(Constants.kScalarMul)
|
/third_party/grpc/src/php/bin/ |
D | php_extension_to_php_doc.sh | 47 echo Generating lib/Grpc/Constants.php ... 49 > ../lib/Grpc/Constants.php 51 rm ../lib/Grpc/Constants.php
|
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/ir/ |
D | clone_test.py | 17 from mindspore.ops import _constants as Constants unknown 19 scala_add = Primitive(Constants.kScalarAdd) 20 scalar_mul = Primitive(Constants.kScalarMul)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineFunction.cpp | 1039 for (unsigned i = 0, e = Constants.size(); i != e; ++i) in ~MachineConstantPool() 1040 if (Constants[i].isMachineConstantPoolEntry()) { in ~MachineConstantPool() 1041 Deleted.insert(Constants[i].Val.MachineCPVal); in ~MachineConstantPool() 1042 delete Constants[i].Val.MachineCPVal; in ~MachineConstantPool() 1105 for (unsigned i = 0, e = Constants.size(); i != e; ++i) in getConstantPoolIndex() 1106 if (!Constants[i].isMachineConstantPoolEntry() && in getConstantPoolIndex() 1107 CanShareConstantPoolEntry(Constants[i].Val.ConstVal, C, DL)) { in getConstantPoolIndex() 1108 if ((unsigned)Constants[i].getAlignment() < Alignment) in getConstantPoolIndex() 1109 Constants[i].Alignment = Alignment; in getConstantPoolIndex() 1113 Constants.push_back(MachineConstantPoolEntry(C, Alignment)); in getConstantPoolIndex() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineConstantPool.h | 122 std::vector<MachineConstantPoolEntry> Constants; ///< The pool of constants. variable 147 bool isEmpty() const { return Constants.empty(); } in isEmpty() 150 return Constants; in getConstants()
|