/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | stdioextndk.cpp | 219 FILE *stream = fopen(path, mode);
in FEof_unlocked() local 220 NAPI_ASSERT(env, stream != nullptr, "FEof_unlocked fopen Error");
in FEof_unlocked() 221 backParam = feof_unlocked(stream);
in FEof_unlocked() 222 fclose(stream);
in FEof_unlocked() 233 FILE *stream = fopen(path, mode);
in FError_unlocked() local 234 NAPI_ASSERT(env, stream != nullptr, "FError_unlocked fopen Error");
in FError_unlocked() 236 if (stream != nullptr) {
in FError_unlocked() 237 fileDescribe = ferror_unlocked(stream);
in FError_unlocked() 240 fclose(stream);
in FError_unlocked() 249 FILE *stream in FFlush_unlocked() local 263 FILE *stream = fopen(path, mode); FGetC_unlocked() local 280 FILE *stream = fopen(path, mode); FGetLn() local 299 FILE *stream = fopen(path, mode); FGetS_unlocked() local 316 FILE *stream = fopen(path, mode); FileNo_unlocked() local 331 FILE *stream = fopen(path, mode); FClose() local 346 FILE *stream = fopen(path, mode); FMemOpen() local 366 FILE *stream = fopen(path, mode); FlockFile() local 382 FILE *stream = fopen(path, mode); FileNo() local 396 FILE *stream = fopen(path, mode); FError() local 412 FILE *stream = fopen(path, mode); FGets() local 430 FILE *stream = fopen(path, mode); FGetPos64() local 445 FILE *stream = fopen(path, mode); FGetPos() local 459 FILE *stream = fopen(path, mode); FGetC() local 475 FILE *stream = fopen(path, mode); FFlush() local 490 FILE *stream = fdopen(fileDescribe, mode); FdOpen() local [all...] |
H A D | stdiondk.cpp | 178 FILE *stream = fopen(path, "r");
in Feof() local 179 NAPI_ASSERT(env, stream != nullptr, "Feof fopen Error");
in Feof() 181 fileDescribe = feof(stream);
in Feof() 182 fclose(stream);
in Feof()
|
H A D | fcntlndk.cpp | 52 extern "C" size_t __fwrite_chk(const void *buf, size_t size, size_t count, FILE *stream, size_t buf_size);
|
H A D | fcntl1ndk.cpp | 408 extern "C" size_t __fwrite_chk(const void *buf, size_t size, size_t count, FILE *stream, size_t buf_size);
|
H A D | otherstestndk.cpp | 290 FILE *stream = fopen(path, mode);
in EndMntEnt() local 291 backParam = endmntent(stream);
in EndMntEnt()
|
H A D | wcharndk1.cpp | 1036 int Vfwprintf_Test(FILE *stream, const wchar_t *format, ...)
in Vfwprintf_Test() argument 1040 int ret = vfwprintf(stream, format, args);
in Vfwprintf_Test()
|
H A D | wcharndk.cpp | 75 int vfwprintfTest(FILE *stream, wchar_t *fmt, ...)
in vfwprintfTest() argument 79 int vfwval = vfwprintf(stream, fmt, ap);
in vfwprintfTest()
|
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativeMemoryStreamTest.cpp | 38 * @tc.desc: Test for creating memory stream with normal parameters. 46 OH_Drawing_MemoryStream *stream = OH_Drawing_MemoryStreamCreate(data, 10, true); in HWTEST_F() local 47 OH_Drawing_MemoryStreamDestroy(stream); in HWTEST_F() 49 stream = OH_Drawing_MemoryStreamCreate(data, 10, false); in HWTEST_F() 50 OH_Drawing_MemoryStreamDestroy(stream); in HWTEST_F() 56 * @tc.desc: Test for creating memory stream with NULL or invalid parameters. 65 OH_Drawing_MemoryStream *stream = OH_Drawing_MemoryStreamCreate(nullptr, 10, true); in HWTEST_F() local 69 stream = OH_Drawing_MemoryStreamCreate(data, 0, true); in HWTEST_F() 72 OH_Drawing_MemoryStreamDestroy(stream); in HWTEST_F() 78 * @tc.desc: Test for creating memory stream wit 85 OH_Drawing_MemoryStream *stream = OH_Drawing_MemoryStreamCreate(nullptr, -10, true); HWTEST_F() local 102 OH_Drawing_MemoryStream *stream = OH_Drawing_MemoryStreamCreate(data, 10, true); HWTEST_F() local [all...] |
/test/xts/tools/lite/reliability/ |
H A D | utils.py | 27 def get_decode(stream): 28 if isinstance(stream, str): 29 return stream 31 if not isinstance(stream, bytes): 32 return str(stream) 35 ret = stream.decode("utf-8", errors="ignore") 37 ret = str(stream)
|
/test/xts/hats/hdf/camera/cameraHdi/buffer_manager/ |
H A D | buffer_manager_utest.cpp | 100 auto stream = std::make_shared<BufferManagerTest::Stream>(); in HWTEST_F() local 101 stream->Init(producer); in HWTEST_F() 102 stream->StartStream(); in HWTEST_F() 105 pipeline.AddStream(stream); in HWTEST_F() 107 std::thread enqueueThread([&stream, &running] { in HWTEST_F() 109 stream->EnqueueBufferNonBlock(); in HWTEST_F() 118 stream->StopStream(); in HWTEST_F() 353 auto stream = std::make_shared<Stream>(); in HWTEST_F() local 354 stream->Init(producer); in HWTEST_F() 355 stream in HWTEST_F() 656 AddStream(const std::shared_ptr<Stream>& stream) AddStream() argument [all...] |
H A D | buffer_manager_utest.h | 159 bool AddStream(const std::shared_ptr<Stream>& stream); 178 std::shared_ptr<Stream> stream = nullptr; member
|
/test/testfwk/developer_test/src/core/ |
H A D | utils.py | 183 def get_decode(stream):
184 if not isinstance(stream, str) and not isinstance(stream, bytes):
185 ret = str(stream)
188 ret = stream.decode("utf-8", errors="ignore")
190 ret = str(stream)
|
/test/xts/acts/kernel_lite/mem_posix/src/ |
H A D | MemApiTest.cpp | 566 FILE *stream = open_memstream(&buf, &len); 567 ASSERT_TRUE(stream != nullptr) << "stream == nullptr"; 570 fprintf(stream, wBuf); 571 fflush(stream); 583 EXPECT_TRUE(ftello(stream) == len) << "ftello() != len"; 584 EXPECT_TRUE(fseeko(stream, 0, SEEK_SET) == 0); 591 fprintf(stream, largeBuf); 592 fflush(stream); 602 EXPECT_TRUE(fclose(stream) [all...] |
/test/testfwk/arkxtest/jsunit/src/module/report/ |
H A D | OhReport.js | 52 let message = '\n' + `${PrintTag.OHOS_REPORT_RESULT}: stream=Tests run: ` + summary.total + ', Failure: ' + summary.failure; 149 message += '\n' + `${PrintTag.OHOS_REPORT_STATUS}: stream=`; 174 messageCode += `${PrintTag.OHOS_REPORT_STATUS}: stream=`; 183 messageCode += `${PrintTag.OHOS_REPORT_STATUS}: stream=`; 190 messageStack += `${PrintTag.OHOS_REPORT_STATUS}: stream=`;
|
/test/xts/hats/powermgr/battery/hdi_battery/common/ |
H A D | hdi_battery_test.cpp | 80 std::ofstream stream(path.c_str()); in CreateFile() 81 if (!stream.is_open()) { in CreateFile() 85 stream << content.c_str() << std::endl; in CreateFile() 86 stream.close(); in CreateFile()
|
/test/xts/hats/powermgr/battery/hdi_battery_additional/common/ |
H A D | hdi_battery_test.cpp | 69 std::ofstream stream(path.c_str()); in CreateFile() 70 if (!stream.is_open()) { in CreateFile() 74 stream << content.c_str() << std::endl; in CreateFile() 75 stream.close(); in CreateFile()
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | utils.py | 110 def get_decode(stream): 111 if not isinstance(stream, str) and not isinstance(stream, bytes): 112 ret = str(stream) 115 ret = stream.decode("utf-8", errors="ignore") 117 ret = str(stream)
|
H A D | logger.py | 506 # stream is the attribute in StreamHandler 507 if not getattr(self, "stream", None): 508 setattr(self, "stream", self._open()) 510 stream = getattr(self, "stream", self._open()) 511 stream.write(msg)
|
/test/xts/acts/kernel_lite/io_posix/src/ |
H A D | IoTestStdio.cpp | 179 int FormatVfprintf(FILE *stream, char *format, ...) in FormatVfprintf() argument 183 int ret = vfprintf(stream, format, args); in FormatVfprintf() 188 int FormatVfscanf(FILE *stream, const char *format, ...) in FormatVfscanf() argument 192 int ret = vfscanf(stream, format, args); in FormatVfscanf()
|
/test/xts/acts/arkui/ace_ets_web_scheme_handler_three_napis/entry/src/main/cpp/ |
H A D | rawfile_request.h | 40 ArkWeb_HttpBodyStream *stream() { return stream_; } in stream() function in RawfileRequest
|
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis_enhance/entry/src/main/cpp/ |
H A D | rawfile_request.h | 40 ArkWeb_HttpBodyStream *stream() { return stream_; } in stream() function in RawfileRequest
|
/test/xts/acts/arkui/ace_ets_web_scheme_handler_two_napis/entry/src/main/cpp/ |
H A D | rawfile_request.h | 39 ArkWeb_HttpBodyStream *stream() { return stream_; } in stream() function in RawfileRequest
|
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis/entry/src/main/cpp/ |
H A D | test_request.h | 44 ArkWeb_HttpBodyStream *stream() { return stream_; } in stream() function in TestRequest
|
/test/testfwk/arkxtest/jsunit/ |
H A D | index.js | 100 `\n${PrintTag.OHOS_REPORT_ALL_RESULT}: stream=Test run: runTimes: ${ret.total},total: ${retResult.total}, Failure: ${retResult.failure}, Error: ${retResult.error}, Pass: ${retResult.pass}, Ignore: ${retResult.ignore}` +
|
/test/xts/acts/commonlibrary/ets_utils/util_lib_standard/entry/src/ohosTest/js/test/ |
H A D | util.test.js | 1225 let retStr = that.decode(arr, {stream:false}) 1251 let retStr = that.decode(arr, { stream : false }) 1397 let retStr = that.decodeWithStream(arr, { stream : false }); 1421 let retStr = that.decodeWithStream(arr, {stream:true}) 2140 stream: false 2173 stream: true
|