Searched refs:MemoryLayout (Results 1 – 14 of 14) sorted by relevance
/external/flatbuffers/swift/Sources/FlatBuffers/ |
D | FlatBufferBuilder.swift | 108 let size = MemoryLayout<UOffset>.size in finish<T>() 121 let size = MemoryLayout<UOffset>.size in finish<T>() 150 let sizeofVoffset = MemoryLayout<VOffset>.size in endTable() 240 preAlign(len: len, alignment: MemoryLayout<T>.size) in preAlign<T: Scalar>() 246 let size = MemoryLayout<UOffset>.size in refer() 292 startVector(size, elementSize: MemoryLayout<T>.size) in createVector<T: Scalar>() 329 startVector(len, elementSize: MemoryLayout<Offset<T>>.size) in createVector<T>() 475 preAlign(len: MemoryLayout<T>.size, in push<T: Scalar>() 476 alignment: MemoryLayout<T>.size) in push<T: Scalar>() 477 _bb.push(value: element, len: MemoryLayout<T>.size) in push<T: Scalar>()
|
D | Table.swift | 35 let position = offset + Int32(MemoryLayout<Int32>.size) in directString() 110 let memorySize = Int32(MemoryLayout<Int32>.size) in compare() 129 let memorySize = Int32(MemoryLayout<Int32>.size) in compare()
|
D | ByteBuffer.swift | 102 _writerSize += (MemoryLayout<UInt8>.size * Int(padding)) in fill() 108 let size = elements.count * MemoryLayout<T>.size in push<T: Scalar>() 111 push(value: s, len: MemoryLayout.size(ofValue: s)) in push<T: Scalar>()
|
D | FlatBuffersUtils.swift | 14 return bb.duplicate(removing: MemoryLayout<Int32>.size) in removeSizePrefix()
|
D | Constants.swift | 17 public let FlatBufferMaxSize = UInt32.max << ((MemoryLayout<SOffset>.size * 8 - 1) - 1)
|
/external/skia/src/sksl/codegen/ |
D | SkSLSPIRVCodeGenerator.h | 130 , fDefaultLayout(MemoryLayout::k140_Standard) 190 SpvId getType(const Type& type, const MemoryLayout& layout); 198 SpvId getPointerType(const Type& type, const MemoryLayout& layout, 207 void writeStruct(const Type& type, const MemoryLayout& layout, SpvId resultId); 456 MemoryLayout memoryLayoutForVariable(const Variable&) const; 477 const MemoryLayout fDefaultLayout;
|
D | SkSLSPIRVCodeGenerator.cpp | 450 void SPIRVCodeGenerator::writeStruct(const Type& type, const MemoryLayout& memoryLayout, in writeStruct() 467 if (!MemoryLayout::LayoutIsSupported(*field.fType)) { in writeStruct() 544 SpvId SPIRVCodeGenerator::getType(const Type& rawType, const MemoryLayout& layout) { in getType() 566 SkASSERT(layout.fStd == MemoryLayout::Standard::k140_Standard || in getType() 567 layout.fStd == MemoryLayout::Standard::k430_Standard); in getType() 568 MemoryLayout::Standard otherStd = layout.fStd == MemoryLayout::Standard::k140_Standard in getType() 569 ? MemoryLayout::Standard::k430_Standard in getType() 570 : MemoryLayout::Standard::k140_Standard; in getType() 609 if (!MemoryLayout::LayoutIsSupported(*type)) { in getType() 742 SpvId SPIRVCodeGenerator::getPointerType(const Type& rawType, const MemoryLayout& layout, in getPointerType() [all …]
|
D | SkSLMetalCodeGenerator.cpp | 2058 MemoryLayout memoryLayout(MemoryLayout::kMetal_Standard); in writeFields() 2063 if (!MemoryLayout::LayoutIsSupported(*fieldType)) { in writeFields()
|
/external/skia/src/sksl/ |
D | SkSLMemoryLayout.h | 17 class MemoryLayout { 25 MemoryLayout(Standard std) in MemoryLayout() function
|
/external/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 20 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k140_Standard); in DEF_TEST() 108 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k430_Standard); in DEF_TEST()
|
/external/tensorflow/tensorflow/lite/swift/Tests/ |
D | InterpreterTests.swift | 350 guard unsafeData.count % MemoryLayout<Element>.stride == 0 else { return nil } 358 count: unsafeData.count / MemoryLayout<Element>.stride
|
/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
D | union_vector_generated.swift | 7 public static var byteSize: Int { return MemoryLayout<UInt8>.size }
|
D | monster_test_generated.swift | 11 public static var byteSize: Int { return MemoryLayout<UInt8>.size } 27 public static var byteSize: Int { return MemoryLayout<Int8>.size } 41 public static var byteSize: Int { return MemoryLayout<UInt8>.size } 55 public static var byteSize: Int { return MemoryLayout<UInt8>.size } 69 public static var byteSize: Int { return MemoryLayout<UInt8>.size }
|
D | FlatBuffersUnionTests.swift | 112 static var byteSize: Int { return MemoryLayout<Int32>.size }
|