Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 25 of 88) sorted by relevance

1234

/ohos5.0/foundation/arkui/advanced_ui_component/doc/
H A Dts-composite-components-composelistitem.md56 | BADGE | 左侧图标为badge类型,图标大小为8\*8dp。 |
57 | NORMAL_ICON | 左侧图标为小图标类型,图标大小为16\*16dp。 |
58 | SYSTEM_ICON | 左侧图标为系统图标类型,图标大小为24\*24dp。 |
59 | HEAD_SCULPTURE | 左侧图标为头像类型,图标大小为40\*40dp。 |
60 | APP_ICON | 左侧图标为应用图标类型,图标大小为64\*64dp。 |
61 | PREVIEW | 左侧图标为预览图类型,图标大小为96\*96dp。 |
62 | LONGITUDINAL | 左侧图标为横向特殊比例(宽比高大),保持最长边为96dp。 |
63 | VERTICAL | 左侧图标为竖向特殊比例(高比宽大),保持最长边为96dp。 |
70 | arrow | [OperateIcon](#operateicon) | 否 | 右侧元素-箭头,大小为12\*24dp。 |
71 | icon | [OperateIcon](#operateicon) | 否 | 右侧元素-第一个图标,大小为24\*24dp。 |
[all …]
H A Dts-composite-components-treeview.md252 }.width(100).border({width: 1, color: 0x80808a, radius: '16dp'})
271 }.width(100).border({width: 1, color: 0x80808a, radius: '16dp'})
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dstore_util.cpp194 struct dirent *dp; in GetSubPath() local
195 while ((dp = readdir(dirp)) != nullptr) { in GetSubPath()
196 if (dp->d_type == DT_DIR) { in GetSubPath()
197 subPaths.push_back(dp->d_name); in GetSubPath()
212 struct dirent *dp; in GetFiles() local
213 while ((dp = readdir(dirp)) != nullptr) { in GetFiles()
214 if (dp->d_type == DT_REG) { in GetFiles()
219 fileInfo.name = dp->d_name; in GetFiles()
295 struct dirent *dp = nullptr; in RemoveRWXForOthers() local
296 while ((dp = readdir(dirp)) != nullptr) { in RemoveRWXForOthers()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/
H A Dstore_util.cpp205 struct dirent *dp; in GetSubPath() local
206 while ((dp = readdir(dirp)) != nullptr) { in GetSubPath()
207 subPaths.push_back(dp->d_name); in GetSubPath()
221 struct dirent *dp; in GetFiles() local
222 while ((dp = readdir(dirp)) != nullptr) { in GetFiles()
224 auto fullName = path + "/" + dp->d_name; in GetFiles()
226 fileInfo.name = dp->d_name; in GetFiles()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/
H A Dbundle_file_utils.cpp116 struct dirent *dp = nullptr; in RemoveFile() local
118 while ((dp = readdir(dir)) != nullptr) { in RemoveFile()
119 if ((strcmp(dp->d_name, ".") == 0) || (strcmp(dp->d_name, "..")) == 0) { in RemoveFile()
122 std::string dirName = std::string(path) + "/" + dp->d_name; in RemoveFile()
/ohos5.0/base/security/selinux_adapter/test/unittest/common/
H A Dtest_common.cpp51 struct dirent *dp; in RemoveDirectory() local
66 while ((dp = readdir(dirp)) != nullptr) { in RemoveDirectory()
67 if ((curDir == std::string(dp->d_name)) || (upDir == std::string(dp->d_name))) { in RemoveDirectory()
70 std::string dirName = path + "/" + std::string(dp->d_name); in RemoveDirectory()
/ohos5.0/base/update/updater/utils/
H A Dutils_fs.cpp79 struct dirent *dp; in GetFilesFromDirectory() local
81 while ((dp = readdir(dirp)) != nullptr) { in GetFilesFromDirectory()
82 std::string fileName = path + "/" + dp->d_name; in GetFilesFromDirectory()
85 std::string tmpName = dp->d_name; in GetFilesFromDirectory()
/ohos5.0/base/startup/init/services/param/adapter/
H A Dparam_dac.c243 struct dirent *dp; in DacGetParamSecurityLabel() local
245 while ((dp = readdir(pDir)) != NULL) { in DacGetParamSecurityLabel()
246 if (dp->d_type == DT_DIR) { in DacGetParamSecurityLabel()
249 char *tmp = strstr(dp->d_name, ".para.dac"); in DacGetParamSecurityLabel()
256 int ret = PARAM_SPRINTF(fileName, MAX_BUF_SIZE, "%s/%s", path, dp->d_name); in DacGetParamSecurityLabel()
258 PARAM_LOGE("Failed to get file name for %s", dp->d_name); in DacGetParamSecurityLabel()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/common/
H A Dmock_heif_hw_decode_flow.cpp100 struct dirent *dp; in FindXpsAndIFrameFile() local
101 while ((dp = readdir(dirp)) != nullptr) { in FindXpsAndIFrameFile()
102 if (strcmp(dp->d_name, ".") == 0 || strcmp(dp->d_name, "..") == 0) { in FindXpsAndIFrameFile()
105 string path = JoinPath(source_, dp->d_name); in FindXpsAndIFrameFile()
110 string fileName(dp->d_name); in FindXpsAndIFrameFile()
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Drs_dir_asset_provider.h133 DIR* dp = nullptr; in GetAssetList()
134 if (nullptr == (dp = opendir(dirPath.c_str()))) { in GetAssetList()
138 while ((dptr = readdir(dp)) != nullptr) { in GetAssetList()
143 closedir(dp); in GetAssetList()
/ohos5.0/base/startup/appspawn/util/src/
H A Dappspawn_utils.c324 struct dirent *dp; in DumpCurrentDir() local
325 while ((dp = readdir(pDir)) != NULL) { in DumpCurrentDir()
326 if (strcmp(dp->d_name, ".") == 0 || strcmp(dp->d_name, "..") == 0) { in DumpCurrentDir()
329 if (dp->d_type == DT_DIR) { in DumpCurrentDir()
330 APPSPAWN_LOGW(" Current path %{public}s/%{public}s ", dirPath, dp->d_name); in DumpCurrentDir()
331 int ret = snprintf_s(buffer, bufferLen, bufferLen - 1, "%s/%s", dirPath, dp->d_name); in DumpCurrentDir()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_util.cpp266 dirent *dp = nullptr; in GetCurrentFolderSize() local
270 while ((dp = readdir(dir)) != nullptr) { in GetCurrentFolderSize()
271 if ((strcmp(dp->d_name, ".") == 0) || (strcmp(dp->d_name, "..")) == 0) { in GetCurrentFolderSize()
279 if (sprintf_s(filePath, PATH_LENGTH, "%s/%s", dirPath, dp->d_name) < 0) { in GetCurrentFolderSize()
962 dirent *dp = nullptr; in CheckDirIsEmpty() local
964 while ((dp = readdir(dir)) != nullptr) { in CheckDirIsEmpty()
965 if ((strcmp(dp->d_name, ".") == 0) || (strcmp(dp->d_name, "..")) == 0) { in CheckDirIsEmpty()
973 if (sprintf_s(filePath, PATH_LENGTH, "%s/%s", dirPath, dp->d_name) < 0) { in CheckDirIsEmpty()
/ohos5.0/base/theme/wallpaper_mgr/utils/src/
H A Dfile_deal.cpp39 DIR *dp; in IsDirExist() local
40 if ((dp = opendir(path.c_str())) == NULL) { in IsDirExist()
44 closedir(dp); in IsDirExist()
/ohos5.0/base/update/updater/services/
H A Dupdater_utils.cpp97 struct dirent *dp = nullptr; in DeleteUpdaterPath() local
98 while ((dp = readdir(pDir.get())) != nullptr) { in DeleteUpdaterPath()
99 std::string currentName(dp->d_name); in DeleteUpdaterPath()
/ohos5.0/base/startup/init/services/utils/
H A Dinit_utils.c537 struct dirent *dp; in ReadFileInDir() local
539 while ((dp = readdir(pDir)) != NULL) { in ReadFileInDir()
540 if (dp->d_type == DT_DIR) { in ReadFileInDir()
544 char *tmp = strstr(dp->d_name, includeExt); in ReadFileInDir()
552 … int ret = snprintf_s(fileName, MAX_BUF_SIZE, MAX_BUF_SIZE - 1, "%s/%s", dirPath, dp->d_name); in ReadFileInDir()
554 INIT_LOGE("Failed to get file name for %s", dp->d_name); in ReadFileInDir()
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/src/
H A Dcrypto_x509_cert_chain_test_part2.cpp408 DIST_POINT dp = { 0 }; variable
410 dp.distpoint = nullptr;
416 .WillOnce(Return(&dp))
424 dp.distpoint = &dpn;
430 .WillOnce(Return(&dp))
/ohos5.0/base/startup/init/test/unittest/ueventd/
H A Dueventd_event_unittest.cpp107 struct dirent *dp = nullptr; in RemoveDir() local
108 while ((dp = readdir(dir.get())) != nullptr) { in RemoveDir()
110 if (dp->d_name[0] == '.') { in RemoveDir()
116 fullPath = path + dp->d_name; in RemoveDir()
118 fullPath = path + "/" + dp->d_name; in RemoveDir()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dfile_utils.cpp226 struct dirent *dp = nullptr; in TravelChmod() local
241 while ((dp = readdir(d)) != nullptr) { in TravelChmod()
242 …if ((!strncmp(dp->d_name, skip1, strlen(skip1))) || (!strncmp(dp->d_name, skip2, strlen(skip2)))) { in TravelChmod()
245 std::string subpath = path + "/" + dp->d_name; in TravelChmod()
/ohos5.0/base/security/certificate_manager/config/systemCertificates/
H A Dcd58d51e.09 zbl+dp+++T42NKA7wfYxEUV0kz1XgMX5iZnK5atq1LXaQZAQwdbWQonCv/Q4EpVM
/ohos5.0/base/startup/init/test/unittest/param/
H A Dparam_stub.cpp326 struct dirent *dp = nullptr; in DeleteDir() local
327 while ((dp = readdir(pDir.get())) != nullptr) { in DeleteDir()
328 std::string currentName(dp->d_name); in DeleteDir()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/tools/dp/
H A DBUILD.gn23 ohos_executable("dp") {
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dcjson_parser.cpp370 DIR* dp = nullptr; in GetFiles() local
371 if ((dp = opendir(filePath_)) == nullptr) { in GetFiles()
376 while ((dptr = readdir(dp)) != nullptr) { in GetFiles()
389 closedir(dp); in GetFiles()
/ohos5.0/foundation/deviceprofile/device_info_manager/
H A DREADME_zh.md25 ![](figures/dp-architecture_zh.png)
/ohos5.0/docs/zh-cn/readme/
H A DDeviceProfile子系统.md26 ![](figures/dp-architecture_zh.png)
/ohos5.0/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/component/
H A DconfirmDialog.ets67 .height('24dp')

1234