Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 25 of 104) sorted by relevance

12345

/test/testfwk/arkxtest/uitest/input/
Dui_input.cpp82 bool GetPoints(Point &to, Point &from, int32_t argc, char *argv[]) in GetPoints() argument
84 auto from_x = atoi(argv[THREE]); in GetPoints()
85 auto from_y = atoi(argv[FOUR]); in GetPoints()
86 auto to_x = atoi(argv[FIVE]); in GetPoints()
87 auto to_y = atoi(argv[SIX]); in GetPoints()
97 bool GetPoint(Point &point, int32_t argc, char *argv[]) in GetPoint() argument
99 auto from_x = atoi(argv[THREE]); in GetPoint()
100 auto from_y = atoi(argv[FOUR]); in GetPoint()
122 int32_t FlingActionInput(int32_t argc, char *argv[], UiDriver &driver, UiOpArgs uiOpArgs) in FlingActionInput() argument
130 direction = (Direction)atoi(argv[THREE]); in FlingActionInput()
[all …]
/test/xts/acts/global/global_napi_test/entry/src/main/cpp/napi/
Dglobal_napi_test.cpp29 napi_value argv[2] = { nullptr }; in GetFileList() local
31 napi_get_cb_info(env, info, &argc, argv, nullptr, nullptr); in GetFileList()
34 napi_typeof(env, argv[0], &valueType); in GetFileList()
35 … NativeResourceManager *mNativeResMgr = OH_ResourceManager_InitNativeResourceManager(env, argv[0]); in GetFileList()
38 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize); in GetFileList()
82 napi_value argv[2] = { nullptr }; in GetRawFileContent() local
84 napi_get_cb_info(env, info, &argc, argv, nullptr, nullptr); in GetRawFileContent()
87 napi_typeof(env, argv[0], &valueType); in GetRawFileContent()
88 … NativeResourceManager *mNativeResMgr = OH_ResourceManager_InitNativeResourceManager(env, argv[0]); in GetRawFileContent()
91 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize); in GetRawFileContent()
[all …]
/test/testfwk/arkxtest/uitest/server/
Dserver_main.cpp71 static int32_t GetParam(int32_t argc, char *argv[], string_view optstring, string_view usage, in GetParam() argument
75 while ((opt = getopt_long(argc, argv, optstring.data(), g_longoptions, nullptr)) != -1) { in GetParam()
118 static int32_t DumpLayout(int32_t argc, char *argv[]) in DumpLayout() argument
124 if (GetParam(argc, argv, "p:ia", usage, params) == EXIT_FAILURE) { in DumpLayout()
157 static int32_t ScreenCap(int32_t argc, char *argv[]) in ScreenCap() argument
163 if (GetParam(argc, argv, "p:", usage, params) == EXIT_FAILURE) { in ScreenCap()
240 static int32_t UiRecord(int32_t argc, char *argv[]) in UiRecord() argument
247 std::string opt = argv[TWO]; in UiRecord()
250 modeOpt = argv[THREE]; in UiRecord()
269 static int32_t UiInput(int32_t argc, char *argv[]) in UiInput() argument
[all …]
/test/xts/device_attest_lite/services/core/
Dattest_entry.c32 static int CreateAttestThread(void(*run)(void *), void *argv, const char *name, osThreadId_t *serve… in CreateAttestThread() argument
38 *serverTaskId = osThreadNew((osThreadFunc_t)run, argv, &attr); in CreateAttestThread()
46 static void AttestTaskThread(void *argv) in AttestTaskThread() argument
48 AttestTaskCallback cb = (AttestTaskCallback)argv; in AttestTaskThread()
53 static void AttestAuthCallBack(void *argv) in AttestAuthCallBack() argument
55 (void)argv; in AttestAuthCallBack()
74 static void AttestAuthCallBack(void *argv) in AttestAuthCallBack() argument
76 (void)argv; in AttestAuthCallBack()
/test/xts/acts/graphic/vulkan/src/texture/
DTextureBaseFunc.cpp58 FuncRunResult RunTestKHRGLES(int argc, const char** argv) in RunTestKHRGLES() argument
62 tcu::CommandLine cmdLine(argc, argv); in RunTestKHRGLES()
63 …std::cout << "testmain end argc"<< argc << ";" << argv[0] << ";" << argv[1] << ";" << argv[2] << s… in RunTestKHRGLES()
/test/xts/acts/graphic/vulkan/src/renderpass/
DRenderpassBaseFunc.cpp57 FuncRunResult RunTestKHRGLES(int argc, const char** argv) in RunTestKHRGLES() argument
61 tcu::CommandLine cmdLine(argc, argv); in RunTestKHRGLES()
62 …std::cout << "testmain end argc"<< argc << ";" << argv[0] << ";" << argv[1] << ";" << argv[2] << s… in RunTestKHRGLES()
/test/xts/acts/graphic/vulkan/src/synchronization/
DSynchronizationBaseFunc.cpp58 FuncRunResult RunTestKHRGLES(int argc, const char** argv) in RunTestKHRGLES() argument
62 tcu::CommandLine cmdLine(argc, argv); in RunTestKHRGLES()
63 …std::cout << "testmain end argc"<< argc << ";" << argv[0] << ";" << argv[1] << ";" << argv[2] << s… in RunTestKHRGLES()
/test/xts/acts/graphic/vulkan/src/robustness/
DRobustnessBaseFunc.cpp58 FuncRunResult RunTestKHRGLES(int argc, const char** argv) in RunTestKHRGLES() argument
62 tcu::CommandLine cmdLine(argc, argv); in RunTestKHRGLES()
63 …std::cout << "testmain end argc"<< argc << ";" << argv[0] << ";" << argv[1] << ";" << argv[2] << s… in RunTestKHRGLES()
/test/xts/acts/graphic/vulkan/src/subgroups/
DSubgroupsBaseFunc.cpp58 FuncRunResult RunTestKHRGLES(int argc, const char** argv) in RunTestKHRGLES() argument
62 tcu::CommandLine cmdLine(argc, argv); in RunTestKHRGLES()
63 …std::cout << "testmain end argc"<< argc << ";" << argv[0] << ";" << argv[1] << ";" << argv[2] << s… in RunTestKHRGLES()
/test/xts/acts/graphic/vulkan/src/image/
DImageBaseFunc.cpp57 FuncRunResult RunTestKHRGLES(int argc, const char** argv) in RunTestKHRGLES() argument
61 tcu::CommandLine cmdLine(argc, argv); in RunTestKHRGLES()
62 …std::cout << "testmain end argc"<< argc << ";" << argv[0] << ";" << argv[1] << ";" << argv[2] << s… in RunTestKHRGLES()
/test/xts/acts/graphic/vulkan/src/compute/
DComputeBaseFunc.cpp57 FuncRunResult RunTestKHRGLES(int argc, const char** argv) in RunTestKHRGLES() argument
61 tcu::CommandLine cmdLine(argc, argv); in RunTestKHRGLES()
62 …std::cout << "testmain end argc"<< argc << ";" << argv[0] << ";" << argv[1] << ";" << argv[2] << s… in RunTestKHRGLES()
/test/xts/acts/graphic/vulkan/src/ubo/
DUboBaseFunc.cpp58 FuncRunResult RunTestKHRGLES(int argc, const char** argv) in RunTestKHRGLES() argument
62 tcu::CommandLine cmdLine(argc, argv); in RunTestKHRGLES()
63 …std::cout << "testmain end argc"<< argc << ";" << argv[0] << ";" << argv[1] << ";" << argv[2] << s… in RunTestKHRGLES()
/test/xts/tools/build/
DjudgePart.py39 global_parts_info = sys.argv[1]
40 tmp_subsystem_part = sys.argv[2]
41 method = sys.argv[3]
/test/testfwk/arkxtest/uitest/napi/
Dui_event_observer_napi.cpp39 napi_value* argv, ApiCallErr &err) in PreprocessCallOnce() argument
53 NAPI_CALL_RETURN_VOID(env, napi_typeof(env, argv[1], &type)); in PreprocessCallOnce()
67 auto jsCallback = argv[1]; in PreprocessCallOnce()
152 napi_value argv[1] = { nullptr }; in HandleEventCallback() local
153 … napi_create_string_utf8(ctx->env, ctx->elmentInfo.dump().c_str(), NAPI_AUTO_LENGTH, argv); in HandleEventCallback()
154 napi_call_function(ctx->env, jsonProp, parseFunc, 1, argv, argv); in HandleEventCallback()
157 napi_call_function(ctx->env, nullptr, jsCallback, 1, argv, argv); in HandleEventCallback()
/test/ostest/wukong/shell_command/src/
Dwukong_main.cpp127 int main(int argc, char* argv[]) in main() argument
134 std::string arg = argv[index]; in main()
136 argv[index][0] = '\0'; in main()
140 argv[index][0] = '\0'; in main()
154 WuKongShellCommand cmd(argc, argv); in main()
/test/xts/device_attest_lite/framework/small/src/service/
Dattest_framework_service.c27 static void ATTEST_SystemInit(void *argv) in ATTEST_SystemInit() argument
29 (void)argv; in ATTEST_SystemInit()
/test/testfwk/developer_test/
Dohtest27 for index in range (1, len(sys.argv)):
28 cmd += " " + sys.argv[index]
/test/xts/tools/lite/checksum/src/
Dmain.c32 int main(int argc, char *argv[]) in main() argument
35 char *filePath = argv[1]; in main()
/test/xts/acts/kernel_lite/utils/
Dutils.cpp107 static int StartElf(const char *fname, char * const argv[], char * const envp[]) in StartElf() argument
115 int rt = execve(fname, argv, envp); in StartElf()
126 int RunElf(const char *fname, char * const argv[], char * const envp[], int timeoutSec) in RunElf() argument
137 int pid = StartElf(fname, argv, envp); in RunElf()
169 int StartExecveError(const char *fname, char * const argv[], char * const envp[]) in StartExecveError() argument
176 int rt = execve(fname, argv, envp); in StartExecveError()
/test/xts/device_attest_lite/test/startup/
Dattest_framework_client_start.c27 int main(int argc, char **argv) in main() argument
31 if (argc == ATTEST_ARGC_PARAM_2 && strcmp(argv[1], "start") == 0) { in main()
/test/xts/acts/graphic/vulkan/src/
Dshrinkdefine.h24 const char *argv[3] = { \
30 FuncRunResult result = RunTestKHRGLES(argc, argv); \
/test/xts/acts/graphic/vkgl/src/
Dshrinkdefine.h24 const char *argv[3] = { \
31 FuncRunResult result = RunTestKHRGLES(argc, argv); \
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
Dutils.h93 int RunElf(const char* fname, char* const argv[], char* const envp[], int timeoutSec = 5);
104 int StartExecveError(const char* fname, char* const argv[], char* const envp[]);
Dutils.cpp175 static int StartElf(const char *fname, char * const argv[], char * const envp[]) in StartElf() argument
183 int rt = execve(fname, argv, envp); in StartElf()
194 int RunElf(const char *fname, char * const argv[], char * const envp[], int timeoutSec) in RunElf() argument
206 int pid = StartElf(fname, argv, envp); in RunElf()
240 int StartExecveError(const char *fname, char * const argv[], char * const envp[]) in StartExecveError() argument
248 int rt = execve(fname, argv, envp); in StartExecveError()
/test/xts/acts/graphic/vkgl/src/khrgles2/
DKhrgles2BaseFunc.cpp56 FuncRunResult RunTestKHRGLES(int argc, const char** argv) in RunTestKHRGLES() argument
60 tcu::CommandLine cmdLine(argc, argv); in RunTestKHRGLES()

12345