/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | bundle_manager_convert.cpp | 36 char *MallocCString(const std::string &origin) in MallocCString() function 44 APP_LOGE("MallocCString malloc failed"); in MallocCString() 66 retValue[i] = MallocCString(vecStr[i]); in ConvertArrString() 81 uScene.when = MallocCString(usedScence.when); in ConvertUsedScene() 88 data.name = MallocCString(cdata.name); in ConvertMetadata() 89 data.value = MallocCString(cdata.value); in ConvertMetadata() 90 data.resource = MallocCString(cdata.resource); in ConvertMetadata() 97 res.bundleName = MallocCString(cres.bundleName); in ConvertResource() 98 res.moduleName = MallocCString(cres.moduleName); in ConvertResource() 133 retValue[i].moduleName = MallocCString(ite in ConvertArrMoMeta() [all...] |
/foundation/communication/wifi/wifi/frameworks/cj/src/ |
H A D | wifi_ffi.cpp | 69 static char *MallocCString(const std::string &origin) in MallocCString() function 220 info.ssid = MallocCString(each.ssid); in ScanInfo2Cj() 221 info.bssid = MallocCString(each.bssid); in ScanInfo2Cj() 223 info.capabilities = MallocCString(each.capabilities); in ScanInfo2Cj() 245 info.deviceName = MallocCString(device.GetDeviceName()); in DeviceInfo2Cj() 246 info.deviceAddress = MallocCString(device.GetDeviceAddress()); in DeviceInfo2Cj() 247 info.primaryDeviceType = MallocCString(device.GetPrimaryDeviceType()); in DeviceInfo2Cj() 310 eapConfig.identity = MallocCString(wifiEapConfig.identity); in EapConfig2C() 311 eapConfig.anonymousIdentity = MallocCString(wifiEapConfig.anonymousIdentity); in EapConfig2C() 312 eapConfig.password = MallocCString(wifiEapConfi in EapConfig2C() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/cj/src/ |
H A D | relational_store_impl_resultsetproxy.cpp | 53 result[i] = MallocCString(colNames[i]); in GetAllColumnNames() 173 return MallocCString(result); in GetColumnName() 191 .name= MallocCString(asset.name), in GetAsset() 192 .uri= MallocCString(asset.uri), in GetAsset() 193 .path= MallocCString(asset.path), in GetAsset() 194 .createTime= MallocCString(asset.createTime), in GetAsset() 195 .modifyTime= MallocCString(asset.modifyTime), in GetAsset() 196 .size= MallocCString(asset.size), in GetAsset() 218 return MallocCString(result); in GetString() 276 .name= MallocCString(asset in GetAssets() [all...] |
H A D | relational_store_utils.cpp | 22 char* MallocCString(const std::string& origin) in MallocCString() function 131 .name = MallocCString(val.name), in ValueObjectToValueTypeAsset() 132 .uri = MallocCString(val.uri), in ValueObjectToValueTypeAsset() 133 .path = MallocCString(val.path), in ValueObjectToValueTypeAsset() 134 .createTime = MallocCString(val.createTime), in ValueObjectToValueTypeAsset() 135 .modifyTime = MallocCString(val.modifyTime), in ValueObjectToValueTypeAsset() 136 .size = MallocCString(val.size), in ValueObjectToValueTypeAsset() 152 .name = MallocCString(val[i].name), in ValueObjectToValueTypeAssets() 153 .uri = MallocCString(val[i].uri), in ValueObjectToValueTypeAssets() 154 .path = MallocCString(va in ValueObjectToValueTypeAssets() [all...] |
/foundation/filemanagement/app_file_service/interfaces/kits/cj/src/ |
H A D | file_fileuri_ffi.cpp | 32 char* MallocCString(const std::string& origin) in MallocCString() function 69 char* result = MallocCString(path); in FfiOHOSFILEUriGetPath() 81 char* result = MallocCString(name); in FfiOHOSFILEUriGetName() 93 char* result = MallocCString(str); in FfiOHOSFILEUriToString() 100 char* result = MallocCString(uri); in FfiOHOSFILEUriGetUriFromPath()
|
/foundation/distributeddatamgr/udmf/interfaces/cj/src/ |
H A D | type_descriptor_impl.cpp | 42 return Utils::MallocCString(ret); in GetTypeId() 54 return Utils::MallocCString(ret); in GetDescription() 60 return Utils::MallocCString(ret); in GetIconFile() 66 return Utils::MallocCString(ret); in GetReferenceURL()
|
H A D | utils.cpp | 18 char* Utils::MallocCString(const std::string& origin) in MallocCString() function in Utils 41 head[i] = Utils::MallocCString(vector[i]); in StringVectorToArray()
|
H A D | uniform_type_descriptor_impl.cpp | 68 return Utils::MallocCString(typeId); in GetUniformDataTypeByFilenameExtension() 91 return Utils::MallocCString(typeId); in GetUniformDataTypeByMIMEType()
|
/foundation/ability/ability_runtime/frameworks/cj/ffi/app/errormanager/ |
H A D | cj_error_observer.cpp | 22 char *MallocCString(const std::string &origin) in MallocCString() function 63 char* cstr = MallocCString(errMsg); in HandleOnUnhandledException() 82 cjErrorObj.name = MallocCString(errorObj.name); in HandleException() 83 cjErrorObj.message = MallocCString(errorObj.message); in HandleException() 84 cjErrorObj.stack = MallocCString(errorObj.stack); in HandleException()
|
/foundation/communication/netmanager_base/frameworks/cj/connection/src/ |
H A D | net_connection_callback.cpp | 126 CNetAddress netAddr{.address = MallocCString(it->address_), .family = it->family_, .port = it->port_}; in SetConnectionProp() 139 CNetAddress{.address = MallocCString(it->address_), .family = it->family_, .port = it->port_}; in SetConnectionProp() 150 CNetAddress destAddr = {.address = MallocCString(it->destination_.address_), in SetConnectionProp() 154 CNetAddress gateway = {.address = MallocCString(it->gateway_.address_), in SetConnectionProp() 157 props.routes[i] = CRouteInfo{.interfaceName = MallocCString(it->iface_), in SetConnectionProp() 186 CConnectionProperties props = {.interfaceName = MallocCString(info->ifaceName_), in NetConnectionPropertiesChange() 187 .domains = MallocCString(info->domain_), in NetConnectionPropertiesChange()
|
H A D | net_connection_ffi.cpp | 104 CNetAddress address = {.address = MallocCString(host_), .family = tmp->ai_addr->sa_family, .port = port}; in ParseAddrInfo() 200 CNetAddress netAddr{.address = MallocCString(it->address_), .family = it->family_, .port = it->port_}; in SetLinkAddr() 218 CNetAddress{.address = MallocCString(it->address_), .family = it->family_, .port = it->port_}; in SetDns() 236 CNetAddress destAddr = {.address = MallocCString(it->destination_.address_), in SetRoute() 240 CNetAddress gateway = {.address = MallocCString(it->gateway_.address_), in SetRoute() 243 ret.routes[i] = CRouteInfo{.interfaceName = MallocCString(it->iface_), in SetRoute() 259 ret.interfaceName = MallocCString(linkInfo.ifaceName_); in CJ_GetConnectionProperties() 260 ret.domains = MallocCString(linkInfo.domain_); in CJ_GetConnectionProperties() 281 chttpProxy.host = MallocCString(httpProxy.GetHost()); in CJ_GetGlobalHttpProxy() 295 chttpProxy.host = MallocCString(httpProx in CJ_GetDefaultHttpProxy() 465 char *MallocCString(const std::string &origin) MallocCString() function [all...] |
/foundation/communication/bluetooth/frameworks/cj/connection/src/ |
H A D | bluetooth_connection_callback.cpp | 55 retValue[i] = MallocCString(remoteDevice->GetDeviceAddr()); in OnDiscoveryResult() 76 char* deviceAddr = MallocCString(device.GetDeviceAddr()); in OnPairConfirmed() 79 char* pinCodeNative = MallocCString(GetFormatPinCode(reqType, number)); in OnPairConfirmed() 114 char* deviceAddr = MallocCString(device.GetDeviceAddr()); in OnPairStatusChanged()
|
H A D | bluetooth_connection_common.cpp | 58 char* MallocCString(const std::string& origin) in MallocCString() function 90 res.head[i] = MallocCString(tids[i]); in Convert2CArrString()
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | mkdtemp.cpp | 31 char* MallocCString(const std::string& origin) in MallocCString() function 61 ret.data = MallocCString(mkdtemp_req->path); in Mkdtemp()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/ |
H A D | cj_environment.cpp | 91 NativeOptionCString result {.hasValue = false, .value = Utils::MallocCString("").value}; in FfiOHOSAceFrameworkEnvironmentGetLanguageCode() 100 result.value = Utils::MallocCString(language).value; in FfiOHOSAceFrameworkEnvironmentGetLanguageCode()
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/ |
H A D | work_scheduler_mock.cpp | 31 FFI_EXPORT int MallocCString = 0; variable
|
/foundation/distributeddatamgr/kv_store/frameworks/cj/src/ |
H A D | distributed_kv_store_utils.cpp | 20 char* MallocCString(const std::string& origin) in MallocCString() function
|
/foundation/distributeddatamgr/preferences/frameworks/cj/src/ |
H A D | preferences_utils.h | 29 char* MallocCString(const std::string& origin);
|
H A D | preferences_utils.cpp | 20 char* MallocCString(const std::string& origin) in MallocCString() function
|
/foundation/distributeddatamgr/udmf/interfaces/cj/include/ |
H A D | utils.h | 29 static char *MallocCString(const std::string &origin);
|
/foundation/graphic/graphic_2d/interfaces/kits/cj/color_manager/ |
H A D | cj_color_mgr_utils.cpp | 18 char* Utils::MallocCString(const std::string& origin) in MallocCString() function in Utils
|
/foundation/communication/bluetooth/frameworks/cj/connection/include/ |
H A D | bluetooth_connection_common.h | 28 char* MallocCString(const std::string& origin);
|
/foundation/distributeddatamgr/kv_store/frameworks/cj/include/ |
H A D | distributed_kv_store_utils.h | 24 char* MallocCString(const std::string& origin);
|
/foundation/multimedia/audio_framework/frameworks/cj/src/ |
H A D | multimedia_audio_common.cpp | 22 char *MallocCString(const std::string &origin) in MallocCString() function 134 device->displayName = MallocCString(deviceInfo.displayName); in Convert2CDeviceDescriptor() 135 device->address = MallocCString(deviceInfo.macAddress); in Convert2CDeviceDescriptor() 136 device->name = MallocCString(deviceInfo.deviceName); in Convert2CDeviceDescriptor()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/router/ |
H A D | cj_router_ffi.cpp | 65 return Utils::MallocCString(frontend->GetParams()); in FfiOHOSAceFrameworkRouterGetParams()
|