Home
last modified time | relevance | path

Searched refs:StreamEntity (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_stream/
H A Dstream_n_exporter.cpp52 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, funcArg.GetThisVar()); in ReadSync()
90 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, funcArg.GetThisVar()); in CloseSync()
96 (void)NClass::RemoveEntityOfFinal<StreamEntity>(env, funcArg.GetThisVar()); in CloseSync()
111 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, funcArg.GetThisVar()); in WriteSync()
163 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, funcArg.GetThisVar()); in Write()
230 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, funcArg.GetThisVar()); in Read()
298 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, funcArg.GetThisVar()); in Close()
304 auto fp = NClass::RemoveEntityOfFinal<StreamEntity>(env, funcArg.GetThisVar()); in Close()
342 unique_ptr<StreamEntity> streamEntity = make_unique<StreamEntity>(); in Constructor()
343 if (!NClass::SetEntityFor<StreamEntity>(env, funcArg.GetThisVar(), move(streamEntity))) { in Constructor()
H A Dflush.cpp35 struct StreamEntity { struct
47 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, funcArg.GetThisVar()); in Sync()
69 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, funcArg.GetThisVar()); in Async()
H A Dstream_entity.h22 struct StreamEntity { struct
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_stream/
H A Dstream_n_exporter.cpp39 std::shared_ptr<FILE> StreamNExporter::GetFilePtr(StreamEntity *streamEntity) in GetFilePtr()
48 StreamEntity* StreamNExporter::GetEntityOf(napi_env env, NFuncArg &funcArg) in GetEntityOf()
55 return NClass::GetEntityOf<StreamEntity>(env, funcArg.GetThisVar()); in GetEntityOf()
193 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, funcArg.GetThisVar()); in CloseSync()
201 (void)NClass::RemoveEntityOfFinal<StreamEntity>(env, funcArg.GetThisVar()); in CloseSync()
413 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, funcArg.GetThisVar()); in Close()
419 StreamEntity* ret = nullptr; in Close()
422 ret = NClass::RemoveEntityOfFinal<StreamEntity>(env, funcArg.GetThisVar()); in Close()
514 auto streamEntity = CreateUniquePtr<StreamEntity>(); in Constructor()
520 if (!NClass::SetEntityFor<StreamEntity>(env, funcArg.GetThisVar(), move(streamEntity))) { in Constructor()
H A Dstream_n_exporter.h49 static std::shared_ptr<FILE> GetFilePtr(StreamEntity *streamEntity);
50 static StreamEntity *GetEntityOf(napi_env env, NFuncArg &funcArg);
H A Dstream_entity.h23 struct StreamEntity { struct
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
H A Dfdopen_stream.cpp42 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, objStream); in InstantiateStream()
H A Dcreate_stream.cpp44 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, objStream); in InstantiateStream()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/
H A Dcommon_func.cpp278 auto streamEntity = NClass::GetEntityOf<StreamEntity>(env, objStream); in InstantiateStream()