Home
last modified time | relevance | path

Searched refs:record (Results 226 - 250 of 872) sorted by relevance

12345678910>>...35

/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpaste_data_record.cpp167 auto record = std::make_shared<PasteDataRecord>(); in NewMultiTypeRecord() local
172 record->AddEntry(utdId, std::make_shared<PasteDataEntry>(utdId, *(recordDefaultIter->second))); in NewMultiTypeRecord()
180 record->AddEntry(utdId, std::make_shared<PasteDataEntry>(utdId, *value)); in NewMultiTypeRecord()
182 return record; in NewMultiTypeRecord()
188 auto record = std::make_shared<PasteDataRecord>(); in NewMultiTypeDelayRecord() local
194 record->AddEntry(utdId, entry); in NewMultiTypeDelayRecord()
197 record->SetEntryGetter(entryGetter); in NewMultiTypeDelayRecord()
198 record->SetDelayRecordFlag(true); in NewMultiTypeDelayRecord()
200 return record; in NewMultiTypeDelayRecord()
221 PasteDataRecord::PasteDataRecord(const PasteDataRecord &record) in PasteDataRecord() argument
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_event_util.cpp45 HILOG_DEBUG("update record %{public}" PRId64 ". packageName is %{public}s, hap path is %{public}s", in UpdateRecordByBundleInfo()
389 const FormRecord &record, const FormTimerCfg &timerCfg) in HandleTimerUpdate()
392 if (!record.isEnableUpdate && !timerCfg.enableUpdate) { in HandleTimerUpdate()
397 if (record.isEnableUpdate && !timerCfg.enableUpdate) { in HandleTimerUpdate()
404 if (!record.isEnableUpdate && timerCfg.enableUpdate) { in HandleTimerUpdate()
413 FormTimerMgr::GetInstance().AddFormTimer(formId, updateDuration, record.providerUserId); in HandleTimerUpdate()
417 timerCfg.updateAtMin, record.providerUserId); in HandleTimerUpdate()
423 UpdateType type = GetUpdateType(record, timerCfg); in HandleTimerUpdate()
441 UpdateType FormEventUtil::GetUpdateType(const FormRecord &record, const FormTimerCfg &timerCfg) in GetUpdateType() argument
444 if (record in GetUpdateType()
388 HandleTimerUpdate(const int64_t formId, const FormRecord &record, const FormTimerCfg &timerCfg) HandleTimerUpdate() argument
473 FormRecord record; ReCreateForm() local
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_netfirewall.cpp552 bool NetsysBpfNetFirewall::ShouldSkipNotify(sptr<InterceptRecord> record) in ShouldSkipNotify() argument
554 if (!record) { in ShouldSkipNotify()
557 if (oldRecord_ != nullptr && (record->time - oldRecord_->time) < INTERCEPT_BUFF_INTERVAL_SEC) { in ShouldSkipNotify()
558 if (record->localIp == oldRecord_->localIp && record->remoteIp == oldRecord_->remoteIp && in ShouldSkipNotify()
559 record->localPort == oldRecord_->localPort && record->remotePort == oldRecord_->remotePort && in ShouldSkipNotify()
560 record->protocol == oldRecord_->protocol && record->appUid == oldRecord_->appUid) { in ShouldSkipNotify()
564 oldRecord_ = record; in ShouldSkipNotify()
573 sptr<InterceptRecord> record = new (std::nothrow) InterceptRecord(); NotifyInterceptEvent() local
[all...]
/foundation/distributeddatamgr/pasteboard/interfaces/cj/src/
H A Dpasteboard_ffi.cpp94 void FillCPasteDataRecord(CPasteDataRecord *retPtr, std::shared_ptr<PasteDataRecord> record) in FillCPasteDataRecord() argument
96 if (record == nullptr) { in FillCPasteDataRecord()
104 if (record->GetHtmlText() != nullptr) { in FillCPasteDataRecord()
105 std::string resHtmlText = *(record->GetHtmlText()); in FillCPasteDataRecord()
108 if (!record->GetMimeType().empty()) { in FillCPasteDataRecord()
109 std::string resMimeType = record->GetMimeType(); in FillCPasteDataRecord()
112 if (record->GetPlainText() != nullptr) { in FillCPasteDataRecord()
113 std::string resPlainText = *(record->GetPlainText()); in FillCPasteDataRecord()
116 if (record->GetUri() != nullptr) { in FillCPasteDataRecord()
117 std::string resUri = record in FillCPasteDataRecord()
146 std::shared_ptr<PasteDataRecord> record = recordInstance->GetRealPasteDataRecord(); FfiOHOSCreateStringPasteDataRecord() local
176 std::shared_ptr<PasteDataRecord> record = recordInstance->GetRealPasteDataRecord(); FfiOHOSCreatePixelMapPasteDataRecord() local
203 std::shared_ptr<PasteDataRecord> record = recordInstance->GetRealPasteDataRecord(); FfiOHOSCreateArrayBufPasteDataRecord() local
710 std::shared_ptr<PasteDataRecord> record = pasteData->GetRecordAt((std::size_t)index); FfiOHOSPasteDataGetRecord() local
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/
H A DRuleExtractor.java80 for (NumRecord record : table.recordList) { in extract()
81 result.add(record.value); in extract()
89 for (RangeRecord record : table.recordList) { in extract()
90 if (!result.containsKey(record.property)) { in extract()
91 result.put(record.property, new GlyphGroup()); in extract()
93 GlyphGroup existingGlyphs = result.get(record.property); in extract()
94 existingGlyphs.addAll(extract(record)); in extract()
99 private static GlyphGroup extract(RangeRecord record) { in extract() argument
100 int len = record.end - record in extract()
[all...]
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpasteboard_client_udmf_delay_test.cpp117 std::shared_ptr<UnifiedRecord> record = std::make_shared<Text>(text); in SetTextUnifiedData() local
119 data.AddRecord(record); in SetTextUnifiedData()
132 std::shared_ptr<UnifiedRecord> record = std::make_shared<PlainText>(plainText); in SetPlainTextUnifiedData() local
134 data.AddRecord(record); in SetPlainTextUnifiedData()
147 std::shared_ptr<UnifiedRecord> record = std::make_shared<Link>(link); in SetLinkUnifiedData() local
149 data.AddRecord(record); in SetLinkUnifiedData()
162 std::shared_ptr<UnifiedRecord> record = std::make_shared<Html>(html); in SetHtmlUnifiedData() local
164 data.AddRecord(record); in SetHtmlUnifiedData()
176 std::shared_ptr<UnifiedRecord> record = std::make_shared<File>(file); in SetFileUnifiedData() local
178 data.AddRecord(record); in SetFileUnifiedData()
190 std::shared_ptr<UnifiedRecord> record = std::make_shared<Image>(image); SetImageUnifiedData() local
204 std::shared_ptr<UnifiedRecord> record = std::make_shared<Video>(video); SetVideoUnifiedData() local
218 std::shared_ptr<UnifiedRecord> record = std::make_shared<Audio>(audio); SetAudioUnifiedData() local
232 std::shared_ptr<UnifiedRecord> record = std::make_shared<Folder>(folder); SetFolderUnifiedData() local
245 std::shared_ptr<UnifiedRecord> record = std::make_shared<SystemDefinedRecord>(systemDefinedRecord); SetSysRecordUnifiedData() local
264 std::shared_ptr<UnifiedRecord> record = std::make_shared<SystemDefinedForm>(systemDefinedForm); SetSysFormUnifiedData() local
283 std::shared_ptr<UnifiedRecord> record = std::make_shared<SystemDefinedAppItem>(systemDefinedAppItem); SetSysAppItemUnifiedData() local
296 std::shared_ptr<UnifiedRecord> record = std::make_shared<ApplicationDefinedRecord>(applicationDefinedRecord); SetAppRecordUnifiedData() local
312 std::shared_ptr<UDMF::UnifiedRecord> record = std::make_shared<UDMF::UnifiedRecord>(UDMF::OPENHARMONY_WANT, want); SetWantUnifiedData() local
325 std::shared_ptr<UnifiedRecord> record = SetPixelMapUnifiedData() local
[all...]
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
H A Dhisysevent_listener_c.cpp37 HiSysEventRecordC record = {}; in OnEvent() local
38 HiSysEventRecordConvertor::ConvertRecord(*sysEvent, record); in OnEvent()
39 onEvent_(record); in OnEvent()
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/opentype_parser/
H A Dcmap_table_parser.cpp33 const auto& record = cmapTable->encodingRecords[i]; in Dump() local
34 LOGSO_FUNC_LINE(INFO) << "platformID: " << record.platformID.Get() in Dump()
35 << ", encodingID: " << record.encodingID.Get(); in Dump()
/foundation/distributeddatamgr/pasteboard/services/test/unittest/src/
H A Dpaste_service_test.cpp204 auto record = PasteboardClient::GetInstance()->CreatePlainTextRecord("paste record1"); in HWTEST_F() local
205 ASSERT_TRUE(record != nullptr); in HWTEST_F()
224 * @tc.desc: Create paste board record test.
230 auto record = PasteboardClient::GetInstance()->CreatePlainTextRecord(plainText); in HWTEST_F() local
231 ASSERT_TRUE(record != nullptr); in HWTEST_F()
232 auto newPlainText = record->GetPlainText(); in HWTEST_F()
239 * @tc.desc: Create paste board record test.
245 auto record = PasteboardClient::GetInstance()->CreateHtmlTextRecord(htmlText); in HWTEST_F() local
246 ASSERT_TRUE(record != nullptr); in HWTEST_F()
247 auto newHtmlText = record in HWTEST_F()
264 auto record = PasteboardClient::GetInstance()->CreateWantRecord(want); HWTEST_F() local
280 auto record = PasteboardClient::GetInstance()->CreateUriRecord(uri); HWTEST_F() local
407 auto record = newPasteData.GetPrimaryHtml(); HWTEST_F() local
431 auto record = newPasteData2.GetPrimaryHtml(); HWTEST_F() local
455 auto record = newPasteData2.GetPrimaryHtml(); HWTEST_F() local
478 auto record = newPasteData.GetPrimaryHtml(); HWTEST_F() local
506 auto record = pasteData.GetPrimaryWant(); HWTEST_F() local
532 auto record = pasteData.GetPrimaryUri(); HWTEST_F() local
557 auto record = pasteData.GetPrimaryText(); HWTEST_F() local
582 auto record = pasteData.GetPrimaryHtml(); HWTEST_F() local
830 auto record = pasteData->GetRecordAt(0); HWTEST_F() local
947 auto record = newPasteData.GetRecordAt(0); HWTEST_F() local
980 auto record = PasteboardClient::GetInstance()->CreatePlainTextRecord(plainText); HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dconnection_state_manager.h74 * @param connectionRecord connection record info.
81 * @param connectionRecord connection record info.
90 * @param record target data ability.
93 const std::shared_ptr<DataAbilityRecord> &record);
99 * @param record target data ability.
102 const std::shared_ptr<DataAbilityRecord> &record);
107 * @param record target data ability.
109 void HandleDataAbilityDied(const std::shared_ptr<DataAbilityRecord> &record);
122 * @param dlpManger dlp manager record.
129 * @param dlpManger dlp manager record
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_host_callback_test/
H A Dfms_form_host_callback_test.cpp63 FormRecord record; in HWTEST_F() local
65 formHostCallback.OnUpdate(formId, record, callerToken); in HWTEST_F()
79 FormRecord record; in HWTEST_F() local
81 formHostCallback.OnUpdate(formId, record, callerToken); in HWTEST_F()
95 FormRecord record; in HWTEST_F() local
97 formHostCallback.OnUpdate(formId, record, callerToken); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Ddata_ability_impl_file_secondpart_test.cpp72 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local
75 dataabilityimpl->Init(application, record, ability, handler, token); in HWTEST_F()
120 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local
123 dataabilityimpl->Init(application, record, ability, handler, token); in HWTEST_F()
147 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local
150 dataabilityimpl->Init(application, record, ability, handler, token); in HWTEST_F()
/foundation/communication/nfc/services/src/
H A Dnfc_service.cpp390 NfcStateRegistryRecord record; in SetRegisterCallBack() local
394 record = stateRecords_[i]; in SetRegisterCallBack()
395 InfoLog("record.type_=%{public}s", record.type_.c_str()); in SetRegisterCallBack()
396 if (record.type_.compare(type) == 0 && record.callerToken_ == callerToken) { in SetRegisterCallBack()
403 record.type_ = type; in SetRegisterCallBack()
404 record.callerToken_ = callerToken; in SetRegisterCallBack()
405 record.nfcStateChangeCallback_ = callback; in SetRegisterCallBack()
406 stateRecords_.push_back(record); in SetRegisterCallBack()
463 NfcStateRegistryRecord record = stateRecords_[i]; UpdateNfcState() local
[all...]
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_app_usage_db_helper.cpp280 AppEventRecord record; in QueryAppEventRecords() local
281 ParseEntity(entity, record); in QueryAppEventRecords()
282 if (record.rawid == FoldEventId::EVENT_COUNT_DURATION) { in QueryAppEventRecords()
286 records.emplace_back(record); in QueryAppEventRecords()
291 void FoldAppUsageDbHelper::ParseEntity(NativeRdb::RowEntity& entity, AppEventRecord& record) in ParseEntity() argument
293 entity.Get(FoldEventTable::FIELD_EVENT_ID).GetInt(record.rawid); in ParseEntity()
294 entity.Get(FoldEventTable::FIELD_TS).GetLong(record.ts); in ParseEntity()
295 entity.Get(FoldEventTable::FIELD_FOLD_STATUS).GetInt(record.foldStatus); in ParseEntity()
296 entity.Get(FoldEventTable::FIELD_PRE_FOLD_STATUS).GetInt(record.preFoldStatus); in ParseEntity()
297 entity.Get(FoldEventTable::FIELD_VERSION_NAME).GetString(record in ParseEntity()
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/
H A Dfont.cc134 for (HeaderTagSortedSet::iterator record = sorted_headers.begin(), in SerializeHeader()
136 record != record_end; ++record) { in SerializeHeader()
137 fos->WriteULong((*record)->tag()); in SerializeHeader()
138 fos->WriteULong((int32_t)((*record)->checksum())); in SerializeHeader()
139 fos->WriteULong((*record)->offset()); in SerializeHeader()
140 fos->WriteULong((*record)->length()); in SerializeHeader()
149 const HeaderPtr& record = (*table_headers)[i]; in SerializeTables() local
150 TablePtr target_table = GetTable(record->tag()); in SerializeTables()
158 assert(table_size == record in SerializeTables()
[all...]
/base/hiviewdfx/hisysevent/frameworks/native/test/unittest/common/
H A Dhisysevent_c_wrapper_test.cpp41 void TestOnEventWrapperCb(OnRustCb callback, HiSysEventRecordC record) in TestOnEventWrapperCb() argument
90 HiSysEventRecordC record; in CreateSysEventRecord() local
91 if (memcpy_s(record.domain, MAX_LENGTH_OF_EVENT_DOMAIN, domain.c_str(), domain.length() + EXT_BYTE_CNT) != EOK || in CreateSysEventRecord()
92 memcpy_s(record.eventName, MAX_LENGTH_OF_EVENT_NAME, name.c_str(), name.length() + EXT_BYTE_CNT) != EOK || in CreateSysEventRecord()
93 memcpy_s(record.tz, MAX_LENGTH_OF_TIME_ZONE, timeZone.c_str(), timeZone.length() + EXT_BYTE_CNT) != EOK) { in CreateSysEventRecord()
94 return record; in CreateSysEventRecord()
96 record.type = 1; // 1 means event type is fault in CreateSysEventRecord()
97 record.time = 0; // 0 is a test timestamp in CreateSysEventRecord()
98 return record; in CreateSysEventRecord()
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_live_view_service_test.cpp114 auto record = advancedNotificationService_->MakeNotificationRecord(request, bundle); in HWTEST_F() local
116 { .request = record->request, .bundleOption = bundle}; in HWTEST_F()
124 advancedNotificationService_->ProcForDeleteLiveView(record); in HWTEST_F()
270 auto record = advancedNotificationService_->MakeNotificationRecord(request, bundle); in HWTEST_F() local
272 bool flag = advancedNotificationService_->IsSaCreateSystemLiveViewAsBundle(record, creatorUid); in HWTEST_F()
296 auto record = advancedNotificationService_->MakeNotificationRecord(request, bundle); in HWTEST_F() local
301 flag = advancedNotificationService_->IsSaCreateSystemLiveViewAsBundle(record, creatorUid); in HWTEST_F()
304 record->notification->GetNotificationRequest().SetSlotType(NotificationConstant::SlotType::LIVE_VIEW); in HWTEST_F()
306 flag = advancedNotificationService_->IsSaCreateSystemLiveViewAsBundle(record, creatorUid); in HWTEST_F()
H A Dnotification_subscriber_manager_test.cpp247 std::shared_ptr<NotificationSubscriberManager::SubscriberRecord> record = in HWTEST_F() local
252 notificationSubscriberManager_->AddRecordInfo(record, subscribeInfo); in HWTEST_F()
253 notificationSubscriberManager_->BatchNotifyConsumedInner(notifications, notificationMap, record); in HWTEST_F()
287 std::shared_ptr<NotificationSubscriberManager::SubscriberRecord> record = in HWTEST_F() local
292 notificationSubscriberManager_->AddRecordInfo(record, subscribeInfo); in HWTEST_F()
293 notificationSubscriberManager_->BatchNotifyConsumedInner(notifications, notificationMap, record); in HWTEST_F()
306 auto record = notificationSubscriberManager_->CreateSubscriberRecord(mockSubscriber); in HWTEST_F() local
307 notificationSubscriberManager_->BatchNotifyConsumed(notifications, notificationMap, record); in HWTEST_F()
313 notificationSubscriberManager_->BatchNotifyConsumed(notifications, notificationMap, record); in HWTEST_F()
/third_party/astc-encoder/Test/
H A Dastc_test_result_plot.py92 for record in eResults.records:
93 if resFilter(record):
94 records.append(record)
95 psnrData.append(record.psnr)
96 mtsData.append(record.cRate)
98 if "ldr-xy" in record.name:
100 elif "ldr-l" in record.name:
102 elif "ldr" in record.name:
104 elif "hdr" in record.name:
H A Dastc_test_result_report.py165 for record in self.records[1:]:
166 result.append(getattr(record, field) - getattr(root, field))
183 for record in self.records[1:]:
184 result.append(getattr(record, field) / getattr(root, field))
202 Get a CSV encoded delta record header.
224 Get a CSV encoded delta record.
273 for record in recordSet[1:]:
274 assert(record.blkSz == base.blkSz)
275 assert(record.name == base.name)
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_lifecycle_update_test/
H A Dfms_form_mgr_lifecycle_update_test.cpp195 FormRecord record = FormDataMgr::GetInstance().CreateFormRecord(formItemInfo, callingUid); in HWTEST_F() local
197 record.needRefresh = true; in HWTEST_F()
198 FormDataMgr::GetInstance().formRecords_.emplace(formId, record); in HWTEST_F()
234 FormRecord record = FormDataMgr::GetInstance().CreateFormRecord(formItemInfo, callingUid); in HWTEST_F() local
236 record.needRefresh = false; in HWTEST_F()
238 record.versionUpgrade = false; in HWTEST_F()
239 FormDataMgr::GetInstance().formRecords_.emplace(formId, record); in HWTEST_F()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/app_network_speed_limit/
H A Dapp_network_speed_limit_service.cpp200 for (auto &record : m_bgLimitRecordMap) { in UpdateSpeedLimitConfigs()
201 if (!CheckNetWorkCanBeLimited(record.first) || record.second == BG_LIMIT_OFF) { in UpdateSpeedLimitConfigs()
205 if (IsLimitSpeedBgApp(record.first, iter->processName_)) { in UpdateSpeedLimitConfigs()
224 for (auto &record : m_bgLimitRecordMap) { in LogSpeedLimitConfigs()
225 recordsStr += std::to_string(record.first); in LogSpeedLimitConfigs()
227 recordsStr += std::to_string(record.second); in LogSpeedLimitConfigs()
/third_party/node/deps/openssl/openssl/util/perl/TLSProxy/
H A DRecord.pm72 #Get the record header (unpack can't fail if $packet is too short)
87 my $record = TLSProxy::Record->new(
105 $record->decryptETM();
107 $record->decrypt();
109 $record->encrypted(1);
113 .$record_type{$record->content_type()}."\n";
118 push @record_list, $record;
120 #Now figure out what messages are contained within this record
121 my @messages = TLSProxy::Message->get_messages($server, $record);
235 #TODO(TLS1.3): Eventually it is sufficient just to check the record
[all...]
/third_party/openssl/util/perl/TLSProxy/
H A DRecord.pm72 #Get the record header (unpack can't fail if $packet is too short)
87 my $record = TLSProxy::Record->new(
105 $record->decryptETM();
107 $record->decrypt();
109 $record->encrypted(1);
113 .$record_type{$record->content_type()}."\n";
118 push @record_list, $record;
120 #Now figure out what messages are contained within this record
121 my @messages = TLSProxy::Message->get_messages($server, $record);
235 #TODO(TLS1.3): Eventually it is sufficient just to check the record
[all...]
/foundation/distributeddatamgr/pasteboard/services/core/src/
H A Dpasteboard_pattern.cpp37 for (auto &record : pasteData.AllRecords()) { in Detect()
41 if (hasPlain && record->GetPlainText() != nullptr) { in Detect()
42 std::string recordText = *(record->GetPlainText()); in Detect()
45 if (hasHTML && record->GetHtmlText() != nullptr) { in Detect()
46 std::string recordText = ExtractHtmlContent(*(record->GetHtmlText())); in Detect()

Completed in 37 milliseconds

12345678910>>...35