Home
last modified time | relevance | path

Searched refs:string (Results 1 - 25 of 8508) sorted by relevance

12345678910>>...341

/test/ostest/wukong/common/include/
H A Dwukong_util.h21 #include <string>
46 uint32_t FindElement(std::vector<std::string> &bundleList, std::string key);
54 bool ContainsElement(std::vector<std::string> &bundleList, std::string key);
58 * @param optarg command string
61 ErrCode SetAllowList(const std::string &optarg);
65 * @param optarg command string.
68 ErrCode SetBlockList(const std::string &optarg);
72 * @param optarg command string
[all...]
/test/xts/acts/hiviewdfx/utils/native/
H A Dfile_utils.h20 #include <string>
31 bool CheckInfo(std::vector<std::string> &para, std::string eventinfo);
32 int ExecCmdWithRet(std::string cmd, std::vector<std::string> &resvec);
33 std::string ReadFile(std::string filename);
34 void RedirecthiLog(std::string &hilogredirect, std::string &timeout);
35 void ExeCmd(std::string cm
[all...]
H A Dfile_utils.cpp21 #include <string>
36 int ExecCmdWithRet(std::string cmd, std::vector<std::string> &resvec) in ExecCmdWithRet()
43 if ((cmd.find("hilog") == std::string::npos) && (cmd.find("hidumper") == std::string::npos) in ExecCmdWithRet()
44 && (cmd.find("ps") == std::string::npos) && (cmd.find("rm") == std::string::npos) && in ExecCmdWithRet()
45 (cmd.find("hiperf") == std::string::npos) && (cmd.find("hisysevent") == std::string::npos) && in ExecCmdWithRet()
46 (cmd.find("mkdir") == std::string in ExecCmdWithRet()
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dutstrsuppt.c4 * Module Name: utstrsuppt - Support functions for string-to-integer conversion
27 * PARAMETERS: string - Null terminated input string
32 * DESCRIPTION: Performs a base 8 conversion of the input string to an
40 acpi_status acpi_ut_convert_octal_string(char *string, u64 *return_value_ptr) in acpi_ut_convert_octal_string() argument
45 /* Convert each ASCII byte in the input string */ in acpi_ut_convert_octal_string()
47 while (*string) { in acpi_ut_convert_octal_string()
53 if (!(ACPI_IS_OCTAL_DIGIT(*string))) { in acpi_ut_convert_octal_string()
62 status = acpi_ut_insert_digit(&accumulated_value, 8, *string); in acpi_ut_convert_octal_string()
68 string in acpi_ut_convert_octal_string()
94 acpi_ut_convert_decimal_string(char *string, u64 *return_value_ptr) acpi_ut_convert_decimal_string() argument
148 acpi_ut_convert_hex_string(char *string, u64 *return_value_ptr) acpi_ut_convert_hex_string() argument
200 acpi_ut_remove_leading_zeros(char **string) acpi_ut_remove_leading_zeros() argument
225 acpi_ut_remove_whitespace(char **string) acpi_ut_remove_whitespace() argument
247 acpi_ut_detect_hex_prefix(char **string) acpi_ut_detect_hex_prefix() argument
271 acpi_ut_remove_hex_prefix(char **string) acpi_ut_remove_hex_prefix() argument
292 acpi_ut_detect_octal_prefix(char **string) acpi_ut_detect_octal_prefix() argument
[all...]
H A Dutstrtoul64.c17 * This module contains the top-level string to 64/32-bit unsigned integer
23 * constants than the runtime (interpreter) integer-to-string conversions.
34 * debugger - Command line input string conversion
51 * support (explicit/implicit) for octal string conversions.
58 * PARAMETERS: string - Null terminated input string,
66 * DESCRIPTION: Convert a string into an unsigned integer. Always performs a
80 acpi_status acpi_ut_strtoul64(char *string, u64 *return_value) in acpi_ut_strtoul64() argument
86 ACPI_FUNCTION_TRACE_STR(ut_strtoul64, string); in acpi_ut_strtoul64()
90 /* A NULL return string return in acpi_ut_strtoul64()
206 acpi_ut_implicit_strtoul64(char *string) acpi_ut_implicit_strtoul64() argument
287 acpi_ut_explicit_strtoul64(char *string) acpi_ut_explicit_strtoul64() argument
[all...]
H A Dutprint.c25 acpi_ut_bound_string_length(const char *string, acpi_size count);
27 static char *acpi_ut_bound_string_output(char *string, const char *end, char c);
29 static char *acpi_ut_format_number(char *string,
34 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper);
40 * PARAMETERS: string - String with boundary
41 * count - Boundary of the string
43 * RETURN: Length of the string. Less than or equal to Count.
45 * DESCRIPTION: Calculate the length of a string with boundary.
50 acpi_ut_bound_string_length(const char *string, acpi_size count) in acpi_ut_bound_string_length() argument
54 while (*string in acpi_ut_bound_string_length()
77 acpi_ut_bound_string_output(char *string, const char *end, char c) acpi_ut_bound_string_output() argument
104 acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper) acpi_ut_put_number() argument
140 acpi_ut_scan_number(const char *string, u64 *number_ptr) acpi_ut_scan_number() argument
166 acpi_ut_print_number(char *string, u64 number) acpi_ut_print_number() argument
201 acpi_ut_format_number(char *string, char *end, u64 number, u8 base, s32 width, s32 precision, u8 type) acpi_ut_format_number() argument
318 vsnprintf(char *string, acpi_size size, const char *format, va_list args) vsnprintf() argument
571 snprintf(char *string, acpi_size size, const char *format, ...) snprintf() argument
596 sprintf(char *string, const char *format, ...) sprintf() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dutstrsuppt.c4 * Module Name: utstrsuppt - Support functions for string-to-integer conversion
27 * PARAMETERS: string - Null terminated input string
32 * DESCRIPTION: Performs a base 8 conversion of the input string to an
40 acpi_status acpi_ut_convert_octal_string(char *string, u64 *return_value_ptr) in acpi_ut_convert_octal_string() argument
45 /* Convert each ASCII byte in the input string */ in acpi_ut_convert_octal_string()
47 while (*string) { in acpi_ut_convert_octal_string()
53 if (!(ACPI_IS_OCTAL_DIGIT(*string))) { in acpi_ut_convert_octal_string()
62 status = acpi_ut_insert_digit(&accumulated_value, 8, *string); in acpi_ut_convert_octal_string()
68 string in acpi_ut_convert_octal_string()
94 acpi_ut_convert_decimal_string(char *string, u64 *return_value_ptr) acpi_ut_convert_decimal_string() argument
148 acpi_ut_convert_hex_string(char *string, u64 *return_value_ptr) acpi_ut_convert_hex_string() argument
200 acpi_ut_remove_leading_zeros(char **string) acpi_ut_remove_leading_zeros() argument
225 acpi_ut_remove_whitespace(char **string) acpi_ut_remove_whitespace() argument
247 acpi_ut_detect_hex_prefix(char **string) acpi_ut_detect_hex_prefix() argument
271 acpi_ut_remove_hex_prefix(char **string) acpi_ut_remove_hex_prefix() argument
292 acpi_ut_detect_octal_prefix(char **string) acpi_ut_detect_octal_prefix() argument
[all...]
H A Dutstrtoul64.c17 * This module contains the top-level string to 64/32-bit unsigned integer
23 * constants than the runtime (interpreter) integer-to-string conversions.
34 * debugger - Command line input string conversion
51 * support (explicit/implicit) for octal string conversions.
58 * PARAMETERS: string - Null terminated input string,
66 * DESCRIPTION: Convert a string into an unsigned integer. Always performs a
80 acpi_status acpi_ut_strtoul64(char *string, u64 *return_value) in acpi_ut_strtoul64() argument
86 ACPI_FUNCTION_TRACE_STR(ut_strtoul64, string); in acpi_ut_strtoul64()
90 /* A NULL return string return in acpi_ut_strtoul64()
206 acpi_ut_implicit_strtoul64(char *string) acpi_ut_implicit_strtoul64() argument
287 acpi_ut_explicit_strtoul64(char *string) acpi_ut_explicit_strtoul64() argument
[all...]
H A Dutprint.c25 acpi_ut_bound_string_length(const char *string, acpi_size count);
27 static char *acpi_ut_bound_string_output(char *string, const char *end, char c);
29 static char *acpi_ut_format_number(char *string,
34 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper);
40 * PARAMETERS: string - String with boundary
41 * count - Boundary of the string
43 * RETURN: Length of the string. Less than or equal to Count.
45 * DESCRIPTION: Calculate the length of a string with boundary.
50 acpi_ut_bound_string_length(const char *string, acpi_size count) in acpi_ut_bound_string_length() argument
54 while (*string in acpi_ut_bound_string_length()
77 acpi_ut_bound_string_output(char *string, const char *end, char c) acpi_ut_bound_string_output() argument
104 acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper) acpi_ut_put_number() argument
140 acpi_ut_scan_number(const char *string, u64 *number_ptr) acpi_ut_scan_number() argument
166 acpi_ut_print_number(char *string, u64 number) acpi_ut_print_number() argument
201 acpi_ut_format_number(char *string, char *end, u64 number, u8 base, s32 width, s32 precision, u8 type) acpi_ut_format_number() argument
318 vsnprintf(char *string, acpi_size size, const char *format, va_list args) vsnprintf() argument
571 snprintf(char *string, acpi_size size, const char *format, ...) snprintf() argument
596 sprintf(char *string, const char *format, ...) sprintf() argument
[all...]
/test/ostest/wukong/report/include/
H A Dreport.h21 #include <string>
35 std::map<std::string, uint32_t> componmentTypeCount;
36 std::map<uint32_t, std::vector<std::string>> pageIdComponments;
45 void SetSeed(std::string seed);
55 void SplitInputMode(std::shared_ptr<InputedMsgObject> &inputedMsgObject, std::map<std::string, std::string> &data);
60 void GroupFocusDataAndRecord(std::shared_ptr<InputedMsgObject> &inputedMsgObject, std::map<std::string,
61 std::string> &data);
79 void RecordScreenPath(const std::string &screenPath);
91 std::string GetReportExceptionDi
[all...]
H A Dtable.h18 #include <string>
27 void SetName(std::string name);
28 std::string GetName();
29 void SetDetail(std::string detail);
30 std::string GetDetail();
31 Table(std::vector<std::string> cc, std::vector<std::vector<std::string>> rc);
32 std::vector<std::string> GetHeader();
33 std::vector<std::vector<std::string>> GetRecord();
37 std::string name
[all...]
H A Dinput_info.h28 #include <string>
41 void SetBundleName(const std::string &bundleName);
42 void SetAbilityName(const std::string &abilityName);
44 void SetComponmentName(const std::string &componmentName);
48 std::string GetBundleName();
49 std::string GetAbilityName();
50 std::string GetComponmentName();
51 std::string GetComponmentInputedTimes();
52 std::string GetComponmentTotals();
59 std::string InputTypeToStrin
[all...]
/test/testfwk/developer_test/aw/cxx/distributed/
H A Ddistributed_major.h40 explicit DistributeTestEnvironment(std::string cfgFile);
43 bool RunTestCmd(size_t devNo, const std::string &strCommand, int cmdLen, const std::string &strExpectValue,
44 int expectValueLen, std::function<bool(const std::string &, int)> onProcessReturn);
46 bool SendMessage(size_t devNo, const std::string &strMsg, int msgLen,
47 std::function<bool(const std::string &, int)> onProcessReturnMsg) ;
49 bool Notify(size_t devNo, const std::string &strMsg, int msgLen);
54 void Init(std::string fileName);
64 int AddClient(std::string ipAddr);
68 std::function<bool(const std::string
[all...]
H A Ddistributed_cfg.cpp35 bool DistributedCfg::OpenCfg(std::string fileName) in OpenCfg()
39 std::string strline; in OpenCfg()
46 std::string key; in OpenCfg()
47 std::string value; in OpenCfg()
53 if (position == std::string::npos) { in OpenCfg()
58 cfgMap_.insert(std::pair<std::string, std::string>(key, value)); in OpenCfg()
65 bool DistributedCfg::GetCfgVal(std::string key, std::string &value) in GetCfgVal()
67 std::string iplis in GetCfgVal()
[all...]
/test/testfwk/developer_test/examples/distributedb/test/distributedtest/common/
H A Ddistribute_demo_agent.cpp18 #include <string>
32 std::string g_appId = "com.ohos.nb.service.user1_test";
33 std::string g_storeId = "student_1";
46 virtual int OnProcessMsg(const std::string &dtrMsg, int len, std::string &strReturnValue, int returnBufLen);
47 virtual int OnProcessCmd(const std::string &strCommand, int cmdLen, const std::string &strArgs, int argsLen,
48 const std::string &strExpectValue, int expectValueLen);
50 int GetKvValue(const std::string &strArgs, int argsLen, const std::string
[all...]
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis/entry/src/main/cpp/
H A Dtest_request.h21 #include <string>
45 const std::string rawfilePath() { return rawfilePath_; } in rawfilePath()
46 const std::string url() { return url_; } in url()
47 const std::string method() { return method_; } in method()
48 const std::string referrer() { return referrer_; } in referrer()
59 const std::string rspUrl() { return rspUrl_; } in rspUrl()
62 const std::string rspStatusText() { return rspStatusText_; } in rspStatusText()
63 const std::string rspMimeType() { return rspMimeType_; } in rspMimeType()
64 const std::string rspCharSet() { return rspCharSet_; } in rspCharSet()
65 const std::string rspHos in rspCharSet()
[all...]
/test/xts/acts/global_lite/i18n_lite/datetime_posix/src/
H A DUnitDateTimeTest.h19 #include <string>
28 using ::std::string;
43 string g_dataTimeFormatPositive[][17] = {
135 string g_dateTimeFormat[][17] = {
229 string g_dateTimeFormatNegative[][17] = {
322 string g_formatAbbrDayNames[][7] = {
351 string g_formatWideDayNames[][7] = {
380 string g_standaloneAbbrDayNames[][7] = {
409 string g_standaloneWideDayNames[][7] = {
438 string g_formatAbbrMonthName
[all...]
/test/xts/dcts/distributedhardware/distributedaudionewtest/
H A Ddistributedaudiotest.h21 #include <string>
118 std::string FindAudioDevice();
119 std::string OpenSpk(std::string devId);
120 std::string StartRender();
121 std::string StopRender();
122 std::string CloseSpk();
123 std::string OpenMic(std::string devId);
124 std::string StartCaptur
[all...]
/test/xts/dcts/distributedhardware/distributedinputtest/
H A Ddistributed_input_test.cpp44 const std::string& deviceId, const int32_t& status) in OnResult()
52 const std::string& deviceId, const int32_t& status) in OnResult()
60 const std::string& deviceId, const uint32_t& inputTypes, const int32_t& status) in OnResult()
69 const std::string& deviceId, const uint32_t& inputTypes, const int32_t& status) in OnResult()
78 const std::string &devId, const int32_t &status) in OnResultDhids()
85 void DistributedInputTest::TestInputNodeListener::OnNodeOnLine(const std::string &srcDevId, in OnNodeOnLine()
86 const std::string &sinkDevId, const std::string &sinkNodeId, const std::string &sinkNodeDesc) in OnNodeOnLine()
95 void DistributedInputTest::TestInputNodeListener::OnNodeOffLine(const std::string
[all...]
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/
H A DHiAppEventCPPTest.cpp40 string g_reDiRectTimeout = "5";
41 string logPath = "/data/test/hiappevent/";
42 string delelogPath = "/data/test/hiappevent/*";
53 std::vector<std::string> cmdret; in TearDown()
54 string cmd = "rm -f " + delelogPath; in TearDown()
69 string getlogFile; in HWTEST_F()
70 string path; in HWTEST_F()
77 std::vector<std::string> file; in HWTEST_F()
81 string fileinfo = ""; in HWTEST_F()
83 std::vector<std::string> par in HWTEST_F()
[all...]
/test/testfwk/developer_test/aw/cxx/hwext/
H A Dperf.h21 #include <string>
34 std::string testcasename;
48 std::string date;
49 std::string url;
50 std::list<std::map<std::string, std::string>> items;
57 explicit BaseLineManager(const std::string path);
60 bool LoadConfig(const std::string path);
62 bool GetExtraValueDouble(const std::string testcaseName, const std::string extr
[all...]
/test/testfwk/developer_test/aw/cxx/distributed/utils/
H A Dcsv_transform_xml.h21 #include <string>
31 std::vector<std::string> csvFiles_;
32 std::vector<std::string> vecLines_;
33 std::string csvFileName_ = "";
34 std::string xmlFileName_ = "";
35 std::string fileName_ = "";
39 explicit CsvTransformXml(std::string targetFile) in CsvTransformXml()
63 std::string strLine; in FileOperate()
70 for (std::string s : vecLines_) { in FileOperate()
82 if (!(vecLines_.at(i + 2).compare("FAILED"))) { // the result of every case intervals 2 string in FileOperate()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/timepicker/
H A Dtimepicker_disappeartextstyle_test.cpp23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestTimePickerDisappearTextStyle001()
26 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTimePickerDisappearTextStyle001()
35 value_item.string = "abnormal"; in TestTimePickerDisappearTextStyle002()
38 ASSERT_STRNE(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_DISAPPEAR_TEXT_STYLE)->string, "abnormal"); in TestTimePickerDisappearTextStyle002()
46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestTimePickerDisappearTextStyle003()
49 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTimePickerDisappearTextStyle003()
58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestTimePickerDisappearTextStyle004()
61 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTimePickerDisappearTextStyle004()
70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestTimePickerDisappearTextStyle005()
73 ASSERT_STREQ(nodeAPI->getAttribute(timepicker, NODE_TIME_PICKER_DISAPPEAR_TEXT_STYLE)->string, in TestTimePickerDisappearTextStyle005()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/textpicker/
H A Dtextpicker_selectedtextstyle_test.cpp23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestTextPickerSelectedTextStyle001()
26 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_TEXT_STYLE)->string, in TestTextPickerSelectedTextStyle001()
35 value_item.string = "abnormal"; in TestTextPickerSelectedTextStyle002()
38 ASSERT_STRNE(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_TEXT_STYLE)->string, "abnormal"); in TestTextPickerSelectedTextStyle002()
46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestTextPickerSelectedTextStyle003()
49 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_TEXT_STYLE)->string, in TestTextPickerSelectedTextStyle003()
58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestTextPickerSelectedTextStyle004()
61 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_TEXT_STYLE)->string, in TestTextPickerSelectedTextStyle004()
70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestTextPickerSelectedTextStyle005()
73 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_SELECTED_TEXT_STYLE)->string, in TestTextPickerSelectedTextStyle005()
[all...]
H A Dtextpicker_textstyle_test.cpp23 value_item.string = "#FF182431;14;normal;Arial,HarmonyOS Sans;normal"; in TestTextPickerTextStyle001()
26 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_TEXT_STYLE)->string, in TestTextPickerTextStyle001()
35 value_item.string = "abnormal"; in TestTextPickerTextStyle002()
38 ASSERT_STRNE(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_TEXT_STYLE)->string, "abnormal"); in TestTextPickerTextStyle002()
46 value_item.string = "#FF182431;14;bold;Arial,HarmonyOS Sans;normal"; in TestTextPickerTextStyle003()
49 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_TEXT_STYLE)->string, in TestTextPickerTextStyle003()
58 value_item.string = "#FF182431;14;bolder;Arial,HarmonyOS Sans;normal"; in TestTextPickerTextStyle004()
61 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_TEXT_STYLE)->string, in TestTextPickerTextStyle004()
70 value_item.string = "#FF182431;14;lighter;Arial,HarmonyOS Sans;normal"; in TestTextPickerTextStyle005()
73 ASSERT_STREQ(nodeAPI->getAttribute(textPicker, NODE_TEXT_PICKER_TEXT_STYLE)->string, in TestTextPickerTextStyle005()
[all...]

Completed in 11 milliseconds

12345678910>>...341