/third_party/flatbuffers/java/com/google/flatbuffers/ |
D | FlexBuffersBuilder.java | 366 int bitWidth = widthUInBits(val.length()); in putString() local 367 stack.add(Value.blob(iKey, i, FBT_STRING, bitWidth)); in putString() 390 int bitWidth = widthUInBits(blob.length); in writeBlob() local 391 int byteWidth = align(bitWidth); in writeBlob() 398 return Value.blob(key, sloc, type, bitWidth); in writeBlob() 507 int bitWidth = Math.max(WIDTH_8, widthUInBits(length)); in createVector() local 512 bitWidth = Math.max(bitWidth, keys.elemWidth(bb.writePosition(), 0)); in createVector() 519 bitWidth = Math.max(bitWidth, elemWidth); in createVector() 537 int byteWidth = align(bitWidth); in createVector() 554 bb.put(stack.get(i).storedPackedType(bitWidth)); in createVector() [all …]
|
/third_party/flatbuffers/ts/flexbuffers/ |
D | stack-value.ts | 18 const bitWidth = uwidth(offset); constant 19 if (1 << bitWidth === width) { 20 return bitWidth; 35 const bitWidth = fromByteWidth(byteWidth); constant 36 this.builder.pushInt(this.value as number, bitWidth); 38 const bitWidth = fromByteWidth(byteWidth); constant 39 this.builder.pushUInt(this.value as number, bitWidth);
|
D | builder.ts | 98 const bitWidth = uwidth(length); constant 99 const byteWidth = this.align(bitWidth); 104 this.stack.push(this.offsetStackValue(blobOffset, ValueType.BLOB, bitWidth)); 115 const bitWidth = uwidth(length); constant 116 const byteWidth = this.align(bitWidth); 121 const stackValue = this.offsetStackValue(stringOffset, ValueType.STRING, bitWidth); 334 let bitWidth = uwidth(vecLength); variable 338 if (elementWidth > bitWidth) { 339 bitWidth = elementWidth; 347 if (elementWidth > bitWidth) { [all …]
|
D | reference-util.ts | 70 const bitWidth = fromByteWidth(byteWidth); constant 71 …const indirectOffset = keysVectorOffset - (readUInt(dataView, keysVectorOffset, bitWidth) as numbe… 72 const _byteWidth = readUInt(dataView, keysVectorOffset + byteWidth, bitWidth) as number; 109 const bitWidth = fromByteWidth(byteWidth); constant 110 …const indirectOffset = keysVectorOffset - (readUInt(dataView, keysVectorOffset, bitWidth) as numbe… 111 const _byteWidth = readUInt(dataView, keysVectorOffset + byteWidth, bitWidth) as number;
|
D | bit-width-util.ts | 3 export function toByteWidth(bitWidth: BitWidth): number { 4 return 1 << bitWidth;
|
D | value-type-util.ts | 62 export function packedType(valueType: ValueType, bitWidth: number): ValueType { 63 return bitWidth | (valueType << 2);
|
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
D | FlexBuffersBuilder.kt | 454 bitWidth: BitWidth, in setTypedVector() 458 val byteWidth = align(bitWidth) in setTypedVector() 466 stack.add(Value(vecType, keyPos, bitWidth, vloc.toULong())) in setTypedVector() 514 val bitWidth = size.toULong().widthInUBits() in writeString() constant 515 val byteWidth = align(bitWidth) in writeString() 523 return Value(T_STRING, key, bitWidth, sloc.toULong()) in writeString() 539 val bitWidth = blob.size.toULong().widthInUBits() in writeBlob() constant 540 val byteWidth = align(bitWidth) in writeBlob() 549 return Value(type, key, bitWidth, sloc.toULong()) in writeBlob() 631 val bitWidth = length.toULong().widthInUBits() in calculateKeyVectorBitWidth() constant [all …]
|
D | FlexBuffersInternals.kt | 77 var bitWidth = W_8.max(size.toULong().widthInUBits()) in arrayWidthInUBits() variable 81 bitWidth = bitWidth.max(elemWidthBlock(i)) in arrayWidthInUBits() 83 return bitWidth in arrayWidthInUBits() 129 …private inline fun packedType(bitWidth: BitWidth, type: FlexBufferType): Byte = (bitWidth.value or… in isTypedVector() 161 val bitWidth = offset.toULong().widthInUBits() in elemWidth() constant 162 if (1 shl bitWidth.value == byteWidth) return bitWidth in elemWidth()
|
/third_party/skia/src/sksl/ir/ |
D | SkSLType.cpp | 51 int bitWidth() const override { in bitWidth() function in SkSL::ArrayType 52 return this->componentType().bitWidth(); in bitWidth() 122 int bitWidth() const override { in bitWidth() function in SkSL::LiteralType 123 return fScalarType.bitWidth(); in bitWidth() 151 int8_t bitWidth) in ScalarType() argument 155 , fBitWidth(bitWidth) {} in ScalarType() 165 int bitWidth() const override { in bitWidth() function in SkSL::ScalarType 223 int bitWidth() const override { in bitWidth() function in SkSL::MatrixType 224 return this->componentType().bitWidth(); in bitWidth() 394 int bitWidth() const override { in bitWidth() function in SkSL::VectorType [all …]
|
D | SkSLType.h | 135 int8_t bitWidth); 376 return this->isUnsigned() ? 0 : -(k1 << (this->bitWidth() - 1)); in minimumValue() 383 return (this->isUnsigned() ? (k1 << this->bitWidth()) in maximumValue() 384 : (k1 << (this->bitWidth() - 1))) - 1; in maximumValue() 475 return this->bitWidth() >= 32; in highPrecision() 478 virtual int bitWidth() const { in bitWidth() function
|
/third_party/flutter/skia/tests/ |
D | PathOpsExtendedTest.cpp | 205 const int bitWidth = 64; variable 219 SkScalar hScale = (bitWidth - 2) / largerWidth; in scaleMatrix() 237 bits.allocN32Pixels(bitWidth * 2, bitHeight); in pathsDrawTheSame() 248 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1); in pathsDrawTheSame() 256 uint32_t* addr3 = bits.getAddr32(bitWidth, y); in pathsDrawTheSame() 257 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); in pathsDrawTheSame() 258 for (int x = 0; x < bitWidth - 1; ++x) { in pathsDrawTheSame() 291 int bitWidth = SkScalarCeilToInt(larger.width()) + 2; in drawAsciiPaths() local 292 if (bitWidth * 2 + 1 >= (int) sizeof(out)) { in drawAsciiPaths() 299 bits.allocN32Pixels(bitWidth * 2, bitHeight); in drawAsciiPaths() [all …]
|
D | PathOpsTightBoundsTest.cpp | 51 const int bitWidth = 32; in testTightBoundsQuads() local 57 bits.allocN32Pixels(bitWidth, bitHeight); in testTightBoundsQuads() 89 for (int x = 0; x < bitWidth; ++x) { in testTightBoundsQuads()
|
/third_party/flatbuffers/dart/lib/src/ |
D | builder.dart | 114 final bitWidth = BitWidthUtil.uwidth(length); 115 final byteWidth = _align(bitWidth); 121 final stackValue = _StackValue.WithOffset(stringOffset, ValueType.String, bitWidth); 152 final bitWidth = BitWidthUtil.uwidth(length); 153 final byteWidth = _align(bitWidth); 159 final stackValue = _StackValue.WithOffset(blobOffset, ValueType.Blob, bitWidth); 304 var bitWidth = BitWidthUtil.uwidth(vecLength); 308 if (elemWidth.index > bitWidth.index) { 309 bitWidth = elemWidth; 317 if (elemWidth.index > bitWidth.index) { [all …]
|
D | types.dart | 163 static int packedType(ValueType self, BitWidth bitWidth) { 164 return bitWidth.index | (toInt(self) << 2);
|
/third_party/skia/tests/ |
D | PathOpsTightBoundsTest.cpp | 50 const int bitWidth = 32; in testTightBoundsQuads() local 56 bits.allocN32Pixels(bitWidth, bitHeight); in testTightBoundsQuads() 88 for (int x = 0; x < bitWidth; ++x) { in testTightBoundsQuads()
|
D | PathOpsExtendedTest.cpp | 199 int bitWidth = SkScalarCeilToInt(larger.width()) + 2; in drawAsciiPaths() local 200 if (bitWidth * 2 + 1 >= (int) sizeof(out)) { in drawAsciiPaths() 207 bits.allocN32Pixels(bitWidth * 2, bitHeight); in drawAsciiPaths() 216 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1); in drawAsciiPaths() 223 for (x = 0; x < bitWidth; ++x) { in drawAsciiPaths() 227 for (x = bitWidth; x < bitWidth * 2; ++x) { in drawAsciiPaths()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmFloatControlsTests.cpp | 637 string bitWidth; member in vkt::SpirVAssembly::__anon092f1a8c0111::TypeSnippetsBase 725 "%type_float = OpTypeFloat " + bitWidth + "\n" in updateSpirvSnippets() 739 "%type_float = OpTypeFloat " + bitWidth + "\n" in updateSpirvSnippets() 811 "%outloc" + bitWidth + " = OpAccessChain %type_float_uptr %ssbo_float_out %c_i32_0\n" in updateSpirvSnippets() 812 " OpStore %outloc" + bitWidth + " %result" + bitWidth + "\n"; in updateSpirvSnippets() 815 const string typeName = "_f" + bitWidth; in updateSpirvSnippets() 841 if (bitWidth.compare("16") == 0) in updateSpirvSnippets() 929 bitWidth = "16"; in TypeSnippets() 968 bitWidth = "32"; in TypeSnippets() 999 bitWidth = "64"; in TypeSnippets() [all …]
|
/third_party/flutter/skia/src/pathops/ |
D | SkPathOpsDebug.cpp | 3000 const int bitWidth = 64; variable 3016 SkScalar hScale = (bitWidth - 2) / largerWidth; in debug_scale_matrix() 3033 bits.allocN32Pixels(bitWidth * 2, bitHeight); in debug_paths_draw_the_same() 3044 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1); in debug_paths_draw_the_same() 3051 uint32_t* addr3 = bits.getAddr32(bitWidth, y); in debug_paths_draw_the_same() 3052 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); in debug_paths_draw_the_same() 3053 for (int x = 0; x < bitWidth - 1; ++x) { in debug_paths_draw_the_same()
|
/third_party/skia/src/pathops/ |
D | SkPathOpsDebug.cpp | 2974 const int bitWidth = 64; variable 2990 SkScalar hScale = (bitWidth - 2) / largerWidth; in debug_scale_matrix() 3007 bits.allocN32Pixels(bitWidth * 2, bitHeight); in debug_paths_draw_the_same() 3018 canvas.translate(-bounds1.fLeft + 1 + bitWidth, -bounds1.fTop + 1); in debug_paths_draw_the_same() 3025 uint32_t* addr3 = bits.getAddr32(bitWidth, y); in debug_paths_draw_the_same() 3026 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); in debug_paths_draw_the_same() 3027 for (int x = 0; x < bitWidth - 1; ++x) { in debug_paths_draw_the_same()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | APFloat.cpp | 4593 unsigned bitWidth = result.getBitWidth(); in convertToInteger() local 4595 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(), in convertToInteger() 4598 result = APInt(bitWidth, parts); in convertToInteger()
|
/third_party/libpng/contrib/libtests/ |
D | pngvalid.c | 622 row_copy(png_bytep toBuffer, png_const_bytep fromBuffer, unsigned int bitWidth, in row_copy() argument 625 memcpy(toBuffer, fromBuffer, bitWidth >> 3); in row_copy() 627 if ((bitWidth & 7) != 0) in row_copy() 631 toBuffer += bitWidth >> 3; in row_copy() 632 fromBuffer += bitWidth >> 3; in row_copy() 634 mask = 0xff << (bitWidth & 7); in row_copy() 636 mask = 0xff >> (bitWidth & 7); in row_copy()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
D | pngvalid.c | 622 row_copy(png_bytep toBuffer, png_const_bytep fromBuffer, unsigned int bitWidth, in row_copy() argument 625 memcpy(toBuffer, fromBuffer, bitWidth >> 3); in row_copy() 627 if ((bitWidth & 7) != 0) in row_copy() 631 toBuffer += bitWidth >> 3; in row_copy() 632 fromBuffer += bitWidth >> 3; in row_copy() 634 mask = 0xff << (bitWidth & 7); in row_copy() 636 mask = 0xff >> (bitWidth & 7); in row_copy()
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/ |
D | pngvalid.c | 622 row_copy(png_bytep toBuffer, png_const_bytep fromBuffer, unsigned int bitWidth, in row_copy() argument 625 memcpy(toBuffer, fromBuffer, bitWidth >> 3); in row_copy() 627 if ((bitWidth & 7) != 0) in row_copy() 631 toBuffer += bitWidth >> 3; in row_copy() 632 fromBuffer += bitWidth >> 3; in row_copy() 634 mask = 0xff << (bitWidth & 7); in row_copy() 636 mask = 0xff >> (bitWidth & 7); in row_copy()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMInstrThumb2.td | 2828 // will match the extended, not the original bitWidth for $src.
|