/test/xts/acts/validator/acts_validator/src/main/ets/pages/model/ |
D | mediaPlay.ts | 118 let offset = 0; 122 this.writeString(data, offset, 'RIFF'); 123 offset += 4; 125 data.setUint32(offset, 36 + dataLen, true); 126 offset += 4; 128 this.writeString(data, offset, 'WAVE'); 129 offset += 4; 131 this.writeString(data, offset, 'fmt '); 132 offset += 4; 134 data.setUint32(offset, 16, true); [all …]
|
D | AudioRenderer.ts | 13 private offset: number = undefined property in AudioRenderer 48 this.offset = value.offset 49 …Logger.info(this.tag, `getRawFd fd : ${this.fd}, offset: ${value.offset}, length: ${value.length}`) 62 offset: i * bufferSize + this.offset,
|
/test/testfwk/arkxtest/uitest/record/ |
D | offset.h | 72 Offset operator+(const Offset& offset) const 74 return Offset(deltaX_ + offset.deltaX_, deltaY_ + offset.deltaY_); 82 Offset operator-(const Offset& offset) const 84 return Offset(deltaX_ - offset.deltaX_, deltaY_ - offset.deltaY_); 105 Offset& operator+=(const Offset& offset) 107 deltaX_ += offset.deltaX_; 108 deltaY_ += offset.deltaY_; 112 Offset& operator-=(const Offset& offset) 114 deltaX_ -= offset.deltaX_; 115 deltaY_ -= offset.deltaY_; [all …]
|
D | point.h | 49 Point operator-(const Offset& offset) const 51 return Point(x_ - offset.GetX(), y_ - offset.GetY()); 54 Point operator+(const Offset& offset) const 56 return Point(x_ + offset.GetX(), y_ + offset.GetY());
|
/test/xts/device_attest/services/core/adapter/ |
D | attest_adapter.c | 100 int32_t offset = 0; in AttestReadToken() local 101 …if (memcpy_s(tokenInfo->tokenId, TOKEN_ID_ENCRYPT_LEN, token + offset, TOKEN_ID_ENCRYPT_LEN) != 0)… in AttestReadToken() 104 offset += (TOKEN_ID_ENCRYPT_LEN + 1); in AttestReadToken() 105 …if (memcpy_s(tokenInfo->tokenValue, TOKEN_VALUE_ENCRYPT_LEN, token + offset, TOKEN_VALUE_ENCRYPT_L… in AttestReadToken() 108 offset += (TOKEN_VALUE_ENCRYPT_LEN + 1); in AttestReadToken() 109 if (memcpy_s(tokenInfo->salt, SALT_ENCRYPT_LEN, token + offset, SALT_ENCRYPT_LEN) != 0) { in AttestReadToken() 112 offset += (SALT_ENCRYPT_LEN + 1); in AttestReadToken() 113 … if (memcpy_s(tokenInfo->version, VERSION_ENCRYPT_LEN, token + offset, VERSION_ENCRYPT_LEN) != 0) { in AttestReadToken() 128 int32_t offset = 0; in AttestWriteToken() local 132 offset += (TOKEN_ID_ENCRYPT_LEN + 1); in AttestWriteToken() [all …]
|
/test/xts/acts/arkui/ace_ets_component/entry/src/main/ets/MainAbility/pages/ |
D | gridContainer.ets | 64 xs: { span: 6, offset: 0 }, 65 sm: { span: 2, offset: 0 }, 66 md: { span: 2, offset: 0 }, 67 lg: { span: 2, offset: 0 } 75 xs: { span: 2, offset: 6 }, 76 sm: { span: 6, offset: 2 }, 77 md: { span: 2, offset: 2 }, 78 lg: { span: 2, offset: 2 } 86 xs: { span: 2, offset: 8 }, 87 sm: { span: 2, offset: 8 }, [all …]
|
D | gridSettings.ets | 42 xs: { span: 1, offset: 0 }, sm: { span: this.smSpan, offset: this.smOffset }, 43 md: { span: 5, offset: 1 }, lg: { span: 7, offset: 2 } 87 this.smOffset = eventData.data.offset;
|
/test/xts/device_attest_lite/services/core/adapter/ |
D | attest_adapter.c | 114 int32_t offset = 0; in AttestReadToken() local 115 …if (memcpy_s(tokenInfo->tokenId, TOKEN_ID_ENCRYPT_LEN, token + offset, TOKEN_ID_ENCRYPT_LEN) != 0)… in AttestReadToken() 118 offset += (TOKEN_ID_ENCRYPT_LEN + 1); in AttestReadToken() 119 …if (memcpy_s(tokenInfo->tokenValue, TOKEN_VALUE_ENCRYPT_LEN, token + offset, TOKEN_VALUE_ENCRYPT_L… in AttestReadToken() 122 offset += (TOKEN_VALUE_ENCRYPT_LEN + 1); in AttestReadToken() 123 if (memcpy_s(tokenInfo->salt, SALT_ENCRYPT_LEN, token + offset, SALT_ENCRYPT_LEN) != 0) { in AttestReadToken() 126 offset += (SALT_ENCRYPT_LEN + 1); in AttestReadToken() 127 … if (memcpy_s(tokenInfo->version, VERSION_ENCRYPT_LEN, token + offset, VERSION_ENCRYPT_LEN) != 0) { in AttestReadToken() 142 int32_t offset = 0; in AttestWriteToken() local 146 offset += (TOKEN_ID_ENCRYPT_LEN + 1); in AttestWriteToken() [all …]
|
/test/xts/acts/telephony/telephonyjstest/netmanager_http/entry/src/main/ets/MainAbility/pages/ |
D | GridContainer.ets | 42 xs: { span: 6, offset: 0 }, 43 sm: { span: 2, offset: 0 }, 44 md: { span: 2, offset: 0 }, 45 lg: { span: 2, offset: 0 } 83 xs: { span: 6, offset: 0 }, 84 sm: { span: 2, offset: 0 }, 85 md: { span: 2, offset: 0 }, 86 lg: { span: 2, offset: 0 } 104 xs: { span: 6, offset: 0 }, 105 sm: { span: 2, offset: 0 }, [all …]
|
/test/xts/acts/telephony/telephonyjstest/netmanager_socket/entry/src/main/ets/MainAbility/pages/ |
D | GridContainer.ets | 42 xs: { span: 6, offset: 0 }, 43 sm: { span: 2, offset: 0 }, 44 md: { span: 2, offset: 0 }, 45 lg: { span: 2, offset: 0 } 83 xs: { span: 6, offset: 0 }, 84 sm: { span: 2, offset: 0 }, 85 md: { span: 2, offset: 0 }, 86 lg: { span: 2, offset: 0 } 104 xs: { span: 6, offset: 0 }, 105 sm: { span: 2, offset: 0 }, [all …]
|
/test/xts/acts/telephony/telephonyjstest/observer/entry/src/main/ets/MainAbility/pages/ |
D | GridContainer.ets | 42 xs: { span: 6, offset: 0 }, 43 sm: { span: 2, offset: 0 }, 44 md: { span: 2, offset: 0 }, 45 lg: { span: 2, offset: 0 } 83 xs: { span: 6, offset: 0 }, 84 sm: { span: 2, offset: 0 }, 85 md: { span: 2, offset: 0 }, 86 lg: { span: 2, offset: 0 } 104 xs: { span: 6, offset: 0 }, 105 sm: { span: 2, offset: 0 }, [all …]
|
/test/xts/acts/telephony/telephonyjstest/radiostatistic/entry/src/main/ets/MainAbility/pages/ |
D | GridContainer.ets | 42 xs: { span: 6, offset: 0 }, 43 sm: { span: 2, offset: 0 }, 44 md: { span: 2, offset: 0 }, 45 lg: { span: 2, offset: 0 } 83 xs: { span: 6, offset: 0 }, 84 sm: { span: 2, offset: 0 }, 85 md: { span: 2, offset: 0 }, 86 lg: { span: 2, offset: 0 } 104 xs: { span: 6, offset: 0 }, 105 sm: { span: 2, offset: 0 }, [all …]
|
/test/xts/acts/arkui/ace_ets_standard/entry/src/main/ets/MainAbility/pages/ |
D | GridContainer.ets | 42 xs: { span: 6, offset: 0 }, 43 sm: { span: 2, offset: 0 }, 44 md: { span: 2, offset: 0 }, 45 lg: { span: 2, offset: 0 } 83 xs: { span: 6, offset: 0 }, 84 sm: { span: 2, offset: 0 }, 85 md: { span: 2, offset: 0 }, 86 lg: { span: 2, offset: 0 } 104 xs: { span: 6, offset: 0 }, 105 sm: { span: 2, offset: 0 }, [all …]
|
/test/xts/acts/multimedia/image/image_js_standard/image/src/main/js/test/ |
D | addImage.test.js | 69 let offset = 0; 79 while (offset < testimagebuffer.length) { 80 var oneStep = testimagebuffer.slice(offset, offset + bufferSize); 91 offset = offset + oneStep.length; 92 console.info(`${testNum} 0003 ` + offset); 121 let offset = 0; 129 while (offset < testimagebuffer.length) { 130 var oneStep = testimagebuffer.slice(offset, offset + bufferSize); 146 offset = offset + oneStep.length; 147 console.info(`${testNum} 0003 ` + offset);
|
/test/xts/acts/security_lite/huks/common/ |
D | hks_test_file_operator.c | 99 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead() argument 101 (void)offset; in FileRead() 146 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite() argument 148 (void)offset; in FileWrite() 187 static uint32_t FileRead(const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len) in FileRead() argument 190 if (offset != 0) { in FileRead() 222 static int32_t FileWrite(const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len) in FileWrite() argument 225 if (offset != 0) { in FileWrite() 273 uint32_t HksTestFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uin… in HksTestFileRead() argument 285 uint32_t size = FileRead(fullFileName, offset, buf, len); in HksTestFileRead() [all …]
|
/test/ostest/wukong/component_event/src/ |
D | wukong_tree.cpp | 20 bool WuKongTree::RecursUpdateNodeIndex(const uint32_t offset) in RecursUpdateNodeIndex() argument 22 index_ = index_ + offset; in RecursUpdateNodeIndex() 24 child->RecursUpdateNodeIndex(offset); in RecursUpdateNodeIndex()
|
/test/xts/acts/storage/storagefileiojstest/src/main/js/test/module_fileio/class_randomAccessFile/ |
D | read.test.js | 99 let number = randomaccessfile.readSync(new ArrayBuffer(length), { offset: 1 }); property 127 … let number = randomaccessfile.readSync(new ArrayBuffer(length), { offset: 1, length: 5 }); property 155 let number = randomaccessfile.readSync(new ArrayBuffer(length), { offset: length }); property 181 … let number = randomaccessfile.readSync(new ArrayBuffer(length), { offset: 1, position: 6 }); property 206 randomaccessfile.readSync(new ArrayBuffer(4096), { offset: -1 }); property 230 randomaccessfile.readSync(new ArrayBuffer(4096), { offset: 1, length: 4096 }); property 255 randomaccessfile.readSync(new ArrayBuffer(length), { offset: length + 1 }); property 308 let number = randomaccessfile.readSync(new ArrayBuffer(16), { offset: 13, length: -1 }); property 469 let readOut = await randomaccessfile.read(new ArrayBuffer(length), { offset: 1 }); property 471 expect(readOut.offset == 1).assertTrue(); [all …]
|
D | write.test.js | 64 let num = randomaccessfile.writeSync(new ArrayBuffer(length), { offset: 1 }); property 115 … let num = randomaccessfile.writeSync(new ArrayBuffer(length), { offset: 1, length: 10 }); property 142 offset: 1, property 149 expect(number == (length - options.offset + options.position)).assertTrue(); 174 let num = randomaccessfile.writeSync(new ArrayBuffer(length), { offset: length }); property 198 randomaccessfile.writeSync(new ArrayBuffer(4096), { offset: 5, length: 4095 }); property 223 randomaccessfile.writeSync(new ArrayBuffer(length), { offset: length + 1 }); property 272 randomaccessfile.writeSync(new ArrayBuffer(4096), { offset: -1 }); property 297 … let num = randomaccessfile.writeSync(new ArrayBuffer(length), { offset: 1, length: -1 }); property 423 … randomaccessfile.write(new ArrayBuffer(length), { offset: 1 }, function(err, bytesWritten) { property [all …]
|
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/MainAbility/pages/ |
D | positionSetting.ets | 26 @State offset: {x: string, y: string} = {x: 10, y: 15}; 92 Text('offset').fontSize(20).fontColor(Color.Black).width('90%') 95 Text(`2\noffset(${this.offset.x}, ${this.offset.y})`) 98 .offset({ x: this.offset.x, y: this.offset.y }) 99 .key('offset') 103 .offset({ x: '-10%', y: '50%' }) 152 } else if (eventData.data.offset) { 153 this.offset = JSON.parse(eventData.data.offset);
|
/test/xts/acts/arkui/ace_standard/src/main/js/default/pages/divider/router/ |
D | index.js | 35 offset: 0.0, property 54 offset: 2.0, property 77 offset: 0.0, property
|
/test/xts/acts/storage/storagefileiojstest/src/main/js/test/module_fileio/class_stream/ |
D | read.test.js | 95 offset: 1, property 125 let readout = await ss.read(new ArrayBuffer(4096), {offset: 4096}); property 127 expect(readout.offset == 4096).assertTrue(); 155 offset: 1, property 160 expect(readout.offset == 1).assertTrue(); 161 let start = readout.offset; 162 let end = readout.offset+readout.bytesRead; 189 await ss.read(new ArrayBuffer(4096), {offset: -1}); property 214 await ss.read(new ArrayBuffer(4096), {offset: 1,length:4096}); property 239 await ss.read(new ArrayBuffer(4096), {offset: 4097}); property [all …]
|
D | write.test.js | 72 … ss.write(new ArrayBuffer(4096), { offset: 1, encoding: 'utf-8' }, function (err, bytesWritten) { property 102 let bytesWritten = await ss.write(content, { offset: 1, length: 5, encoding: 'utf-8' }); property 131 let bytesWritten = await ss.write(content, {offset:1, position:5, encoding: 'utf-8' }); property 133 let readOut = await ss.read(new ArrayBuffer(4096), {offset:0,position: 0}); property 134 let start = readOut.offset; 135 let end = readOut.offset+readOut.bytesRead; 194 let bytesWritten = await ss.write(content, {offset: content.length}); property 222 await ss.write(content,{offset: 5, length:10}); property 249 await ss.write(content, {offset:content.length+1}); property 326 await ss.write(content, {offset:-1}); property [all …]
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/ |
D | positionSetting_y.ets | 26 @State offset: {x: string, y: string} = {x: 10, y: 15}; 98 Text('offset').fontSize(20).fontColor(Color.Black).width('90%') 101 Text(`2\noffset(${this.offset.x}, ${this.offset.y})`) 104 .offset({ x: this.offset.x, y: this.offset.y }) 106 .key('offset') 110 .offset({ x: '-10%', y: '50%' }) 159 } else if (eventData.data.offset) { 160 this.offset = JSON.parse(eventData.data.offset);
|
/test/xts/acts/security_lite/huks/common/include/ |
D | hks_test_file_operator.h | 29 uint32_t HksTestFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uin… 31 int32_t HksTestFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *bu…
|
/test/xts/acts/arkui/ace_js_attribute_api/src/main/js/MainAbility/pages/animate/router/ |
D | index.js | 33 offset: 0.0, property 52 offset: 2.0, property 75 offset: 0.0, property
|