| /arkcompiler/runtime_core/scripts/ |
| D | gc_pause_stats.py | 30 def sort_one_gc_stat(stats: dict, gc_type: str) -> list: 49 def save_pause_stats(gc_log_path: str, file_name: str, stats: dict) -> None: 67 def get_ms_time(line: str) -> float: 79 def get_full_type(line: str, cause_start: int, cause_len: int) -> str: 89 def get_gc_type(line: str) -> (str, str): 98 def update_stats(stats: dict, gc_type: str, time_value: float): 125 def detect_str(line: str) -> (int, int): 135 def update_group_stats(gc_pause_stats: dict, gc_type: str, full_gc_type: str, time_v: float): 142 def process_one_log(gc_log_path: str, result_file_path: str, all_stats: dict) -> None:
|
| /arkcompiler/ets_runtime/test/perform/string/ |
| D | string.js | 17 … const str = "The quick brown fox jumps over the lazy dog. If the dog reacted, was it really lazy?" constant 30 const str = 'Apples are round, and apples are juicy.'; constant 54 const str = "Hello World. How are you doing?" constant 65 const str = "The quick brown fox jumps over the lazy dog." constant 76 const str = "Harry Trump ;Fred Barney; Helen Rigby ; Bill Abel ;Chris Hand " constant 88 … const str = "The quick brown fox jumps over the lazy dog. If the dog barked, was it really lazy?" constant 100 … const str = "The quick brown fox jumps over the lazy dog. If the dog barked, was it really lazy?" constant 112 … const str = "The quick brown fox jumps over the lazy dog. If the dog barked, was it really lazy?" constant 123 const str = "Hello World. How are you doing?" constant 134 const str = "The quick brown fox jumps over the lazy dog." constant [all …]
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | json_parser_test.cpp | 24 auto str = R"( variable 45 auto str = R"( variable 90 auto str = R"( variable 148 auto str = R"( variable 183 auto str = R"( variable
|
| /arkcompiler/runtime_core/libpandabase/trace/ |
| D | trace.h | 42 static inline void BeginTracePoint(const char *str) in BeginTracePoint() 56 static inline void IntTracePoint(const char *str, int32_t val) in IntTracePoint() 63 static inline void Int64TracePoint(const char *str, int64_t val) in Int64TracePoint() 72 explicit ScopedTrace(const char *str) in ScopedTrace() 76 explicit ScopedTrace(const std::string &str) : ScopedTrace(str.c_str()) {} in ScopedTrace()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | c_string.cpp | 28 long CStringToL(const CString &str) in CStringToL() 36 int64_t CStringToLL(const CString &str) in CStringToLL() 44 uint64_t CStringToULL(const CString &str) in CStringToULL() 52 float CStringToF(const CString &str) in CStringToF() 61 double CStringToD(const CString &str) in CStringToD() 90 CString ConvertToString(const std::string &str) in ConvertToString() 123 std::string CstringConvertToStdString(const CString &str) in CstringConvertToStdString()
|
| /arkcompiler/toolchain/tooling/test/ |
| D | pt_json_test.cpp | 45 std::string str = "false"; in HWTEST_F_L0() local 55 std::string str = "true"; in HWTEST_F_L0() local 65 std::string str = "100"; in HWTEST_F_L0() local 75 std::string str = "123456789012345"; in HWTEST_F_L0() local 85 std::string str = "12345.6789"; in HWTEST_F_L0() local 95 std::string str = "\"abcdefg\""; in HWTEST_F_L0() local 105 std::string str = "[\"a\",\"b\",200]"; in HWTEST_F_L0() local 118 std::string str = "[\"a\",\"b\",200,10.5,{}]"; in HWTEST_F_L0() local 158 std::string str; in HWTEST_F_L0() local
|
| /arkcompiler/runtime_core/runtime/mem/ |
| D | panda_string.cpp | 28 int64_t PandaStringToLL(const PandaString &str) in PandaStringToLL() 36 uint64_t PandaStringToULL(const PandaString &str) in PandaStringToULL() 44 float PandaStringToF(const PandaString &str) in PandaStringToF() 53 double PandaStringToD(const PandaString &str) in PandaStringToD() 75 PandaString ConvertToString(const std::string &str) in ConvertToString()
|
| /arkcompiler/runtime_core/platforms/windows/libpandabase/ |
| D | trace.cpp | 30 void DoBeginTracePoint([[maybe_unused]] const char *str) in DoBeginTracePoint() 40 void DoIntTracePoint([[maybe_unused]] const char *str, [[maybe_unused]] int32_t val) in DoIntTracePoint() 45 void DoInt64TracePoint([[maybe_unused]] const char *str, [[maybe_unused]] int64_t val) in DoInt64TracePoint()
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/ |
| D | trace.cpp | 68 void DoBeginTracePoint(const char *str) in DoBeginTracePoint() 80 void DoIntTracePoint(const char *str, int32_t val) in DoIntTracePoint() 86 void DoInt64TracePoint(const char *str, int64_t val) in DoInt64TracePoint()
|
| /arkcompiler/ets_frontend/es2panda/util/ |
| D | ustring.h | 33 explicit StringView(const ArenaString *str) noexcept : sv_(*str) {} in StringView() 37 StringView(const char *str) noexcept : sv_(str) {} in StringView() 72 bool Is(const char *str) const noexcept in Is() 77 bool Is(const std::string_view &str) const noexcept in Is() 112 constexpr size_t Find(const char *str) in Find() 254 explicit UString(const std::string &str, ArenaAllocator *allocator) : UString(allocator) in UString() 361 std::string str; in EscapeSymbol() local 415 void StringView::Utf8Encode(T *str, char32_t cu) in Utf8Encode() 441 void StringView::Mutf8Encode(T *str, char32_t cu) in Mutf8Encode()
|
| D | helpers.cpp | 58 bool Helpers::IsGlobalIdentifier(const util::StringView &str) in IsGlobalIdentifier() 107 int64_t Helpers::GetIndex(const util::StringView &str) in GetIndex() 135 std::string str; in ToString() local 148 util::UString str(ToString(number), allocator); in ToStringView() local 160 util::UString str(ToString(number), allocator); in ToStringView() local
|
| /arkcompiler/runtime_core/verification/util/tests/ |
| D | str_test.cpp | 28 std::string str = "Generator"; in Generator() local 40 TEST_F(VerifierTest, str) in TEST_F() argument
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | string_helper.h | 55 static inline CString RepalceAll(CString str, const CString &oldValue, in RepalceAll() 96 static inline std::wstring StringToWstring(const std::string &str) in StringToWstring() 106 static inline std::u16string StringToU16string(const std::string &str) in StringToU16string() 129 static inline std::string ToUpper(const std::u16string &str) in ToUpper() 140 static inline std::string ToLocaleUpper(const std::u16string &str, const icu::Locale &locale) in ToLocaleUpper() 151 static inline std::string ToLower(const std::u16string &str) in ToLower() 162 static inline std::string ToLocaleLower(const std::u16string &str, const icu::Locale &locale) in ToLocaleLower() 347 … static std::vector<std::string> SplitString(const std::string &str, const std::string &delimiter) in SplitString() 368 static bool EndsWith(const std::string &str, const std::string &suffix) in EndsWith() 388 static bool StringStartWith(const CString& str, const CString& startStr) in StringStartWith() [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/code_generator/target/ |
| D | asm_printer.cpp | 25 auto str = labels_[id]; in BindLabel() local 48 auto str = labels_[id]; in BindLabel() local 70 auto str = labels_[id]; in BindLabel() local
|
| /arkcompiler/runtime_core/libpandabase/serializer/ |
| D | serializer.h | 124 …ed<size_t, const char *> BufferToType(const uint8_t *data, size_t size, /* out */ std::string &str) in BufferToType() 285 bool StructToBuffer(Struct &&str, /* out */ std::vector<uint8_t> &buffer) // NOLINT(google-runtime… in StructToBuffer() 292 …ed<size_t, const char *> RawBufferToStruct(const uint8_t *data, size_t size, /* out */ Struct &str) in RawBufferToStruct() 309 bool BufferToStruct(const uint8_t *data, size_t size, /* out */ Struct &str) in BufferToStruct() 319 bool BufferToStruct(const std::vector<uint8_t> &buffer, /* out */ Struct &str) in BufferToStruct()
|
| D | struct_to_tuple.h | 58 auto StructToTuple(Struct &&str) in StructToTuple()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_primitive_ref.cpp | 34 JSHandle<JSTaggedValue> str(factory->NewJSString(value)); in StringCreate() local 55 … EcmaString *str = EcmaString::Cast(JSPrimitiveRef::Cast(*obj)->GetValue().GetTaggedObject()); in StringGetIndexProperty() local
|
| /arkcompiler/ets_runtime/test/moduletest/dynamicimport/ |
| D | C.js | 16 var str = "===="; variable
|
| /arkcompiler/ets_frontend/es2panda/test/base64/inputFile/ |
| D | input.js | 16 let str = "hello world!"; variable
|
| /arkcompiler/ets_runtime/test/aottest/gettemplateobject/ |
| D | gettemplateobject.ts | 26 let str = "world"; variable
|
| /arkcompiler/ets_frontend/ts2panda/tests/types/union/ |
| D | union_primitives.ts | 18 let str: string | symbol = "myStr"; variable
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
| D | file_stream.cpp | 83 std::string str; in WriteChunk() local 113 std::string str; in WriteChunk() local
|
| /arkcompiler/ets_runtime/test/moduletest/require/ |
| D | require.js | 26 var str = JSON.stringify(strB + " and " + strC); variable
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | logger.cpp | 149 void Logger::Log(Level level, Component component, const std::string &str) in Log() 304 void FileLogger::LogLineInternal(Level level, Component component, const std::string &str) in LogLineInternal() 310 void FastFileLogger::LogLineInternal(Level level, Component component, const std::string &str) in LogLineInternal() 316 void StderrLogger::LogLineInternal(Level level, Component component, const std::string &str) in LogLineInternal()
|
| /arkcompiler/ets_frontend/ts2panda/tests/types/array/ |
| D | array_primitives.ts | 19 let str: string[]; variable
|