Home
last modified time | relevance | path

Searched refs:MallocCString (Results 1 - 25 of 57) sorted by relevance

123

/base/inputmethod/imf/frameworks/cj/src/
H A Dutils.cpp18 char* Utils::MallocCString(const std::string &origin) in MallocCString() function in OHOS::MiscServices::Utils
33 props.name = Utils::MallocCString(property.name); in InputMethodProperty2C()
34 props.id = Utils::MallocCString(property.id); in InputMethodProperty2C()
35 props.label = Utils::MallocCString(property.label); in InputMethodProperty2C()
37 props.icon = Utils::MallocCString(property.icon); in InputMethodProperty2C()
55 props.name = Utils::MallocCString(property.name); in InputMethodSubProperty2C()
56 props.id = Utils::MallocCString(property.id); in InputMethodSubProperty2C()
57 props.label = Utils::MallocCString(property.label); in InputMethodSubProperty2C()
59 props.icon = Utils::MallocCString(property.icon); in InputMethodSubProperty2C()
61 props.mode = Utils::MallocCString(propert in InputMethodSubProperty2C()
[all...]
/base/global/i18n/interfaces/cj/
H A Di18n_ffi.cpp27 char* MallocCString(const std::string& origin) in MallocCString() function
43 char* res = MallocCString(language); in FfiOHOSGetAppPreferredLanguage()
50 return MallocCString(language); in FfiI18nSystemGetSystemLanguage()
55 return MallocCString(region); in FfiI18nSystemGetSystemRegion()
/base/location/frameworks/cj/source/
H A Dgeolocationmanager_utils.cpp20 char* MallocCString(const std::string& origin) in MallocCString() function
43 res[i] = MallocCString(arr[i]); in StringVectorToCPointer()
60 cMap.keys[index] = MallocCString(it->first); in MapToCMapStringString()
61 cMap.values[index] = MallocCString(it->second); in MapToCMapStringString()
128 descriptionArray[index] = MallocCString(geoAddress->GetDescriptions(index).c_str()); in HandleDescriptions()
152 eachObj.locale = MallocCString(geoAddress->locale_.c_str()); in ListGeoAddressToCJGeoAddressArr()
153 eachObj.placeName = MallocCString(geoAddress->placeName_.c_str()); in ListGeoAddressToCJGeoAddressArr()
154 eachObj.countryCode = MallocCString(geoAddress->countryCode_.c_str()); in ListGeoAddressToCJGeoAddressArr()
155 eachObj.countryName = MallocCString(geoAddress->countryName_.c_str()); in ListGeoAddressToCJGeoAddressArr()
156 eachObj.administrativeArea = MallocCString(geoAddres in ListGeoAddressToCJGeoAddressArr()
[all...]
/base/request/request/frameworks/cj/ffi/src/
H A Dcj_request_impl.cpp75 .errMsg = MallocCString(strMsg) in Convert2RetErr()
90 .errMsg = MallocCString(strMsg) in Convert2RetErr()
137 res.str = MallocCString(data); in Convert2RequestData()
149 out.uid = MallocCString(task.uid); in Convert2CTaskInfo()
150 out.bundle = MallocCString(task.bundle); in Convert2CTaskInfo()
159 out.url = MallocCString(task.url); in Convert2CTaskInfo()
160 out.saveas = MallocCString(GetSaveas(task.files, task.action)); in Convert2CTaskInfo()
162 out.data.str = MallocCString(task.data); in Convert2CTaskInfo()
168 out.tid = MallocCString(task.tid); in Convert2CTaskInfo()
169 out.title = MallocCString(tas in Convert2CTaskInfo()
[all...]
H A Dcj_request_common.cpp83 char* MallocCString(const std::string& origin) in MallocCString() function
183 elem->key = MallocCString(iter->first); in Convert2CProgress()
184 elem->value = MallocCString(iter->second); in Convert2CProgress()
310 out.headers[i].key = MallocCString(it.first); in Convert2CHashStrArr()
311 out.headers[i].value = MallocCString(it.second); in Convert2CHashStrArr()
335 out.head[i].name = MallocCString(forms[i].name); in Convert2CFormItemArr()
336 out.head[i].value.str = MallocCString(forms[i].value); in Convert2CFormItemArr()
341 out.head[i].name = MallocCString(files[j].name); in Convert2CFormItemArr()
342 out.head[i].value.file.path = MallocCString(files[j].uri); in Convert2CFormItemArr()
343 out.head[i].value.file.mimeType = MallocCString(file in Convert2CFormItemArr()
[all...]
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cj/
H A Dfaultlogger_ffi.cpp31 char* MallocCString(const std::string& origin) in MallocCString() function
127 retValue[i].reason = MallocCString(infoItem.reason); in FfiFaultLoggerQuery()
128 retValue[i].module = MallocCString(infoItem.module); in FfiFaultLoggerQuery()
129 retValue[i].summary = MallocCString(infoItem.summary); in FfiFaultLoggerQuery()
130 retValue[i].fullLog = MallocCString(infoItem.fullLog); in FfiFaultLoggerQuery()
/base/notification/common_event_service/interfaces/kits/cj/src/
H A Dcommon_event_defination.h56 char *MallocCString(const std::string &origin);
57 char *MallocCString(const std::string &origin, int32_t &code);
/base/telephony/core_service/frameworks/cj/telephony_sim/src/
H A Dtelephony_sim_impl.cpp25 inline char* MallocCString(const std::string& origin) in MallocCString() function
163 char* result = MallocCString(operatorName); in getISOCountryCodeForSim()
179 char* result = MallocCString(operatorNumeric); in getSimOperatorNumeric()
194 char* result = MallocCString(spn); in getSimSpn()
245 accountInfo.iccId = MallocCString(ToUtf8(iccAccountInfo.iccId)); in IccAccountInfoConversion()
246 accountInfo.showName = MallocCString(ToUtf8(iccAccountInfo.showName)); in IccAccountInfoConversion()
247 accountInfo.showNumber = MallocCString(ToUtf8(iccAccountInfo.showNumber)); in IccAccountInfoConversion()
320 char* result = MallocCString(opkey); in getOpKey()
335 char* result = MallocCString(opName); in getOpName()
/base/startup/init/interfaces/kits/cj/src_enhance/
H A Dsystem_parameter_ffi.cpp29 char* MallocCString(const char* origin) in MallocCString() function
73 ret.data = MallocCString(value.data()); in FfiOHOSSysTemParameterGet()
/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_utils.cpp23 char* MallocCString(const std::string& origin) in MallocCString() function
59 result[i] = MallocCString(vec[i]); in VectorToCArrString()
/base/global/resource_management/interfaces/cj/src/
H A Dutils.h27 static char* MallocCString(const std::string& origin);
H A Dutils.cpp18 char* Utils::MallocCString(const std::string& origin) in MallocCString() function in Utils
/base/account/os_account/interfaces/kits/cj/osaccount/src/
H A Dosaccount_manager_impl.cpp82 return MallocCString(deviceId); in QueryDistributedVirtualDeviceId()
120 return MallocCString(name); in GetOsAccountName()
130 char *OsAccountManagerImpl::MallocCString(const std::string &origin) in MallocCString() function in OHOS::AccountJsKit::OsAccountManagerImpl
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/
H A Dappevent_watcher_impl.cpp198 retArrValue[i] = MallocCString(jsonValue[static_cast<int>(i)].asString()); in CovertArrString()
214 retArrValue[i] = MallocCString(json_string); in CovertArrObjStr()
278 retValue.value = MallocCString(jsonValue.asString()); in CreatElmStr()
287 retValue.value = MallocCString(json_string); in CreatObjStr()
327 retValue[i].key = MallocCString(propertyName); in CreateValueByJsonStr()
372 retValue1[index].name = MallocCString(it.first); in getEventGroups()
383 retValue2[i].domain = MallocCString(it.second[i]->GetDomain()); in getEventGroups()
384 retValue2[i].name = MallocCString(it.second[i]->GetName()); in getEventGroups()
415 char* cjDomain = MallocCString(context_->receiveContext->domain); in OnEvents()
H A Dappevent_packageholder_impl.cpp27 char* MallocCString(const std::string& origin) in MallocCString() function
52 retValue[i] = MallocCString(vecStr[i]); in ConvertArrString()
/base/account/os_account/frameworks/appaccount/cj/include/
H A Dappaccount_defination.h127 char *MallocCString(const std::string &origin);
128 char *MallocCString(const std::string &origin, int32_t &code);
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp25 char *MallocCString(const std::string &origin) in MallocCString() function
894 notificationSlot.desc = MallocCString(slot.GetDescription()); // desc?: string in SetNotificationSlot()
900 notificationSlot.sound = MallocCString(slot.GetSound().ToString()); // sound?: string in SetNotificationSlot()
934 notificationRequest.label = MallocCString(request->GetLabel()); in SetNotificationRequestByString()
937 notificationRequest.groupName = MallocCString(request->GetGroupName()); in SetNotificationRequestByString()
940 notificationRequest.creatorBundleName = MallocCString(request->GetCreatorBundleName()); in SetNotificationRequestByString()
1057 normal->title = MallocCString(basicContent->GetTitle()); in SetNotificationBasicContent()
1060 normal->text = MallocCString(basicContent->GetText()); in SetNotificationBasicContent()
1063 normal->additionalText = MallocCString(basicContent->GetAdditionalText()); in SetNotificationBasicContent()
1121 longText->title = MallocCString(longTextConten in SetNotificationLongTextContent()
[all...]
/base/inputmethod/imf/frameworks/cj/include/
H A Dutils.h29 static char* MallocCString(const std::string &origin);
/base/notification/common_event_service/interfaces/kits/ndk/src/
H A Doh_commonevent_parameters_parse.cpp44 p->value = MallocCString(natValue); in InnerWrapWantParamsString()
85 arrP[i] = MallocCString(val); in InnerWrapWantParamsArrayString()
171 ptr->key = MallocCString(iter->first); in ParseParameters()
204 char *MallocCString(const std::string &origin) in MallocCString() function
217 char *MallocCString(const std::string &origin, int32_t &code) in MallocCString() function
246 cData->data = MallocCString(data.GetData(), code); in GetCommonEventData()
247 cData->event = MallocCString(want.GetAction(), code); in GetCommonEventData()
248 cData->bundleName = MallocCString(want.GetBundle(), code); in GetCommonEventData()
/base/telephony/call_manager/frameworks/cj/src/
H A Dtelephony_call_utils.h24 inline char* MallocCString(const std::string& origin) in MallocCString() function
/base/telephony/state_registry/frameworks/cj/src/
H A Dtelephony_observer_utils.cpp20 char* MallocCString(const std::string& origin) in MallocCString() function
/base/account/os_account/frameworks/appaccount/cj/src/
H A Dappaccount_impl.cpp150 ret.data = MallocCString(credential); in getCredential()
166 ret.data = MallocCString(value); in getCustomData()
182 ret.data = MallocCString(token); in getAuthToken()
639 res.head[i].owner = MallocCString(owner); in Convert2CArrAppAccountInfo()
642 res.head[i].name = MallocCString(name); in Convert2CArrAppAccountInfo()
663 tmp.owner = MallocCString(owners[i]); in Convert2CArrAppAccountInfo()
664 tmp.name = MallocCString(names[i]); in Convert2CArrAppAccountInfo()
683 res.head[i].authType = MallocCString(in[i].authType); in Convert2CArrAuthTokenInfo()
684 res.head[i].token = MallocCString(in[i].token); in Convert2CArrAuthTokenInfo()
720 retValue[i] = MallocCString(*id in ConvertSet2CArrString()
[all...]
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/include/
H A Dappevent_packageholder_impl.h29 char* MallocCString(const std::string& origin);
/base/account/os_account/interfaces/kits/cj/osaccount/include/
H A Dosaccount_manager_impl.h38 static char *MallocCString(const std::string &origin);
/base/time/time_service/framework/cj/include/
H A Dsystem_date_time.h45 char* MallocCString(const std::string& origin);

Completed in 22 milliseconds

123