/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_browse.cpp | 171 tempName = new char[nameLength + 1]; in DisassemblePacketName() 172 for (int j = 0; j < nameLength; j++) { in DisassemblePacketName() 176 tempName[nameLength] = '\0'; in DisassemblePacketName() 482 HILOGI("nameLength: %{public}d", nameLength); in DisassembleMpParameterName() 485 tempName = new char[nameLength + 1]; in DisassembleMpParameterName() 486 for (int j = 0; j < nameLength; j++) { in DisassembleMpParameterName() 490 tempName[nameLength] = '\0'; in DisassembleMpParameterName() 562 HILOGI("nameLength: %{public}d", nameLength); in DisassembleMeParameterName() 565 tempName = new char[nameLength + 1]; in DisassembleMeParameterName() 566 for (int j = 0; j < nameLength; j++) { in DisassembleMeParameterName() [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | relational_asset.cpp | 100 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()
|
/ohos5.0/foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
H A D | napi_param_utils.cpp | 210 size_t nameLength = 0; in GetValueOptionsData() local 218 status = napi_get_value_string_utf8(env, tmpName, nullptr, 0, &nameLength); in GetValueOptionsData() 224 std::string name(nameLength, 0); in GetValueOptionsData() 225 … status = napi_get_value_string_utf8(env, tmpName, &name[0], nameLength + 1, &nameLength); in GetValueOptionsData()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/ndk/unittest/ |
H A D | rdb_asset_test.cpp | 192 size_t nameLength = 10; variable 193 errCode = OH_Data_Asset_GetName(nullptr, name, &nameLength); 198 errCode = OH_Data_Asset_GetName(asset, name, &nameLength);
|
H A D | rdb_cursor_test.cpp | 520 size_t nameLength = 10; variable 521 errCode = OH_Data_Asset_GetName(asset, name, &nameLength); 588 size_t nameLength = 10; variable 589 errCode = OH_Data_Asset_GetName(asset, name, &nameLength);
|
/ohos5.0/base/startup/init/services/param/manager/ |
H A D | param_manager.c | 41 uint32_t nameLength = strlen(name); in SystemCheckMatchParamWait() local 42 ParamTrieNode *node = FindTrieNode(workspace, name, nameLength, NULL); in SystemCheckMatchParamWait() 50 …if ((param->keyLength != nameLength) || (strncmp(param->data, name, nameLength) != 0)) { // compa… in SystemCheckMatchParamWait() 54 …if ((strncmp(value, "*", 1) == 0) || (strcmp(param->data + nameLength + 1, value) == 0)) { // comp… in SystemCheckMatchParamWait() 58 if (tmp != NULL && (strncmp(param->data + nameLength + 1, value, tmp - value) == 0)) { in SystemCheckMatchParamWait()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | feature_ability_module.cpp | 201 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()
|
/ohos5.0/docs/zh-cn/application-dev/database/ |
H A D | native-relational-store-guidelines.md | 271 size_t nameLength = 10; 272 errCode = OH_Data_Asset_GetName(asset, name, &nameLength);
|
/ohos5.0/drivers/peripheral/usb/ddk/device/src/ |
H A D | adapter_if.c | 893 int32_t nameLength = (int32_t)strlen(funcName); in CleanFunction() local 894 ret = UsbFnAdapterDelInterface(funcName, nameLength); in CleanFunction()
|
/ohos5.0/docs/en/application-dev/database/ |
H A D | native-relational-store-guidelines.md | 275 size_t nameLength = 10; 276 errCode = OH_Data_Asset_GetName(asset, name, &nameLength);
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_api.cpp | 1395 size_t nameLength = std::min(length, strlen(utf8name)); in napi_define_class() local 1396 char newName[nameLength + 1]; in napi_define_class() 1397 if (strncpy_s(newName, nameLength + 1, utf8name, nameLength) != EOK) { in napi_define_class() 1434 size_t nameLength = std::min(length, strlen(utf8name)); in napi_define_sendable_class() local 1435 char newName[nameLength + 1]; in napi_define_sendable_class() 1436 if (strncpy_s(newName, nameLength + 1, utf8name, nameLength) != EOK) { in napi_define_sendable_class()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | canvas_component.cpp | 584 size_t nameLength = (defaultFontName != nullptr) ? strlen(defaultFontName) : 0; in FontGetter() local 588 if (nameLength > 0 && (nameLength < maxNameLen) && (defaultFontSize < UINT8_MAX)) { in FontGetter()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_rendering_context_base_impl.cpp | 2205 GLsizei nameLength = 0; in GetUniformType() local 2207 glGetActiveUniform(programId, i, maxNameLength, &nameLength, &size, &type, name.data()); in GetUniformType()
|