Home
last modified time | relevance | path

Searched refs:srcLength (Results 1 – 25 of 34) sorted by relevance

12

/ohos5.0/base/telephony/sms_mms/utils/
H A Dtext_coder.cpp242 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 Dtext_coder.h34 …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 Dapplication_context.cpp28 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 Dtest_util.cpp284 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 Dffmpeg_convert.cpp57 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 Dpixel_convert.cpp1315 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 Dimage_patch.cpp99 … 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 Dffmpeg_convert.cpp96 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 Dffmpeg_convert.h58 …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 DTestPlugin.cpp58 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 DTestPluginSetting.cpp49 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 Djs-apidiff-graphic.md368srcLength?: GLuint): void;|类名:WebGL2RenderingContextBase;<br>方法or属性:uniform1uiv(location: webgl.We…
369srcLength?: GLuint): void;|类名:WebGL2RenderingContextBase;<br>方法or属性:uniform2uiv(location: webgl.We…
370srcLength?: GLuint): void;|类名:WebGL2RenderingContextBase;<br>方法or属性:uniform3uiv(location: webgl.We…
371srcLength?: GLuint): void;|类名:WebGL2RenderingContextBase;<br>方法or属性:uniform4uiv(location: webgl.We…
422srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform1fv(location: webg…
423srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform2fv(location: webg…
424srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform3fv(location: webg…
426srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform1iv(location: webg…
427srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform2iv(location: webg…
428srcLength?: GLuint): void;|类名:WebGL2RenderingContextOverloads;<br>方法or属性:uniform3iv(location: webg…
[all …]
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/audio/
H A Daudio_resample.cpp71 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 Djs-apidiff-graphic.md293 …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 Djs-apidiff-graphic.md13 …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 Dsdl_audio_sink_plugin.cpp370 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 Djs-apidiff-graphic.md368srcLength?: GLuint): void;|Class name: WebGL2RenderingContextBase;<br>Method or attribute name: un…
369srcLength?: GLuint): void;|Class name: WebGL2RenderingContextBase;<br>Method or attribute name: un…
370srcLength?: GLuint): void;|Class name: WebGL2RenderingContextBase;<br>Method or attribute name: un…
371srcLength?: GLuint): void;|Class name: WebGL2RenderingContextBase;<br>Method or attribute name: un…
422srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam…
423srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam…
424srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam…
426srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam…
427srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam…
428srcLength?: GLuint): void;|Class name: WebGL2RenderingContextOverloads;<br>Method or attribute nam…
[all …]
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/include/audio/
H A Daudio_resample.h45 …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 Djs-apidiff-graphic.md13 …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 Dffmpeg_convert.h55 …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 Djs-apidiff-graphic.md293 …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 Ddiffpatch.h135 size_t srcLength = 0; member
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_encoder/
H A Daudio_ffmpeg_encoder_plugin.cpp373 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 Daudio_server_sink_plugin.cpp731 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 Dwebgl_arg.h367 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()

12