Home
last modified time | relevance | path

Searched refs:ret (Results 10326 - 10350 of 16877) sorted by relevance

1...<<411412413414415416417418419420>>...676

/third_party/node/deps/v8/src/wasm/
H A Dmemory-protection-key.cc183 int ret = pkey_mprotect(address, size, protection, key); in SetPermissionsAndMemoryProtectionKey() local
185 if (ret == 0 && page_permissions == PageAllocator::kNoAccess) { in SetPermissionsAndMemoryProtectionKey()
191 return ret == /* success */ 0; in SetPermissionsAndMemoryProtectionKey()
/third_party/node/test/addons/callback-scope/
H A Dbinding.cc28 v8::MaybeLocal<v8::Value> ret = in RunInCallbackScope() local
31 if (!ret.IsEmpty()) in RunInCallbackScope()
32 args.GetReturnValue().Set(ret.ToLocalChecked()); in RunInCallbackScope()
/third_party/musl/porting/liteos_a/user/src/thread/
H A Dpthread_barrier_wait.c6 int ret = 0; in pshared_barrier_wait() local
17 ret = PTHREAD_BARRIER_SERIAL_THREAD; in pshared_barrier_wait()
49 return ret; in pshared_barrier_wait()
/third_party/musl/porting/liteos_a/user/src/network/
H A Dether.c69 unsigned int ret; in ether_line() local
73 if (ch == NULL || sscanf(ch, "%x", &ret) != 1) { in ether_line()
77 addr->ether_addr_octet[i] = (uint8_t)ret; in ether_line()
/third_party/musl/src/network/
H A Dether.c73 unsigned int ret; in ether_line() local
77 if (ch == NULL || sscanf(ch, "%x", &ret) != 1) { in ether_line()
81 addr->ether_addr_octet[i] = (uint8_t)ret; in ether_line()
/third_party/musl/src/passwd/
H A Dgetgrouplist.c14 int rv, nlim, ret = -1; in getgrouplist() local
72 ret = n > nlim ? -1 : n; in getgrouplist()
80 return ret; in getgrouplist()
/third_party/musl/src/thread/
H A Dpthread_barrier_wait.c6 int ret = 0; in pshared_barrier_wait() local
17 ret = PTHREAD_BARRIER_SERIAL_THREAD; in pshared_barrier_wait()
49 return ret; in pshared_barrier_wait()
/third_party/node/deps/npm/node_modules/@colors/colors/lib/
H A Dcolors.js97 var ret = {};
102 ret[key] = {
108 return ret;
175 var ret = {};
177 ret[name] = {
183 return ret;
/third_party/libfuse/example/
H A Dhello.c152 int ret; in main() local
176 ret = fuse_main(args.argc, args.argv, &hello_oper, NULL); in main()
178 return ret; in main()
H A Dprintcap.c96 int ret = -1; in main() local
118 ret = fuse_session_loop(se); in main()
130 return ret ? 1 : 0; in main()
/third_party/ltp/testcases/kernel/syscalls/futex/
H A Dfutex_wake02.c30 int ret = 0; in threads_awake() local
35 ret++; in threads_awake()
38 return ret; in threads_awake()
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/
H A Dmigrate_pages03.c119 int loop, i, ret; in migrate_test() local
124 ret = tst_syscall(__NR_migrate_pages, 0, max_node, in migrate_test()
126 if (ret < 0) { in migrate_test()
/third_party/ltp/testcases/kernel/syscalls/mount/
H A Dmount06.c98 int ret = 0; in ismount() local
108 ret = 1; in ismount()
113 return ret; in ismount()
/third_party/ltp/testcases/kernel/mem/ksm/
H A Dksm06.c53 int ret; in test_ksm() local
71 ret = mbind(memory[i], length, MPOL_BIND, bm->maskp, bm->size+1, 0); in test_ksm()
72 if (ret == -1) in test_ksm()
/third_party/ltp/testcases/kernel/syscalls/clock_settime/
H A Dclock_settime01.c47 int ret; in do_clock_gettime() local
49 ret = tv->clock_gettime(CLOCK_REALTIME, tst_ts_get(ts)); in do_clock_gettime()
50 if (ret == -1) in do_clock_gettime()
/third_party/ltp/testcases/kernel/syscalls/io_pgetevents/
H A Dio_pgetevents02.c55 int ret; in setup() local
76 ret = io_submit(ctx, 1, cbs); in setup()
77 if (ret != 1) in setup()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
H A Dioctl_loop02.c110 int ret; in setup() local
133 ret = ioctl(dev_fd, LOOP_CONFIGURE, &loopconfig); in setup()
135 if (ret && errno != EBADF) { in setup()
H A Dioctl_loop07.c112 int ret; in setup() local
133 ret = ioctl(dev_fd, LOOP_CONFIGURE, &loopconfig); in setup()
134 if (ret && errno != EBADF) { in setup()
H A Dioctl_loop06.c99 int ret; in setup() local
118 ret = ioctl(dev_fd, LOOP_CONFIGURE, &loopconfig); in setup()
119 if (ret && errno != EBADF) { in setup()
/third_party/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap16.c101 int ret, status; in run_single() local
119 ret = write(parentfd, buf, FS_BLOCKSIZE); in run_single()
120 if (ret < 0) { in run_single()
/third_party/ltp/testcases/kernel/syscalls/statx/
H A Dstatx07.c116 int ret; in setup() local
133 ret = tst_system(cmd); in setup()
134 if (ret) in setup()
/third_party/ltp/testcases/kernel/syscalls/tgkill/
H A Dtgkill03.c49 int ret; in setup() local
65 ret = TST_RETRY_FN_EXP_BACKOFF(access(defunct_tid_path, R_OK), in setup()
67 if (!CHECK_ENOENT(ret)) in setup()
/third_party/ltp/testcases/kernel/syscalls/umount2/
H A Dumount2_01.c89 int ret; in umount2_verify() local
108 ret = access(MNTPOINT "/file", F_OK); in umount2_verify()
110 if (ret != -1) { in umount2_verify()
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/
H A Dclock_gettime04.c117 int count = 10000, ret; in run() local
137 ret = tv->clock_gettime(clks[i], tst_ts_get(&ts)); in run()
138 if (ret) { in run()
/third_party/ltp/testcases/kernel/syscalls/fork/
H A Dfork04.c242 int ret; in parent_environment() local
247 ret = read(fildes, tmp_line, MAX_LINE_LENGTH); in parent_environment()
248 if (ret == 0) { in parent_environment()

Completed in 13 milliseconds

1...<<411412413414415416417418419420>>...676