/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/panel/ |
H A D | sliding_events.cpp | 27 std::string modeStr; in ToJSONString() local 29 modeStr = "full"; in ToJSONString() 31 modeStr = "half"; in ToJSONString() 33 modeStr = "mini"; in ToJSONString() 35 result->Put("mode", modeStr.c_str()); in ToJSONString()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/ts/streamrw/src/ |
H A D | streamrw.ts | 161 let modeStr = 'w'; 163 return modeStr; 166 modeStr = 'w'; 169 modeStr = 'w+'; 172 modeStr = 'a'; 175 modeStr = 'a+'; 177 return modeStr;
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | file_metadata_stream.cpp | 259 bool FileMetadataStream::OpenFromFD(const char *modeStr) in OpenFromFD() argument 267 fp_ = fdopen(dupFD_, modeStr); in OpenFromFD() 277 bool FileMetadataStream::OpenFromPath(const char *modeStr) in OpenFromPath() argument 279 IMAGE_LOGD("Open file: %{public}s, modeStr: %{public}s", filePath_.c_str(), modeStr); in OpenFromPath() 280 fp_ = fopen(filePath_.c_str(), modeStr); in OpenFromPath() 297 const char *modeStr; in Open() local 300 modeStr = "r"; in Open() 303 modeStr = "r+"; in Open() 312 openResult = OpenFromFD(modeStr); in Open() 316 openResult = OpenFromPath(modeStr); in Open()
|
/ohos5.0/drivers/peripheral/usb/hdi_service/src/ |
H A D | usbd_port.cpp | 73 std::string modeStr; in WritePortFile() local 78 modeStr = PORT_MODE_HOST_STR; in WritePortFile() 82 modeStr = PORT_MODE_DEVICE_STR; in WritePortFile() 88 if (modeStr.empty()) { in WritePortFile() 93 uint32_t len = modeStr.size(); in WritePortFile() 100 int32_t ret = write(fd, modeStr.c_str(), len); in WritePortFile()
|
/ohos5.0/foundation/resourceschedule/soc_perf/test/unittest/ |
H A D | socperf_server_test.cpp | 239 std::string modeStr = "displayMain"; variable 241 socPerfServer_->RequestDeviceMode(modeStr, true); 246 EXPECT_EQ(modeStr, "displayMain"); 256 auto iter_match = actions->modeMap.find(modeStr); 269 auto iter_mode = actions->modeMap.find(modeStr); 281 socPerfServer_->RequestDeviceMode(modeStr, false); 295 std::string modeStr = "displayMainTest"; variable 301 EXPECT_EQ(modeStr, "displayMainTest"); 310 EXPECT_EQ(modeStr, "displayMainTest"); 329 std::string modeStr = "displayMainTest"; variable [all …]
|
/ohos5.0/base/customization/config_policy/frameworks/config_policy/src/ |
H A D | config_policy_utils.c | 216 char *modeStr = strchr(item, SEP_FOR_X_PARAM); in GetFollowXRule() local 217 if (modeStr) { in GetFollowXRule() 218 modeStr++; in GetFollowXRule() 219 *mode = atoi(modeStr); in GetFollowXRule() 221 if (*mode == FOLLOWX_MODE_USER_DEFINED && modeStr) { in GetFollowXRule() 222 addPath = strchr(modeStr, SEP_FOR_X_PARAM); in GetFollowXRule()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/hgm_screen_manager/ |
H A D | hgm_core.cpp | 131 auto modeStr = std::to_string(customFrameRateMode_); in CheckCustomFrameRateModeValid() local 132 if (screenConfig.find(modeStr) != screenConfig.end() || screenConfig.empty()) { in CheckCustomFrameRateModeValid() 137 for (auto &[modeStr, _] : screenConfig) { in CheckCustomFrameRateModeValid() 138 if (!XMLParser::IsNumber(modeStr)) { in CheckCustomFrameRateModeValid() 141 auto mode = std::stoi(modeStr); in CheckCustomFrameRateModeValid()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/include/ |
H A D | file_metadata_stream.h | 216 bool OpenFromFD(const char *modeStr); 223 bool OpenFromPath(const char *modeStr);
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/tools/dp/src/ |
H A D | dp_command.cpp | 259 std::string modeStr; in SyncCommand() local 270 result = HandleSyncOption(option, modeStr, deviceIds); in SyncCommand() 275 int64_t mode = strtol(modeStr.c_str(), nullptr, BASE); in SyncCommand()
|
/ohos5.0/foundation/resourceschedule/soc_perf/services/core/src/ |
H A D | socperf_config.cpp | 438 std::string modeStr = mode; in ParseModeCmd() local 439 std::vector<std::string> modeListResult = Split(modeStr, SPLIT_OR); in ParseModeCmd()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-container-panel.md | 70 … heightLength, width: widthLength }, mode: modeStr } | 当可滑动面板发生…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-container-panel.md | 71 | sizechange | { size: { height: heightLength, width: widthLength }, mode: modeStr } | Triggered wh…
|
/ohos5.0/drivers/peripheral/wlan/client/src/netlink/ |
H A D | netlink_cmd_adapter.c | 1822 const char *modeStr = strTable[mode]; in FillHwprivIoctlData() local 1831 …if (strncpy_s(ioctlData->data.point.buf, ioctlData->data.point.length, modeStr, strlen(modeStr)) !… in FillHwprivIoctlData()
|