/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/ |
H A D | module_split_stream_sink.c | 203 g_splitArr[count] = (char *)malloc(strlen(token) + 1); in ConvertToSplitArr() 205 if (strcpy_s(g_splitArr[count], strlen(token) + 1, token) != 0) { in ConvertToSplitArr()
|
/foundation/graphic/graphic_2d/frameworks/surfaceimage/test/unittest/ |
H A D | native_image_test.cpp | 58 size_t extlen = strlen(extension); in CheckEglExtension() 59 const char* end = extensions + strlen(extensions); in CheckEglExtension()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/ |
H A D | temporal_test.cpp | 77 if (memcpy_s(g_codecName, sizeof(g_codecName), tmpCodecName, strlen(tmpCodecName)) != 0) in SetUpTestCase() 82 if (memcpy_s(g_codecNameHEVC, sizeof(g_codecNameHEVC), tmpCodecNameHevc, strlen(tmpCodecNameHevc)) != 0) in SetUpTestCase()
|
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/ |
H A D | camera_manager_impl.cpp | 150 size_t dstSize = strlen(src) + 1; 245 size_t dstSize = strlen(src) + 1; in GetSupportedCameras()
|
/foundation/multimedia/player_framework/services/services/player/ipc/ |
H A D | player_service_proxy.cpp | 652 std::string fdStr = uri.substr(strlen("fd://"), fdTailPos - strlen("fd://")); in SetMediaSource()
|
/foundation/communication/dsoftbus/tests/core/connection/ble/ |
H A D | connection_ble_manager_test.cpp | 448 ret = strncpy_s(bleConnection->networkId, NETWORK_ID_BUF_LEN, networkId, strlen(networkId)); in HWTEST_F() 466 ret = strncpy_s(invalidConnection->networkId, NETWORK_ID_BUF_LEN, networkId, strlen(networkId)); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/ |
H A D | trans_udp_negotiation.c | 421 .len = strlen(msgStr) + 1, in SendUdpInfo() 751 .len = strlen(msgStr) + 1, in StartExchangeUdpInfo()
|
/foundation/communication/dsoftbus/tests/core/common/utils/unittest/ |
H A D | sqlite3_utils_test.cpp | 743 EXPECT_EQ(BindParaText(ctx_1, idx, valuetext1, strlen(valuetext1)), SQLITE_ERROR); in HWTEST_F() 745 EXPECT_EQ(BindParaText(ctx_1, idx, valuetext1, strlen(valuetext1)), SQLITE_ERROR); in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | softbus_proxychannel_message_test.cpp | 422 dataInfo.inLen = strlen((const char*)dataInfo.inData); in HWTEST_F() 441 dataInfo.inLen = strlen((const char*)dataInfo.inData); in HWTEST_F()
|
/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_message_parcel_read.cpp | 234 napi_create_string_utf8(env, propKeyStr, strlen(propKeyStr), &propKey); in JS_readSequenceable() 755 napi_create_string_utf8(env, propKeyStr, strlen(propKeyStr), &propKey); in JS_readSequenceableArray()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_util_test.cpp | 63 int length = strlen(srcBuf); in HWTEST_F() 77 int length = strlen(srcBuf); in HWTEST_F()
|
/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | ability_command.cpp | 838 if (strlen(optarg) >= paramLength) { in CheckPerfCmdString() 1107 if (strlen(optarg) < PARAM_LENGTH) { in MakeWantForProcess() 1116 if (!isPerf && strlen(optarg) < PARAM_LENGTH) { in MakeWantForProcess()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_manager/ |
H A D | media_library_manager.cpp | 575 index += strlen("thumbnail"); in GetParamsFromUri() 707 thumbLatIdx += isAstc ? strlen("astc") : strlen("thumbnail"); in GetThumbnail()
|
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/ |
H A D | http_exec.cpp | 389 context->response.AppendCookies(cookies->data, strlen(cookies->data)); in AddCurlHandle() 392 strlen(HttpConstant::HTTP_LINE_SEPARATOR)); in AddCurlHandle() 690 size_t length = strlen(str.c_str()); in AddCurlHandle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/common_napi_utils/ |
H A D | common_napi_utils.cpp | 150 if (napi_create_string_utf8(env, str.c_str(), strlen(str.c_str()), &value) != napi_ok) { in CreateStringUtf8()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | system_properties.cpp | 164 if (ret <= 0 || strncmp(paramOutBuf, hook_mode, strlen(hook_mode)) != 0) { in IsHookModeEnabled()
|
/foundation/arkui/ace_engine/interfaces/native/event/ |
H A D | drag_and_drop_impl.cpp | 99 auto strLeng = strlen(dragEvent->dataTypes[i]) + 1; in OH_ArkUI_DragEvent_GetDataTypes()
|
/foundation/arkui/napi/test/unittest/jsvm/ |
H A D | test_jsvm.cpp | 143 OH_JSVM_CreateStringUtf8(env, (char*)data, strlen((char*)data), &output); in hello_fn()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_edit_text.cpp | 492 if (inputText_->GetText() != nullptr && strlen(inputText_->GetText()) > 0) { in OnDraw()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_manager_service.cpp | 439 if (*bundleName != nullptr && strlen(*bundleName) > MAX_BUNDLE_NAME_LEN) { in CheckSystemBundleIsValid()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | shader_loader.cpp | 60 return std::strlen(ext) == (fileUri.length() - pos); in HasExtension()
|
/foundation/multimedia/audio_framework/frameworks/native/examples/ |
H A D | pa_stream_test.cpp | 155 if ((strlen(spkFilePath.c_str()) > PATH_MAX) || (realpath(spkFilePath.c_str(), path) == nullptr)) {
in OpenSpkFile()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/memory/ |
H A D | rs_memory_manager.cpp | 503 if (strncmp(str, "Allocated", strlen("Allocated")) == 0) { in DumpMallocStat()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/texture_encode/ |
H A D | image_compressor.cpp | 1418 size_t sourceSize = strlen(g_programSource) + 1; // '\0' occupies 1 bytes in AstcClBuildProgram()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/ |
H A D | m3u8.cpp | 49 auto pos = baseUrl.find('/', strlen("https://")); in UriJoin()
|