/third_party/node/deps/v8/src/wasm/ |
H A D | memory-protection-key.cc | 183 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 D | binding.cc | 28 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 D | pthread_barrier_wait.c | 6 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 D | ether.c | 69 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 D | ether.c | 73 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 D | getgrouplist.c | 14 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 D | pthread_barrier_wait.c | 6 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 D | colors.js | 97 var ret = {}; 102 ret[key] = { 108 return ret; 175 var ret = {}; 177 ret[name] = { 183 return ret;
|
/third_party/libfuse/example/ |
H A D | hello.c | 152 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 D | printcap.c | 96 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 D | futex_wake02.c | 30 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 D | migrate_pages03.c | 119 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 D | mount06.c | 98 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 D | ksm06.c | 53 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 D | clock_settime01.c | 47 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 D | io_pgetevents02.c | 55 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 D | ioctl_loop02.c | 110 int ret; in setup() local 133 ret = ioctl(dev_fd, LOOP_CONFIGURE, &loopconfig); in setup() 135 if (ret && errno != EBADF) { in setup()
|
H A D | ioctl_loop07.c | 112 int ret; in setup() local 133 ret = ioctl(dev_fd, LOOP_CONFIGURE, &loopconfig); in setup() 134 if (ret && errno != EBADF) { in setup()
|
H A D | ioctl_loop06.c | 99 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 D | mmap16.c | 101 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 D | statx07.c | 116 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 D | tgkill03.c | 49 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 D | umount2_01.c | 89 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 D | clock_gettime04.c | 117 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 D | fork04.c | 242 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()
|