/third_party/flatbuffers/ts/flexbuffers/ |
D | reference.ts | 19 const parentWidth = fromByteWidth(byteWidth); constant 22 return new Reference(dataView, offset, parentWidth, packedType, "/") 29 …constructor(private dataView: DataView, private offset: number, private parentWidth: number, priva… property in Reference 46 return readInt(this.dataView, this.offset, this.parentWidth) > 0; 53 return readInt(this.dataView, this.offset, this.parentWidth); 56 return readUInt(this.dataView, this.offset, this.parentWidth); 59 …return readInt(this.dataView, indirect(this.dataView, this.offset, this.parentWidth), fromByteWidt… 62 …return readUInt(this.dataView, indirect(this.dataView, this.offset, this.parentWidth), fromByteWid… 69 return readFloat(this.dataView, this.offset, this.parentWidth); 72 …return readFloat(this.dataView, indirect(this.dataView, this.offset, this.parentWidth), fromByteWi… [all …]
|
D | reference-util.ts | 67 export function keyIndex(key: string, dataView: DataView, offset: number, parentWidth: number, byte… 69 const keysVectorOffset = indirect(dataView, offset, parentWidth) - byteWidth * 3; 100 …ithKey(index: number, key: string, dataView: DataView, offset: number, parentWidth: number, byteWi… 101 const _indirect = indirect(dataView, offset, parentWidth); 107 export function keyForIndex(index: number, dataView: DataView, offset: number, parentWidth: number,… 108 const keysVectorOffset = indirect(dataView, offset, parentWidth) - byteWidth * 3;
|
/third_party/flatbuffers/java/com/google/flatbuffers/ |
D | FlexBuffers.java | 229 private int parentWidth; field in FlexBuffers.Reference 233 Reference(ReadBuf bb, int end, int parentWidth, int packedType) { in Reference() argument 234 this(bb, end, parentWidth, (1 << (packedType & 3)), packedType >> 2); in Reference() 237 Reference(ReadBuf bb, int end, int parentWidth, int byteWidth, int type) { in Reference() argument 240 this.parentWidth = parentWidth; in Reference() 368 return readInt(bb, end, parentWidth); in asInt() 371 … case FBT_INDIRECT_INT: return readInt(bb, indirect(bb, end, parentWidth), byteWidth); in asInt() 372 case FBT_UINT: return (int) readUInt(bb, end, parentWidth); in asInt() 373 … case FBT_INDIRECT_UINT: return (int) readUInt(bb, indirect(bb, end, parentWidth), parentWidth); in asInt() 374 case FBT_FLOAT: return (int) readDouble(bb, end, parentWidth); in asInt() [all …]
|
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
D | FlexBuffers.kt | 44 internal val parentWidth: ByteWidth, constant in com.google.flatbuffers.kotlin.Reference 49 internal constructor(bb: ReadBuffer, end: Int, parentWidth: ByteWidth, packedType: Int) : 50 …this(bb, end, parentWidth, ByteWidth(1 shl (packedType and 3)), FlexBufferType((packedType shr 2))) 246 T_INT -> buffer.readInt(end, parentWidth).toFloat() in pos() 247 T_UINT, T_BOOL -> buffer.readUInt(end, parentWidth).toFloat() in pos() 281 T_KEY -> Key(buffer, buffer.indirect(end, parentWidth)) in toKey() 290 val start = buffer.indirect(end, parentWidth) in toString() 294 T_KEY -> buffer.getKeyString(buffer.indirect(end, parentWidth)) in toString() 309 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toByteArray() 324 …val vec = TypedVector(type.toElementTypedVector(), buffer, buffer.indirect(end, parentWidth), byte… in toShortArray() [all …]
|
D | JSON.kt | 40 val start = buffer.indirect(end, parentWidth) in toJson() 45 val start = buffer.indirect(end, parentWidth) in toJson()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
D | WindowSurfaceGLX.cpp | 217 unsigned int parentWidth, parentHeight; in getWidth() local 218 if (!getWindowDimensions(mParent, &parentWidth, &parentHeight)) in getWidth() 222 return parentWidth; in getWidth() 236 unsigned int parentWidth, parentHeight; in getHeight() local 237 if (!getWindowDimensions(mParent, &parentWidth, &parentHeight)) in getHeight()
|