Home
last modified time | relevance | path

Searched refs:gets (Results 1 - 3 of 3) sorted by relevance

/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dstdioextndk.cpp298 char *gets = nullptr; in FGetS_unlocked() local
303 getResult = fgets_unlocked(gets, fileDescribe, stream); in FGetS_unlocked()
H A Dstdiondk1.cpp1102 NAPI_ASSERT(env, fp != nullptr, "gets fopen Error"); in Gets_One()
1103 char src[] = "gets"; in Gets_One()
1107 NAPI_ASSERT(env, fp1 != nullptr, "gets freopen Error"); in Gets_One()
1109 char *ret = gets(dest); in Gets_One()
1114 napi_create_int32(env, strcmp(ret, "gets") == PARAM_0 && strcmp(dest, ret) == PARAM_0, &result); in Gets_One()
/test/xts/acts/kernel_lite/io_posix/src/
H A DIoTestStdio.cpp450 * @tc.name gets basic function test
467 if (gets(str) != str) { in HWTEST_F()
468 LOG("gets fail, errno = %d", errno); in HWTEST_F()
470 if (strcmp(gets(str), "hello world") != 0) { in HWTEST_F()
471 LOG("gets fail, errno = %d", errno); in HWTEST_F()

Completed in 6 milliseconds