Home
last modified time | relevance | path

Searched refs:elems (Results 1 - 13 of 13) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/
H A Dpath_helper.cpp32 CVector<CString> elems; in NormalizePath() local
37 if (elem == DOUBLE_POINT_TAG && !elems.empty()) { // looking for xxx/../ in NormalizePath()
38 elems.pop_back(); in NormalizePath()
40 elems.push_back(elem); in NormalizePath()
47 elems.push_back(fileName.substr(prev)); in NormalizePath()
49 for (auto e : elems) { in NormalizePath()
/arkcompiler/ets_frontend/ets2panda/util/
H A Dhelpers.h192 static void LogDebug(Elements &&...elems);
194 static void LogInfo(Elements &&...elems);
196 static void LogWarning(Elements &&...elems);
198 static void LogError(Elements &&...elems);
200 static void LogFatal(Elements &&...elems);
203 static std::string AppendAll(Elements &&...elems);
212 static void Log(Elements &&...elems);
230 void Helpers::Log(Elements &&...elems) in Log() argument
265 (ark::Logger::Message(LOG_LEVEL, ES2PANDA, false).GetStream() << ... << std::forward<Elements>(elems)); in Log()
269 void Helpers::LogDebug(Elements &&...elems) in LogDebug() argument
275 LogInfo(Elements &&....elems) LogInfo() argument
281 LogWarning(Elements &&....elems) LogWarning() argument
287 LogError(Elements &&....elems) LogError() argument
293 LogFatal(Elements &&....elems) LogFatal() argument
299 AppendAll(Elements &&....elems) AppendAll() argument
[all...]
/arkcompiler/runtime_core/scripts/
H A Dmemusage.py148 elems = line.split()
149 if elems[0] == 'Size:':
150 if len(elems) < 3:
152 info.size += int(elems[1])
153 elif elems[0] == 'Rss:':
154 if len(elems) < 3:
156 info.rss += int(elems[1])
157 elif elems[0] == 'Pss:':
158 if len(elems) < 3:
160 info.pss += int(elems[
[all...]
/arkcompiler/runtime_core/static_core/scripts/
H A Dmemusage.py148 elems = line.split()
149 if elems[0] == 'Size:':
150 if len(elems) < 3:
152 info.size += int(elems[1])
153 elif elems[0] == 'Rss:':
154 if len(elems) < 3:
156 info.rss += int(elems[1])
157 elif elems[0] == 'Pss:':
158 if len(elems) < 3:
160 info.pss += int(elems[
[all...]
/arkcompiler/runtime_core/libpandabase/utils/
H A Dutf.cpp398 bool IsValidModifiedUTF8(const uint8_t *elems) in IsValidModifiedUTF8() argument
400 ASSERT(elems); in IsValidModifiedUTF8()
402 while (*elems != '\0') { in IsValidModifiedUTF8()
404 switch (*elems & 0xf0) { in IsValidModifiedUTF8()
415 ++elems; in IsValidModifiedUTF8()
426 if ((*elems & 0x08) == 0) { // NOLINT(hicpp-signed-bitwise) in IsValidModifiedUTF8()
428 ++elems; in IsValidModifiedUTF8()
429 if ((*elems & 0xc0) != 0x80) { // NOLINT(hicpp-signed-bitwise, readability-magic-numbers) in IsValidModifiedUTF8()
441 ++elems; in IsValidModifiedUTF8()
442 if ((*elems in IsValidModifiedUTF8()
[all...]
H A Dutf.h102 bool IsValidModifiedUTF8(const uint8_t *elems);
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dutf.cpp302 bool IsValidModifiedUTF8(const uint8_t *elems) in IsValidModifiedUTF8() argument
304 ASSERT(elems); in IsValidModifiedUTF8()
306 while (*elems != '\0') { in IsValidModifiedUTF8()
308 switch (*elems & 0xf0) { in IsValidModifiedUTF8()
319 ++elems; in IsValidModifiedUTF8()
330 if ((*elems & 0x08) == 0) { // NOLINT(hicpp-signed-bitwise) in IsValidModifiedUTF8()
332 ++elems; in IsValidModifiedUTF8()
333 if ((*elems & 0xc0) != 0x80) { // NOLINT(hicpp-signed-bitwise, readability-magic-numbers) in IsValidModifiedUTF8()
345 ++elems; in IsValidModifiedUTF8()
346 if ((*elems in IsValidModifiedUTF8()
[all...]
H A Dutf.h126 PANDA_PUBLIC_API bool IsValidModifiedUTF8(const uint8_t *elems);
/arkcompiler/runtime_core/static_core/runtime/mem/gc/gc-hung/
H A Dgc_hung.cpp43 static void Split(const PandaString &str, char delim, PandaVector<PandaString> *elems, bool skipEmpty = true) in Split() argument
48 elems->push_back(item); in Split()
/arkcompiler/runtime_core/libpandafile/
H A Dfile_item_container.cpp306 auto *elems = annotation_item->GetElements(); in DeduplicateAnnotationValue() local
309 for (size_t i = 0; i < elems->size(); i++) { in DeduplicateAnnotationValue()
336 auto &elem = (*elems)[i]; in DeduplicateAnnotationValue()
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dfile_item_container.cpp338 auto *elems = annotationItem->GetElements(); in DeduplicateAnnotationValue() local
341 for (size_t i = 0; i < elems->size(); i++) { in DeduplicateAnnotationValue()
368 auto &elem = (*elems)[i]; in DeduplicateAnnotationValue()
/arkcompiler/runtime_core/libpandafile/tests/
H A Dfile_item_container_test.cpp397 std::vector<AnnotationItem::Elem> elems; in HWTEST() local
399 AnnotationItem *annotation_item = container.CreateItem<AnnotationItem>(class_item, elems, tags); in HWTEST()
/arkcompiler/runtime_core/static_core/libpandafile/tests/
H A Dfile_item_container_test.cpp220 std::vector<AnnotationItem::Elem> elems; in TEST() local
222 auto *annotationItem = container.CreateItem<AnnotationItem>(classItem, elems, tags); in TEST()

Completed in 12 milliseconds