/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
D | setjmpndk1.cpp | 23 #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 …]
|
D | socketndk.cpp | 38 #define PARAM_0 0 macro 57 int result = socket(AF_INET, SOCK_STREAM, PARAM_0); in Socket() 66 int result = socketpair(AF_INET, SOCK_STREAM, PARAM_0, fb); in Socketpair() 74 struct msghdr msg = {PARAM_0}; in Sendmsg() 75 struct sockaddr_in addr = {PARAM_0}; in Sendmsg() 76 int sockfd = socket(AF_INET, SOCK_DGRAM, PARAM_0); in Sendmsg() 83 int retval = sendmsg(sockfd, &msg, PARAM_0); in Sendmsg() 92 struct sockaddr_in addr = {PARAM_0}; in Send() 93 int sockfd = socket(AF_INET, SOCK_DGRAM, PARAM_0); in Send() 96 int sendRet = send(sockfd, sendBuf, sizeof(sendBuf), PARAM_0); in Send() [all …]
|
D | getopt1ndk.cpp | 31 #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, nullptr, 'b'}, in GetoptLongOnly() 91 {PARAM_0, PARAM_0, PARAM_0, PARAM_0}, in GetoptLongOnly() 95 ret = getopt_long_only(PARAM_0, PARAM_0, PARAM_0, PARAM_0, nullptr); in GetoptLongOnly()
|
D | mountndk.cpp | 28 #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() 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() 81 if (rev == PARAM_0) { in Mounttest() 92 napi_create_int32(env, PARAM_0, &result); in Mount() 103 rev = mount(special, target, "", PARAM_0, ""); in umounttest() [all …]
|
D | semaphorendk.cpp | 31 #define PARAM_0 0 macro 46 int first = PARAM_0; in SemGetvalue() 48 sem_t semp = {PARAM_0}; in SemGetvalue() 71 if (param == PARAM_0) { in SemOpen() 90 sem_open(buf, O_CREAT | O_EXCL, FLAGS, PARAM_0); in SemUnlink() 91 sem_open(buf, PARAM_0); in SemUnlink() 102 int first = PARAM_0; in SemInit() 105 int ret = sem_init(&bin_sem, PARAM_0, first); in SemInit() 120 sem_t semp = {PARAM_0}; in SemDestroy() 121 sem_init(&semp, PARAM_0, ONEVAL); in SemDestroy() [all …]
|
D | statndk.cpp | 38 #define PARAM_0 0 macro 64 napi_get_value_int32(env, args[PARAM_0], &value); in Stat() 65 int intValue = PARAM_0; in Stat() 66 struct stat sb = {PARAM_0}; in Stat() 82 napi_get_value_int32(env, args[PARAM_0], &value); in Stat64() 83 int intValue = PARAM_0; in Stat64() 84 struct stat64 sb = {PARAM_0}; in Stat64() 101 napi_get_value_int32(env, args[PARAM_0], &valueFirst); in Umask() 102 mode_t mode = PARAM_0; in Umask() 126 size_t stresult = PARAM_0; in Utimensat() [all …]
|
D | fcntl1ndk.cpp | 35 #define PARAM_0 0 macro 63 if (param == PARAM_0) { in Tee() 66 memset(buf, PARAM_0, sizeof(buf)); in Tee() 72 ret = tee(pipefd1[PARAM_0], pipefd2[PARAM_1], SIZE_32768, SPLICE_F_NONBLOCK); in Tee() 73 close(pipefd1[PARAM_0]); in Tee() 75 close(pipefd2[PARAM_0]); in Tee() 80 if (ret > PARAM_0) { in Tee() 81 ret = PARAM_0; in Tee() 110 if (param == PARAM_0) { in Vmsplice() 111 result = vmsplice(pipe_fds[PARAM_1], v, sizeof(v) / sizeof(struct iovec), PARAM_0); in Vmsplice() [all …]
|
D | pollndk.cpp | 36 #define PARAM_0 0 macro 46 int ret = PARAM_0; in Poll() 48 ret = poll(nullptr, PARAM_0, PARAM_1); in Poll() 55 int ret = PARAM_0; in Ppoll() 57 struct pollfd pollfds[] = {{.fd = fd, .events = POLLIN, .revents = PARAM_0}}; in Ppoll() 58 struct timespec timeout = {PARAM_0}; in Ppoll() 76 int pollChk = PARAM_0; in PollChk() 79 } else if (pid == PARAM_0) { in PollChk() 86 struct pollfd buf[2] = {{fd[0], POLLIN, PARAM_0}, {fd[0], POLLIN, PARAM_0}}; in PollChk() 90 while (read(fd[0], &buff, PARAM_1) > PARAM_0) in PollChk() [all …]
|
D | semndk.cpp | 21 #define PARAM_0 0 macro 32 struct sembuf sops = {PARAM_0}; in Semop() 34 sops.sem_num = PARAM_0; in Semop() 36 sops.sem_flg = PARAM_0; in Semop() 37 int semid = semget(k, PARAM_0, PARAM_0); in Semop() 47 struct sembuf sops = {PARAM_0}; in Semtimedop() 49 sops.sem_num = PARAM_0; in Semtimedop() 51 sops.sem_flg = PARAM_0; in Semtimedop() 52 int semid = semget(k, PARAM_0, PARAM_0); in Semtimedop() 70 if (valueFirst == PARAM_0) { in Semctl() [all …]
|
D | schedndk.cpp | 34 #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() 142 int first = PARAM_0; in SchedSetscheduler() [all …]
|
D | selectndk.cpp | 35 #define PARAM_0 0 macro 47 FD_SET(PARAM_0, &rfds); in Select() 48 int first = PARAM_0; in Select() 51 if (first == PARAM_0) { in Select() 52 tv.tv_sec = PARAM_0; in Select() 53 tv.tv_usec = PARAM_0; in Select() 57 tv.tv_usec = PARAM_0; in Select() 65 fd_set set = {PARAM_0}; in PSelect() 66 struct timespec timeout = {PARAM_0}; in PSelect() 68 timeout.tv_nsec = PARAM_0; in PSelect()
|
D | timendk1.cpp | 37 #define PARAM_0 0 macro 54 memset(&evp, PARAM_0, sizeof(struct sigevent)); in Timer_getTime64_One() 64 it.it_interval.tv_nsec = PARAM_0; in Timer_getTime64_One() 66 it.it_value.tv_nsec = PARAM_0; in Timer_getTime64_One() 67 ret = __timer_settime64(timerid, PARAM_0, &it, nullptr); in Timer_getTime64_One() 75 napi_create_int32(env, ret == PARAM_0, &result); in Timer_getTime64_One() 95 memset(&evp, PARAM_0, sizeof(struct sigevent)); in Timer_setTime64_One() 103 it.it_interval.tv_nsec = PARAM_0; in Timer_setTime64_One() 105 it.it_value.tv_nsec = PARAM_0; in Timer_setTime64_One() 106 ret = __timer_settime64(timerid, PARAM_0, &it, nullptr); in Timer_setTime64_One() [all …]
|
D | getoptndk.cpp | 31 #define PARAM_0 0 macro 63 optind = PARAM_0; in GetoptLongOnly() 70 int ret = PARAM_0; in GetoptLongOnly() 72 {"name", PARAM_0, nullptr, 'a'}, in GetoptLongOnly() 73 {"bf_name", PARAM_0, nullptr, 'b'}, in GetoptLongOnly() 75 {PARAM_0, PARAM_0, PARAM_0, PARAM_0}, in GetoptLongOnly()
|
D | shmndk.cpp | 26 #define PARAM_0 0 macro 53 shmid = shmget(k, PARAM_0, PARAM_0); in Shmdt() 55 p = shmat(shmid, PARAM_0, SHM_RDONLY); in Shmdt() 65 int shmval = shmctl(shmid, IPC_RMID, PARAM_0); in Shmctl() 78 shmid = shmget(k, PARAM_0, PARAM_0); in Shmat() 80 if ((p = shmat(shmid, PARAM_0, SHM_RDONLY)) == PARAM_0) { in Shmat() 83 napi_create_int32(env, PARAM_0, &result); in Shmat()
|
D | setjmpndk.cpp | 23 #define PARAM_0 0 macro 37 int value = PARAM_0; in Longjmp() 41 if (value != PARAM_0) { in Longjmp() 42 napi_create_int32(env, PARAM_0, &result); in Longjmp() 52 int returnValue = PARAM_0; in _Longjmp() 56 _longjmp(bufJmp, PARAM_0); in _Longjmp() 57 if (errno == PARAM_0) { in _Longjmp() 68 int valueFirst = PARAM_0; in _Setjmp() 69 int valueSecond = PARAM_0; in _Setjmp() 71 if (valueFirst == PARAM_0) { in _Setjmp() [all …]
|
D | statfsndk.cpp | 26 #define PARAM_0 0 macro 38 int int_value = PARAM_0; in Statfs() 57 int value = PARAM_0; in Statfs64() 59 int int_value = PARAM_0; in Statfs64() 60 struct statfs64 sb = {PARAM_0}; in Statfs64() 74 struct statfs st = {PARAM_0}; in Fstatfs() 76 lseek(fd, PARAM_0, SEEK_SET); in Fstatfs() 86 struct statfs st = {PARAM_0}; in Fstatfs64() 88 lseek(fd, PARAM_0, SEEK_SET); in Fstatfs64() 98 struct statvfs sts = {PARAM_0}; in Fstatvfs() [all …]
|
D | direntndk.cpp | 34 #define PARAM_0 0 macro 66 size_t length = SIXFOURVAL, stresult = PARAM_0; in Scandir64() 74 if (valueFirst == PARAM_0) { in Scandir64() 75 int total = scandir64(strTemp, &namelist, PARAM_0, alphasort); in Scandir64() 78 int total = scandir64(nullptr, &namelist, PARAM_0, alphasort); in Scandir64() 90 size_t length = SIXFOURVAL, stresult = PARAM_0; in Scandir() 98 if (valueFirst == PARAM_0) { in Scandir() 99 int total = scandir(strTemp, &namelist, PARAM_0, alphasort); in Scandir() 102 int total = scandir(nullptr, &namelist, PARAM_0, alphasort); in Scandir() 114 napi_get_value_int32(env, args[PARAM_0], &valueFirst); in Seekdir() [all …]
|
D | pwdndk.cpp | 34 #define PARAM_0 0 macro 45 napi_create_int32(env, PARAM_0, &result); in Getpwent() 60 if (errno != PARAM_0) { in Setpwent() 73 if (errno == PARAM_0) { in Setpwent() 87 napi_create_int32(env, PARAM_0, &result); in Getpwnam() 97 int backResult = PARAM_0; in EndPwEnt() 106 struct passwd pwd = {PARAM_0}; in GetpwnamR() 108 char buf[TEST_BUFFER_SIZE] = {PARAM_0}; in GetpwnamR() 109 memset(&buf, PARAM_0, sizeof buf); in GetpwnamR() 113 napi_create_int32(env, PARAM_0, &result); in GetpwnamR() [all …]
|
D | unistdndk.cpp | 62 #define PARAM_0 0 macro 101 napi_get_value_int32(env, args[PARAM_0], &first); in Setpgid() 118 napi_get_value_int32(env, args[PARAM_0], &first); in Setpgrp() 149 napi_get_value_int32(env, args[PARAM_0], &valueZero); in GetGroups() 180 if (setResult == PARAM_0) { in GetPGrp() 209 napi_get_value_double(env, args[PARAM_0], &valueZero); in GetSid() 255 char szUserName[64] = {PARAM_0}; in GetLoginR() 269 size_t strResult = PARAM_0; in GetOpt() 272 napi_get_value_string_utf8(env, args[PARAM_0], strTemp, length, &strResult); in GetOpt() 273 optind = PARAM_0; in GetOpt() [all …]
|
D | regexndk.cpp | 25 #define PARAM_0 0 macro 39 regex_t r = {PARAM_0}; in Regcomp() 52 regex_t r = {PARAM_0}; in Regexec() 56 if (regCompValue == PARAM_0) { in Regexec() 57 int regExecValue = regexec(&r, buff, nMatch, pMatch, PARAM_0); in Regexec() 66 regex_t reg = {PARAM_0}; in Regerror() 68 int error_value = regerror(PARAM_0, ®, buf, sizeof buf); in Regerror() 69 if (error_value != PARAM_0) { in Regerror() 81 regex_t reg = {PARAM_0}; in Regfree()
|
D | termiosndk.cpp | 25 #define PARAM_0 0 macro 40 int result = PARAM_0; in Tcdrain() 42 if (valueFirst == PARAM_0) { in Tcdrain() 43 result = tcdrain(PARAM_0); in Tcdrain() 61 int result = PARAM_0; in Tcflow() 64 if (valueFirst == PARAM_0) { in Tcflow() 89 int result = PARAM_0; in Tcflush() 90 if (valueFirst == PARAM_0) { in Tcflush() 113 int result = PARAM_0; in Tcgetattr() 115 if (valueFirst == PARAM_0) { in Tcgetattr() [all …]
|
D | mmanndk.cpp | 52 #define PARAM_0 0 macro 68 int retVal = PARAM_0; in MemfdCreate() 69 int fd = memfd_create(tmpfile, PARAM_0); in MemfdCreate() 73 retVal = PARAM_0; in MemfdCreate() 86 int retVal = PARAM_0; in Mincore() 95 void *start = mmap(nullptr, st.st_size, PROT_READ, MAP_PRIVATE, fd, PARAM_0); in Mincore() 114 int retVal = PARAM_0; in Mmap() 124 start = mmap(nullptr, statbuff.st_size, PROT_READ, MAP_PRIVATE, fd, PARAM_0); in Mmap() 128 retVal = PARAM_0; in Mmap() 155 void *map = mmap(nullptr, TEST_M_SIZE, PROT_READ, MAP_SHARED, fd, PARAM_0); in MreMap() [all …]
|
D | waitndk.cpp | 23 #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() 47 int flag = PARAM_0; in waittest() 63 int status = PARAM_0; in wait4test() 64 int options = PARAM_0; in wait4test() 81 int status = PARAM_0; in Wait3test() 82 int options = PARAM_0; in Wait3test() 116 int status = PARAM_0; in waitpidtest() [all …]
|
D | resolvndk.cpp | 24 #define PARAM_0 0 macro 56 int param = PARAM_0; in ResMkquery() 63 unsigned char buf[SIZE_1024] = {PARAM_0}; in ResMkquery() 67 …sultValue = res_mkquery(op, dname, cla, T_ANY + PARAM_1, data, PARAM_0, nullptr, nullptr, PARAM_0); in ResMkquery() 69 int ret = res_mkquery(op, dname, cla, T_TXT, data, PARAM_0, nullptr, buf, sizeof(buf)); in ResMkquery() 70 if (ret > PARAM_0) { in ResMkquery() 86 int param = PARAM_0; in ResQuery() 92 unsigned char buf[PARAM_1] = {PARAM_0}; in ResQuery() 99 if (ret > PARAM_0) { in ResQuery() 116 unsigned char buf[PARAM_1] = {PARAM_0}; in ResQuerydomain() [all …]
|
D | wctypendk.cpp | 28 #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 …]
|