/test/xts/acts/kernel_lite/time_posix/src/ |
H A D | SleepTest.cpp | 44 struct timespec req = {0, 100};
in HWTEST_P() local 46 int rt = clock_nanosleep(cid, 0, &req, &rem);
in HWTEST_P() 60 struct timespec req = {0, 100};
in HWTEST_F() local 67 rt = clock_nanosleep(id, 0, &req, &rem);
in HWTEST_F() 72 rt = clock_nanosleep(id, 0, &req, &rem);
in HWTEST_F() 78 rt = clock_nanosleep(CLOCK_REALTIME, flag, &req, &rem);
in HWTEST_F() 82 rt = clock_nanosleep(CLOCK_REALTIME, flag, &req, &rem);
in HWTEST_F() 86 rt = clock_nanosleep(CLOCK_REALTIME, flag, &req, &rem);
in HWTEST_F() 90 req.tv_sec = -1;
in HWTEST_F() 91 req in HWTEST_F() [all...] |
/test/xts/acts/arkui/libuv/src/ |
H A D | ActsLibuvTest.cpp | 117 uv_req_t* req = (uv_req_t *)malloc(sizeof(uv_req_t)); in HWTEST_F() local 119 req->data = pf; in HWTEST_F() 120 req->type = UV_UNKNOWN_REQ; in HWTEST_F() 121 fprintf(stderr, "uv_req_get_data: %f\n", *(float*)uv_req_get_data(req)); in HWTEST_F() 122 fprintf(stderr, "uv_req_get_type: %d\n", uv_req_get_type(req)); in HWTEST_F() 123 ASSERT_EQ(uv_req_get_data(req), pf); in HWTEST_F() 124 ASSERT_EQ(uv_req_get_type(req), UV_UNKNOWN_REQ); in HWTEST_F() 171 uv_fs_t req; in HWTEST_F() local 175 retC = uv_fs_lchown(&loop, &req, path, uid, gid, nullptr); in HWTEST_F()
|
/test/testfwk/developer_test/examples/sleep/src/ |
H A D | sleep_ex.cpp | 43 static int Nsleep(const struct timespec *req, struct timespec *rem)
in Nsleep() argument 46 if (nanosleep(req, rem) == -1) {
in Nsleep() 55 struct timespec req = {0, 0};
in Msleep() local 59 req.tv_sec = sec;
in Msleep() 60 req.tv_nsec = miliSec * SleepTest::ID_MS_TO_NS_LEVEL;
in Msleep() 61 Nsleep(&req, &rem);
in Msleep()
|
/test/xts/hats/kernel/syscalls/fileio/clocknanosleep/ |
H A D | ClockNanoSleepApiTest.cpp | 60 struct timespec req = {1, 0}; in HWTEST_F() local 83 int ret = clock_nanosleep(CLOCK_REALTIME, 0, &req, &rem); in HWTEST_F() 100 struct timespec req = {0, 100}; in HWTEST_F() local 102 int ret = clock_nanosleep(CLOCK_REALTIME, 0, &req, nullptr); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/timer/nanosleep/ |
H A D | NanoSleepApiTest.cpp | 61 struct timespec req = {0, 100000L}; in HWTEST_F() local 84 int result = nanosleep(&req, &rem); in HWTEST_F() 102 struct timespec req = {0, 100}; in HWTEST_F() local 105 int result = nanosleep(&req, &rem); in HWTEST_F()
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
H A D | dmlib.py | 893 def form_hdc_request(req): 898 if not req.endswith('\0'): 899 req = "%s\0" % req 900 req = req.encode("utf-8") 901 fmt = "!I%ss" % len(req) 902 result = struct.pack(fmt, len(req), req) 938 def write(sock, req, timeou [all...] |
/test/xts/device_attest_lite/framework/small/src/service/ |
H A D | attest_framework_feature.c | 46 static int32_t Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply); 149 static int32_t Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument 152 (void)req; in Invoke()
|
/test/xts/hats/hdf/usb/usbdBenchmarkTest/common/ |
H A D | HdfUsbdBenchmarkRequestTest.cpp | 370 auto req = -1;
in BENCHMARK_F() local 373 req = g_usbInterface->RequestCancel(dev, pipe);
in BENCHMARK_F() 376 ASSERT_EQ(0, req);
in BENCHMARK_F() 409 auto req = -1;
in BENCHMARK_F() local 413 req = g_usbInterface->RequestCancel(dev, pipe);
in BENCHMARK_F() 416 ASSERT_EQ(0, req);
in BENCHMARK_F()
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/ |
H A D | LiteIPCFeatureTest.cpp | 88 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply); 129 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument 132 pthread_self(), iProxy, funcId, origin, req, reply); in Invoke()
|
H A D | LiteIPCServiceTest.cpp | 76 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument 79 pthread_self(), iProxy, funcId, origin, req, reply); in Invoke() 82 char *requestStr = (char *)ReadString(req, &len); in Invoke()
|
H A D | SendShareRequestTest.cpp | 39 int32 (*SAMGR_SendSharedDirectRequestProxy)(const Identity *id, const Request *req, const Response *resp, 68 static int32 SAMGR_SendSharedDirectRequestProxy(const Identity *id, const Request *req, const Response *resp, in SAMGR_SendSharedDirectRequestProxy() argument 71 return SAMGR_SendSharedDirectRequest(id, req, resp, ref, handler); in SAMGR_SendSharedDirectRequestProxy()
|
/test/xts/tools/sample/ServerSampleD/java/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/sample/controller/ |
H A D | VideoController.java | 65 * @param req HttpServletRequest 74 HttpServletRequest req) { in list() 75 QueryWrapper<OhSampleShortVideo> queryWrapper = QueryGenerator.initQueryWrapper(video, req.getParameterMap()); in list() 71 list(OhSampleShortVideo video, @RequestParam(name = �, defaultValue = �) Integer pageNo, @RequestParam(name = �, defaultValue = �) Integer pageSize, HttpServletRequest req) list() argument
|
/test/xts/tools/sample/ServerSampleE/java/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/sample/controller/ |
H A D | BusinessGoodsController.java | 65 * @param req HttpServletRequest 75 HttpServletRequest req) { in list() 77 req.getParameterMap()); in list() 72 list(OhSampleBusinessGoods mtBusiness, @RequestParam(name = �, defaultValue = �) Integer pageNo, @RequestParam(name = �, defaultValue = �) Integer pageSize, HttpServletRequest req) list() argument
|
H A D | BusinessCommentController.java | 65 * @param req HttpServletRequest 75 HttpServletRequest req) { in list() 77 QueryGenerator.initQueryWrapper(comment, req.getParameterMap()); in list() 72 list(OhSampleBusinessComment comment, @RequestParam(name = �, defaultValue = �) Integer pageNo, @RequestParam(name = �, defaultValue = �) Integer pageSize, HttpServletRequest req) list() argument
|
H A D | GroupSiteController.java | 90 * @param req HttpServletRequest 99 HttpServletRequest req) { in list() 96 list(OhSampleGroupSite site, @RequestParam(name = �, defaultValue = �) Integer pageNo, @RequestParam(name = �, defaultValue = �) Integer pageSize, HttpServletRequest req) list() argument
|
H A D | BusinessController.java | 90 * @param req HttpServletRequest 99 HttpServletRequest req) { in list() 96 list(OhSampleBusiness mtBusiness, @RequestParam(name = �, defaultValue = �) Integer pageNo, @RequestParam(name = �, defaultValue = �) Integer pageSize, HttpServletRequest req) list() argument
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/ |
H A D | sendsharerequest_func_test.c | 42 int32 (*SAMGR_SendSharedDirectRequestProxy)(const Identity *id, const Request *req, const Response *resp,
71 static int32 SAMGR_SendSharedDirectRequestProxy(const Identity *id, const Request *req, const Response *resp,
in SAMGR_SendSharedDirectRequestProxy() argument 74 return SAMGR_SendSharedDirectRequest(id, req, resp, ref, handler);
in SAMGR_SendSharedDirectRequestProxy()
|
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/ |
H A D | plugin_manager.h | 72 static void MainOnMessage(const uv_async_t* req);
|
H A D | plugin_manager.cpp | 159 void PluginManager::MainOnMessage(const uv_async_t* req) in MainOnMessage() argument
|
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 3021 static void Callback(uv_work_t *req, [[maybe_unused]] int ignored)
in Callback() argument 3052 free(req);
in Callback() 3070 uv_work_t* req = reinterpret_cast<uv_work_t*>(malloc(sizeof(uv_work_t)));
in TestResolveAsync() local 3072 req,
in TestResolveAsync()
|
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 3194 static void Callback(uv_work_t *req, [[maybe_unused]] int ignored) in Callback() argument 3225 free(req); in Callback() 3243 uv_work_t* req = reinterpret_cast<uv_work_t*>(malloc(sizeof(uv_work_t))); in TestResolveAsync() local 3245 req, in TestResolveAsync()
|