Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 99) sorted by relevance

1234

/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
Dstring_utils_test.cpp49 std::string str; in RandomString() local
65 std::string str = "abbcccdefgh.txt"; variable
79 std::string str = "abbcccdefgh.txt"; variable
92 std::string str = "abbcccdefgh.txt"; variable
106 std::string str = "abbcccdefgh.txt"; variable
121 std::string str = RandomString(STR_MAX_SIZE); variable
138 std::string str = "abbcccdefgh.txt"; variable
155 std::string str = "abbcccdefgh.txt"; variable
173 std::string str = RandomString(STR_MAX_SIZE); variable
190 std::string str = "abbcccdefgh.txt"; variable
[all …]
Dkernel_symbols_parser_test.cpp58 std::string str = std::to_string(RandomNumber()); in RandAddr() local
64 std::string str; in RandomName() local
77 char str = 't'; in RandomType() local
86 std::string str = randAddr + " " + randomType + " " + RandomName; in RandomSymbols() local
Dprintk_formats_parser_test.cpp127 std::string str = "0x0"; in RandomAddr() local
137 std::string str; in RandomString() local
147 std::string str = randNumber + " : " + randomString; in BuildPrintkLine() local
/developtools/profiler/host/smartperf/trace_streamer/test/unittest/
Devent_parser_test.cpp203 const uint8_t str[] = variable
227 const uint8_t str[] = variable
254 const uint8_t str[] = variable
281 const uint8_t str[] = variable
308 …const uint8_t str[] = "<idle>-0 (-----) [003] d..2 174330.280761: cpu_idle: state=2 cpu_id=3\n… variable
331 const uint8_t str[] = variable
355 const uint8_t str[] = variable
379 const uint8_t str[] = variable
403 const uint8_t str[] = variable
428 const uint8_t str[] = variable
[all …]
Dbytrace_parser_test.cpp170 std::string str( variable
190 std::string str( variable
210 std::string str( variable
230 std::string str( variable
/developtools/profiler/trace_analyzer/test/unittest/
Devent_parser_test.cpp203 const uint8_t str[] = variable
227 const uint8_t str[] = variable
254 const uint8_t str[] = variable
281 const uint8_t str[] = variable
308 …const uint8_t str[] = "<idle>-0 (-----) [003] d..2 174330.280761: cpu_idle: state=2 cpu_id=3\n… variable
331 const uint8_t str[] = variable
355 const uint8_t str[] = variable
379 const uint8_t str[] = variable
403 const uint8_t str[] = variable
428 const uint8_t str[] = variable
[all …]
Dbytrace_parser_test.cpp170 std::string str( variable
190 std::string str( variable
210 std::string str( variable
230 std::string str( variable
/developtools/profiler/host/ohosprofiler/src/test/java/ohos/devtools/views/layout/utils/
DTraceStreamerUtilsTest.java86 String str = traceStreamerUtils.getBaseDir(); in getBaseDirTest01() local
101 String str = traceStreamerUtils.getLogPath("trace_streamer.db"); in getLogPathTest01() local
116 String str = traceStreamerUtils.getDbPath(); in getDbPathTest01() local
131 String str = traceStreamerUtils.getDbPath("dbName"); in getDbPathTwoTest01() local
146 String str = traceStreamerUtils.getTraceStreamerApp(); in getTraceStreamerAppTest01() local
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dstring_utils.cpp17 bool StringUtils::EndsWith(const std::string& str, const std::string& postfix) in EndsWith()
25 bool StringUtils::StartsWith(const std::string& str, const std::string& prefix) in StartsWith()
33 bool StringUtils::Contains(const std::string& str, const std::string& target) in Contains()
38 std::string StringUtils::Strip(const std::string& str) in Strip()
67 std::vector<std::string> StringUtils::Split(const std::string& str, const std::string& sep) in Split()
/developtools/profiler/host/ohosprofiler/src/test/java/ohos/devtools/datasources/utils/common/util/
DCharsetUtilTest.java73 String str = CharsetUtil.convert("convertTest", GBK, UTF_8); in convertTest() local
88 … String str = CharsetUtil.convert("convertTest", Charset.forName(GBK), Charset.forName(UTF_8)); in convertTest01() local
103 String str = CharsetUtil.defaultCharsetName(); in defaultCharsetNameTest() local
DDateTimeUtilTest.java43 String str = DateTimeUtil.dateToString(LocalDateTime.now()); in dateToStringTest() local
88 String str = DateTimeUtil.dateToString(LocalDateTime.now(), COMMON_FORMATTER); in testDateToString() local
148 String str = DateTimeUtil.getNowTimeString("yyyy-MM-dd HH:mm:ss"); in getNowTimeStringTest() local
/developtools/profiler/host/ohosprofiler/src/test/java/ohos/devtools/datasources/databases/databasepool/
DDataTableHelperTest.java40 String str = DataTableHelper.getTableNameBySql("("); in getTableNameBySqlTest01() local
56 String str = DataTableHelper.getTableNameBySql("("); in getTableNameBySqlTest02() local
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/trace/
DCommon.java47 public static Rectangle2D getStringRect(Graphics graphics, String str) { in getStringRect()
143 … public static void drawStringCenter(Graphics2D graphics, String str, final Rectangle rectangle) { in drawStringCenter()
175 …public static void drawStringVHCenter(Graphics2D graphics, String str, final Rectangle rectangle) { in drawStringVHCenter()
204 public static void drawStringMiddleHeight(Graphics2D g2, String str, final Rectangle rect) { in drawStringMiddleHeight()
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/distributed/util/
DDistributedCommon.java51 public static Rectangle2D getStringRect(Graphics graphics, String str) { in getStringRect()
147 … public static void drawStringCenter(Graphics2D graphics, String str, final Rectangle rectangle) { in drawStringCenter()
179 …public static void drawStringVHCenter(Graphics2D graphics, String str, final Rectangle rectangle) { in drawStringVHCenter()
209 public static void drawStringMiddleHeight(Graphics2D g2, String str, final Rectangle rect) { in drawStringMiddleHeight()
/developtools/profiler/trace_analyzer/src/trace_data/
Dtrace_data_cache_base.cpp28 DataIndex TraceDataCacheBase::GetDataIndex(std::string_view str) in GetDataIndex()
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/
Dtrace_data_cache_base.cpp28 DataIndex TraceDataCacheBase::GetDataIndex(std::string_view str) in GetDataIndex()
/developtools/profiler/trace_analyzer/src/base/
Dparting_string.cpp21 PartingString::PartingString(std::string str, char delimiter) : str_(std::move(str)), delimiter_(de… in PartingString()
/developtools/profiler/host/smartperf/trace_streamer/src/base/
Dparting_string.cpp19 PartingString::PartingString(std::string str, char delimiter) : str_(std::move(str)), delimiter_(de… in PartingString()
/developtools/profiler/host/ohosprofiler/src/test/java/ohos/devtools/views/trace/util/
DTimeUtilsTest.java33 String str = TimeUtils.getSecondFromNSecond(1000L); in getSecondFromNSecond() local
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Delf_parser_test.cpp648 std::string str = line.substr(pos, len); in GetSecIndex() local
684 std::string str = strVec[index]; in GetName() local
709 std::string str = strVec[index]; in GetAddress() local
735 std::string str = strVec[index]; in GetFileOffset() local
761 std::string str = strVec[index]; in GetSecSize() local
787 std::string str = strVec[index]; in GetEntrySize() local
810 std::string str = strVec[strVec.size() + index]; in GetLink() local
832 std::string str = strVec[strVec.size() + index]; in GetInfo() local
854 std::string str = strVec[strVec.size() + index]; in GetAlign() local
925 std::string str = strVec[index]; in GetOffset() local
[all …]
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/common/treetable/
DDataFilter.java53 public void setFilter(boolean aBoolean, String str) { in setFilter()
/developtools/profiler/trace_analyzer/src/include/
Dstring_to_numerical.h80 inline std::optional<double> StrToDouble(const std::string& str) in StrToDouble()
/developtools/profiler/host/smartperf/trace_streamer/src/include/
Dstring_to_numerical.h79 inline std::optional<double> StrToDouble(const std::string& str) in StrToDouble()
/developtools/hiperf/test/unittest/common/native/
Delf_parser_test.cpp649 std::string str = line.substr(pos, len); in GetSecIndex() local
685 std::string str = strVec[index]; in GetName() local
710 std::string str = strVec[index]; in GetAddress() local
736 std::string str = strVec[index]; in GetFileOffset() local
762 std::string str = strVec[index]; in GetSecSize() local
788 std::string str = strVec[index]; in GetEntrySize() local
811 std::string str = strVec[strVec.size() + index]; in GetLink() local
833 std::string str = strVec[strVec.size() + index]; in GetInfo() local
855 std::string str = strVec[strVec.size() + index]; in GetAlign() local
926 std::string str = strVec[index]; in GetOffset() local
[all …]
/developtools/profiler/trace_analyzer/src/table/
Dthread_filter_table.cpp57 std::string str = in Column() local

1234