Home
last modified time | relevance | path

Searched refs:ret (Results 7376 - 7400 of 11909) sorted by relevance

1...<<291292293294295296297298299300>>...477

/third_party/musl/porting/liteos_a/user/src/exit/
H A Dexit.c40 int ret = pthread_mutex_trylock(&__exit_mutex); in exit() local
41 if (ret == EBUSY) { in exit()
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/
H A Dfortify_pwrite_chk_test.cpp28 int ret = __pwrite_chk(fd, buf, BUF_SIZE, 0, BUF_SIZE); in HWTEST_F() local
29 EXPECT_EQ(-1, ret); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dfgetxattr.c38 int ret = fsetxattr(fd, name, value, strlen(value), 0); in fgetxattr_0100() local
39 if (ret != 0) { in fgetxattr_0100()
/third_party/musl/libc-test/src/functionalext/supplement/malloc/malloc_gtest/
H A Dmalloc_malloc_usable_size_test.cpp27 size_t ret = malloc_usable_size(p); in HWTEST_F() local
28 EXPECT_GE(ret, INITIALSIZE * SIZE); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/multibyte/multibyte_gtest/
H A Dmultibyte_mbrtowc_test.cpp29 size_t ret = mbrtowc(out, "\xf5\x80\x80\x80", BUFFERSIZE, nullptr); in HWTEST_F() local
30 EXPECT_TRUE(static_cast<size_t>(-1) == ret); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dgetchar_unlocked.c35 ssize_t ret = write(fd, str, sizeof(str)); in getchar_unlocked_0100() local
36 if (ret < 0) { in getchar_unlocked_0100()
H A Dgetc.c36 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in getc_0100() local
37 if (ret < 0) { in getc_0100()
H A Dgetchar.c34 ssize_t ret = write(fd, str, sizeof(str)); in getchar_0100() local
35 if (ret < 0) { in getchar_0100()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/stdio_gtest/
H A Dstdio_ferror_unlocked_test.cpp20 int ret = mkdir(dirName, mode); in HWTEST_F() local
21 ASSERT_NE(-1, ret); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/termios/
H A Dcfsetospeed.c33 speed_t ret = cfgetospeed(&t); in cfsetospeed_0100() local
34 if (ret != (speed_t)(B1200)) { in cfsetospeed_0100()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_getspecific.c26 int32_t ret = pthread_setspecific(g_key, &value); in threadfuncA() local
27 EXPECT_EQ("pthread_getspecific_0100", ret, 0); in threadfuncA()
H A Dpthread_setschedparam.c44 int32_t ret = pthread_setschedparam(tid, SCHED_OTHER, &sched); in pthread_setschedparam_0100() local
45 EXPECT_EQ("pthread_setschedparam_0100", ret, 0); in pthread_setschedparam_0100()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dfchdir.c42 char *ret = getcwd(buf, sizeof(buf)); in fchdir_0100() local
43 if (!ret) { in fchdir_0100()
H A Dpause.c45 int ret = pause(); in pause_0100() local
46 EXPECT_EQ("pause_0100", ret, ERREXPECT); in pause_0100()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/
H A Dunistd_pwrite64_test.cpp32 int ret = pwrite64(fd, buf, BUF_SIZE, 0); in HWTEST_F() local
33 EXPECT_EQ(-1, ret); in HWTEST_F()
H A Dunistd_write_test.cpp32 int ret = write(fd, buf, BUF_SIZE); in HWTEST_F() local
33 EXPECT_EQ(-1, ret); in HWTEST_F()
/third_party/skia/third_party/externals/tint/src/ast/
H A Dreturn_statement.cc41 auto* ret = ctx->Clone(value); in Clone() local
42 return ctx->dst->create<ReturnStatement>(src, ret); in Clone()
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dmemcmp.rs67 let ret = unsafe { in eq()
74 ret == 0 in eq()
/third_party/rust/crates/rustix/src/backend/libc/io/
H A Dwindows_syscalls.rs4 use super::super::conv::{borrowed_fd, ret, ret_c_int};
19 ret(c::ioctl(borrowed_fd(fd), c::FIONREAD, nread.as_mut_ptr()))?;
27 ret(c::ioctl(borrowed_fd(fd), c::FIONBIO, &mut data))
/third_party/rust/crates/rustix/src/net/
H A Dwsa.rs23 let ret = WSAStartup(version, data.as_mut_ptr()); in wsa_startup()
24 if ret == 0 { in wsa_startup()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
H A Dwal_linux_flowctl.c63 hi_u32 ret; in wal_netdev_select_queue() local
74 ret = mac_vap_find_user_by_macaddr(mac_vap, ether_header->auc_ether_dhost, ETHER_ADDR_LEN, &assoc_id); in wal_netdev_select_queue()
75 if (ret != HI_SUCCESS) { in wal_netdev_select_queue()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Dexception_rst.c146 hi_s32 ret; in oal_try_to_dump_device_mem() local
153 ret = oal_trigger_exception(is_sync); in oal_try_to_dump_device_mem()
154 if (ret != HI_TRUE) { in oal_try_to_dump_device_mem()
H A Doal_chr.c81 int ret = 0; in hisi_ioctl() local
89 ret = -EINVAL; in hisi_ioctl()
92 return ret; in hisi_ioctl()
/device/qemu/riscv32_virt/liteos_m/board/driver/video/
H A Dkey_cache.c113 int ret; in KeyCacheAlloc() local
125 ret = strncpy_s(kc->name, len + 1, name, len); in KeyCacheAlloc()
126 if (ret != LOS_OK) { in KeyCacheAlloc()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
H A Dosal_exportfunc.c53 int ret = 0; in osal_exportfunc_register() local
67 ret = memset_s(func_node_new, sizeof(exportfunc_node), 0, sizeof(exportfunc_node)); in osal_exportfunc_register()
68 if (ret != 0) { in osal_exportfunc_register()

Completed in 9 milliseconds

1...<<291292293294295296297298299300>>...477