/ohos5.0/base/telephony/sms_mms/utils/ |
H A D | text_coder.cpp | 242 if (srcLength == -1 && src) { in Utf8ToGsm7bit() 251 int maxUcs2Length = srcLength; in Utf8ToGsm7bit() 274 if (srcLength == -1 && src) { in Utf8ToUcs2() 299 int maxUcs2Length = srcLength; in GsmUtf8ToAuto() 318 tempTextLen = (srcLength > maxLength) ? maxLength : srcLength; in GsmUtf8ToAuto() 345 int maxUcs2Length = srcLength; in CdmaUtf8ToAuto() 364 tempTextLen = (srcLength > maxLength) ? maxLength : srcLength; in CdmaUtf8ToAuto() 396 int maxUcs2Length = srcLength; in Gsm7bitToUtf8() 431 if (srcLength == -1 && src) { in Ucs2ToUtf8() 462 if (srcLength == -1 && src) { in EuckrToUtf8() [all …]
|
H A D | text_coder.h | 34 …int Utf8ToGsm7bit(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, MSG_LANGUAGE_ID… 35 int Utf8ToUcs2(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength); 36 …int CdmaUtf8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingSche… 37 …int GsmUtf8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingSchem… 40 int Ucs2ToUtf8(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength); 41 int EuckrToUtf8(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength); 42 int ShiftjisToUtf8(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength) const; 48 …int Ucs2ToGsm7bit(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, MSG_LANGUAGE_ID… 49 …int Ucs2ToGsm7bitAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, bool &unkno… 51 int Ucs2ToAscii(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, bool &unknown); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/c/ability_runtime/src/ |
H A D | application_context.cpp | 28 const auto srcLength = static_cast<int32_t>(src.length()); in WriteStringToBuffer() local 29 if (bufferSize - 1 < srcLength) { in WriteStringToBuffer() 33 src.copy(buffer, srcLength); in WriteStringToBuffer() 34 buffer[srcLength] = '\0'; in WriteStringToBuffer() 35 *writeLength = srcLength; in WriteStringToBuffer()
|
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/test/ |
H A D | test_util.cpp | 284 size_t srcLength = 0; variable 295 res[srcLength] = 0; 316 size_t srcLength = 0; variable 346 size_t srcLength = 0; variable 357 res[srcLength] = 0; 391 res[srcLength] = 0; 440 res[srcLength] = 0; 475 res[srcLength] = 0; 510 res[srcLength] = 0; 545 res[srcLength] = 0; [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/convert/ |
H A D | ffmpeg_convert.cpp | 57 Status Resample::Convert(const uint8_t* srcBuffer, const size_t srcLength, uint8_t*& destBuffer, si… in Convert() argument 63 destLength = srcLength * 2; // 2 in Convert() 75 destLength = srcLength / 3 * 2; // 3 2 in Convert() 85 size_t lineSize = srcLength / resamplePara_.channels; in Convert()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | pixel_convert.cpp | 1315 if (srcPixels == nullptr || dstPixels == nullptr || srcLength <= 0) { in ConvertFromYUV() 1341 if (srcPixels == nullptr || dstPixels == nullptr || srcLength <= 0) { in ConvertFromP010() 1350 uint8_t* srcP010 = new(std::nothrow) uint8_t[srcLength]; in ConvertFromP010() 1355 memset_s(srcP010, srcLength, 0, srcLength); in ConvertFromP010() 1359 if (memcpy_s(srcP010, srcLength, srcPixels, srcLength) != 0) { in ConvertFromP010() 1429 if (srcPixels == nullptr || dstPixels == nullptr || srcLength <= 0) { in ConvertToYUV() 1454 if (srcPixels == nullptr || dstPixels == nullptr || srcLength <= 0) { in ConvertToP010() 1508 auto result = memcpy_s(dstPixels, srcLength, srcPixels, srcLength); in YUVConvert() 1509 return result == 0 ? srcLength : -1; in YUVConvert() 1514 srcLength : -1; in YUVConvert() [all …]
|
/ohos5.0/base/update/updater/services/diffpatch/patch/ |
H A D | image_patch.cpp | 99 … header.srcStart, header.srcLength, header.patchOffset, header.expandedLen, header.targetSize); in StartReadHeader() 100 if (header.srcStart > param.oldSize || param.oldSize - header.srcStart < header.srcLength || in StartReadHeader() 103 header.srcStart, header.srcLength, param.oldSize, header.patchOffset); in StartReadHeader() 127 BlockBuffer oldData = { param.oldBuff + header.srcStart, header.srcLength }; in ApplyImagePatch() 224 header.srcLength = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset)); in ReadHeader() 277 header.srcLength = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset)); in ReadHeader()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/ |
H A D | ffmpeg_convert.cpp | 96 Status Resample::Convert(const uint8_t *srcBuffer, const size_t srcLength, uint8_t *&destBuffer, si… in Convert() argument 102 destLength = srcLength * 2; // 2 in Convert() 114 destLength = srcLength / 3 * 2; // 3 2 in Convert() 123 size_t lineSize = srcLength / resamplePara_.channels; in Convert()
|
H A D | ffmpeg_convert.h | 58 …Status Convert(const uint8_t *srcBuffer, const size_t srcLength, uint8_t *&destBuffer, size_t &des…
|
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestPlugin.cpp | 58 size_t srcLength = 16384; variable 62 ASSERT_TRUE(resample->Convert(src, srcLength, des, desLength) == Status::OK); 65 ASSERT_TRUE(resample->Convert(src, srcLength, des, desLength) == Status::OK); 69 ASSERT_FALSE(resample->Convert(src, srcLength, des, desLength) == Status::OK); 73 ASSERT_FALSE(resample->Convert(src, srcLength, des, desLength) == Status::OK);
|
H A D | TestPluginSetting.cpp | 49 size_t srcLength = 16384; variable 53 ASSERT_TRUE(resample->Convert(src, srcLength, des, desLength) == Status::OK); 56 ASSERT_TRUE(resample->Convert(src, srcLength, des, desLength) == Status::OK); 60 ASSERT_FALSE(resample->Convert(src, srcLength, des, desLength) == Status::OK); 64 ASSERT_FALSE(resample->Convert(src, srcLength, des, desLength) == Status::OK);
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-graphic.md | 368 …srcLength?: GLuint): void;|类名:WebGL2RenderingContextBase;<br>方法or属性:uniform1uiv(location: webgl.We… 369 …srcLength?: GLuint): void;|类名:WebGL2RenderingContextBase;<br>方法or属性:uniform2uiv(location: webgl.We… 370 …srcLength?: GLuint): void;|类名:WebGL2RenderingContextBase;<br>方法or属性:uniform3uiv(location: webgl.We… 371 …srcLength?: GLuint): void;|类名:WebGL2RenderingContextBase;<br>方法or属性:uniform4uiv(location: webgl.We… 422 …srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform1fv(location: webg… 423 …srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform2fv(location: webg… 424 …srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform3fv(location: webg… 426 …srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform1iv(location: webg… 427 …srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform2iv(location: webg… 428 …srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform3iv(location: webg… [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/audio/ |
H A D | audio_resample.cpp | 71 int32_t AudioResample::Convert(const uint8_t* srcBuffer, const size_t srcLength, uint8_t*& destBuff… in Convert() argument 74 size_t lineSize = srcLength / resamplePara_.channels; in Convert()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/ |
H A D | js-apidiff-graphic.md | 293 …bGLUniformLocation \| null, data: Uint32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 294 …bGLUniformLocation \| null, data: Uint32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 295 …bGLUniformLocation \| null, data: Uint32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 296 …bGLUniformLocation \| null, data: Uint32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 366 …ormLocation \| null, data: webgl.Float32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 367 …ormLocation \| null, data: webgl.Float32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 368 …ormLocation \| null, data: webgl.Float32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 370 …iformLocation \| null, data: webgl.Int32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 371 …iformLocation \| null, data: webgl.Int32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 372 …iformLocation \| null, data: webgl.Int32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-graphic.md | 13 …ion: WebGLUniformLocation \| null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 14 …ion: WebGLUniformLocation \| null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 15 …ion: WebGLUniformLocation \| null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 16 …ion: WebGLUniformLocation \| null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 17 …n: WebGLUniformLocation \| null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 18 …n: WebGLUniformLocation \| null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 19 …n: WebGLUniformLocation \| null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 20 …n: WebGLUniformLocation \| null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 90 …on: WebGLUniformLocation \| null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 91 …on: WebGLUniformLocation \| null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;… [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/sdl/audio_sink/ |
H A D | sdl_audio_sink_plugin.cpp | 370 auto srcLength = mem->GetSize(); in Write() local 371 auto destLength = srcLength; in Write() 373 FALSE_LOG(resample_->Convert(srcBuffer, srcLength, destBuffer, destLength) == Status::OK); in Write()
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-graphic.md | 368 …srcLength?: GLuint): void;|Class name: WebGL2RenderingContextBase;<br>Method or attribute name: un… 369 …srcLength?: GLuint): void;|Class name: WebGL2RenderingContextBase;<br>Method or attribute name: un… 370 …srcLength?: GLuint): void;|Class name: WebGL2RenderingContextBase;<br>Method or attribute name: un… 371 …srcLength?: GLuint): void;|Class name: WebGL2RenderingContextBase;<br>Method or attribute name: un… 422 …srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam… 423 …srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam… 424 …srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam… 426 …srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam… 427 …srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam… 428 …srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam… [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/include/audio/ |
H A D | audio_resample.h | 45 …int32_t Convert(const uint8_t* srcBuffer, const size_t srcLength, uint8_t*& destBuffer, size_t& de…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-graphic.md | 13 …ion: WebGLUniformLocation \| null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 14 …ion: WebGLUniformLocation \| null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 15 …ion: WebGLUniformLocation \| null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 16 …ion: WebGLUniformLocation \| null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 17 …n: WebGLUniformLocation \| null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 18 …n: WebGLUniformLocation \| null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 19 …n: WebGLUniformLocation \| null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 20 …n: WebGLUniformLocation \| null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 90 …on: WebGLUniformLocation \| null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;… 91 …on: WebGLUniformLocation \| null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void;… [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/include/plugin/convert/ |
H A D | ffmpeg_convert.h | 55 …Status Convert(const uint8_t* srcBuffer, const size_t srcLength, uint8_t*& destBuffer, size_t& des…
|
/ohos5.0/docs/en/release-notes/api-diff/monthly-202210/ |
H A D | js-apidiff-graphic.md | 293 …bGLUniformLocation \| null, data: Uint32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 294 …bGLUniformLocation \| null, data: Uint32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 295 …bGLUniformLocation \| null, data: Uint32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 296 …bGLUniformLocation \| null, data: Uint32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 366 …ormLocation \| null, data: webgl.Float32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 367 …ormLocation \| null, data: webgl.Float32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 368 …ormLocation \| null, data: webgl.Float32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 370 …iformLocation \| null, data: webgl.Int32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 371 …iformLocation \| null, data: webgl.Int32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… 372 …iformLocation \| null, data: webgl.Int32List, srcOffset?: webgl.GLuint, srcLength?: webgl.GLuint):… [all …]
|
/ohos5.0/base/update/updater/services/diffpatch/ |
H A D | diffpatch.h | 135 size_t srcLength = 0; member
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_encoder/ |
H A D | audio_ffmpeg_encoder_plugin.cpp | 373 auto srcLength = mem->GetSize(); in FillInFrameCache() local 374 auto destLength = srcLength; in FillInFrameCache() 376 FALSE_LOG(resample_->Convert(srcBuffer, srcLength, destBuffer, destLength) == Status::OK); in FillInFrameCache()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/audio_server_sink/ |
H A D | audio_server_sink_plugin.cpp | 731 auto srcLength = mem->GetSize(); in Write() local 732 auto destLength = srcLength; in Write() 733 if (needReformat_ && resample_ && srcLength >0) { in Write() 734 FALSE_LOG(resample_->Convert(srcBuffer, srcLength, destBuffer, destLength) == Status::OK); in Write()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/ |
H A D | webgl_arg.h | 367 GLuint srcLength; member 368 …tInfo(GLuint dimension) : dimension(dimension), elemCount(dimension), srcOffset(0), srcLength(0) {} in UniformExtInfo() 370 : dimension(dimension), elemCount(real), srcOffset(0), srcLength(0) {} in UniformExtInfo()
|