Home
last modified time | relevance | path

Searched refs:nameLength (Results 1 - 9 of 9) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_browse.cpp168 uint16_t nameLength = static_cast<uint16_t>(payload); in DisassemblePacketName() local
169 HILOGI("[AVRCP TG] nameLength: %{public}d", nameLength); in DisassemblePacketName()
171 tempName = new char[nameLength + 1]; in DisassemblePacketName()
172 for (int j = 0; j < nameLength; j++) { in DisassemblePacketName()
176 tempName[nameLength] = '\0'; in DisassemblePacketName()
178 AvrcpCtSafeDeleteArray(tempName, nameLength + 1); in DisassemblePacketName()
481 auto nameLength = static_cast<uint16_t>(payload); in DisassembleMpParameterName() local
482 HILOGI("nameLength: %{public}d", nameLength); in DisassembleMpParameterName()
561 auto nameLength = static_cast<uint16_t>(payload); DisassembleMeParameterName() local
[all...]
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/
H A Drelational_asset.cpp100 size_t nameLength = asset->asset_.name.size(); in OH_Data_Asset_GetName() local
101 if (nameLength >= *length) { in OH_Data_Asset_GetName()
102 LOG_ERROR("Asset get name error: length is too small ? %{public}d.", (nameLength >= *length)); in OH_Data_Asset_GetName()
110 *length = nameLength; in OH_Data_Asset_GetName()
/foundation/distributeddatamgr/relational_store/test/ndk/unittest/
H A Drdb_asset_test.cpp182 * 3.Execute GetName (nameLength >= *length)
192 size_t nameLength = 10; in HWTEST_F() local
193 errCode = OH_Data_Asset_GetName(nullptr, name, &nameLength); in HWTEST_F()
198 errCode = OH_Data_Asset_GetName(asset, name, &nameLength); in HWTEST_F()
H A Drdb_cursor_test.cpp520 size_t nameLength = 10; in HWTEST_F() local
521 errCode = OH_Data_Asset_GetName(asset, name, &nameLength); in HWTEST_F()
588 size_t nameLength = 10; in HWTEST_F() local
589 errCode = OH_Data_Asset_GetName(asset, name, &nameLength); in HWTEST_F()
/foundation/multimedia/drm_framework/frameworks/js/drm_napi/
H A Dnapi_param_utils.cpp208 size_t nameLength = 0; in GetValueOptionsData() local
216 status = napi_get_value_string_utf8(env, tmpName, nullptr, 0, &nameLength); in GetValueOptionsData()
222 std::string name(nameLength, 0); in GetValueOptionsData()
223 status = napi_get_value_string_utf8(env, tmpName, &name[0], nameLength + 1, &nameLength); in GetValueOptionsData()
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dfeature_ability_module.cpp201 uint16_t nameLength = 0; in SendMsgToPeer() local
203 char *dstBundleName = MallocStringOf(nameValue, &nameLength); in SendMsgToPeer()
210 if ((dstBundleName == nullptr) || (nameLength == 0) || (message == nullptr) || (msgLength == 0) || in SendMsgToPeer()
/foundation/arkui/napi/native_engine/
H A Dnative_api.cpp1389 size_t nameLength = std::min(length, strlen(utf8name)); in napi_define_class() local
1390 char newName[nameLength + 1]; in napi_define_class()
1391 if (strncpy_s(newName, nameLength + 1, utf8name, nameLength) != EOK) { in napi_define_class()
1428 size_t nameLength = std::min(length, strlen(utf8name)); in napi_define_sendable_class() local
1429 char newName[nameLength + 1]; in napi_define_sendable_class()
1430 if (strncpy_s(newName, nameLength + 1, utf8name, nameLength) != EOK) { in napi_define_sendable_class()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcanvas_component.cpp584 size_t nameLength = (defaultFontName != nullptr) ? strlen(defaultFontName) : 0; in FontGetter() local
588 if (nameLength > 0 && (nameLength < maxNameLen) && (defaultFontSize < UINT8_MAX)) { in FontGetter()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_base_impl.cpp2205 GLsizei nameLength = 0; in GetUniformType() local
2207 glGetActiveUniform(programId, i, maxNameLength, &nameLength, &size, &type, name.data()); in GetUniformType()

Completed in 22 milliseconds