/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/common/memory/cache/test/unittest/common/ |
H A D | cache_manager_tdd_test.cpp | 42 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 D | memory_heap.cpp | 22 return ace_malloc(size); in operator new() 27 return ace_malloc(size); in operator new[]()
|
H A D | ace_mem_base.cpp | 55 void *ace_malloc(size_t size) in ace_malloc() function
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | locale_util.cpp | 67 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 D | dfx_assist.cpp | 48 …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 D | js_fwk_common.cpp | 160 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 D | time_util.cpp | 57 char *buffer = static_cast<char *>(ace_malloc(bufSize + 1)); in ParseToMilliseconds()
|
H A D | dft_impl.cpp | 41 char *path = static_cast<char *>(ace_malloc(len + 1)); in GetPagePath()
|
H A D | js_debugger_config.cpp | 88 return ace_malloc(size); in AllocEngineContext()
|
H A D | product_adapter.cpp | 283 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 D | string_util.cpp | 45 char *buffer = static_cast<char *>(ace_malloc(size + 1)); in Malloc()
|
/ohos5.0/base/global/i18n_lite/interfaces/kits/js/builtin/src/ |
H A D | locale_module.cpp | 26 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 D | feature_ability_module.cpp | 294 …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 D | cjson_parser.cpp | 57 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 D | timer_module.cpp | 77 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 D | date_time_format_module.cpp | 83 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 D | js_app_context.cpp | 220 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 D | js_profiler.cpp | 190 … 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 D | js_timer_list.cpp | 27 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 D | ace_mem_base.h | 56 void *ace_malloc(size_t size);
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/test/unittest/common/ |
H A D | dfx_tdd_test.cpp | 569 …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 D | app_style.cpp | 27 styleName_ = static_cast<char *>(ace_malloc(sizeof(char) * (nameLen + 1))); in SetStyleName() 263 newStr = static_cast<char *>(ace_malloc(size)); in ConcatJerryString()
|
H A D | app_style_item.cpp | 56 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 D | js.cpp | 60 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 D | jsi.cpp | 147 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()
|