Home
last modified time | relevance | path

Searched refs:filepath (Results 1 - 20 of 20) sorted by relevance

/foundation/systemabilitymgr/samgr/test/autotest/
H A Dchoose_device.py33 filepath = os.path.join(root, filename)
34 with open(filepath, 'r', encoding='utf-8') as f:
39 with open(filepath, 'w', encoding='utf-8') as f:
/foundation/arkui/ui_lite/tools/server/
H A Dtcp_server.py175 def clear_directory(self, filepath):
176 if not os.path.exists(filepath):
177 os.mkdir(filepath)
179 shutil.rmtree(filepath)
180 os.mkdir(filepath)
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dset_flag_utils.cpp69 bool SetFlagUtils::SetFileDelFlags(const std::string &filepath) in SetFileDelFlags() argument
71 LOGI("SetFlagUtils SetFileDelFlags for filepath=%{public}s start.", filepath.c_str()); in SetFileDelFlags()
73 if (realpath(filepath.c_str(), absPath) == nullptr) { in SetFileDelFlags()
H A Dfile_utils.cpp585 std::string filepath; in DeleteFile() local
586 filepath.append(path).append("/").append(dirinfo->d_name); in DeleteFile()
590 DeleteFile(filepath); in DeleteFile()
591 rmdir(filepath.c_str()); in DeleteFile()
/foundation/communication/ipc/services/dbinder/test/distributedtest/src/
H A Ddbinder_service_test_helper.cpp40 char filepath[PATH_LENGTH]; in GetPidByName() local
57 if (sprintf_s(filepath, sizeof(filepath), "/proc/%s/status", ptr->d_name) <= EOK) { in GetPidByName()
63 fp = fopen(filepath, "r"); in GetPidByName()
/foundation/communication/ipc/ipc/test/auxiliary/native/src/
H A Dipc_test_helper.cpp92 char filepath[MAX_NAME_LEN + 1]; in GetPidByName() local
114 if (sprintf_s(filepath, sizeof(filepath), "/proc/%s/status", ptr->d_name) <= 0) { in GetPidByName()
120 fp = fopen(filepath, "r"); in GetPidByName()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/
H A Dintf_library.h50 static ILibrary::Ptr Load(const BASE_NS::string_view filepath);
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/
H A Dliteplayer.h55 int32_t SetDataSource(const std::string filepath);
92 int32_t DoSetDataSource(const std::string filepath) override;
H A Dliteplayer_state_machine.h52 virtual int32_t DoSetDataSource(const std::string filepath) = 0;
H A Dliteplayer.cpp935 int32_t PlayerControl::DoSetDataSource(const std::string filepath) in DoSetDataSource() argument
937 filePath_ = filepath; in DoSetDataSource()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_util.cpp138 fileName.reserve(data.filepath.size() + 1u + uri.size()); in LoadBuffer()
139 fileName.append(data.filepath); in LoadBuffer()
234 string filepath; in ReadUriToVector() local
235 filepath.reserve(filePath.size() + 1u + uri.size()); in ReadUriToVector()
236 filepath += filePath; in ReadUriToVector()
237 filepath += '/'; in ReadUriToVector()
238 filepath += uri; in ReadUriToVector()
239 auto file = fileManager.OpenFile(filepath); in ReadUriToVector()
1261 if (LoadUri(thumbnail.uri, "image", filepath, fileManager_, extension, thumbnail.data) != URI_LOAD_SUCCESS) { in GetThumbnailImage()
H A Ddata.h38 BASE_NS::string filepath; member
H A Dgltf2_util.h128 UriLoadResult LoadUri(BASE_NS::string_view uri, BASE_NS::string_view mimeType, BASE_NS::string_view filepath,
H A Dgltf2_importer.cpp1269 const auto result = GLTF2::LoadUri(image.uri, "image", data.filepath, fileManager, extension, raw); in GatherImageData()
3152 uri = data_->filepath + "/" + name;
3154 uri = data_->filepath + "/" + image->uri;
3259 const string uri = data_->filepath + "/" + data_->defaultResources + "/materials/" + to_string(i);
3301 string uri = data_->filepath + '/' + data_->defaultResources + "/meshes/" + to_string(i);
3426 const string uri = data_->filepath + '/' + data_->defaultResources + "/animations/" + to_string(i);
3462 string uri = data_->filepath + '/' + name;
H A Dgltf2_loader.cpp2892 result.data->filepath = path;
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/text/
H A Dfont_mgr_test.cpp251 std::string filepath = ""; in HWTEST_F() local
252 int fd = open(filepath.c_str(), O_RDONLY); in HWTEST_F()
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbStoreCorruptJsunit.test.js62 console.log(TAG, `filepath is${dir},databaseDir is${context.databaseDir},dbpath is${dbPath}`)
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_data_operation_test.cpp73 auto filepath = sqlite3_db_filename(static_cast<sqlite3 *>(db), dbName); in DropCallback() local
74 if (filepath == nullptr) { in DropCallback()
77 EXPECT_EQ(g_dbFile, std::string(filepath)); in DropCallback()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dsqlite_connection.cpp278 std::string filepath = dbPath.substr(0, pos); in OpenDatabase() local
279 if (access(filepath.c_str(), F_OK | W_OK) != 0) { in OpenDatabase()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dimage_format_convert_test.cpp138 std::string filepath = in WriteToFile() local
141 std::ofstream outfile(filepath, std::ios::out | std::ios::binary); in WriteToFile()

Completed in 25 milliseconds