Searched refs:dataView (Results 1 – 9 of 9) sorted by relevance
/external/flatbuffers/ts/flexbuffers/ |
D | reference-util.ts | 5 export function validateOffset(dataView: DataView, offset: number, width: number): void { 6 if (dataView.byteLength <= offset + width || (offset & (toByteWidth(width) - 1)) !== 0) { 11 export function readInt(dataView: DataView, offset: number, width: number): number | bigint { 14 return dataView.getInt8(offset); 16 return dataView.getInt16(offset, true); 20 return dataView.getInt32(offset, true) 22 if (dataView.setBigInt64 === undefined) { 23 …return BigInt(dataView.getUint32(offset, true)) + (BigInt(dataView.getUint32(offset + 4, true)) <<… 25 return dataView.getBigInt64(offset, true) 30 export function readUInt(dataView: DataView, offset: number, width: number): number | bigint { [all …]
|
D | reference.ts | 15 const dataView = new DataView(buffer); constant 16 const byteWidth = dataView.getUint8(len - 1); 17 const packedType = dataView.getUint8(len - 2); 21 return new Reference(dataView, offset, parentWidth, packedType, "/") 24 function valueForIndexWithKey(index: number, key: string, dataView: DataView, offset: number, paren… 25 const _indirect = indirect(dataView, offset, parentWidth); 27 const packedType = dataView.getUint8(_indirect + length * byteWidth + index); 28 …return new Reference(dataView, elementOffset, fromByteWidth(byteWidth), packedType, `${path}/${key… 35 …constructor(private dataView: DataView, private offset: number, private parentWidth: number, priva… property in Reference 52 return readInt(this.dataView, this.offset, this.parentWidth) > 0; [all …]
|
/external/libchrome/mojo/public/js/lib/ |
D | buffer.js | 24 this.dataView = new DataView(this.arrayBuffer); 50 this.dataView = new DataView(this.arrayBuffer); 55 this.dataView = new DataView(this.arrayBuffer); 59 return this.dataView.getUint8(offset); 62 return this.dataView.getUint16(offset, kHostIsLittleEndian); 65 return this.dataView.getUint32(offset, kHostIsLittleEndian); 70 lo = this.dataView.getUint32(offset, kHostIsLittleEndian); 71 hi = this.dataView.getUint32(offset + 4, kHostIsLittleEndian); 73 hi = this.dataView.getUint32(offset, kHostIsLittleEndian); 74 lo = this.dataView.getUint32(offset + 4, kHostIsLittleEndian); [all …]
|
/external/perfetto/ui/src/common/ |
D | array_buffer_builder.ts | 45 dataView: DataView, 59 dataView.setUint32(byteOffset, token, true); 84 const dataView = new DataView(buffer); constant 89 insertToken(dataView, typedArray, byteOffset, token);
|
/external/cronet/components/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ |
D | CronetSampleTest.java | 108 final TextView dataView = (TextView) activity.findViewById(R.id.dataView); in testOpenUrlPromptWhenDataViewClicked() local 113 dataView.performClick(); in testOpenUrlPromptWhenDataViewClicked()
|
/external/skia/tools/ |
D | SkSharingProc.cpp | 80 sk_sp<SkData> dataView = SkData::MakeWithCopy(data, length); in deserializeImage() local 81 const sk_sp<SkImage> image = SkImage::MakeFromEncoded(std::move(dataView)); in deserializeImage()
|
/external/cronet/third_party/protobuf/js/experimental/runtime/kernel/ |
D | buffer_decoder.js | 69 constructor(dataView, startIndex, length) { argument 71 this.dataView_ = dataView;
|
/external/skia/src/gpu/ganesh/ |
D | GrDirectContextPriv.cpp | 271 auto dataView = std::get<0>(GrMakeUncachedBitmapProxyView(dContext, bitmap)); in test_for_preserving_PM_conversions() local 272 if (!dataView) { in test_for_preserving_PM_conversions() 288 auto fp1 = make_unpremul_effect(GrTextureEffect::Make(std::move(dataView), bitmap.alphaType())); in test_for_preserving_PM_conversions()
|
/external/cronet/components/cronet/android/sample/src/org/chromium/cronet_sample_apk/ |
D | CronetSampleActivity.java | 116 mReceiveDataText = (TextView) findViewById(R.id.dataView); in onCreate()
|