Home
last modified time | relevance | path

Searched refs:ace_malloc (Results 1 – 25 of 37) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/common/memory/cache/test/unittest/common/
H A Dcache_manager_tdd_test.cpp42 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize));
76 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize));
119 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize));
150 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize));
183 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize));
221 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * totalSize));
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/common/memory/
H A Dmemory_heap.cpp22 return ace_malloc(size); in operator new()
27 return ace_malloc(size); in operator new[]()
H A Dace_mem_base.cpp55 void *ace_malloc(size_t size) in ace_malloc() function
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dlocale_util.cpp67 language = reinterpret_cast<char *>(ace_malloc(MAX_LANGUAGE_LENGTH)); in GetSystemLocaleInfo()
68 region = reinterpret_cast<char *>(ace_malloc(MAX_REGION_LENGTH)); in GetSystemLocaleInfo()
H A Ddfx_assist.cpp48 …jerry_char_t *errStrBuffer = static_cast<jerry_char_t *>(ace_malloc(sizeof(jerry_char_t) * (errStr… in DumpErrorCode()
93 …jerry_char_t *errStrBuffer = static_cast<jerry_char_t *>(ace_malloc(sizeof(jerry_char_t) * (stackM… in DumpErrorMessage()
H A Djs_fwk_common.cpp160 buffer = static_cast<jerry_char_t *>(ace_malloc(sizeof(jerry_char_t) * (size + 1))); in MallocStringOf()
463 char *fullPath = static_cast<char *>(ace_malloc(totalLength + 1)); in RelocateFilePath()
507 char *dirPath = static_cast<char *>(ace_malloc(len + 1)); in RelocateFilePathRelative()
682 scriptBuffer = static_cast<char *>(ace_malloc(scriptLength + 1)); in ReadFile()
798 char *filePath = static_cast<char *>(ace_malloc(pathLength + 1)); in CreatePathStrFromUrl()
1036 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * (bufSize + 1))); in ParseRgbaColor()
1160 char *newImagePath = static_cast<char *>(ace_malloc(len)); in ExpandImagePathMem()
1223 destination = static_cast<char *>(ace_malloc(len)); in CopyFontFamily()
H A Dtime_util.cpp57 char *buffer = static_cast<char *>(ace_malloc(bufSize + 1)); in ParseToMilliseconds()
H A Ddft_impl.cpp41 char *path = static_cast<char *>(ace_malloc(len + 1)); in GetPagePath()
H A Djs_debugger_config.cpp88 return ace_malloc(size); in AllocEngineContext()
H A Dproduct_adapter.cpp283 char *currentLanguage = static_cast<char *>(ace_malloc(MAX_LANGUAGE_LENGTH)); in UpdateDefaultFont()
284 char *currentOrigion = static_cast<char *>(ace_malloc(MAX_REGION_LENGTH)); in UpdateDefaultFont()
H A Dstring_util.cpp45 char *buffer = static_cast<char *>(ace_malloc(size + 1)); in Malloc()
/ohos5.0/base/global/i18n_lite/interfaces/kits/js/builtin/src/
H A Dlocale_module.cpp26 char *lang = reinterpret_cast<char *>(ace_malloc(MAX_LANGUAGE_LENGTH)); in GetLanguage()
41 char *region = reinterpret_cast<char *>(ace_malloc(MAX_REGION_LENGTH)); in GetRegion()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dfeature_ability_module.cpp294 …FeatureAbilityDataInfo *target = static_cast<FeatureAbilityDataInfo *>(ace_malloc(sizeof(FeatureAb… in MessageSuccessCallback()
323 target->deviceID = static_cast<char *>(ace_malloc(sizeof(char) * (bufSize + 1))); in CopySuccessMessage()
335 target->bundleName = static_cast<char *>(ace_malloc(sizeof(char) * (bufSize + 1))); in CopySuccessMessage()
348 target->abilityName = static_cast<char *>(ace_malloc(sizeof(char) * (bufSize + 1))); in CopySuccessMessage()
360 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * (bufSize + 1))); in CopySuccessMessage()
383 char *buffer = static_cast<char *>(ace_malloc(sizeof(char) * (dataLength + 1))); in MessageFailCallback()
H A Dcjson_parser.cpp57 void *ram = ace_malloc(LOCALIZATION_SIZE); in Init()
222 char **temp = static_cast<char **>(ace_malloc(length * sizeof(char *))); in ToString()
245 char *result = static_cast<char *>(ace_malloc(strLength)); in ToString()
280 char *result = static_cast<char *>(ace_malloc(len)); in SubStr()
297 char *currentLanguage = static_cast<char *>(ace_malloc(MAX_LANGUAGE_LENGTH)); in ChangeLanguage()
298 char *currentOrigion = static_cast<char *>(ace_malloc(MAX_REGION_LENGTH)); in ChangeLanguage()
547 char *mergeKey = reinterpret_cast<char *>(ace_malloc(mergeLen)); in GetMergeKey()
H A Dtimer_module.cpp77 static_cast<jerry_value_t *>(ace_malloc(sizeof(jerry_value_t) * (funcNumber))); in CreateTimer()
176 uint8_t* index = static_cast<uint8_t*>(ace_malloc(sizeof(uint8_t))); in Task()
H A Ddate_time_format_module.cpp83 numArray_ = reinterpret_cast<char **>(ace_malloc(MAX_NUM_LEN * sizeof(char *))); in InitNumArray()
186 char *res = reinterpret_cast<char *>(ace_malloc(maxSize)); in Format()
234 char *result = reinterpret_cast<char *>(ace_malloc(maxMonthLen)); in GetMonthVal()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_app_context.cpp220 currentAbilityPath_ = static_cast<char *>(ace_malloc(abilityPathLen + 1)); in SetCurrentAbilityInfo()
237 currentBundleName_ = static_cast<char *>(ace_malloc(bundleNameLen + 1)); in SetCurrentAbilityInfo()
269 currentJsPath_ = static_cast<char *>(ace_malloc(jsPathLen + 1)); in SetCurrentJsPath()
299 currentUri_ = static_cast<char*>(ace_malloc(uriLen + 1)); in SetCurrentUri()
H A Djs_profiler.cpp190 … data_ = static_cast<PerformanceData *>(ace_malloc(maxTracingDataCount * sizeof(PerformanceData))); in PrepareDataBuffer()
196 msg_ = static_cast<ProfilerMsg *>(ace_malloc(PROFILER_MSG_LENGTH * sizeof(ProfilerMsg))); in PrepareDataBuffer()
H A Djs_timer_list.cpp27 TimerNode *timer = static_cast<TimerNode *>(ace_malloc(sizeof(TimerNode))); in AddTimer()
/ohos5.0/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/base/
H A Dace_mem_base.h56 void *ace_malloc(size_t size);
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/test/unittest/common/
H A Ddfx_tdd_test.cpp569 …jerry_char_t *errStrBuffer = static_cast<jerry_char_t *>(ace_malloc(sizeof(jerry_char_t) * (errStr… in DfxTest001()
620 …jerry_char_t *errStrBuffer = static_cast<jerry_char_t *>(ace_malloc(sizeof(jerry_char_t) * (stackM… in DfxTest002()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/
H A Dapp_style.cpp27 styleName_ = static_cast<char *>(ace_malloc(sizeof(char) * (nameLen + 1))); in SetStyleName()
263 newStr = static_cast<char *>(ace_malloc(size)); in ConcatJerryString()
H A Dapp_style_item.cpp56 styleValue_.string = static_cast<char *>(ace_malloc(sizeof(char) * (len + 1))); in SetStringValue()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/wrapper/
H A Djs.cpp60 char *emptyStr = static_cast<char *>(ace_malloc(sizeof(char))); in Value()
71 … jerry_char_t *buffer = static_cast<jerry_char_t *>(ace_malloc(sizeof(jerry_char_t) * (size + 1))); in Value()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/
H A Djsi.cpp147 JSIValue *jsiArgs = static_cast<JSIValue *>(ace_malloc(sizeof(JSIValue) * jsiArgsNum)); in CreateJerryFuncHelper()
646 result = static_cast<char *>(ace_malloc(sizeof(char))); in ValueToString()
654 … jerry_char_t *buffer = static_cast<jerry_char_t *>(ace_malloc(sizeof(jerry_char_t) * (size + 1))); in ValueToString()
692 auto *buffer = static_cast<jerry_char_t *>(ace_malloc(sizeof(jerry_char_t) * size)); in ValueToStringWithBufferSize()

12