Home
last modified time | relevance | path

Searched refs:mask (Results 1 - 12 of 12) sorted by relevance

/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/
H A Dcommonattrs_mask_test.cpp22 NAPI_START(mask, ARKUI_NODE_COLUMN); in TestCommonAttrsMask001()
42 auto ret = nodeAPI->setAttribute(mask, NODE_MASK, &value_item); in TestCommonAttrsMask001()
44 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_0].u32, maskFillColor); in TestCommonAttrsMask001()
45 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_1].u32, maskStrokeColor); in TestCommonAttrsMask001()
46 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_2].f32, maskStrokeWidth); in TestCommonAttrsMask001()
47 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_3].i32, maskType); in TestCommonAttrsMask001()
48 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_4].f32, maskRectangularWidth); in TestCommonAttrsMask001()
49 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_5].f32, maskRectangularHeight); in TestCommonAttrsMask001()
50 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MASK)->value[PARAM_6].f32, maskRectangleRoundedWidth); in TestCommonAttrsMask001()
51 ASSERT_EQ(nodeAPI->getAttribute(mask, NODE_MAS in TestCommonAttrsMask001()
[all...]
/test/xts/hats/kernel/freelist/free_performance/
H A DMalloc_free_performance.cpp203 cpu_set_t mask; in HWTEST_F() local
207 CPU_ZERO(&mask); in HWTEST_F()
208 CPU_SET(0, &mask); in HWTEST_F()
209 if (sched_setaffinity(0, sizeof(mask), &mask) < 0) { in HWTEST_F()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dschedndk.cpp165 cpu_set_t mask; in SchedGetaffinity() local
167 CPU_ZERO(&mask); in SchedGetaffinity()
168 CPU_SET(PARAM_0, &mask); in SchedGetaffinity()
169 int schval = sched_setaffinity(PARAM_0, sizeof(mask), &mask); in SchedGetaffinity()
192 cpu_set_t mask; in SchedSetaffinity() local
193 CPU_ZERO(&mask); in SchedSetaffinity()
194 CPU_SET(PARAM_0, &mask); in SchedSetaffinity()
195 int schval = sched_setaffinity(PARAM_0, sizeof(mask), &mask); in SchedSetaffinity()
[all...]
H A Dsignalndk.cpp534 sigset_t mask = {}; in Signalfd() local
535 sigaddset(&mask, sig); in Signalfd()
536 sigprocmask(SIG_SETMASK, &mask, nullptr); in Signalfd()
537 signalfd(MINUSONE, &mask, SFD_CLOEXEC); in Signalfd()
H A Dspawnndk1.cpp288 sigset_t mask; in PosixSpawnAttrGetSigMask() local
290 ret = posix_spawnattr_getsigmask(&spawnattr, &mask); in PosixSpawnAttrGetSigMask()
/test/xts/acts/kernel_lite/time_posix/src/
H A DClockTimeTest.cpp378 char mask[20] = "%Y-%m-%d %H:%M:%S"; in HWTEST_F() local
381 int ret = fwrite(mask, sizeof(mask), 1, fp); in HWTEST_F()
394 strftime(cTime, sizeof(cTime), mask, retTm); in HWTEST_F()
428 char mask[10] = "%H:%M:%S"; in HWTEST_F() local
431 ret = fwrite(mask, sizeof(mask), 1, fp); in HWTEST_F()
H A DAlarmTest.cpp453 sigset_t mask; in HWTEST_F() local
458 sigemptyset(&mask); in HWTEST_F()
459 sigaddset(&mask, SIGALRM); in HWTEST_F()
460 EXPECT_NE(sigprocmask(SIG_SETMASK, &mask, NULL), -1) << "ERROR: sigprocmask() == -1"; in HWTEST_F()
475 EXPECT_NE(sigprocmask(SIG_UNBLOCK, &mask, NULL), -1) << "ERROR: sigprocmask() == -1"; in HWTEST_F()
/test/xts/acts/kernel_lite/ipc_posix/signal/
H A DSignalTest.cpp687 * @tc.name pause and mask test
745 but signal mask set should inherited, and the change of child's pending set should not effect parent's.
764 EXPECT_EQ(1, sigisemptyset(&oldmask)) << "initial sig mask set should empty"; in HWTEST_F()
786 sigprocmask(SIG_BLOCK, nullptr, &oldmask); // read mask in HWTEST_F()
788 LOG("signal mask set should reserved via fork"); in HWTEST_F()
948 * @tc.name sigprocmask function test: mask operation
1175 LOG("Check current mask..."); in HWTEST_F()
1297 * @tc.name test that the signal-mask should inherited from the creator
1644 LOG("check that the signal is added to the mask"); in HWTEST_F()
1679 LOG("add sig to mask"); in HWTEST_F()
1680 sigset_t mask; HWTEST_F() local
[all...]
/test/ostest/wukong/report/src/
H A Dreport.cpp74 if ((event->mask & IN_CLOSE_WRITE) && (event->len > 0)) { in ListenCrashDir()
75 DEBUG_LOG_STR("event->mask{%x}", event->mask); in ListenCrashDir()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/Dialog/
H A Dnative_type.h1432 * @brief Enumerates the mask types.
1597 * @brief Defines a mask area.
1602 /** X coordinate of the mask area. */
1604 /** Y coordinate of the mask area. */
1606 /** Width of the mask area. */
1608 /** Height of the mask area. */
2980 * @brief Sets whether to display the mask style of the dot navigation indicator.
2983 * @param mask Whether to display the mask style. True means to display.
2986 void OH_ArkUI_SwiperIndicator_SetMask(ArkUI_SwiperIndicator* indicator, int32_t mask);
[all...]
H A Darkoala_api.h2784 void (*addGestureToNode)(ArkUINodeHandle node, ArkUIGesture* gesture, ArkUI_Int32 priorityNum, ArkUI_Int32 mask);
/test/xts/acts/security/huks/security_huks_reformed_test/huks_hmac_callback_BasicTest/entry/src/ohosTest/js/test/HMAC/
H A DSecurityHuksImportJsunit.test.js49 let mask = [0x000000FF, 0x0000FF00, 0x00FF0000, 0xFF000000];
61 arrayBuf[index++] = (length & mask[i]) >> (i * 8);

Completed in 35 milliseconds