Home
last modified time | relevance | path

Searched refs:_accessor (Results 1 – 9 of 9) sorted by relevance

/third_party/flatbuffers/samples/
Dmonster_generated.swift60 public var __buffer: ByteBuffer! { return _accessor.bb }
61 private var _accessor: Struct variable
63 public init(_ bb: ByteBuffer, o: Int32) { _accessor = Struct(bb: bb, position: o) }
65 public var x: Float32 { return _accessor.readBuffer(of: Float32.self, at: 0) }
66 @discardableResult public func mutate(x: Float32) -> Bool { return _accessor.mutate(x, index: 0) } in mutate()
67 public var y: Float32 { return _accessor.readBuffer(of: Float32.self, at: 4) }
68 @discardableResult public func mutate(y: Float32) -> Bool { return _accessor.mutate(y, index: 4) } in mutate()
69 public var z: Float32 { return _accessor.readBuffer(of: Float32.self, at: 8) }
70 @discardableResult public func mutate(z: Float32) -> Bool { return _accessor.mutate(z, index: 8) } in mutate()
76 public var __buffer: ByteBuffer! { return _accessor.bb }
[all …]
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
Dmonster_test_generated.swift176 public var __buffer: ByteBuffer! { return _accessor.bb }
177 private var _accessor: Struct variable
179 public init(_ bb: ByteBuffer, o: Int32) { _accessor = Struct(bb: bb, position: o) }
181 public var a: Int16 { return _accessor.readBuffer(of: Int16.self, at: 0) }
182 @discardableResult public func mutate(a: Int16) -> Bool { return _accessor.mutate(a, index: 0) } in mutate()
183 public var b: Int8 { return _accessor.readBuffer(of: Int8.self, at: 2) }
184 @discardableResult public func mutate(b: Int8) -> Bool { return _accessor.mutate(b, index: 2) } in mutate()
253 public var __buffer: ByteBuffer! { return _accessor.bb }
254 private var _accessor: Struct variable
256 public init(_ bb: ByteBuffer, o: Int32) { _accessor = Struct(bb: bb, position: o) }
[all …]
Doptional_scalars_generated.swift23 public var __buffer: ByteBuffer! { return _accessor.bb }
24 private var _accessor: Table variable
29 private init(_ t: Table) { _accessor = t }
30 public init(_ bb: ByteBuffer, o: Int32) { _accessor = Table(bb: bb, position: o) }
73 …public var justI8: Int8 { let o = _accessor.offset(VTOFFSET.justI8.v); return o == 0 ? 0 : _access…
74 …public var maybeI8: Int8? { let o = _accessor.offset(VTOFFSET.maybeI8.v); return o == 0 ? nil : _a…
75 …public var defaultI8: Int8 { let o = _accessor.offset(VTOFFSET.defaultI8.v); return o == 0 ? 42 :
76 …public var justU8: UInt8 { let o = _accessor.offset(VTOFFSET.justU8.v); return o == 0 ? 0 : _acces…
77 …public var maybeU8: UInt8? { let o = _accessor.offset(VTOFFSET.maybeU8.v); return o == 0 ? nil : _…
78 …public var defaultU8: UInt8 { let o = _accessor.offset(VTOFFSET.defaultU8.v); return o == 0 ? 42 :…
[all …]
Dmore_defaults_generated.swift23 public var __buffer: ByteBuffer! { return _accessor.bb }
24 private var _accessor: Table variable
28 private init(_ t: Table) { _accessor = t }
29 public init(_ bb: ByteBuffer, o: Int32) { _accessor = Table(bb: bb, position: o) }
42 …public var intsCount: Int32 { let o = _accessor.offset(VTOFFSET.ints.v); return o == 0 ? 0 : _acce…
43 …2) -> Int32 { let o = _accessor.offset(VTOFFSET.ints.v); return o == 0 ? 0 : _accessor.directRead(… in ints()
44 public var ints: [Int32] { return _accessor.getVector(at: VTOFFSET.ints.v) ?? [] }
45 …public var floatsCount: Int32 { let o = _accessor.offset(VTOFFSET.floats.v); return o == 0 ? 0 : _…
46 …> Float32 { let o = _accessor.offset(VTOFFSET.floats.v); return o == 0 ? 0 : _accessor.directRead(… in floats()
47 public var floats: [Float32] { return _accessor.getVector(at: VTOFFSET.floats.v) ?? [] }
[all …]
DMutatingBool_generated.swift15 public var __buffer: ByteBuffer! { return _accessor.bb }
16 private var _accessor: Struct variable
20 public init(_ bb: ByteBuffer, o: Int32) { _accessor = Struct(bb: bb, position: o) }
22 public var property: Bool { return _accessor.readBuffer(of: Bool.self, at: 0) }
23 …@discardableResult public func mutate(property: Bool) -> Bool { return _accessor.mutate(property, … in mutate()
29 public var __buffer: ByteBuffer! { return _accessor.bb }
30 private var _accessor: Table variable
34 private init(_ t: Table) { _accessor = t }
35 public init(_ bb: ByteBuffer, o: Int32) { _accessor = Table(bb: bb, position: o) }
43 …public var b: Property? { let o = _accessor.offset(VTOFFSET.b.v); return o == 0 ? nil : _accessor.…
[all …]
Dunion_vector_generated.swift79 public var __buffer: ByteBuffer! { return _accessor.bb }
80 private var _accessor: Struct variable
82 public init(_ bb: ByteBuffer, o: Int32) { _accessor = Struct(bb: bb, position: o) }
84 public var hairLength: Int32 { return _accessor.readBuffer(of: Int32.self, at: 0) }
85 …@discardableResult public func mutate(hairLength: Int32) -> Bool { return _accessor.mutate(hairLen… in mutate()
125 public var __buffer: ByteBuffer! { return _accessor.bb }
126 private var _accessor: Struct variable
128 public init(_ bb: ByteBuffer, o: Int32) { _accessor = Struct(bb: bb, position: o) }
130 public var booksRead: Int32 { return _accessor.readBuffer(of: Int32.self, at: 0) }
131 …@discardableResult public func mutate(booksRead: Int32) -> Bool { return _accessor.mutate(booksRea… in mutate()
[all …]
DFlatBuffersUnionTests.swift193 var __buffer: ByteBuffer! { _accessor.bb }
195 private var _accessor: Table variable
200 init(_ t: Table) { _accessor = t }
201 init(_ bb: ByteBuffer, o: Int32) { _accessor = Table(bb: bb, position: o) }
203 …public var colorsCount: Int32 { let o = _accessor.offset(4); return o == 0 ? 0 : _accessor.vector(…
204 …pace.RGB? { let o = _accessor.offset(4); return o == 0 ? ColorsNameSpace.RGB(rawValue: 0)! : Color… in colors()
206 offset: _accessor.vector(at: o) + index * 4)) } in colors()
/third_party/flatbuffers/grpc/examples/swift/Greeter/Sources/Model/
Dgreeter_generated.swift10 public var __buffer: ByteBuffer! { return _accessor.bb }
11 private var _accessor: Table variable
15 private init(_ t: Table) { _accessor = t }
16 public init(_ bb: ByteBuffer, o: Int32) { _accessor = Table(bb: bb, position: o) }
24 …public var message: String? { let o = _accessor.offset(VTOFFSET.message.v); return o == 0 ? nil :
25 public var messageSegmentArray: [UInt8]? { return _accessor.getVector(at: VTOFFSET.message.v) }
42 public var __buffer: ByteBuffer! { return _accessor.bb }
43 private var _accessor: Table variable
47 private init(_ t: Table) { _accessor = t }
48 public init(_ bb: ByteBuffer, o: Int32) { _accessor = Table(bb: bb, position: o) }
[all …]
/third_party/python/Lib/
Dpathlib.py404 scandir = parent_path._accessor.scandir
952 _accessor = _normal_accessor variable in Path
991 return cls(cls._accessor.getcwd())
1008 other_st = self._accessor.stat(other_path)
1015 for name in self._accessor.listdir(self):
1060 return self._from_parts([self._accessor.getcwd()] + self._parts)
1075 s = self._accessor.realpath(self, strict=strict)
1095 return self._accessor.stat(self, follow_symlinks=follow_symlinks)
1101 return self._accessor.owner(self)
1107 return self._accessor.group(self)
[all …]