Home
last modified time | relevance | path

Searched refs:sv (Results 1 – 25 of 77) sorted by relevance

1234

/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_json_entity_extension_config_test.cpp377 EXPECT_EQ(jsonRead, string(sv));
398 string_view sv = R"({"includes":1})"; variable
423 string_view sv = R"({"includes":[1]})"; variable
448 string_view sv = R"({"excludes":1})"; variable
473 string_view sv = R"({"excludes":[1]})"; variable
735 string_view sv = R"({"restoreDeps":1})"; variable
783 string_view sv = R"({"includes":[]})"; variable
808 string_view sv = R"({"excludes":[]})"; variable
909 EXPECT_NE(restoreDeps, string(sv));
934 EXPECT_NE(depRead, string(sv));
[all …]
H A Db_json_entity_ext_manage_test.cpp417 string_view sv = R"({"key":1})"; variable
418 BJsonCachedEntity<BJsonEntityExtManage> cachedEntity(sv);
442 string_view sv = R"([{"key":1}])"; variable
443 BJsonCachedEntity<BJsonEntityExtManage> cachedEntity(sv);
467 string_view sv = R"([{"path":1}])"; variable
468 BJsonCachedEntity<BJsonEntityExtManage> cachedEntity(sv);
492 string_view sv = R"([{"path":1}, {"fileName":1}])"; variable
493 BJsonCachedEntity<BJsonEntityExtManage> cachedEntity(sv);
517 string_view sv = R"([{"":1}])"; variable
518 BJsonCachedEntity<BJsonEntityExtManage> cachedEntity(sv);
[all …]
H A Db_json_cached_entity_test.cpp334 std::string_view sv = R"({"key":1})"; variable
336 jce.ReloadFromString(sv);
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/loaders/
H A Dcsv_parser.cpp43 BASE_NS::string_view CsvParser::Trimmed(BASE_NS::string_view sv, State state) in Trimmed() argument
46 return sv; in Trimmed()
49 sv.remove_suffix(std::distance(std::find_if(sv.rbegin(), sv.rend(), nspace).base(), sv.end())); in Trimmed()
50 sv.remove_prefix(std::find_if(sv.begin(), sv.end(), nspace) - sv.begin()); in Trimmed()
51 return sv; in Trimmed()
H A Dcsv_parser.h62 BASE_NS::string_view Trimmed(BASE_NS::string_view sv, State state); in META_BEGIN_NAMESPACE()
/ohos5.0/foundation/filemanagement/app_file_service/utils/include/b_json/
H A Db_json_cached_entity.h78 std::string_view sv(rawBuf.get()); in ReloadFromFile()
80 if (sv.empty()) { in ReloadFromFile()
85 bool res = jsonReader->parse(sv.data(), sv.data() + sv.length(), &jValue, &errs); in ReloadFromFile()
99 void ReloadFromString(std::string_view sv) in ReloadFromString() argument
106 bool res = jsonReader->parse(sv.data(), sv.data() + sv.length(), &jValue, &errs); in ReloadFromString()
150 …explicit BJsonCachedEntity(std::string_view sv, std::any option = std::any()) : entity_(std::ref(o…
152 ReloadFromString(entity_.GetJSonSource(sv, option));
/ohos5.0/base/location/services/location_gnss/gnss/source/
H A Dgnss_event_callback.cpp224 if (gnssAbility == nullptr || sv == nullptr) { in ReportDummySv()
228 gnssAbility->ReportSv(sv); in ReportDummySv()
241 if (sv == nullptr) { in IsSvTypeGps()
249 if (sv == nullptr) { in IsSvUsed()
252 return static_cast<uint32_t>(sv->GetSatelliteAdditionalInfoList()[index]) & in IsSvUsed()
258 if (sv == nullptr) { in AddDummySv()
261 sv->SetSatelliteId(svid); in AddDummySv()
263 sv->SetCarrierToNoiseDensity(cN0Dbhz); in AddDummySv()
264 sv->SetAltitude(ELEVATION_DEGREES); // elevationDegrees in AddDummySv()
265 sv->SetAzimuth(AZIMUTH_DEGREES); // azimuthDegrees in AddDummySv()
[all …]
H A Dgnss_ability.cpp952 void GnssAbility::ReportSv(const std::unique_ptr<SatelliteStatus> &sv) in ReportSv() argument
960 gnssStatusCallback->OnStatusChange(sv); in ReportSv()
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-sortedVector.md63 SortedVector<int, false> sv(vec);
72 sv.Merge(newVec);
74 for (vector<int>::iterator it = sv.Begin(); it != sv.End(); it++) {
78 sv.Clear();
79 cout << "Cleared size: " << sv.Size() << endl;
/ohos5.0/base/location/services/location_gnss/gnss/include/
H A Dgnss_event_callback.h48 bool IsSvTypeGps(const std::unique_ptr<SatelliteStatus> &sv, int index);
49 bool IsSvUsed(const std::unique_ptr<SatelliteStatus> &sv, int index);
50 void AddDummySv(std::unique_ptr<SatelliteStatus> &sv, int svid, int cN0Dbhz);
51 void ReportDummySv(const std::unique_ptr<SatelliteStatus> &sv);
H A Dgnss_ability.h179 void ReportSv(const std::unique_ptr<SatelliteStatus> &sv);
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dshader_data_loader.cpp127 ShaderDataLoader::ShaderVariant sv; in LoadFunc() local
128 LoadSingleShaderVariant(variantRef, sv, result); in LoadFunc()
130 shaderVariants.push_back(move(sv)); in LoadFunc()
135 ShaderDataLoader::ShaderVariant sv; in LoadFunc() local
136 LoadSingleShaderVariant(jsonData, sv, result); in LoadFunc()
138 shaderVariants.push_back(move(sv)); in LoadFunc()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dstring_view.h142 constexpr bool starts_with(basic_string_view sv) const noexcept;
147 constexpr bool ends_with(basic_string_view sv) const noexcept;
312 basic_string_view sv(v); in swap()
314 *this = sv; in swap()
766 constexpr bool basic_string_view<CharT>::starts_with(basic_string_view sv) const noexcept in starts_with() argument
768 return compare(0U, sv.size_, sv) == 0; in starts_with()
795 constexpr bool basic_string_view<CharT>::ends_with(basic_string_view sv) const noexcept in ends_with() argument
797 return (size_ >= sv.size_) && (compare(size_ - sv.size_, sv.size_, sv) == 0); in ends_with()
H A Dstring.h736 bool starts_with(basic_string_view<CharT> sv) const noexcept in starts_with() argument
738 return operator basic_string_view<CharT>().starts_with(sv); in starts_with()
752 bool ends_with(basic_string_view<CharT> sv) const noexcept in ends_with() argument
754 return operator basic_string_view<CharT>().ends_with(sv); in ends_with()
973 const auto sv = string_view(b);
974 res.reserve(a.length() + sv.length());
976 res += sv;
992 const auto sv = string_view(a);
993 res.reserve(sv.length() + b.length());
994 res = sv;
/ohos5.0/base/update/updater/test/unittest/script/
H A Dscript_interpreter_unittest.cpp72 std::unique_ptr<StringValue> sv = std::make_unique<StringValue>("2222222222222"); in TestScriptInterpreterScriptValue() local
73 if (sv == nullptr) { in TestScriptInterpreterScriptValue()
76 sv->IsTrue(); in TestScriptInterpreterScriptValue()
77 sv.reset(); in TestScriptInterpreterScriptValue()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/rust/src/
H A Dffi.rs27 Ok(sv) => sv, in ReaderIterator()
/ohos5.0/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/resource/
H A Dlocales.txt397 sv
398 sv-AX
399 sv-FI
400 sv-SE
H A Dplural.txt59 sv "", "= 1", "", "", "", ""
H A DdecimalPlurals.txt59 sv "", "v = 0", "", "", "", ""
/ohos5.0/base/location/services/location_locator/
H A Dhisysevent.yaml23 FIRST_CATCH_SV_TIME: {type: INT64, desc: timestamp of find first sv}
24 FIX_SV: {type: STRING, desc: sv status when fix}
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scene_viewer/
H A Drender_scene_viewer.cpp51 auto sv = wp.Upgrade(); in Initialize() local
52 if (sv) { in Initialize()
53 sv->HandleEvent(event); in Initialize()
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_collector.cpp36 constexpr auto tag = "LOGLIMITD"sv; in InsertDropInfo()
/ohos5.0/foundation/multimodalinput/input/libudev/src/
H A Dudev_device.cpp63 constexpr auto backStr = "../"sv; in ResolveSymLink()
301 AddProperty("DEVPATH", syspath.substr(0, "/sys"sv.size())); in SetSyspath()
/ohos5.0/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/
H A Dmediadatashare_unit_test.cpp752 DataShare::SingleValue sv(base);
753 int value = sv;
776 DataShare::SingleValue svCopy(sv);
780 DataShare::SingleValue svMove(std::move(sv));
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/video_res/test_hls/
H A Dout000.ts318 #5uE �S����U��xl*?���D�����Y�a�@��k�Hc�rŷ�B��&�O��J�\�G�k����Bi6�9֚�4?:(@"�sv�kA���PF�M…
926 …PVq�7�C�0^{ҿ#�G��cW�a�p�ՖO����<�~�f��@��N#�H��/eX��D?�s��3k� ƅ�3a��>sv���N&F/���P�?�8…

1234