/external/flatbuffers/lua/flatbuffers/ |
D | numTypes.lua | 42 … assert(self.bytewidth == otherType.bytewidth, "Cannot convert between types of different widths") 51 bytewidth = 1, 61 bytewidth = 1, 71 bytewidth = 2, 81 bytewidth = 4, 91 bytewidth = 8, 101 bytewidth = 1, 111 bytewidth = 2, 121 bytewidth = 4, 131 bytewidth = 8, [all …]
|
D | builder.lua | 32 if (#a * VOffsetT.bytewidth) ~= #b then 37 local x = string.unpack(VOffsetT.packFmt, b, 1 + (i - 1) * VOffsetT.bytewidth) 107 local metadata = VtableMetadataFields * VOffsetT.bytewidth 136 vBytes = vBytes * VOffsetT.bytewidth 211 self:Prep(SOffsetT.bytewidth, 0) 213 local off2 = self:Offset() - off + SOffsetT.bytewidth 218 self:Prep(UOffsetT.bytewidth, 0) 221 local off2 = soffset - off + UOffsetT.bytewidth 231 self:Prep(Uint32.bytewidth, elemSize * numElements) 249 self:Prep(UOffsetT.bytewidth, (#s + 1)*Uint8.bytewidth) [all …]
|
D | view.lua | 40 local start = off + N.UOffsetT.bytewidth 57 x = x + N.UOffsetT.bytewidth
|
/external/flatbuffers/python/flatbuffers/ |
D | number_types.py | 30 bytewidth = 1 variable in BoolFlags 39 bytewidth = 1 variable in Uint8Flags 48 bytewidth = 2 variable in Uint16Flags 57 bytewidth = 4 variable in Uint32Flags 66 bytewidth = 8 variable in Uint64Flags 75 bytewidth = 1 variable in Int8Flags 84 bytewidth = 2 variable in Int16Flags 93 bytewidth = 4 variable in Int32Flags 102 bytewidth = 8 variable in Int64Flags 111 bytewidth = 4 variable in Float32Flags [all …]
|
D | builder.py | 213 metadata = VtableMetadataFields * N.VOffsetTFlags.bytewidth 249 vBytes *= N.VOffsetTFlags.bytewidth 349 self.Prep(N.SOffsetTFlags.bytewidth, 0) 353 off2 = self.Offset() - off + N.SOffsetTFlags.bytewidth 363 self.Prep(N.UOffsetTFlags.bytewidth, 0) 367 off2 = self.Offset() - off + N.UOffsetTFlags.bytewidth 382 self.Prep(N.Uint32Flags.bytewidth, elemSize*numElems) 413 self.Prep(N.UOffsetTFlags.bytewidth, (len(x)+1)*N.Uint8Flags.bytewidth) 435 self.Prep(N.UOffsetTFlags.bytewidth, len(x)*N.Uint8Flags.bytewidth) 524 prepSize = N.UOffsetTFlags.bytewidth [all …]
|
D | table.py | 52 start = off + N.UOffsetTFlags.bytewidth 74 x += N.UOffsetTFlags.bytewidth
|
D | util.py | 28 return buf, offset + number_types.Int32Flags.bytewidth
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 4009 size_t bytewidth, unsigned char filterType, size_t length) in unfilterScanline() argument 4027 for(i = 0; i < bytewidth; i++) recon[i] = scanline[i]; in unfilterScanline() 4028 for(i = bytewidth; i < length; i++) recon[i] = scanline[i] + recon[i - bytewidth]; in unfilterScanline() 4043 for(i = 0; i < bytewidth; i++) recon[i] = scanline[i] + precon[i] / 2; in unfilterScanline() 4044 …for(i = bytewidth; i < length; i++) recon[i] = scanline[i] + ((recon[i - bytewidth] + precon[i]) /… in unfilterScanline() 4048 for(i = 0; i < bytewidth; i++) recon[i] = scanline[i]; in unfilterScanline() 4049 for(i = bytewidth; i < length; i++) recon[i] = scanline[i] + recon[i - bytewidth] / 2; in unfilterScanline() 4055 for(i = 0; i < bytewidth; i++) in unfilterScanline() 4059 for(i = bytewidth; i < length; i++) in unfilterScanline() 4061 … recon[i] = (scanline[i] + paethPredictor(recon[i - bytewidth], precon[i], precon[i - bytewidth])); in unfilterScanline() [all …]
|
/external/flatbuffers/tests/ |
D | py_test.py | 302 N.VOffsetTFlags.bytewidth) 397 b.StartVector(flatbuffers.number_types.Uint8Flags.bytewidth, 1, 1) 406 b.StartVector(flatbuffers.number_types.Uint8Flags.bytewidth, 2, 1) 417 b.StartVector(flatbuffers.number_types.Uint16Flags.bytewidth, 1, 1) 426 b.StartVector(flatbuffers.number_types.Uint16Flags.bytewidth, 2, 1) 828 b.StartVector(flatbuffers.number_types.Uint8Flags.bytewidth, 0, 1) 844 b.StartVector(flatbuffers.number_types.Uint8Flags.bytewidth, 0, 1) 864 b.StartVector(flatbuffers.number_types.Int16Flags.bytewidth, 2, 1) 912 b.StartVector(flatbuffers.number_types.Int8Flags.bytewidth*2, 2, 1)
|
D | luatest.lua | 15 offset = offset + flatbuffers.N.Int32.bytewidth
|