Home
last modified time | relevance | path

Searched refs:PARAM_0 (Results 1 - 25 of 652) sorted by relevance

12345678910>>...27

/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/text/
H A Dtext_transform_test.cpp24 ArkUI_NumberValue value[] = {{.f32 = matrixValue}, {.f32 = PARAM_0}, {.f32 = PARAM_0}, {.f32 = PARAM_0}, in TestTextTransform001()
25 {.f32 = PARAM_0}, {.f32 = matrixValue}, {.f32 = PARAM_0}, {.f32 = PARAM_0}, in TestTextTransform001()
26 {.f32 = PARAM_0}, {.f32 = PARAM_0}, {.f32 = PARAM_1}, {.f32 = PARAM_0}, in TestTextTransform001()
27 {.f32 = translateValue}, {.f32 = translateValue}, {.f32 = PARAM_0}, { in TestTextTransform001()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/image/
H A Dimage_transform_test.cpp32 ArkUI_NumberValue value[] = {{.f32 = matrixValue}, {.f32 = PARAM_0}, {.f32 = PARAM_0}, {.f32 = PARAM_0}, in TestImageTransform001()
33 {.f32 = PARAM_0}, {.f32 = matrixValue}, {.f32 = PARAM_0}, {.f32 = PARAM_0}, in TestImageTransform001()
34 {.f32 = PARAM_0}, {.f32 = PARAM_0}, {.f32 = PARAM_1}, {.f32 = PARAM_0}, in TestImageTransform001()
35 {.f32 = translateValue}, {.f32 = translateValue}, {.f32 = PARAM_0}, { in TestImageTransform001()
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dsocketndk.cpp44 #define PARAM_0 0 macro
63 int result = socket(AF_INET, SOCK_STREAM, PARAM_0); in Socket()
72 int result = socketpair(AF_INET, SOCK_STREAM, PARAM_0, fb); in Socketpair()
81 if (fork() == PARAM_0) { in Sendmsg()
82 int sockfd = socket(AF_INET, SOCK_STREAM, PARAM_0); in Sendmsg()
83 if (sockfd >= PARAM_0) { in Sendmsg()
84 struct sockaddr_in local = {PARAM_0}; in Sendmsg()
90 struct sockaddr_in clnAddr = {PARAM_0}; in Sendmsg()
95 _exit(PARAM_0); in Sendmsg()
97 int sock = socket(AF_INET, SOCK_STREAM, PARAM_0); in Sendmsg()
[all...]
H A Dsetjmpndk1.cpp23 #define PARAM_0 0 macro
31 static int count = PARAM_0;
35 count = PARAM_0; in Longjmp()
37 if (count == PARAM_0) { in Longjmp()
41 count = PARAM_0; in Longjmp()
43 if (ret == PARAM_0) { in Longjmp()
46 napi_create_int32(env, PARAM_0, &result); in Longjmp()
54 count = PARAM_0; in _Longjmp()
56 if (count == PARAM_0) { in _Longjmp()
60 count = PARAM_0; in _Longjmp()
[all...]
H A Dstatndk.cpp39 #define PARAM_0 0 macro
69 napi_get_value_int32(env, args[PARAM_0], &value); in Stat()
70 int intValue = PARAM_0; in Stat()
71 struct stat sb = {PARAM_0}; in Stat()
87 napi_get_value_int32(env, args[PARAM_0], &value); in Stat64()
88 int intValue = PARAM_0; in Stat64()
89 struct stat64 sb = {PARAM_0}; in Stat64()
106 napi_get_value_int32(env, args[PARAM_0], &valueFirst); in Umask()
107 mode_t mode = PARAM_0; in Umask()
131 int utimensatValue = utimensat(fd, path, times, PARAM_0); in Utimensat()
[all...]
H A Dgetopt1ndk.cpp31 #define PARAM_0 0 macro
44 if (param == PARAM_0) { in GetoptLong()
58 ret = getopt_long(PARAM_0, PARAM_0, PARAM_0, PARAM_0, nullptr); in GetoptLong()
79 if (param == PARAM_0) { in GetoptLongOnly()
80 optind = PARAM_0; in GetoptLongOnly()
88 {"name", PARAM_0, nullptr, 'a'}, in GetoptLongOnly()
89 {"bf_name", PARAM_0, nullpt in GetoptLongOnly()
[all...]
H A Dmountndk.cpp28 #define PARAM_0 0 macro
39 int ret = PARAM_0; in DoPlainTests()
40 int pid = PARAM_0; in DoPlainTests()
45 if (pid == PARAM_0) { in DoPlainTests()
46 _exit(PARAM_0); in DoPlainTests()
57 if (access(path, PARAM_0) != PARAM_0) { in createTwoDir()
64 if (access(path2, PARAM_0) != PARAM_0) { in createTwoDir()
79 rev = mount(special, target, "", PARAM_0, ""); in Mounttest()
[all...]
H A Dfcntl1ndk.cpp35 #define PARAM_0 0 macro
64 if (param == PARAM_0) { in Tee()
67 memset(buf, PARAM_0, sizeof(buf)); in Tee()
73 ret = tee(pipefd1[PARAM_0], pipefd2[PARAM_1], SIZE_32768, SPLICE_F_NONBLOCK); in Tee()
74 close(pipefd1[PARAM_0]); in Tee()
76 close(pipefd2[PARAM_0]); in Tee()
81 if (ret > PARAM_0) { in Tee()
82 ret = PARAM_0; in Tee()
111 if (param == PARAM_0) { in Vmsplice()
112 result = vmsplice(pipe_fds[PARAM_1], v, sizeof(v) / sizeof(struct iovec), PARAM_0); in Vmsplice()
[all...]
H A Dsemaphorendk.cpp31 #define PARAM_0 0 macro
46 int first = PARAM_0; in SemGetvalue()
48 sem_t semp = {PARAM_0}; in SemGetvalue()
72 if (param == PARAM_0) { in SemOpen()
92 sem_open(buf, O_CREAT | O_EXCL, FLAGS, PARAM_0); in SemUnlink()
93 sem_open(buf, PARAM_0); in SemUnlink()
104 int first = PARAM_0; in SemInit()
107 int ret = sem_init(&bin_sem, PARAM_0, first); in SemInit()
123 sem_t semp = {PARAM_0}; in SemDestroy()
124 sem_init(&semp, PARAM_0, ONEVA in SemDestroy()
[all...]
H A Dpollndk.cpp36 #define PARAM_0 0 macro
47 int ret = PARAM_0; in Poll()
49 ret = poll(nullptr, PARAM_0, PARAM_1); in Poll()
56 int ret = PARAM_0; in Ppoll()
58 struct pollfd pollfds[] = {{.fd = fd, .events = POLLIN, .revents = PARAM_0}}; in Ppoll()
59 struct timespec timeout = {PARAM_0}; in Ppoll()
77 int pollChk = PARAM_0; in PollChk()
80 } else if (pid == PARAM_0) { in PollChk()
85 _exit(PARAM_0); in PollChk()
88 struct pollfd buf[2] = {{fd[0], POLLIN, PARAM_0}, {f in PollChk()
[all...]
H A Dwaitndk.cpp23 #define PARAM_0 0 macro
30 int ret = PARAM_0; in do_plain_tests()
31 int pid = PARAM_0; in do_plain_tests()
36 if (pid == PARAM_0) { in do_plain_tests()
37 _exit(PARAM_0); in do_plain_tests()
47 int flag = PARAM_0; in waittest()
63 int status = PARAM_0; in wait4test()
64 int options = PARAM_0; in wait4test()
67 if (pid == PARAM_0) { in wait4test()
68 _exit(PARAM_0); in wait4test()
[all...]
H A Dunistdndk.cpp64 #define PARAM_0 0 macro
105 napi_get_value_int32(env, args[PARAM_0], &first); in Setpgid()
122 napi_get_value_int32(env, args[PARAM_0], &first); in Setpgrp()
187 if (setResult == PARAM_0) { in GetPGrp()
206 napi_get_value_string_utf8(env, args[PARAM_0], salt, lenV, &lenA); in Crypt()
231 napi_get_value_double(env, args[PARAM_0], &valueZero); in GetSid()
280 if (senv == PARAM_0) { in GetLoginR()
282 if (ret == PARAM_0) { in GetLoginR()
300 size_t strResult = PARAM_0; in GetOpt()
303 napi_get_value_string_utf8(env, args[PARAM_0], strTem in GetOpt()
[all...]
H A Dschedndk.cpp34 #define PARAM_0 0 macro
47 int first = PARAM_0; in SchedGetPriorityMax()
60 int first = PARAM_0; in SchedGetPriorityMin()
69 size_t count = PARAM_0; in SchedCpualloc()
75 napi_create_int32(env, PARAM_0, &result); in SchedCpualloc()
92 int first = PARAM_0; in SchedGetscheduler()
96 if (first == PARAM_0) { in SchedGetscheduler()
113 struct sched_param param = {PARAM_0}; in SchedSetparam()
115 int first = PARAM_0; in SchedSetparam()
123 if (first == PARAM_0) { in SchedSetparam()
[all...]
H A Dwctypendk.cpp28 #define PARAM_0 0 macro
81 int retVal = iswalnum_l((wint_t) * (char16_t *)ch, PARAM_0); in IswalnumL()
83 if (retVal != PARAM_0) { in IswalnumL()
103 if (retVal != PARAM_0) { in Iswalpha()
121 int retVal = iswalpha_l((wint_t) * (char16_t *)ch, PARAM_0); in IswalphaL()
123 if (retVal != PARAM_0) { in IswalphaL()
143 if (retVal != PARAM_0) { in Iswblank()
161 int retVal = iswblank_l((wint_t) * (char16_t *)ch, PARAM_0); in IswblankL()
163 if (retVal != PARAM_0) { in IswblankL()
181 if (retVal != PARAM_0) { in Iswcntrl()
[all...]
H A Dstdiondk1.cpp31 #define PARAM_0 0 macro
68 fseek(fp, PARAM_0, SEEK_SET); in Fgets_chk_One()
75 napi_create_int32(env, strcmp(dest, src) == PARAM_0, &result); in Fgets_chk_One()
86 fseek(fp, PARAM_0, SEEK_SET); in Fread_Chk_One()
93 napi_create_int32(env, strcmp(dest, src) == PARAM_0, &result); in Fread_Chk_One()
104 size_t ret = __pwrite_chk(fd, src, strlen(src), PARAM_0, sizeof(src)); in Pwrite_Chk_One()
106 fseek(fp, PARAM_0, SEEK_SET); in Pwrite_Chk_One()
112 napi_create_int32(env, strcmp(dest, src) == PARAM_0, &result); in Pwrite_Chk_One()
123 fseek(fp, PARAM_0, SEEK_SET); in Readlinkat_Chk_One()
125 NAPI_ASSERT(env, linkRet == PARAM_0, "Readlinkat_Chk_On in Readlinkat_Chk_One()
[all...]
/test/xts/acts/pcs/pcs_ndk/entry/src/main/cpp/
H A DpcsNetworkTest.cpp33 #define PARAM_0 0 macro
43 int result = socket(AF_INET, SOCK_STREAM, PARAM_0); in Socket()
52 int sockfd = socket(AF_INET, SOCK_STREAM, PARAM_0); in Bind()
53 struct sockaddr_in server = {PARAM_0}; in Bind()
66 int sockfd = socket(AF_INET, SOCK_STREAM, PARAM_0); in Listen()
67 struct sockaddr_in local = {PARAM_0}; in Listen()
82 if (fork() == PARAM_0) { in Connect()
83 int sockfd = socket(AF_INET, SOCK_STREAM, PARAM_0); in Connect()
84 if (sockfd >= PARAM_0) { in Connect()
85 struct sockaddr_in local = {PARAM_0}; in Connect()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/textarea/
H A Dtextarea_placeholderfont_test.cpp35 ASSERT_EQ(nodeAPI->getAttribute(textArea, NODE_TEXT_AREA_PLACEHOLDER_FONT)->value[PARAM_0].f32, FONT_SIZE); in TestTextAreaPlaceHolderFont001()
46 ArkUI_NumberValue value[] = {{.f32 = PARAM_0}, {.i32 = ARKUI_FONT_STYLE_NORMAL}, {.i32 = ARKUI_FONT_WEIGHT_NORMAL}}; in TestTextAreaPlaceHolderFont002()
51 ASSERT_EQ(nodeAPI->getAttribute(textArea, NODE_TEXT_AREA_PLACEHOLDER_FONT)->value[PARAM_0].f32, PARAM_0); in TestTextAreaPlaceHolderFont002()
93 ASSERT_EQ(nodeAPI->getAttribute(textArea, NODE_TEXT_AREA_PLACEHOLDER_FONT)->value[PARAM_0].f32, DEFAULT_SIZE); in TestTextAreaPlaceHolderFont005()
100 ArkUI_NumberValue value[] = {{.f32 = PARAM_0}, {.i32 = ARKUI_FONT_STYLE_ITALIC}, {.i32 = ARKUI_FONT_WEIGHT_W100}}; in TestTextAreaPlaceHolderFont006()
105 ASSERT_EQ(nodeAPI->getAttribute(textArea, NODE_TEXT_AREA_PLACEHOLDER_FONT)->value[PARAM_0].f32, PARAM_0); in TestTextAreaPlaceHolderFont006()
116 ArkUI_NumberValue value[] = {{.f32 = PARAM_0}, {.i32 = ARKUI_FONT_STYLE_ITALIC}, {.i32 = ARKUI_FONT_WEIGHT_W200}}; in TestTextAreaPlaceHolderFont007()
121 ASSERT_EQ(nodeAPI->getAttribute(textArea, NODE_TEXT_AREA_PLACEHOLDER_FONT)->value[PARAM_0] in TestTextAreaPlaceHolderFont007()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/textinput/
H A Dtextinput_placeholderfont_test.cpp35 ASSERT_EQ(nodeAPI->getAttribute(textInput, NODE_TEXT_INPUT_PLACEHOLDER_FONT)->value[PARAM_0].f32, FONT_SIZE); in TestTextInputPlaceHolderFont001()
46 ArkUI_NumberValue value[] = {{.f32 = PARAM_0}, {.i32 = ARKUI_FONT_STYLE_NORMAL}, {.i32 = ARKUI_FONT_WEIGHT_NORMAL}}; in TestTextInputPlaceHolderFont002()
51 ASSERT_EQ(nodeAPI->getAttribute(textInput, NODE_TEXT_INPUT_PLACEHOLDER_FONT)->value[PARAM_0].f32, PARAM_0); in TestTextInputPlaceHolderFont002()
93 ASSERT_EQ(nodeAPI->getAttribute(textInput, NODE_TEXT_INPUT_PLACEHOLDER_FONT)->value[PARAM_0].f32, DEFAULT_SIZE); in TestTextInputPlaceHolderFont005()
100 ArkUI_NumberValue value[] = {{.f32 = PARAM_0}, {.i32 = ARKUI_FONT_STYLE_ITALIC}, {.i32 = ARKUI_FONT_WEIGHT_W100}}; in TestTextInputPlaceHolderFont006()
105 ASSERT_EQ(nodeAPI->getAttribute(textInput, NODE_TEXT_INPUT_PLACEHOLDER_FONT)->value[PARAM_0].f32, PARAM_0); in TestTextInputPlaceHolderFont006()
116 ArkUI_NumberValue value[] = {{.f32 = PARAM_0}, {.i32 = ARKUI_FONT_STYLE_ITALIC}, {.i32 = ARKUI_FONT_WEIGHT_W200}}; in TestTextInputPlaceHolderFont007()
121 ASSERT_EQ(nodeAPI->getAttribute(textInput, NODE_TEXT_INPUT_PLACEHOLDER_FONT)->value[PARAM_0] in TestTextInputPlaceHolderFont007()
[all...]
/test/xts/acts/hdf/usb/usb_ndk/entry/src/main/cpp/
H A Dusbddk.cpp34 #define PARAM_0 0 macro
56 for (uint32_t setIdx = PARAM_0; setIdx < numSetting; ++setIdx) { in FindForEachInterface()
59 for (uint32_t epIdx = PARAM_0; epIdx < numEp; ++epIdx) { in FindForEachInterface()
73 for (uint32_t intIdx = PARAM_0; intIdx < config->configDescriptor.bNumInterfaces; ++intIdx) { in GetEndpointInfo()
94 NAPI_ASSERT(env, usbInitReturnValue == PARAM_0, "OH_Usb_Init failed"); in UsbRelease()
107 napi_get_value_int64(env, args[PARAM_0], &deviceId64); in UsbGetDeviceDescriptorOne()
111 NAPI_ASSERT(env, usbInitReturnValue == PARAM_0, "OH_Usb_Init failed"); in UsbGetDeviceDescriptorOne()
125 napi_get_value_int64(env, args[PARAM_0], &deviceId64); in UsbGetDeviceDescriptorTwo()
128 NAPI_ASSERT(env, usbInitReturnValue == PARAM_0, "OH_Usb_Init failed"); in UsbGetDeviceDescriptorTwo()
141 napi_get_value_int64(env, args[PARAM_0], in UsbGetConfigDescriptorOne()
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/
H A Dfnmatchndk32.cpp42 #define PARAM_0 0 macro
112 PARAM_0, PARAM_0 in NanoSleep_time64() member
115 timeSpec.tv_nsec = PARAM_0; in NanoSleep_time64()
166 size_t length = SIZE_64, stresult = PARAM_0; in UTimeNsAt_time64()
167 char path[SIZE_64] = {PARAM_0}; in UTimeNsAt_time64()
171 struct timespec times[] = {{.tv_sec = PARAM_0}, {.tv_sec = sec}}; in UTimeNsAt_time64()
172 int utimensatValue = __utimensat_time64(fileDescribe, path, times, PARAM_0); in UTimeNsAt_time64()
174 struct stat statbuf = {PARAM_0}; in UTimeNsAt_time64()
176 if (utimensatValue == PARAM_0 in UTimeNsAt_time64()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/listitem/
H A Dlistitem_rotate_test.cpp34 ASSERT_EQ(nodeAPI->getAttribute(listItem, NODE_ROTATE)->value[PARAM_0].f32, rotateX); in TestListItemRotate001()
45 float rotateX = PARAM_0; in TestListItemRotate002()
46 float rotateY = PARAM_0; in TestListItemRotate002()
47 float rotateZ = PARAM_0; in TestListItemRotate002()
48 float angle = PARAM_0; in TestListItemRotate002()
49 float perspective = PARAM_0; in TestListItemRotate002()
51 ASSERT_EQ(nodeAPI->getAttribute(listItemDefault, NODE_ROTATE)->value[PARAM_0].f32, rotateX); in TestListItemRotate002()
65 float angle = PARAM_0; in TestListItemRotate003()
66 float perspective = PARAM_0; in TestListItemRotate003()
73 ASSERT_EQ(nodeAPI->getAttribute(listItem, NODE_ROTATE)->value[PARAM_0] in TestListItemRotate003()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/list/
H A Dlist_rotate_test.cpp34 ASSERT_EQ(nodeAPI->getAttribute(list, NODE_ROTATE)->value[PARAM_0].f32, rotateX); in TestListRotate001()
45 float rotateX = PARAM_0; in TestListRotate002()
46 float rotateY = PARAM_0; in TestListRotate002()
47 float rotateZ = PARAM_0; in TestListRotate002()
48 float angle = PARAM_0; in TestListRotate002()
49 float perspective = PARAM_0; in TestListRotate002()
51 ASSERT_EQ(nodeAPI->getAttribute(listDefault, NODE_ROTATE)->value[PARAM_0].f32, rotateX); in TestListRotate002()
65 float angle = PARAM_0; in TestListRotate003()
66 float perspective = PARAM_0; in TestListRotate003()
73 ASSERT_EQ(nodeAPI->getAttribute(list, NODE_ROTATE)->value[PARAM_0] in TestListRotate003()
[all...]
/test/xts/acts/ai/nnrtndk/entry/src/main/cpp/
H A Dnnrtndk.cpp25 #define PARAM_0 0 macro
44 int32_t length{PARAM_0};
125 float inputValue0[PARAM_4] = {PARAM_0, PARAM_1, PARAM_2, PARAM_3}; in OHNNModelSetTensorDataOne()
136 OH_NN_ReturnCode setTensor_ret = OH_NNModel_SetTensorData(model, PARAM_0, operand.data, operand.length); in OHNNModelSetTensorDataOne()
150 int8_t activationValue{PARAM_0}; in OHNNModelSetTensorDataTwo()
164 float inputValue[PARAM_4] = {PARAM_0, PARAM_1, PARAM_2, PARAM_3}; in addTesorAndSetTensor()
179 float outputValue[PARAM_4] = {PARAM_0}; in addTesorAndSetTensor()
190 graphArgs.inputIndices = {PARAM_0, PARAM_1}; in addTesorAndSetTensor()
369 uint32_t devicesCount{PARAM_0}; in OHNNModelGetAvailableoperationsOne()
373 if (devicesCount > PARAM_0) { in OHNNModelGetAvailableoperationsOne()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/customdialog/
H A Dcustomdialog_alignment_test.cpp29 auto ret = dialogAPI->setContentAlignment(customDialog, ARKUI_ALIGNMENT_TOP_START, PARAM_0, PARAM_0); in TestCustomDialogAlignment001()
43 auto ret = dialogAPI->setContentAlignment(customDialog, ARKUI_ALIGNMENT_TOP, PARAM_0, PARAM_0); in TestCustomDialogAlignment002()
57 auto ret = dialogAPI->setContentAlignment(customDialog, ARKUI_ALIGNMENT_TOP_END, PARAM_0, PARAM_0); in TestCustomDialogAlignment003()
71 auto ret = dialogAPI->setContentAlignment(customDialog, ARKUI_ALIGNMENT_START, PARAM_0, PARAM_0); in TestCustomDialogAlignment004()
99 auto ret = dialogAPI->setContentAlignment(customDialog, ARKUI_ALIGNMENT_END, PARAM_0, PARAM_0); in TestCustomDialogAlignment006()
[all...]
/test/xts/acts/distributeddatamgr/UDMFtest/UDMFndktestHvigor/entry/src/main/cpp/
H A Dutd_ndk_test.cpp26 #define PARAM_0 0 macro
38 napi_create_int32(env, strcmp(result, "general.entity") == PARAM_0, &returnCode); in OH_Utd_Create_0001()
48 napi_create_int32(env, strcmp(result, "general.object") == PARAM_0, &returnCode); in OH_Utd_Create_0002()
58 napi_create_int32(env, strcmp(result, "general.composite-object") == PARAM_0, &returnCode); in OH_Utd_Create_0003()
67 napi_create_int32(env, strcmp(result, "general.text") == PARAM_0, &returnCode); in OH_Utd_Create_0004()
76 napi_create_int32(env, strcmp(result, "general.plain-text") == PARAM_0, &returnCode); in OH_Utd_Create_0005()
85 napi_create_int32(env, strcmp(result, "general.html") == PARAM_0, &returnCode); in OH_Utd_Create_0006()
95 napi_create_int32(env, strcmp(result, "general.hyperlink")== PARAM_0, &returnCode); in OH_Utd_Create_0007()
104 napi_create_int32(env, strcmp(result, "general.xml") == PARAM_0, &returnCode); in OH_Utd_Create_0008()
114 napi_create_int32(env, strcmp(result, "general.source-code") == PARAM_0, in OH_Utd_Create_0009()
[all...]

Completed in 23 milliseconds

12345678910>>...27