Lines Matching refs:strdup
272 char *moduleName = strdup(tmpName.c_str());
274 HILOG_ERROR("strdup failed. tmpName is %{public}s", tmpName.c_str());
514 char *tmp = strdup(tmpPath.c_str());
516 HILOG_ERROR("strdup failed. tmpPath is %{public}s", tmpPath.c_str());
1038 const char* moduleName = strdup(moduleKey.c_str());
1040 HILOG_ERROR("strdup failed. moduleKey is %{public}s", moduleKey.c_str());
1045 tailNativeModule_->systemFilePath = strdup(loadPath);
1089 tailNativeModule_->systemFilePath = strdup(loadPath);
1111 char *moduleName = strdup(moduleKey.c_str());
1113 HILOG_ERROR("strdup failed. moduleKey is %{public}s", moduleKey.c_str());
1117 tailNativeModule_->name = strdup(moduleName);
1119 HILOG_ERROR("strdup failed. moduleKey is %{public}s", moduleName);