Searched refs:encode (Results 1 – 14 of 14) sorted by relevance
| /test/xts/acts/graphic/acts_drawing_native/ |
| D | DrawingNativeTextBlobTest.cpp | 141 for (OH_Drawing_TextEncoding encode : encodeArray) { variable 143 if (encode == TEXT_ENCODING_UTF8) { 145 } else if (encode == TEXT_ENCODING_UTF16) { 147 } else if (encode == TEXT_ENCODING_UTF32) { 149 } else if (encode == TEXT_ENCODING_GLYPH_ID) { 152 … OH_Drawing_TextBlob *textBlob = OH_Drawing_TextBlobCreateFromText(str, byteLength, font, encode); 397 for (OH_Drawing_TextEncoding encode : encodeArray) { variable 398 OH_Drawing_TextBlob *textBlob = OH_Drawing_TextBlobCreateFromString(str, font, encode);
|
| D | DrawingNativeFontTest.cpp | 580 for (OH_Drawing_TextEncoding encode : encodes) { variable 581 int count = OH_Drawing_FontCountText(font, str, strlen(str), encode); 582 if (encode == TEXT_ENCODING_UTF8) { 692 for (OH_Drawing_TextEncoding encode : encodes) { variable 693 int count = OH_Drawing_FontCountText(font, str, strlen(str), encode); 694 OH_Drawing_FontTextToGlyphs(font, str, strlen(str), encode, glyphs, count);
|
| /test/xts/acts/commonlibrary/ets_utils/buffer_lib_standard/entry/src/ohosTest/js/test/ |
| D | Buffer.test.js | 44 for (const encode of encodeArr) { 45 let buf = buffer.alloc(10).fill("ab$#", encode); 88 for (const encode of encodeArr) { 89 let buf = buffer.alloc(0).fill("ab$#", encode); 137 for (const encode of encodeArr) { 138 let buf = buffer.alloc(10, "ab$#", encode); 154 for (const encode of encodeArr) { 155 let buf = buffer.alloc(0, "ab$#", encode); 197 for (const encode of encodeArr) { 198 let buf = buffer.allocUninitializedFromPool(10).fill("abcd", encode); [all …]
|
| /test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
| D | dmlib_lite.py | 147 telnet.write(command.encode('ascii') + b"\n") 289 command = command.encode("utf-8") 310 command = command.encode("utf-8")
|
| D | dmlib.py | 470 remote_path_content = remote.encode(DEFAULT_ENCODING) 565 remote_path_content = remote.encode(DEFAULT_ENCODING) 567 remote_path_content = remote.encode("UTF-8") 640 path = path.encode(DEFAULT_ENCODING) 642 path = path.encode("UTF-8") 651 mode_content = mode_str.encode(DEFAULT_ENCODING) 895 req = req.encode("utf-8") 935 req = req.encode(DEFAULT_ENCODING) 1036 connect_key = connect_key.encode("utf-8")
|
| /test/testfwk/xdevice/src/xdevice/_core/report/ |
| D | encrypt.py | 67 plain_text = str(content).encode(encoding='utf-8') 105 cipher_text = str(content).encode()
|
| D | result_reporter.py | 835 def encode(content): function 847 file.write(bytes(encode(_record_json), encoding="utf-8"))
|
| /test/xts/acts/commonlibrary/ets_utils/util2_lib_standard/entry/src/ohosTest/js/test/ |
| D | util.test.js | 5814 that.encode(array).then(val=>{ 5834 that.encode(array).then(val=>{ 5856 that.encode(array).then(val=>{ 5876 that.encode(array).then(val=>{ 5896 that.encode(array).then(val=>{ 5916 that.encode(array) 6737 that.encode(array).then(result => { 6740 that.encode(array, util.Type.BASIC).then(resBas => { 6743 that.encode(array, util.Type.BASIC_URL_SAFE).then(resUrl => { 6762 that.encode(array).then(result => { [all …]
|
| /test/xts/acts/commonlibrary/ets_utils/util_lib_standard/entry/src/ohosTest/js/test/ |
| D | util.test.js | 1629 result = that.encode('abc') 1645 result = that.encode('\uD800楼楼') 1661 result = that.encode('a\uD800楼楼') 1677 result = that.encode('abc\uD800楼楼') 1693 result = that.encode('123\uD800楼楼') 1710 result = that.encode('123¥\uD800楼') 1726 result = that.encode('¥¥') 1742 result = that.encode('$$') 1758 result = that.encode('abc哈哈熠熠') 1778 result = that.encode('abc哈哈熠熠') [all …]
|
| /test/testfwk/developer_test/libs/fuzzlib/ |
| D | fuzzer_helper.py | 206 file_handle.write(args.project_name.encode())
|
| /test/testfwk/xdevice/docs/ |
| D | Device_Auto_Upgrade_Guide.md | 167 command = command.encode("gbk")
|
| /test/xts/acts/commonlibrary/ets_utils/codeparsingtest/baselibtest/entry/src/ohosTest/ets/test/buffer/ |
| D | Buffer.test.ets | 834 for (const encode of encodeArr) { 835 let flag = buffer.isEncoding(encode); 5950 * encode is "BufferEncoding". 5961 for (const encode of encodeArr) { 5962 let index = buf.indexOf("ab", 0, encode); 6155 * and encode to "BufferEncoding" 6166 for (const encode of encodeArr) { 6167 let index = buf.lastIndexOf("ab", 0, encode); 6401 * to 0, encode to "BufferEncoding" 6411 for (const encode of encodeArr) { [all …]
|
| /test/testfwk/developer_test/src/core/driver/ |
| D | drivers.py | 604 striped_bt = striped_content.encode("utf-8")
|
| /test/xts/acts/multimedia/image/image_ets_standard/pictureNdk/entry/src/ohosTest/ets/test/ |
| D | PictureNdk.test.ets | 90 /** encode failed */
|