/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/ |
H A D | AppLaunchSceneDataProcessor.cpp | 81 AppStartRecord record = GetRecord(bundleName); in ProcessSceneData() local 89 if (record.bundleName.empty()) { in ProcessSceneData() 92 SaveCheckPoint(record, data); in ProcessSceneData() 149 AppStartRecord record = GetRecord(bundleName); in SaveCheckPoint() local 150 if (record.bundleName.empty()) { in SaveCheckPoint() 153 SaveCheckPoint(record, data); in SaveCheckPoint() 156 void AppLaunchSceneDataProcessor::SaveCheckPoint(AppStartRecord& record, const AppStartCheckPointData& data) in SaveCheckPoint() argument 160 record.interactionResponse = interactionResponse; in SaveCheckPoint() 163 record.startAbility = startAbility; in SaveCheckPoint() 165 if (!record in SaveCheckPoint() 211 HaveStartPoint(const AppStartRecord& record) HaveStartPoint() argument 216 HaveAllEndPoints(const AppStartRecord& record) HaveAllEndPoints() argument 221 HaveEndPoint(const AppStartRecord& record) HaveEndPoint() argument 226 HaveResponseOrCompletedPoint(const AppStartRecord& record) HaveResponseOrCompletedPoint() argument 233 AppStartRecord record = GetRecord(bundleName); AllPointsReceived() local 240 GetProcessName(const AppStartRecord& record) GetProcessName() argument 254 GetAppPid(const AppStartRecord& record) GetAppPid() argument 265 GetInputTime(const AppStartRecord& record) GetInputTime() argument 276 AppStartRecord record = GetRecord(bundleName); CalcMetrics() local 317 CalcLatency(AppStartMetrics& appStartMetrics, const AppStartRecord& record, const uint64_t inputTime) CalcLatency() argument 354 AppStartRecord record = GetRecord(bundleName); ReportConditionMet() local 376 AppStartRecord record; CreateRecord() local 415 AppStartRecord record = GetRecord(data.bundleName); CheckOutExistStartPoint() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | ndef.c | 36 struct ndef_record *record) in ndef_parse_record() 42 record->type_length = *pos++; in ndef_parse_record() 46 record->payload_length = *pos++; in ndef_parse_record() 55 record->payload_length = len; in ndef_parse_record() 62 record->id_length = *pos++; in ndef_parse_record() 64 record->id_length = 0; in ndef_parse_record() 66 record->type = record->type_length == 0 ? NULL : pos; in ndef_parse_record() 67 pos += record->type_length; in ndef_parse_record() 69 record in ndef_parse_record() 35 ndef_parse_record(const u8 *data, u32 size, struct ndef_record *record) ndef_parse_record() argument 86 struct ndef_record record; ndef_parse_records() local 111 struct wpabuf *record; ndef_build_record() local 155 wifi_filter(struct ndef_record *record) wifi_filter() argument 181 p2p_filter(struct ndef_record *record) p2p_filter() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | ndef.c | 36 struct ndef_record *record) in ndef_parse_record() 42 record->type_length = *pos++; in ndef_parse_record() 46 record->payload_length = *pos++; in ndef_parse_record() 55 record->payload_length = len; in ndef_parse_record() 62 record->id_length = *pos++; in ndef_parse_record() 64 record->id_length = 0; in ndef_parse_record() 66 record->type = record->type_length == 0 ? NULL : pos; in ndef_parse_record() 67 pos += record->type_length; in ndef_parse_record() 69 record in ndef_parse_record() 35 ndef_parse_record(const u8 *data, u32 size, struct ndef_record *record) ndef_parse_record() argument 86 struct ndef_record record; ndef_parse_records() local 111 struct wpabuf *record; ndef_build_record() local 155 wifi_filter(struct ndef_record *record) wifi_filter() argument 181 p2p_filter(struct ndef_record *record) p2p_filter() argument [all...] |
/third_party/gn/src/gn/ |
H A D | builder.cc | 69 BuilderRecord* record = in ItemDefined() local 71 if (!record) { in ItemDefined() 77 if (record->item()) { in ItemDefined() 85 Err(record->item()->defined_from(), "Previous definition:")); in ItemDefined() 90 record->set_item(std::move(item)); in ItemDefined() 96 TargetDefined(record, &err); in ItemDefined() 99 ConfigDefined(record, &err); in ItemDefined() 102 ToolchainDefined(record, &err); in ItemDefined() 112 if (record->can_resolve()) { in ItemDefined() 113 if (!ResolveItem(record, in ItemDefined() 121 const BuilderRecord* record = GetRecord(label); GetItem() local 128 const BuilderRecord* record = GetRecord(label); GetToolchain() local 250 TargetDefined(BuilderRecord* record, Err* err) TargetDefined() argument 273 ConfigDefined(BuilderRecord* record, Err* err) ConfigDefined() argument 292 ToolchainDefined(BuilderRecord* record, Err* err) ToolchainDefined() argument 331 BuilderRecord* record = pair.second; GetOrCreateRecordOfType() local 357 BuilderRecord* record = GetRecord(label); GetResolvedRecordOfType() local 386 AddDeps(BuilderRecord* record, const LabelConfigVector& configs, Err* err) AddDeps() argument 399 AddDeps(BuilderRecord* record, const UniqueVector<LabelConfigPair>& configs, Err* err) AddDeps() argument 412 AddDeps(BuilderRecord* record, const LabelTargetVector& targets, Err* err) AddDeps() argument 425 AddGenDeps(BuilderRecord* record, const LabelTargetVector& targets, Err* err) AddGenDeps() argument 438 AddPoolDep(BuilderRecord* record, const Target* target, Err* err) AddPoolDep() argument 454 AddToolchainDep(BuilderRecord* record, const Target* target, Err* err) AddToolchainDep() argument 467 RecursiveSetShouldGenerate(BuilderRecord* record, bool force) RecursiveSetShouldGenerate() argument 490 ScheduleItemLoadIfNecessary(BuilderRecord* record) ScheduleItemLoadIfNecessary() argument 495 ResolveItem(BuilderRecord* record, Err* err) ResolveItem() argument 544 BuilderRecord* record = GetResolvedRecordOfType( ResolveDeps() local 557 BuilderRecord* record = GetResolvedRecordOfType( ResolveConfigs() local 567 BuilderRecord* record = GetResolvedRecordOfType( ResolveToolchain() local 603 BuilderRecord* record = GetResolvedRecordOfType( ResolvePools() local [all...] |
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | efi-pstore.c | 54 static int efi_pstore_read_func(struct pstore_record *record, in efi_pstore_read_func() argument 67 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func() 68 record->id = generic_id(time, part, cnt); in efi_pstore_read_func() 69 record->part = part; in efi_pstore_read_func() 70 record->count = cnt; in efi_pstore_read_func() 71 record->time.tv_sec = time; in efi_pstore_read_func() 72 record->time.tv_nsec = 0; in efi_pstore_read_func() 74 record->compressed = true; in efi_pstore_read_func() 76 record->compressed = false; in efi_pstore_read_func() 77 record in efi_pstore_read_func() 130 efi_pstore_read(struct pstore_record *record) efi_pstore_read() argument 167 efi_pstore_write(struct pstore_record *record) efi_pstore_write() argument 198 efi_pstore_erase(struct pstore_record *record) efi_pstore_erase() argument [all...] |
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/ |
H A D | hisysevent_record_c.cpp | 26 int GetParamValue(const HiSysEventRecordC& record, const char* name, T& value)
in GetParamValue() argument 28 if (record.jsonStr == nullptr || name == nullptr) {
in GetParamValue() 31 HiSysEventRecordCls recordObj(record.jsonStr);
in GetParamValue() 35 int GetParamValue(const HiSysEventRecordC& record, const char* name, char** value)
in GetParamValue() argument 37 if (record.jsonStr == nullptr || name == nullptr) {
in GetParamValue() 40 HiSysEventRecordCls recordObj(record.jsonStr);
in GetParamValue() 49 int GetParamValues(const HiSysEventRecordC& record, const char* name, T** value, size_t& len)
in GetParamValues() argument 51 if (record.jsonStr == nullptr || name == nullptr) {
in GetParamValues() 54 HiSysEventRecordCls recordObj(record.jsonStr);
in GetParamValues() 74 int GetParamValues(const HiSysEventRecordC& record, cons argument 90 GetParamNames(const HiSysEventRecordC& record, char*** names, size_t& len) GetParamNames() argument 104 GetParamInt64Value(const HiSysEventRecordC& record, const char* name, int64_t& value) GetParamInt64Value() argument 109 GetParamUint64Value(const HiSysEventRecordC& record, const char* name, uint64_t& value) GetParamUint64Value() argument 114 GetParamDoubleValue(const HiSysEventRecordC& record, const char* name, double& value) GetParamDoubleValue() argument 119 GetParamStringValue(const HiSysEventRecordC& record, const char* name, char** value) GetParamStringValue() argument 124 GetParamInt64Values(const HiSysEventRecordC& record, const char* name, int64_t** value, size_t& len) GetParamInt64Values() argument 129 GetParamUint64Values(const HiSysEventRecordC& record, const char* name, uint64_t** value, size_t& len) GetParamUint64Values() argument 134 GetParamDoubleValues(const HiSysEventRecordC& record, const char* name, double** value, size_t& len) GetParamDoubleValues() argument 139 GetParamStringValues(const HiSysEventRecordC& record, const char* name, char*** value, size_t& len) GetParamStringValues() argument 149 OH_HiSysEvent_GetParamNames(const HiSysEventRecordC* record, char*** names, size_t* len) OH_HiSysEvent_GetParamNames() argument 154 OH_HiSysEvent_GetParamInt64Value(const HiSysEventRecordC* record, const char* name, int64_t* value) OH_HiSysEvent_GetParamInt64Value() argument 159 OH_HiSysEvent_GetParamUint64Value(const HiSysEventRecordC* record, const char* name, uint64_t* value) OH_HiSysEvent_GetParamUint64Value() argument 164 OH_HiSysEvent_GetParamDoubleValue(const HiSysEventRecordC* record, const char* name, double* value) OH_HiSysEvent_GetParamDoubleValue() argument 169 OH_HiSysEvent_GetParamStringValue(const HiSysEventRecordC* record, const char* name, char** value) OH_HiSysEvent_GetParamStringValue() argument 174 OH_HiSysEvent_GetParamInt64Values(const HiSysEventRecordC* record, const char* name, int64_t** value, size_t* len) OH_HiSysEvent_GetParamInt64Values() argument 179 OH_HiSysEvent_GetParamUint64Values(const HiSysEventRecordC* record, const char* name, uint64_t** value, size_t* len) OH_HiSysEvent_GetParamUint64Values() argument 184 OH_HiSysEvent_GetParamDoubleValues(const HiSysEventRecordC* record, const char* name, double** value, size_t* len) OH_HiSysEvent_GetParamDoubleValues() argument 189 OH_HiSysEvent_GetParamStringValues(const HiSysEventRecordC* record, const char* name, char*** value, size_t* len) OH_HiSysEvent_GetParamStringValues() argument [all...] |
/third_party/skia/tests/ |
H A D | RecordTest.cpp | 31 void apply(const SkRecord& record) { in apply() argument 32 for (int i = 0; i < record.count(); i++) { in apply() 33 record.visit(i, *this); in apply() 49 void apply(SkRecord* record) { in apply() 50 for (int i = 0; i < record->count(); i++) { in apply() 51 record->mutate(i, *this); in apply() 56 #define APPEND(record, type, ...) new (record.append<type>()) type{__VA_ARGS__} 60 SkRecord record; in DEF_TEST() local 65 APPEND(record, SkRecord in DEF_TEST() 82 SkRecord record; DEF_TEST() local 108 SkRecord record; DEF_TEST() local [all...] |
H A D | RecordPatternTest.cpp | 24 SkRecord record; in DEF_TEST() local 25 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 27 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 31 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 34 REPORTER_ASSERT(r, !pattern.match(&record, 0)); in DEF_TEST() 37 REPORTER_ASSERT(r, pattern.match(&record, 0)); in DEF_TEST() 46 SkRecord record; in DEF_TEST() local 47 SkRecorder recorder(&record, 1920, 1200); in DEF_TEST() 59 REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3); in DEF_TEST() 61 REPORTER_ASSERT(r, !pattern.match(&record, in DEF_TEST() 69 SkRecord record; DEF_TEST() local 83 SkRecord record; DEF_TEST() local 107 SkRecord record; DEF_TEST() local 147 SkRecord record; DEF_TEST() local [all...] |
H A D | RecordOptsTest.cpp | 23 SkRecord record; in DEF_TEST() local 24 SkRecorder recorder(&record, W, H); in DEF_TEST() 30 record.replace<SkRecords::NoOp>(1); // NoOps should be allowed. in DEF_TEST() 32 SkRecordNoopSaveRestores(&record); in DEF_TEST() 34 REPORTER_ASSERT(r, 2 == count_instances_of_type<SkRecords::DrawRect>(record)); in DEF_TEST() 38 SkRecord record; in DEF_TEST() local 39 SkRecorder recorder(&record, W, H); in DEF_TEST() 45 SkRecordNoopSaveRestores(&record); in DEF_TEST() 47 assert_type<SkRecords::NoOp>(r, record, i); in DEF_TEST() 52 SkRecord record; in DEF_TEST() local 75 SkRecord record; DEF_TEST() local 104 assert_savelayer_restore(skiatest::Reporter* r, SkRecord* record, int i, bool shouldBeNoOped) assert_savelayer_restore() argument 118 assert_savelayer_draw_restore(skiatest::Reporter* r, SkRecord* record, int i, bool shouldBeNoOped) assert_savelayer_draw_restore() argument 133 SkRecord record; DEF_TEST() local 199 assert_merge_svg_opacity_and_filter_layers(skiatest::Reporter* r, SkRecord* record, int i, bool shouldBeNoOped) assert_merge_svg_opacity_and_filter_layers() argument 214 SkRecord record; DEF_TEST() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkAllocationCallbackUtil.cpp | 132 AllocationCallbackRecord record; in allocation() local 134 record.type = TYPE_ALLOCATION; in allocation() 135 record.data.allocation.size = size; in allocation() 136 record.data.allocation.alignment = alignment; in allocation() 137 record.data.allocation.scope = scope; in allocation() 138 record.data.allocation.returnedPtr = returnedPtr; in allocation() 140 return record; in allocation() 145 AllocationCallbackRecord record; in reallocation() local 147 record.type = TYPE_REALLOCATION; in reallocation() 148 record in reallocation() 159 AllocationCallbackRecord record; free() local 169 AllocationCallbackRecord record; internalAllocation() local 181 AllocationCallbackRecord record; internalFree() local 334 AllocationCallbackRecord record; global() member 347 getAlignment(const AllocationCallbackRecord& record) getAlignment() argument 373 const AllocationCallbackRecord& record = *callbackIter; validateAllocationCallbacks() local 597 const AllocationCallbackRecord& record = results.liveAllocations[liveNdx]; checkAndLog() local 674 operator <<(std::ostream& str, const AllocationCallbackRecord& record) operator <<() argument [all...] |
/foundation/ability/ability_lite/services/abilitymgr_lite/src/ |
H A D | ability_connect_mission.cpp | 31 auto record = *iterator;
in ~AbilityConnectMission() local 32 delete record;
in ~AbilityConnectMission() 48 for (const auto record : serviceRecords_) {
in FindServiceRecord() 49 if (record != nullptr && record->GetToken() == token) {
in FindServiceRecord() 50 return record;
in FindServiceRecord() 60 for (const auto record : serviceRecords_) {
in FindServiceRecord() 61 if (record != nullptr) {
in FindServiceRecord() 62 const char *recordBundleName = record->GetAbilityInfo().bundleName;
in FindServiceRecord() 63 const char *recordAbilityName = record in FindServiceRecord() 88 auto record = *iterator; RemoveServiceRecord() local 102 auto record = *iterator; RemoveServiceRecord() local 155 auto record = *iterator; RemoveConnectRecordByPageToken() local [all...] |
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_subscriber_manager.cpp | 159 const sptr<NotificationSortingMap> ¬ificationMap, const std::shared_ptr<SubscriberRecord> &record) in BatchNotifyConsumed() 163 if (notifications.empty() || notificationMap == nullptr || record == nullptr) { in BatchNotifyConsumed() 174 &NotificationSubscriberManager::BatchNotifyConsumedInner, this, notifications, notificationMap, record); in BatchNotifyConsumed() 279 std::shared_ptr<SubscriberRecord> record = FindSubscriberRecord(object); in OnRemoteDied() 280 if (record != nullptr) { in OnRemoteDied() 281 auto subscriberUid = record->subscriberUid; in OnRemoteDied() 282 ANS_LOGI("subscriber removed . subscriberUid = %{public}d", record->subscriberUid); in OnRemoteDied() 283 subscriberRecordList_.remove(record); in OnRemoteDied() 284 AdvancedNotificationService::GetInstance()->RemoveSystemLiveViewNotificationsOfSa(record->subscriberUid); in OnRemoteDied() 319 std::shared_ptr<SubscriberRecord> record in CreateSubscriberRecord() local 158 BatchNotifyConsumed(const std::vector<sptr<Notification>> ¬ifications, const sptr<NotificationSortingMap> ¬ificationMap, const std::shared_ptr<SubscriberRecord> &record) BatchNotifyConsumed() argument 326 AddRecordInfo( std::shared_ptr<SubscriberRecord> &record, const sptr<NotificationSubscribeInfo> &subscribeInfo) AddRecordInfo() argument 348 RemoveRecordInfo( std::shared_ptr<SubscriberRecord> &record, const sptr<NotificationSubscribeInfo> &subscribeInfo) RemoveRecordInfo() argument 369 std::shared_ptr<SubscriberRecord> record = FindSubscriberRecord(subscriber); AddSubscriberInner() local 396 std::shared_ptr<SubscriberRecord> record = FindSubscriberRecord(subscriber); RemoveSubscriberInner() local 458 BatchNotifyConsumedInner(const std::vector<sptr<Notification>> ¬ifications, const sptr<NotificationSortingMap> ¬ificationMap, const std::shared_ptr<SubscriberRecord> &record) BatchNotifyConsumedInner() argument 512 IsSubscribedBysubscriber( const std::shared_ptr<SubscriberRecord> &record, const sptr<Notification> ¬ification) IsSubscribedBysubscriber() argument [all...] |
H A D | notification_slot_filter.cpp | 30 ErrCode NotificationSlotFilter::OnPublish(const std::shared_ptr<NotificationRecord> &record) in OnPublish() argument 32 if (record->slot != nullptr) { in OnPublish() 33 if (record->slot->CanEnableLight()) { in OnPublish() 34 record->notification->SetEnableLight(true); in OnPublish() 35 record->notification->SetLedLightColor(record->slot->GetLedLightColor()); in OnPublish() 37 record->notification->SetEnableLight(false); in OnPublish() 40 if (record->slot->CanVibrate()) { in OnPublish() 41 record->notification->SetEnableVibration(true); in OnPublish() 42 record in OnPublish() [all...] |
/third_party/skia/src/core/ |
H A D | SkRecordOpts.cpp | 24 // record, and [begin,end) span of the commands that matched. 26 static bool apply(Pass* pass, SkRecord* record) { in apply() argument 31 while (match.search(record, &begin, &end)) { in apply() 32 changed |= pass->onMatch(record, &match, begin, end); in apply() 39 static void multiple_set_matrices(SkRecord* record) { in multiple_set_matrices() argument 46 bool onMatch(SkRecord* record, Match* pattern, int begin, int end) { in multiple_set_matrices() 47 record->replace<NoOp>(begin); // first SetMatrix in multiple_set_matrices() 51 while (apply(&pass, record)); in multiple_set_matrices() 57 static void apply_matrix_to_draw_params(SkRecord* record) { 64 bool onMatch(SkRecord* record, Patter 164 SkRecordNoopSaveRestores(SkRecord* record) SkRecordNoopSaveRestores() argument 221 SkRecordNoopSaveLayerDrawRestores(SkRecord* record) SkRecordNoopSaveLayerDrawRestores() argument 276 SkRecordMergeSvgOpacityAndFilterLayers(SkRecord* record) SkRecordMergeSvgOpacityAndFilterLayers() argument 283 SkRecordOptimize(SkRecord* record) SkRecordOptimize() argument 304 SkRecordOptimize2(SkRecord* record) SkRecordOptimize2() argument [all...] |
/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/ |
H A D | udmf.cpp | 138 static bool IsUnifiedRecordValid(OH_UdmfRecord* record)
in IsUnifiedRecordValid() argument 140 return record != nullptr && record->record_ != nullptr &&
in IsUnifiedRecordValid() 141 record->cid == NdkStructId::UDMF_UNIFIED_RECORD_STRUCT_ID;
in IsUnifiedRecordValid() 181 int OH_UdmfData_AddRecord(OH_UdmfData* unifiedData, OH_UdmfRecord* record)
in OH_UdmfData_AddRecord() argument 183 if (!IsUnifiedDataValid(unifiedData) || !IsUnifiedRecordValid(record)) {
in OH_UdmfData_AddRecord() 186 unifiedData->unifiedData_->AddRecord(record->record_);
in OH_UdmfData_AddRecord() 214 char** OH_UdmfRecord_GetTypes(OH_UdmfRecord* record, unsigned int* count)
in OH_UdmfRecord_GetTypes() argument 216 if (!IsUnifiedRecordValid(record) || count == nullptr) {
in OH_UdmfRecord_GetTypes() 219 std::lock_guard<std::mutex> lock(record in OH_UdmfRecord_GetTypes() 408 OH_UdmfRecord* record = new (std::nothrow) OH_UdmfRecord; OH_UdmfRecord_Create() local 416 OH_UdmfRecord_Destroy(OH_UdmfRecord* record) OH_UdmfRecord_Destroy() argument 429 OH_UdmfRecord_AddGeneralEntry(OH_UdmfRecord* record, const char* typeId, const unsigned char* entry, unsigned int count) OH_UdmfRecord_AddGeneralEntry() argument 451 GetValueFromUint8Array(OH_UdmfRecord *record, const char *typeId, ValueType value) GetValueFromUint8Array() argument 484 OH_UdmfRecord_GetGeneralEntry(OH_UdmfRecord* record, const char* typeId, unsigned char** entry, unsigned int* count) OH_UdmfRecord_GetGeneralEntry() argument 517 AddUds(OH_UdmfRecord* record, UdsObject* udsObject, UDType type) AddUds() argument 526 OH_UdmfRecord_AddPlainText(OH_UdmfRecord* record, OH_UdsPlainText* plainText) OH_UdmfRecord_AddPlainText() argument 535 OH_UdmfRecord_AddHyperlink(OH_UdmfRecord* record, OH_UdsHyperlink* hyperlink) OH_UdmfRecord_AddHyperlink() argument 544 OH_UdmfRecord_AddHtml(OH_UdmfRecord* record, OH_UdsHtml* html) OH_UdmfRecord_AddHtml() argument 553 OH_UdmfRecord_AddAppItem(OH_UdmfRecord* record, OH_UdsAppItem* appItem) OH_UdmfRecord_AddAppItem() argument 562 OH_UdmfRecord_AddFileUri(OH_UdmfRecord* record, OH_UdsFileUri* fileUri) OH_UdmfRecord_AddFileUri() argument 594 OH_UdmfRecord_AddPixelMap(OH_UdmfRecord* record, OH_UdsPixelMap* pixelMap) OH_UdmfRecord_AddPixelMap() argument 603 GetUds(OH_UdmfRecord* record, UdsObject* udsObject, UDType type) GetUds() argument 614 OH_UdmfRecord_AddArrayBuffer(OH_UdmfRecord* record, const char* type, OH_UdsArrayBuffer* buffer) OH_UdmfRecord_AddArrayBuffer() argument 630 OH_UdmfRecord_AddContentForm(OH_UdmfRecord* record, OH_UdsContentForm* contentForm) OH_UdmfRecord_AddContentForm() argument 639 OH_UdmfRecord_GetPlainText(OH_UdmfRecord* record, OH_UdsPlainText* plainText) OH_UdmfRecord_GetPlainText() argument 647 OH_UdmfRecord_GetHyperlink(OH_UdmfRecord* record, OH_UdsHyperlink* hyperlink) OH_UdmfRecord_GetHyperlink() argument 655 OH_UdmfRecord_GetHtml(OH_UdmfRecord* record, OH_UdsHtml* html) OH_UdmfRecord_GetHtml() argument 663 OH_UdmfRecord_GetAppItem(OH_UdmfRecord* record, OH_UdsAppItem* appItem) OH_UdmfRecord_GetAppItem() argument 671 OH_UdmfRecord_GetFileUri(OH_UdmfRecord* record, OH_UdsFileUri* fileUri) OH_UdmfRecord_GetFileUri() argument 691 OH_UdmfRecord_GetPixelMap(OH_UdmfRecord* record, OH_UdsPixelMap* pixelMap) OH_UdmfRecord_GetPixelMap() argument 699 OH_UdmfRecord_GetArrayBuffer(OH_UdmfRecord* record, const char* type, OH_UdsArrayBuffer* buffer) OH_UdmfRecord_GetArrayBuffer() argument 711 OH_UdmfRecord_GetContentForm(OH_UdmfRecord* record, OH_UdsContentForm* contentForm) OH_UdmfRecord_GetContentForm() argument 871 OH_UdmfRecord_SetProvider(OH_UdmfRecord* record, const char* const* types, unsigned int count, OH_UdmfRecordProvider* provider) OH_UdmfRecord_SetProvider() argument [all...] |
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/convert/ |
H A D | udmf_conversion.cpp | 38 void UdmfConversion::SetValueWhenNotUds(std::shared_ptr<UnifiedRecord> record)
in SetValueWhenNotUds() argument 40 if (!std::holds_alternative<std::shared_ptr<Object>>(record->GetValue())) {
in SetValueWhenNotUds() 43 auto object = std::get<std::shared_ptr<Object>>(record->GetValue());
in SetValueWhenNotUds() 51 record->SetValue(it->second);
in SetValueWhenNotUds() 54 void UdmfConversion::ConvertRecordToSubclass(std::shared_ptr<UnifiedRecord> &record)
in ConvertRecordToSubclass() argument 56 auto type = record->GetType();
in ConvertRecordToSubclass() 57 auto value = record->GetOriginValue();
in ConvertRecordToSubclass() 58 auto uid = record->GetUid();
in ConvertRecordToSubclass() 61 record = std::make_shared<Text>(type, value);
in ConvertRecordToSubclass() 65 record in ConvertRecordToSubclass() [all...] |
/kernel/linux/linux-5.10/sound/usb/6fire/ |
H A D | firmware.c | 49 char error; /* true if an error occurred parsing this record */ 51 u8 max_len; /* maximum record length in whole ihex */ 77 * returns true if record is available, false otherwise. 78 * iff an error occurred, false will be returned and record->error will be true. 80 static bool usb6fire_fw_ihex_next_record(struct ihex_record *record) in usb6fire_fw_ihex_next_record() argument 86 record->error = false; in usb6fire_fw_ihex_next_record() 88 /* find begin of record (marked by a colon) */ in usb6fire_fw_ihex_next_record() 89 while (record->txt_offset < record->txt_length in usb6fire_fw_ihex_next_record() 90 && record in usb6fire_fw_ihex_next_record() 141 usb6fire_fw_ihex_init(const struct firmware *fw, struct ihex_record *record) usb6fire_fw_ihex_init() argument [all...] |
/kernel/linux/linux-6.6/sound/usb/6fire/ |
H A D | firmware.c | 49 char error; /* true if an error occurred parsing this record */ 51 u8 max_len; /* maximum record length in whole ihex */ 77 * returns true if record is available, false otherwise. 78 * iff an error occurred, false will be returned and record->error will be true. 80 static bool usb6fire_fw_ihex_next_record(struct ihex_record *record) in usb6fire_fw_ihex_next_record() argument 86 record->error = false; in usb6fire_fw_ihex_next_record() 88 /* find begin of record (marked by a colon) */ in usb6fire_fw_ihex_next_record() 89 while (record->txt_offset < record->txt_length in usb6fire_fw_ihex_next_record() 90 && record in usb6fire_fw_ihex_next_record() 141 usb6fire_fw_ihex_init(const struct firmware *fw, struct ihex_record *record) usb6fire_fw_ihex_init() argument [all...] |
/base/hiviewdfx/hisysevent/test/fuzztest/common/hisyseventmanager_fuzzer/ |
H A D | hisyseventmanager_fuzzer.cpp | 39 void HiSysEventRecordTest(const HiSysEventRecord& record, const std::string& data) in HiSysEventRecordTest() argument 41 (void)record.AsJson(); in HiSysEventRecordTest() 42 (void)record.GetDomain(); in HiSysEventRecordTest() 43 (void)record.GetEventName(); in HiSysEventRecordTest() 44 (void)record.GetLevel(); in HiSysEventRecordTest() 45 (void)record.GetTag(); in HiSysEventRecordTest() 46 (void)record.GetTimeZone(); in HiSysEventRecordTest() 47 (void)record.GetEventType(); in HiSysEventRecordTest() 48 (void)record.GetTraceFlag(); in HiSysEventRecordTest() 49 (void)record in HiSysEventRecordTest() [all...] |
/foundation/ability/ability_runtime/test/unittest/ability_running_record_test/ |
H A D | ability_running_record_test.cpp | 78 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); in HWTEST_F() local 79 ASSERT_NE(record, nullptr); in HWTEST_F() 80 auto name = record->GetName(); in HWTEST_F() 100 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); in HWTEST_F() local 101 ASSERT_NE(record, nullptr); in HWTEST_F() 102 auto name = record->GetBundleName(); in HWTEST_F() 122 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); in HWTEST_F() local 123 ASSERT_NE(record, nullptr); in HWTEST_F() 124 auto name = record->GetModuleName(); in HWTEST_F() 143 auto record in HWTEST_F() local 164 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); HWTEST_F() local 187 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); HWTEST_F() local 208 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); HWTEST_F() local 230 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); HWTEST_F() local 253 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); HWTEST_F() local 275 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); HWTEST_F() local 298 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); HWTEST_F() local 321 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); HWTEST_F() local 344 auto record = std::make_shared<AbilityRunningRecord>(abilityInfo, token, abilityRecordId); HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/fs/pstore/ |
H A D | platform.c | 224 * uncompressed record size, since any record that would be expanded by in allocate_buf_for_compression() 262 void pstore_record_init(struct pstore_record *record, in pstore_record_init() argument 265 memset(record, 0, sizeof(*record)); in pstore_record_init() 267 record->psi = psinfo; in pstore_record_init() 270 record->time = ns_to_timespec64(ktime_get_real_fast_ns()); in pstore_record_init() 309 struct pstore_record record; in pstore_dump() local 311 pstore_record_init(&record, psinfo); in pstore_dump() 312 record in pstore_dump() 395 struct pstore_record record; pstore_console_write() local 435 pstore_write_user_compat(struct pstore_record *record, const char __user *buf) pstore_write_user_compat() argument 582 decompress_record(struct pstore_record *record, struct z_stream_s *zstream) decompress_record() argument 682 struct pstore_record *record; pstore_get_backend_records() local [all...] |
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/ |
H A D | pasteboard_utils.cpp | 115 for (auto const &record : records) { in Convert() 116 if (record == nullptr) { in Convert() 119 auto type = record->GetType(); in Convert() 123 pasteboardRecords.push_back(AppDefined2PasteRecord(record)); in Convert() 126 pasteboardRecords.push_back(it->second(record)); in Convert() 214 std::shared_ptr<PasteDataRecord> PasteboardUtils::PlainText2PasteRecord(const std::shared_ptr<UnifiedRecord> record) in PlainText2PasteRecord() argument 216 auto plainText = static_cast<UDMF::PlainText *>(record.get()); in PlainText2PasteRecord() 218 PASTEBOARD_HILOGD(PASTEBOARD_MODULE_CLIENT, "get PLAIN_TEXT record failed."); in PlainText2PasteRecord() 223 auto value = record->GetOriginValue(); in PlainText2PasteRecord() 237 std::shared_ptr<UnifiedRecord> PasteboardUtils::PasteRecord2PlaintText(const std::shared_ptr<PasteDataRecord> record) in PasteRecord2PlaintText() argument 255 Want2PasteRecord(const std::shared_ptr<UnifiedRecord> record) Want2PasteRecord() argument 273 PasteRecord2Want(const std::shared_ptr<PasteDataRecord> record) PasteRecord2Want() argument 287 Html2PasteRecord(const std::shared_ptr<UnifiedRecord> record) Html2PasteRecord() argument 310 PasteRecord2Html(const std::shared_ptr<PasteDataRecord> record) PasteRecord2Html() argument 328 Link2PasteRecord(const std::shared_ptr<UnifiedRecord> record) Link2PasteRecord() argument 351 PasteRecord2Link(const std::shared_ptr<PasteDataRecord> record) PasteRecord2Link() argument 369 File2PasteRecord(const std::shared_ptr<UnifiedRecord> record) File2PasteRecord() argument 382 PasteRecord2File(const std::shared_ptr<PasteDataRecord> record) PasteRecord2File() argument 401 Image2PasteRecord(const std::shared_ptr<UnifiedRecord> record) Image2PasteRecord() argument 414 PasteRecord2Image(const std::shared_ptr<PasteDataRecord> record) PasteRecord2Image() argument 433 Video2PasteRecord(const std::shared_ptr<UnifiedRecord> record) Video2PasteRecord() argument 446 PasteRecord2Video(const std::shared_ptr<PasteDataRecord> record) PasteRecord2Video() argument 465 Audio2PasteRecord(const std::shared_ptr<UnifiedRecord> record) Audio2PasteRecord() argument 478 PasteRecord2Audio(const std::shared_ptr<PasteDataRecord> record) PasteRecord2Audio() argument 497 Folder2PasteRecord(const std::shared_ptr<UnifiedRecord> record) Folder2PasteRecord() argument 510 PasteRecord2Folder(const std::shared_ptr<PasteDataRecord> record) PasteRecord2Folder() argument 529 PixelMap2PasteRecord(const std::shared_ptr<UnifiedRecord> record) PixelMap2PasteRecord() argument 547 PasteRecord2PixelMap(const std::shared_ptr<PasteDataRecord> record) PasteRecord2PixelMap() argument 561 AppItem2PasteRecord(const std::shared_ptr<UnifiedRecord> record) AppItem2PasteRecord() argument 588 PasteRecord2AppItem(const std::shared_ptr<PasteDataRecord> record) PasteRecord2AppItem() argument 605 Form2PasteRecord(const std::shared_ptr<UnifiedRecord> record) Form2PasteRecord() argument 620 PasteRecord2Form(const std::shared_ptr<PasteDataRecord> record) PasteRecord2Form() argument 635 SystemDefined2PasteRecord(const std::shared_ptr<UnifiedRecord> record) SystemDefined2PasteRecord() argument 649 PasteRecord2SystemDefined(const std::shared_ptr<PasteDataRecord> record) PasteRecord2SystemDefined() argument 661 Text2PasteRecord(const std::shared_ptr<UnifiedRecord> record) Text2PasteRecord() argument 676 PasteRecord2Text(std::shared_ptr<PasteDataRecord> record) PasteRecord2Text() argument 688 Custom2AppDefined( const std::shared_ptr<PasteDataRecord> record) Custom2AppDefined() argument 710 AppDefined2PasteRecord(const std::shared_ptr<UnifiedRecord> record) AppDefined2PasteRecord() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/ |
H A D | dd_draw.c | 948 dd_free_record(struct pipe_screen *screen, struct dd_draw_record *record) in dd_free_record() argument 950 u_log_page_destroy(record->log_page); in dd_free_record() 951 dd_unreference_copy_of_call(&record->call); in dd_free_record() 952 dd_unreference_copy_of_draw_state(&record->draw_state); in dd_free_record() 953 screen->fence_reference(screen, &record->prev_bottom_of_pipe, NULL); in dd_free_record() 954 screen->fence_reference(screen, &record->top_of_pipe, NULL); in dd_free_record() 955 screen->fence_reference(screen, &record->bottom_of_pipe, NULL); in dd_free_record() 956 util_queue_fence_destroy(&record->driver_finished); in dd_free_record() 957 FREE(record); in dd_free_record() 961 dd_write_record(FILE *f, struct dd_draw_record *record) in dd_write_record() argument 979 dd_maybe_dump_record(struct dd_screen *dscreen, struct dd_draw_record *record) dd_maybe_dump_record() argument 1164 struct dd_draw_record *record; dd_create_record() local 1187 dd_add_record(struct dd_context *dctx, struct dd_draw_record *record) dd_add_record() argument 1207 dd_before_draw(struct dd_context *dctx, struct dd_draw_record *record) dd_before_draw() argument 1235 struct dd_draw_record *record = (struct dd_draw_record *)data; dd_after_draw_async() local 1253 dd_after_draw(struct dd_context *dctx, struct dd_draw_record *record) dd_after_draw() argument 1286 struct dd_draw_record *record = dd_create_record(dctx); dd_context_flush() local 1316 struct dd_draw_record *record = dd_create_record(dctx); dd_context_draw_vbo() local 1358 struct dd_draw_record *record = dd_create_record(dctx); dd_context_draw_vertex_state() local 1385 struct dd_draw_record *record = dd_create_record(dctx); dd_context_launch_grid() local 1406 struct dd_draw_record *record = dd_create_record(dctx); dd_context_resource_copy_region() local 1432 struct dd_draw_record *record = dd_create_record(dctx); dd_context_blit() local 1457 struct dd_draw_record *record = dd_create_record(dctx); dd_context_generate_mipmap() local 1488 struct dd_draw_record *record = dd_create_record(dctx); dd_context_get_query_result_resource() local 1515 struct dd_draw_record *record = dd_create_record(dctx); dd_context_flush_resource() local 1533 struct dd_draw_record *record = dd_create_record(dctx); dd_context_clear() local 1558 struct dd_draw_record *record = dd_create_record(dctx); dd_context_clear_render_target() local 1577 struct dd_draw_record *record = dd_create_record(dctx); dd_context_clear_depth_stencil() local 1595 struct dd_draw_record *record = dd_create_record(dctx); dd_context_clear_buffer() local 1619 struct dd_draw_record *record = dd_create_record(dctx); dd_context_clear_texture() local 1640 struct dd_draw_record *record = dd_context_buffer_map() local 1674 struct dd_draw_record *record = dd_context_texture_map() local 1707 struct dd_draw_record *record = dd_context_transfer_flush_region() local 1733 struct dd_draw_record *record = dd_context_buffer_unmap() local 1758 struct dd_draw_record *record = dd_context_texture_unmap() local 1785 struct dd_draw_record *record = dd_context_buffer_subdata() local 1814 struct dd_draw_record *record = dd_context_texture_subdata() local [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | playlog.c | 85 /* check whether a MFT or INDX record is older than action */ 88 /* check whether a MFT or INDX record is newer than action */ 274 printf("** Invalid index record" in sanity_indx_list() 282 printf("** Invalid index record length %d\n", in sanity_indx_list() 289 printf("** Bad index record length %ld (computed %ld)\n", in sanity_indx_list() 301 * Rough check of sanity of an mft record 306 const MFT_RECORD *record; in sanity_mft() local 317 record = (const MFT_RECORD*)buffer; in sanity_mft() 318 nextinstance = le16_to_cpu(record->next_attr_instance); in sanity_mft() 320 k = le16_to_cpu(record in sanity_mft() 632 MFT_RECORD *record; write_protected() local 1536 MFT_RECORD *record; delete_names() local 1608 MFT_RECORD *record; insert_index_allocation() local 1709 const MFT_RECORD *record; check_full_mft() local 2008 MFT_RECORD *record; redo_create_file() local 2106 MFT_RECORD *record; redo_delete_file() local 3246 MFT_RECORD *record; undo_create_file() local 3298 MFT_RECORD *record; undo_delete_file() local [all...] |
/drivers/hdf_core/framework/core/manager/src/ |
H A D | devsvc_manager.c | 24 struct DevSvcRecord *record = NULL; in DevSvcManagerSearchServiceLocked() local 32 DLIST_FOR_EACH_ENTRY(record, &devSvcManager->services, struct DevSvcRecord, entry) { in DevSvcManagerSearchServiceLocked() 33 if (record->key == serviceKey) { in DevSvcManagerSearchServiceLocked() 34 searchResult = record; in DevSvcManagerSearchServiceLocked() 42 struct DevSvcManager *devSvcManager, const struct DevSvcRecord *record, uint32_t status) in NotifyServiceStatusLocked() 47 .deviceClass = record->devClass, in NotifyServiceStatusLocked() 48 .serviceName = record->servName, in NotifyServiceStatusLocked() 50 .info = record->servInfo, in NotifyServiceStatusLocked() 54 if ((holder->listenClass & record->devClass) && holder->NotifyStatus != NULL) { in NotifyServiceStatusLocked() 68 struct DevSvcRecord *record in NotifyServiceStatusOnRegisterLocked() local 41 NotifyServiceStatusLocked( struct DevSvcManager *devSvcManager, const struct DevSvcRecord *record, uint32_t status) NotifyServiceStatusLocked() argument 89 struct DevSvcRecord *record = NULL; DevSvcManagerAddService() local 135 struct DevSvcRecord *record = NULL; DevSvcManagerUpdateService() local 239 struct DevSvcRecord *record = NULL; DevSvcManagerListService() local 266 struct DevSvcRecord *record = NULL; DevSvcManagerListAllService() local 286 struct DevSvcRecord *record = NULL; DevSvcManagerListServiceByInterfaceDesc() local 421 struct DevSvcRecord *record = NULL; DevSvcManagerRelease() local [all...] |