/foundation/multimedia/media_foundation/test/scenetest/ |
H A D | test_single_video_player_fast_4.h | 42 std::string uri = "fd://?offset=0&size="; in FIXTURE() local 43 uri += std::to_string(fileSize); in FIXTURE() 46 uri.insert(5, fdStr); // 5 ---fd::// in FIXTURE() 47 return uri; in FIXTURE() 56 std::string uri = FilePathToFd(url, fileSize); in FIXTURE() local 68 std::string uri = FilePathToFd(url, fileSize); in FIXTURE() local 70 ASSERT_EQ(0, player->SetSource(TestSource(uri))); in FIXTURE() 82 std::string uri = FilePathToFd(url, fileSize); in FIXTURE() local 84 ASSERT_EQ(0, player->SetSource(TestSource(uri))); in FIXTURE() 97 std::string uri in FIXTURE() local 113 std::string uri = FilePathToFd(url, fileSize); FIXTURE() local 129 std::string uri = FilePathToFd(url, fileSize); FIXTURE() local 146 std::string uri = FilePathToFd(url, fileSize); FIXTURE() local 164 std::string uri = FilePathToFd(url, fileSize); FIXTURE() local 177 std::string uri = FilePathToFd(url, fileSize); FIXTURE() local 194 std::string uri = FilePathToFd(url, fileSize); FIXTURE() local 210 std::string uri = FilePathToFd(url, fileSize); FIXTURE() local 226 std::string uri = FilePathToFd(url, fileSize); FIXTURE() local 264 std::string uri = FilePathToFd(url, fileSize); FIXTURE() local [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_manager/src/ |
H A D | media_library_tab_old_photos_client.cpp | 40 Uri uri(queryUri); in GetUrisByOldUris() 55 this->GetResultSetFromTabOldPhotos(uri, predicates, column, errCode); in GetUrisByOldUris() 64 Uri &uri, const DataShare::DataSharePredicates &predicates, std::vector<std::string> &columns, int &errCode) in GetResultSetFromTabOldPhotos() 75 resultSet = dataShareHelper->Query(uri, predicates, columns, &businessError); in GetResultSetFromTabOldPhotos() 101 for (const auto &uri : queryTabOldPhotosUris) { in BuildPredicates() 102 if (uri.find(GALLERY_URI_PREFIX) != std::string::npos) { in BuildPredicates() 103 size_t lastSlashPos = uri.rfind('/'); in BuildPredicates() 104 if (lastSlashPos != std::string::npos && lastSlashPos + 1 < uri.length()) { in BuildPredicates() 105 std::string idStr = uri.substr(lastSlashPos + 1); in BuildPredicates() 109 } else if (uri in BuildPredicates() 63 GetResultSetFromTabOldPhotos( Uri &uri, const DataShare::DataSharePredicates &predicates, std::vector<std::string> &columns, int &errCode) GetResultSetFromTabOldPhotos() argument [all...] |
/foundation/communication/nfc/services/src/tag/ |
H A D | ndef_har_data_parser.cpp | 19 #include "uri.h" 66 std::string uri = GetUriPayload(records[0]); in TryNdef() local 67 if (uri.size() > URI_MAX_LENGTH) { in TryNdef() 68 ErrorLog("NdefHarDataParser::TryNdef uri too long"); in TryNdef() 69 uri = ""; in TryNdef() 71 if (ParseHarPackage(harPackages, tagInfo, mimeType, uri)) { in TryNdef() 100 const std::string &mimeType, const std::string &uri) in ParseHarPackage() 109 && ndefHarDispatch_->DispatchBundleAbility(harPackage, tagInfo, mimeType, uri)) { in ParseHarPackage() 160 std::string uri = GetUriPayload(records[0]); in ParseUriLink() local 161 InfoLog("NdefHarDataParser::ParseUriLink uri in ParseUriLink() 99 ParseHarPackage(std::vector<std::string> harPackages, std::shared_ptr<KITS::TagInfo> tagInfo, const std::string &mimeType, const std::string &uri) ParseHarPackage() argument 203 std::string uri = IsWebUri(records[0]); ParseWebLink() local 230 std::string uri = GetUriPayload(record); IsWebUri() local 284 std::string uri = ""; GetUriPayload() local [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | ipp.c | 76 const char *uri; in resolve_uri() local 100 uri = cupsBackendDeviceURI(pseudo_argv); in resolve_uri() 113 return (uri ? strdup(uri) : NULL); in resolve_uri() 119 check_driverless_support(const char* uri) in check_driverless_support() argument 124 response = get_printer_attributes3(NULL, uri, NULL, 0, NULL, 0, 1, in check_driverless_support() 211 char *uri; in get_printer_attributes5() local 249 "printer-uri-supported", in get_printer_attributes5() 250 "uri-authentication-supported", in get_printer_attributes5() 251 "uri in get_printer_attributes5() 473 ippfind_based_uri_converter(const char *uri, int is_fax) ippfind_based_uri_converter() argument [all...] |
/foundation/ability/ability_runtime/test/moduletest/ability_test/ |
H A D | data_ability_helper_module_test.cpp | 67 * @tc.desc: Insert with DataAbilityHelper which created with uri. 75 std::shared_ptr<Uri> uri = in HWTEST_F() local 78 std::shared_ptr<DataAbilityHelper> dataAbilityHelper = DataAbilityHelper::Creator(context, uri); in HWTEST_F() 93 * @tc.desc: Insert with DataAbilityHelper which created without uri. 101 std::shared_ptr<Uri> uri = in HWTEST_F() local 119 * @tc.desc: Update with DataAbilityHelper which created with uri. 126 std::shared_ptr<Uri> uri = in HWTEST_F() local 129 std::shared_ptr<DataAbilityHelper> dataAbilityHelper = DataAbilityHelper::Creator(context, uri); in HWTEST_F() 144 * @tc.desc: Update with DataAbilityHelper which created without uri. 150 std::shared_ptr<Uri> uri in HWTEST_F() local 174 std::shared_ptr<Uri> uri = HWTEST_F() local 204 std::shared_ptr<Uri> uri = HWTEST_F() local 234 std::shared_ptr<Uri> uri = HWTEST_F() local 276 std::shared_ptr<Uri> uri = HWTEST_F() local 318 std::shared_ptr<Uri> uri = HWTEST_F() local 341 std::shared_ptr<Uri> uri = HWTEST_F() local 364 std::shared_ptr<Uri> uri = HWTEST_F() local 387 std::shared_ptr<Uri> uri = HWTEST_F() local 410 std::shared_ptr<Uri> uri = HWTEST_F() local 433 std::shared_ptr<Uri> uri = HWTEST_F() local 456 std::shared_ptr<Uri> uri = HWTEST_F() local 479 std::shared_ptr<Uri> uri = HWTEST_F() local 501 std::shared_ptr<Uri> uri = HWTEST_F() local 528 std::shared_ptr<Uri> uri = HWTEST_F() local 555 std::shared_ptr<Uri> uri = HWTEST_F() local 577 std::shared_ptr<Uri> uri = HWTEST_F() local 599 std::shared_ptr<Uri> uri = HWTEST_F() local 622 std::shared_ptr<Uri> uri = HWTEST_F() local 645 std::shared_ptr<Uri> uri = HWTEST_F() local 668 std::shared_ptr<Uri> uri = HWTEST_F() local [all...] |
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/ |
H A D | datashare_proxy.cpp | 34 std::vector<std::string> DataShareProxy::GetFileTypes(const Uri &uri, const std::string &mimeTypeFilter) in GetFileTypes() argument 47 if (!data.WriteParcelable(&uri)) { in GetFileTypes() 48 LOG_ERROR("fail to WriteParcelable uri"); in GetFileTypes() 70 int DataShareProxy::OpenFile(const Uri &uri, const std::string &mode) in OpenFile() argument 79 if (!data.WriteParcelable(&uri)) { in OpenFile() 80 LOG_ERROR("fail to WriteParcelable uri"); in OpenFile() 107 int DataShareProxy::OpenRawFile(const Uri &uri, const std::string &mode) in OpenRawFile() argument 116 if (!data.WriteParcelable(&uri)) { in OpenRawFile() 117 LOG_ERROR("fail to WriteParcelable uri"); in OpenRawFile() 143 int DataShareProxy::Insert(const Uri &uri, cons argument 172 InsertExt(const Uri &uri, const DataShareValuesBucket &value, std::string &result) InsertExt() argument 200 Update(const Uri &uri, const DataSharePredicates &predicates, const DataShareValuesBucket &value) Update() argument 259 Delete(const Uri &uri, const DataSharePredicates &predicates) Delete() argument 288 InsertEx(const Uri &uri, const DataShareValuesBucket &value) InsertEx() argument 319 UpdateEx(const Uri &uri, const DataSharePredicates &predicates, const DataShareValuesBucket &value) UpdateEx() argument 351 DeleteEx(const Uri &uri, const DataSharePredicates &predicates) DeleteEx() argument 382 Query(const Uri &uri, const DataSharePredicates &predicates, std::vector<std::string> &columns, DatashareBusinessError &businessError) Query() argument 408 GetType(const Uri &uri) GetType() argument 442 BatchInsert(const Uri &uri, const std::vector<DataShareValuesBucket> &values) BatchInsert() argument 499 RegisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObserver) RegisterObserver() argument 523 UnregisterObserver(const Uri &uri, const sptr<AAFwk::IDataAbilityObserver> &dataObserver) UnregisterObserver() argument 546 NotifyChange(const Uri &uri) NotifyChange() argument 569 NormalizeUri(const Uri &uri) NormalizeUri() argument 597 DenormalizeUri(const Uri &uri) DenormalizeUri() argument [all...] |
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | ability_thread.h | 169 * @param uri Indicates the path of the files to obtain. 173 std::vector<std::string> GetFileTypes(const Uri &uri, const std::string &mimeTypeFilter) override; 177 * @param uri Indicates the path of the file to open. 184 int OpenFile(const Uri &uri, const std::string &mode) override; 189 * @param uri Indicates the path of the file to open. 196 int OpenRawFile(const Uri &uri, const std::string &mode) override; 200 * @param uri Indicates the path of the data to operate. 204 int Insert(const Uri &uri, const NativeRdb::ValuesBucket &value) override; 208 * @param uri Indicates the path of the data to operate. 215 const Uri &uri, cons [all...] |
H A D | fa_ability_thread.h | 152 * @param uri Indicates the path of the files to obtain. 156 std::vector<std::string> GetFileTypes(const Uri &uri, const std::string &mimeTypeFilter) override; 160 * @param uri Indicates the path of the file to open. 167 int OpenFile(const Uri &uri, const std::string &mode) override; 172 * @param uri Indicates the path of the file to open. 179 int OpenRawFile(const Uri &uri, const std::string &mode) override; 183 * @param uri Indicates the path of the data to operate. 187 int Insert(const Uri &uri, const NativeRdb::ValuesBucket &value) override; 197 const Uri &uri, const std::string &method, const std::string &arg, const AppExecFwk::PacMap &pacMap) override; 201 * @param uri Indicate [all...] |
/foundation/ability/ability_runtime/test/fuzztest/abilityschedulerstub_fuzzer/ |
H A D | abilityschedulerstub_fuzzer.cpp | 71 std::vector<std::string> GetFileTypes(const Uri& uri, const std::string& mimeTypeFilter) override 75 int OpenFile(const Uri& uri, const std::string& mode) override 79 int OpenRawFile(const Uri& uri, const std::string& mode) override 83 int Insert(const Uri& uri, const NativeRdb::ValuesBucket& value) override 87 int Update(const Uri& uri, const NativeRdb::ValuesBucket& value, 92 int Delete(const Uri& uri, const NativeRdb::DataAbilityPredicates& predicates) override 97 const Uri& uri, const std::string& method, const std::string& arg, const AppExecFwk::PacMap& pacMap) override 101 std::shared_ptr<NativeRdb::AbsSharedResultSet> Query(const Uri& uri, 106 std::string GetType(const Uri& uri) override 110 bool Reload(const Uri& uri, cons [all...] |
/foundation/ability/ability_runtime/test/fuzztest/attachabilitythread_fuzzer/ |
H A D | attachabilitythread_fuzzer.cpp | 68 std::vector<std::string> GetFileTypes(const Uri& uri, const std::string& mimeTypeFilter) override 72 int OpenFile(const Uri& uri, const std::string& mode) override 76 int OpenRawFile(const Uri& uri, const std::string& mode) override 80 int Insert(const Uri& uri, const NativeRdb::ValuesBucket& value) override 84 int Update(const Uri& uri, const NativeRdb::ValuesBucket& value, 89 int Delete(const Uri& uri, const NativeRdb::DataAbilityPredicates& predicates) override 94 const Uri& uri, const std::string& method, const std::string& arg, const AppExecFwk::PacMap& pacMap) override 98 std::shared_ptr<NativeRdb::AbsSharedResultSet> Query(const Uri& uri, 103 std::string GetType(const Uri& uri) override 107 bool Reload(const Uri& uri, cons [all...] |
/third_party/libcoap/examples/riot/examples_libcoap_client/ |
H A D | client-coap.c | 124 coap_uri_t uri; in client_coap_init() local 141 len = coap_split_uri((const unsigned char *)coap_uri, strlen(coap_uri), &uri); in client_coap_init() 143 coap_log_warn("Failed to parse uri %s\n", coap_uri); in client_coap_init() 147 snprintf(portbuf, sizeof(portbuf), "%d", uri.port); in client_coap_init() 148 snprintf((char *)buf, sizeof(buf), "%*.*s", (int)uri.host.length, in client_coap_init() 149 (int)uri.host.length, (const char *)uri.host.s); in client_coap_init() 151 len = resolve_address((const char *)buf, portbuf, &dst, 1 << uri.scheme); in client_coap_init() 153 coap_log_warn("Failed to resolve address %*.*s\n", (int)uri.host.length, in client_coap_init() 154 (int)uri in client_coap_init() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | skill.cpp | 188 // case1 : param uri empty, param type empty in MatchUriAndType() 203 // case2 : param uri not empty, param type empty in MatchUriAndType() 209 // if uri is a file path, match type by the suffix in MatchUriAndType() 212 // case3 : param uri empty, param type not empty in MatchUriAndType() 220 // case4 : param uri not empty, param type not empty in MatchUriAndType() 245 // linkFeature + uri + type in MatchLinkFeature() 279 // case1 : param uri empty, param type empty in MatchUriAndType() 296 // case2 : param uri not empty, param type empty in MatchUriAndType() 304 // if uri is a file path, match type by the suffix in MatchUriAndType() 307 // case3 : param uri empt in MatchUriAndType() 593 SkillUri uri; ReadFromParcel() local 688 from_json(const nlohmann::json &jsonObject, SkillUri &uri) from_json() argument 760 to_json(nlohmann::json &jsonObject, const SkillUri &uri) to_json() argument [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_provider_config.cpp | 32 DataProviderConfig::DataProviderConfig(const std::string &uri, uint32_t callerTokenId) in DataProviderConfig() argument 34 providerInfo_.uri = uri; in DataProviderConfig() 36 LoadConfigCommonStrategy::GetAppIndexFromProxyURI(providerInfo_.uri, providerInfo_.appIndex); in DataProviderConfig() 38 LoadConfigCommonStrategy::GetInfoFromProxyURI(providerInfo_.uri, providerInfo_.currentUserId, in DataProviderConfig() 40 URIUtils::FormatUri(providerInfo_.uri); in DataProviderConfig() 42 uriConfig_ = URIUtils::GetUriConfig(providerInfo_.uri); in DataProviderConfig() 64 ZLOGE("Get bundleInfo failed! bundleName:%{public}s, userId:%{public}d, uri:%{public}s", in GetFromProxyData() 66 URIUtils::Anonymous(providerInfo_.uri).c_str()); in GetFromProxyData() 81 return curr.uri in GetFromProxyData() [all...] |
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/ |
H A D | media_library_manager.h | 85 * @param uri source uri of a file which is to be closed 91 EXPORT int32_t CloseAsset(const string &uri, const int32_t fd); 97 * @return asset uri for success and <""> for fail 106 * @param uri uri of the asset 112 EXPORT int32_t OpenAsset(string &uri, const string openMode); 125 * @brief Query new uri by old uri 138 * @param value a parameter for input which is a uri o [all...] |
/foundation/bundlemanager/app_domain_verify/frameworks/common/src/utils/ |
H A D | domain_url_util.cpp | 17 #include "uri.h" 31 Uri uri(url); in IsValidUrl() 32 return (uri.GetScheme() == SCHEMA_HTTPS) && (!uri.GetHost().empty()); in IsValidUrl() 36 Uri uri(url); in GetHost() 37 return uri.GetHost(); in GetHost() 41 Uri uri(url); in GetScheme() 42 return uri.GetScheme(); in GetScheme()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_manager/ |
H A D | media_library_manager.cpp | 129 static void UriAppendKeyValue(string &uri, const string &key, const string &value) in UriAppendKeyValue() argument 132 if (uri.find(uriKey) != string::npos) { in UriAppendKeyValue() 135 char queryMark = (uri.find('?') == string::npos) ? '?' : '&'; in UriAppendKeyValue() 137 size_t posJ = uri.find('#'); in UriAppendKeyValue() 139 uri += append; in UriAppendKeyValue() 141 uri.insert(posJ, append); in UriAppendKeyValue() 145 static void GetCreateUri(string &uri) in GetCreateUri() argument 147 uri = PAH_CREATE_PHOTO; in GetCreateUri() 149 UriAppendKeyValue(uri, API_VERSION, to_string(MEDIA_API_VERSION_V10)); in GetCreateUri() 190 static bool CheckUri(string &uri) in CheckUri() argument 199 CheckPhotoUri(const string &uri) CheckPhotoUri() argument 208 OpenAsset(string &uri, const string openMode) OpenAsset() argument 232 CloseAsset(const string &uri, const int32_t fd) CloseAsset() argument 387 string uri = fileUri.ToString(); GetFilePathFromUri() local 562 GetParamsFromUri(const string &uri, const bool isOldVer, UriParams &uriParams) GetParamsFromUri() argument 674 QueryThumbnail(const std::string &uri, Size &size, const string &path, bool isAstc) QueryThumbnail() argument 693 GetThumbnail(const Uri &uri) GetThumbnail() argument 838 GetAstc(const Uri &uri) GetAstc() argument 877 OpenReadOnlyAppSandboxVideo(const string& uri) OpenReadOnlyAppSandboxVideo() argument 893 ReadMovingPhotoVideo(const string &uri, const string &option) ReadMovingPhotoVideo() argument 914 ReadMovingPhotoVideo(const string &uri) ReadMovingPhotoVideo() argument 919 ReadMovingPhotoVideo(const string &uri, off_t &offset) ReadMovingPhotoVideo() argument 946 ReadPrivateMovingPhoto(const string &uri) ReadPrivateMovingPhoto() argument 964 GetMovingPhotoImageUri(const string &uri) GetMovingPhotoImageUri() argument 980 GetSandboxMovingPhotoTime(const string& uri) GetSandboxMovingPhotoTime() argument 1007 GetMovingPhotoDateModified(const string &uri) GetMovingPhotoDateModified() argument [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | data_ability_result.cpp | 45 * with the input parameter uri specified 47 DataAbilityResult::DataAbilityResult(const Uri &uri) : uri_(uri.ToString()), count_(0) in DataAbilityResult() argument 52 * with input parameters uri, count, and failure specified. 54 DataAbilityResult::DataAbilityResult(const Uri &uri, int count) : uri_(uri.ToString()) in DataAbilityResult() argument 102 stringBuilder.append("uri=").append(uri_.ToString()).append(" "); in ToString() 164 auto uri = parcel.ReadParcelable<Uri>(); in ReadFromParcel() local 165 if (uri != nullptr) { in ReadFromParcel() 166 uri_ = *uri; in ReadFromParcel() [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/dataobs_manager/include/ |
H A D | dataobs_mgr_client.h | 25 #include "uri.h" 44 * @param uri, Indicates the path of the data to operate. 49 ErrCode RegisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver); 54 * @param uri, Indicates the path of the data to operate. 59 ErrCode UnregisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver); 64 * @param uri, Indicates the path of the data to operate. 68 ErrCode NotifyChange(const Uri &uri); 73 * @param uri, Indicates the path of the data to operate. 78 Status RegisterObserverExt(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, bool isDescendants); 83 * @param uri, Indicate 143 Uri uri; global() member [all...] |
/third_party/libcoap/include/coap3/ |
H A D | coap_uri.h | 79 coap_uri_scheme_is_secure(const coap_uri_t *uri) { in coap_uri_scheme_is_secure() argument 80 return uri && ((uri->scheme & COAP_URI_SCHEME_SECURE_MASK) != 0); in coap_uri_scheme_is_secure() 99 * @param uri The URI path to copy. 100 * @param length The length of uri. 104 coap_uri_t *coap_new_uri(const uint8_t *uri, unsigned int length); 111 * @param uri The coap_uri_t structure to copy. 115 coap_uri_t *coap_clone_uri(const coap_uri_t *uri); 120 * @param uri The coap_uri_t structure to remove. 122 void coap_delete_uri(coap_uri_t *uri); [all...] |
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | js_feature_ability_common.h | 92 napi_ref uri = nullptr; member 99 std::string uri; member 108 std::string uri; member 117 std::string uri; member 126 std::string uri; member 134 std::string uri; member 143 std::string uri; member 150 std::string uri; member 158 std::string uri; member 167 std::string uri; member 177 std::string uri; global() member 187 std::string uri; global() member 198 std::string uri; global() member 206 std::string uri; global() member 214 std::string uri; global() member [all...] |
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/src/util/ |
H A D | path_util.cpp | 79 string ResolvePath(string_view parent, string_view uri, bool allowQueryString) in ResolvePath() argument 81 size_t queryPos = allowQueryString ? string::npos : uri.find('?'); in ResolvePath() 82 string_view path = (string::npos != queryPos) ? uri.substr(0, queryPos) : uri; in ResolvePath() 191 unordered_map<string, string> GetUriParameters(string_view uri) in GetUriParameters() argument 193 const size_t queryPos = uri.find('?'); in GetUriParameters() 197 while (paramStartPos < uri.size()) { in GetUriParameters() 198 size_t paramValuePos = uri.find('=', paramStartPos + 1); in GetUriParameters() 199 size_t paramEndPos = uri.find('&', paramStartPos + 1); in GetUriParameters() 201 paramEndPos = uri in GetUriParameters() 218 ResolveUri(string_view contextUri, string_view uri, bool allowQueryString) ResolveUri() argument [all...] |
/foundation/communication/nfc/services/src/card_emulation/ |
H A D | setting_data_share_impl.cpp | 29 KITS::ErrorCode SettingDataShareImpl::RegisterDataObserver(const Uri& uri, in RegisterDataObserver() argument 44 dataShareHelper_->RegisterObserver(uri, dataObserver); in RegisterDataObserver() 47 KITS::ErrorCode SettingDataShareImpl::ReleaseDataObserver(const Uri& uri, in ReleaseDataObserver() argument 58 dataShareHelper_->UnregisterObserver(uri, dataObserver); in ReleaseDataObserver() 61 KITS::ErrorCode SettingDataShareImpl::GetElementName(Uri& uri, const std::string& column, ElementName& value) in GetElementName() argument 74 auto rows = dataShareHelper_->Query(uri, predicates, columns); in GetElementName() 95 bool SettingDataShareImpl::ParseElementURI(const std::string& uri, ElementName& value) in ParseElementURI() argument 98 if (std::count(uri.begin(), uri.end(), '/') != memberNum - 1) { in ParseElementURI() 99 ErrorLog("Invalid uri in ParseElementURI() 126 SetElementName(Uri& uri, const std::string& column, ElementName& value) SetElementName() argument [all...] |
/third_party/libcoap/examples/lwip/ |
H A D | client-coap.c | 109 coap_uri_t uri; in client_coap_init() local 156 len = coap_split_uri((const unsigned char *)use_uri, strlen(use_uri), &uri); in client_coap_init() 157 LWIP_ASSERT("Failed to parse uri", len == 0); in client_coap_init() 158 LWIP_ASSERT("Unsupported URI type", uri.scheme == COAP_URI_SCHEME_COAP || in client_coap_init() 159 uri.scheme == COAP_URI_SCHEME_COAPS); in client_coap_init() 160 if (uri.scheme == COAP_URI_SCHEME_COAPS) { in client_coap_init() 164 snprintf(portbuf, sizeof(portbuf), "%d", uri.port); in client_coap_init() 165 snprintf((char *)buf, sizeof(buf), "%*.*s", (int)uri.host.length, in client_coap_init() 166 (int)uri.host.length, (const char *)uri in client_coap_init() [all...] |
/foundation/ability/ability_runtime/services/dataobsmgr/src/ |
H A D | dataobs_mgr_proxy.cpp | 34 bool DataObsManagerProxy::WriteParam(MessageParcel &data, const Uri &uri, sptr<IDataAbilityObserver> dataObserver) in WriteParam() argument 36 if (!data.WriteString(uri.ToString())) { in WriteParam() 37 TAG_LOGE(AAFwkTag::DBOBSMGR, "write uri error"); in WriteParam() 53 int32_t DataObsManagerProxy::RegisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver) in RegisterObserver() argument 63 if (!WriteParam(data, uri, dataObserver)) { in RegisterObserver() 69 TAG_LOGE(AAFwkTag::DBOBSMGR, "sendRequest error:%{public}d, uri:%{public}s", error, in RegisterObserver() 70 CommonUtils::Anonymous(uri.ToString()).c_str()); in RegisterObserver() 78 int32_t DataObsManagerProxy::UnregisterObserver(const Uri &uri, sptr<IDataAbilityObserver> dataObserver) in UnregisterObserver() argument 88 if (!WriteParam(data, uri, dataObserver)) { in UnregisterObserver() 94 TAG_LOGE(AAFwkTag::DBOBSMGR, "sendRequest error:%{public}d, uri in UnregisterObserver() 102 NotifyChange(const Uri &uri) NotifyChange() argument 127 RegisterObserverExt(const Uri &uri, sptr<IDataAbilityObserver> dataObserver, bool isDescendants) RegisterObserverExt() argument 159 UnregisterObserverExt(const Uri &uri, sptr<IDataAbilityObserver> dataObserver) UnregisterObserverExt() argument [all...] |
H A D | dataobs_mgr_inner_ext.cpp | 29 Status DataObsMgrInnerExt::HandleRegisterObserver(Uri &uri, sptr<IDataAbilityObserver> dataObserver, bool isDescendants) in HandleRegisterObserver() argument 40 std::vector<std::string> path = { uri.GetScheme(), uri.GetAuthority() }; in HandleRegisterObserver() 41 uri.GetPathSegments(path); in HandleRegisterObserver() 45 CommonUtils::Anonymous(uri.ToString()).c_str()); in HandleRegisterObserver() 52 Status DataObsMgrInnerExt::HandleUnregisterObserver(Uri &uri, sptr<IDataAbilityObserver> dataObserver) in HandleUnregisterObserver() argument 55 TAG_LOGE(AAFwkTag::DBOBSMGR, "null dataObserver, uri:%{public}s num maxed", in HandleUnregisterObserver() 56 CommonUtils::Anonymous(uri.ToString()).c_str()); in HandleUnregisterObserver() 60 std::vector<std::string> path = { uri.GetScheme(), uri in HandleUnregisterObserver() 172 GetObs(const std::vector<std::string> &path, uint32_t index, Uri &uri, ObsMap &obsRes) GetObs() argument [all...] |