Home
last modified time | relevance | path

Searched refs:HasArg (Results 1 – 25 of 31) sorted by relevance

12

/base/web/webview/test/unittest/common/
Dnweb_create_window.cpp42 static bool HasArg(const std::string& arg) in HasArg() function
49 if (!HasArg(arg)) { in GetArgValue()
57 if (!HasArg(arg)) { in GetNumFromArgs()
90 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
93 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
101 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
102 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/dispatchkeyevent_fuzzer/
Ddispatchkeyevent_fuzzer.cpp48 bool HasArg(const std::string &arg) in HasArg() function
55 if (!HasArg(arg)) { in GetArgValue()
63 if (!HasArg(arg)) { in GetNumFromArgs()
96 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
99 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
110 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
111 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/ohos_nweb/requestvsync_fuzzer/
Drequestvsync_fuzzer.cpp51 bool HasArg(const std::string &arg) in HasArg() function
58 if (!HasArg(arg)) { in GetArgValue()
66 if (!HasArg(arg)) { in GetNumFromArgs()
99 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
102 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
113 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
114 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/oninputaxisevent_fuzzer/
Doninputaxisevent_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/oninputkeyevent_fuzzer/
Doninputkeyevent_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/ohos_nweb/createnweb_fuzzer/
Dcreatenweb_fuzzer.cpp50 bool HasArg(const std::string &arg) in HasArg() function
57 if (!HasArg(arg)) { in GetArgValue()
65 if (!HasArg(arg)) { in GetNumFromArgs()
98 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
101 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
112 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
113 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/ohos_nweb/vsynccb_fuzzer/
Dvsynccb_fuzzer.cpp51 bool HasArg(const std::string &arg) in HasArg() function
58 if (!HasArg(arg)) { in GetArgValue()
66 if (!HasArg(arg)) { in GetNumFromArgs()
99 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
102 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
113 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
114 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/ohos_nweb/getcreateinfo_fuzzer/
Dgetcreateinfo_fuzzer.cpp51 bool HasArg(const std::string &arg) in HasArg() function
58 if (!HasArg(arg)) { in GetArgValue()
66 if (!HasArg(arg)) { in GetNumFromArgs()
99 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
102 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
113 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
114 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/ohos_nweb/registeventcb_fuzzer/
Dregisteventcb_fuzzer.cpp51 bool HasArg(const std::string &arg) in HasArg() function
58 if (!HasArg(arg)) { in GetArgValue()
66 if (!HasArg(arg)) { in GetNumFromArgs()
99 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
102 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
113 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
114 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/oninputpointevent_fuzzer/
Doninputpointevent_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/ohos_nweb/getrenderinterface_fuzzer/
Dgetrenderinterface_fuzzer.cpp51 bool HasArg(const std::string &arg) in HasArg() function
58 if (!HasArg(arg)) { in GetArgValue()
66 if (!HasArg(arg)) { in GetNumFromArgs()
99 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
102 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
113 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
114 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/loadurl_fuzzer/
Dloadurl_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/unregisterarkjsfunction_fuzzer/
Dunregisterarkjsfunction_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/executejavascript_fuzzer/
Dexecutejavascript_fuzzer.cpp53 bool HasArg(const std::string &arg) in HasArg() function
60 if (!HasArg(arg)) { in GetArgValue()
68 if (!HasArg(arg)) { in GetNumFromArgs()
101 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
104 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
115 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
116 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/cannavigatebackorforward_fuzzer/
Dcannavigatebackorforward_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/load_fuzzer/
Dload_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/putbackgroundcolor_fuzzer/
Dputbackgroundcolor_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/ohos_nweb/requestbuffer_fuzzer/
Drequestbuffer_fuzzer.cpp49 bool HasArg(const std::string &arg) in HasArg() function
56 if (!HasArg(arg)) { in GetArgValue()
64 if (!HasArg(arg)) { in GetNumFromArgs()
97 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
100 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
111 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
112 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/loadwithdata_fuzzer/
Dloadwithdata_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/registerarkjsfunction_fuzzer/
Dregisterarkjsfunction_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/zoom_fuzzer/
Dzoom_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/executejavascriptcode_fuzzer/
Dexecutejavascriptcode_fuzzer.cpp54 bool HasArg(const std::string &arg) in HasArg() function
61 if (!HasArg(arg)) { in GetArgValue()
69 if (!HasArg(arg)) { in GetNumFromArgs()
102 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
105 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
116 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
117 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/ontouchpress_fuzzer/
Dontouchpress_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/ontouchmove_fuzzer/
Dontouchmove_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()
/base/web/webview/test/fuzztest/sendkeyevent_fuzzer/
Dsendkeyevent_fuzzer.cpp46 bool HasArg(const std::string &arg) in HasArg() function
53 if (!HasArg(arg)) { in GetArgValue()
61 if (!HasArg(arg)) { in GetNumFromArgs()
94 .frame_info_dump = HasArg(ARG_FRAME_INFO) ? true : false, in GetInitArgs()
97 .multi_renderer_process = HasArg(ARG_MULTI_RENDER_PROCESS) ? true : false, in GetInitArgs()
108 int width = HasArg(ARG_WIDTH) ? GetNumFromArgs(ARG_WIDTH) : DEFAULT_WIDTH; in CreateWindow()
109 int height = HasArg(ARG_HEIGHT) ? GetNumFromArgs(ARG_HEIGHT) : DEFAULT_HEIGHT; in CreateWindow()

12