/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | htc.c | 186 struct ath12k_htc_record *record; in ath12k_htc_process_trailer() local 190 record = (struct ath12k_htc_record *)buffer; in ath12k_htc_process_trailer() 192 if (length < sizeof(record->hdr)) { in ath12k_htc_process_trailer() 197 if (record->hdr.len > length) { in ath12k_htc_process_trailer() 198 /* no room left in buffer for record */ in ath12k_htc_process_trailer() 199 ath12k_warn(ab, "Invalid record length: %d\n", in ath12k_htc_process_trailer() 200 record->hdr.len); in ath12k_htc_process_trailer() 205 switch (record->hdr.id) { in ath12k_htc_process_trailer() 208 if (record->hdr.len < len) { in ath12k_htc_process_trailer() 214 record in ath12k_htc_process_trailer() [all...] |
/kernel/linux/linux-6.6/tools/tracing/rtla/src/ |
H A D | timerlat_top.c | 121 * timerlat_hist_update - record a new timerlat occurent on cpu, updating data 156 timerlat_top_handler(struct trace_seq *s, struct tep_record *record, in timerlat_top_handler() argument 163 int cpu = record->cpu; in timerlat_top_handler() 169 tep_get_field_val(s, event, "context", record, &thread, 1); in timerlat_top_handler() 170 tep_get_field_val(s, event, "timer_latency", record, &latency, 1); in timerlat_top_handler() 756 struct osnoise_tool *record = NULL; in timerlat_top_main() local 816 record = osnoise_init_trace_tool("timerlat"); in timerlat_top_main() 817 if (!record) { in timerlat_top_main() 823 retval = trace_events_enable(&record->trace, params->events); in timerlat_top_main() 864 trace_instance_start(&record in timerlat_top_main() [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_host_callback.cpp | 30 * @param record Form record. 33 void FormHostCallback::OnAcquired(const int64_t formId, const FormRecord& record, in OnAcquired() argument 37 FormTaskMgr::GetInstance().PostAcquireTaskToHost(formId, record, callerToken); in OnAcquired() 43 * @param record Form record. 46 void FormHostCallback::OnUpdate(const int64_t formId, const FormRecord &record, const sptr<IRemoteObject> &callerToken) in OnUpdate() argument 62 FormTaskMgr::GetInstance().PostUpdateTaskToHost(formId, record, callerToken); in OnUpdate()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | service_extension.cpp | 55 void ServiceExtension::Init(const std::shared_ptr<AbilityLocalRecord> &record, in Init() argument 60 ExtensionBase<ServiceExtensionContext>::Init(record, application, handler, token); in Init() 65 const std::shared_ptr<AbilityLocalRecord> &record, in CreateAndInitContext() 71 ExtensionBase<ServiceExtensionContext>::CreateAndInitContext(record, application, handler, token); in CreateAndInitContext() 64 CreateAndInitContext( const std::shared_ptr<AbilityLocalRecord> &record, const std::shared_ptr<OHOSApplication> &application, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) CreateAndInitContext() argument
|
/foundation/communication/netmanager_ext/frameworks/native/vpnextension/src/ |
H A D | vpn_extension.cpp | 59 void VpnExtension::Init(const std::shared_ptr<AbilityLocalRecord> &record, in Init() argument 64 ExtensionBase<VpnExtensionContext>::Init(record, application, handler, token); in Init() 69 const std::shared_ptr<AbilityLocalRecord> &record, in CreateAndInitContext() 75 ExtensionBase<VpnExtensionContext>::CreateAndInitContext(record, application, handler, token); in CreateAndInitContext() 68 CreateAndInitContext( const std::shared_ptr<AbilityLocalRecord> &record, const std::shared_ptr<OHOSApplication> &application, std::shared_ptr<AbilityHandler> &handler, const sptr<IRemoteObject> &token) CreateAndInitContext() argument
|
/foundation/ability/form_fwk/services/include/ |
H A D | form_data_mgr.h | 58 * @return Returns form record. 63 * @brief Create form js info by form record. 65 * @param record Form record. 68 void CreateFormJsInfo(const int64_t formId, const FormRecord &record, FormJsInfo &formInfo); 70 * @brief Delete form js info by form record. 81 * @brief Allot form host record by caller token. 122 * @brief Add form user uid from form record. 129 * @brief Delete form user uid from form record. 136 * @brief Update form record [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | data_ability_impl_file_test.cpp | 72 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 76 dataabilityimpl->Init(application, record, ability, handler, token); in HWTEST_F() 100 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 104 dataabilityimpl->Init(application, record, ability, handler, token); in HWTEST_F() 126 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 130 dataabilityimpl->Init(application, record, ability, handler, token); in HWTEST_F() 181 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 185 dataabilityimpl->Init(application, record, ability, handler, token); in HWTEST_F() 232 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 236 dataabilityimpl->Init(application, record, abilit in HWTEST_F() 283 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local [all...] |
H A D | extension_test.cpp | 57 auto record = std::make_shared<AbilityLocalRecord>(info, token, nullptr, 0); in SetUp() local 62 extension_->Init(record, application, handler, token); in SetUp() 72 * @tc.desc: record is null, application is null, handler is null, token is not null, Init failed. 77 std::shared_ptr<AppExecFwk::AbilityLocalRecord> record; in HWTEST_F() local 82 extension->Init(record, application, handler, token); in HWTEST_F() 92 * @tc.desc: record is not null, application is null, handler is null, token is not null, Init failed. 100 auto record = std::make_shared<AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); in HWTEST_F() local 105 extension->Init(record, application, handler, token); in HWTEST_F() 115 * @tc.desc: record is null, application is not null, handler is null, token is not null, Init failed. 120 std::shared_ptr<AppExecFwk::AbilityLocalRecord> record; in HWTEST_F() local 141 std::shared_ptr<AppExecFwk::AbilityLocalRecord> record; HWTEST_F() local 165 auto record = std::make_shared<AbilityLocalRecord>(info, token, nullptr, 0); HWTEST_F() local [all...] |
H A D | ability_impl_active_test.cpp | 128 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 137 abilityImpl->Init(application, record, ability, handler, token, contextDeal); in HWTEST_F() 168 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 177 abilityImpl->Init(application, record, ability, handler, token, contextDeal); in HWTEST_F() 208 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 217 abilityImpl->Init(application, record, ability, handler, token, contextDeal); in HWTEST_F() 247 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 256 abilityImpl->Init(application, record, ability, handler, token, contextDeal); in HWTEST_F() 287 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 296 abilityImpl->Init(application, record, abilit in HWTEST_F() 327 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); HWTEST_F() local [all...] |
H A D | service_ability_impl_test.cpp | 75 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 87 serviceAbilityImpl_->Init(application, record, ability, handler, token); in HWTEST_F() 116 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 128 serviceAbilityImpl_->Init(application, record, ability, handler, token); in HWTEST_F() 153 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 163 serviceAbilityImpl_->Init(application, record, ability, handler, token); in HWTEST_F() 189 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() local 199 serviceAbilityImpl_->Init(application, record, ability, handler, token); in HWTEST_F()
|
/kernel/linux/linux-5.10/tools/lib/traceevent/plugins/ |
H A D | plugin_tlb.c | 19 static int tlb_flush_handler(struct trace_seq *s, struct tep_record *record, in tlb_flush_handler() argument 26 tep_print_num_field(s, "%ld", event, "pages", record, 1); in tlb_flush_handler() 28 if (tep_get_field_val(s, event, "reason", record, &val, 1) < 0) in tlb_flush_handler()
|
/third_party/node/deps/v8/src/utils/ |
H A D | locked-queue.h | 28 inline void Enqueue(Record record); 29 inline bool Dequeue(Record* record); 31 inline bool Peek(Record* record) const;
|
/third_party/python/Lib/test/support/ |
H A D | logging_helper.py | 16 def emit(self, record): 17 self.format(record) 18 self.buffer.append(record.__dict__)
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | cloud_db_proxy.cpp | 95 int CloudDBProxy::BatchInsert(const std::string &tableName, std::vector<VBucket> &record, in BatchInsert() argument 104 context->MoveInRecordAndExtend(record, extend); in BatchInsert() 108 context->MoveOutRecordAndExtend(record, extend); in BatchInsert() 112 int CloudDBProxy::BatchUpdate(const std::string &tableName, std::vector<VBucket> &record, in BatchUpdate() argument 122 context->MoveInRecordAndExtend(record, extend); in BatchUpdate() 125 context->MoveOutRecordAndExtend(record, extend); in BatchUpdate() 129 int CloudDBProxy::BatchDelete(const std::string &tableName, std::vector<VBucket> &record, std::vector<VBucket> &extend, in BatchDelete() argument 138 context->MoveInRecordAndExtend(record, extend); in BatchDelete() 142 context->MoveOutRecordAndExtend(record, extend); in BatchDelete() 335 std::vector<VBucket> record; in DMLActionTask() local 499 MoveInRecordAndExtend(std::vector<VBucket> &record, std::vector<VBucket> &extend) MoveInRecordAndExtend() argument 513 MoveOutRecordAndExtend(std::vector<VBucket> &record, std::vector<VBucket> &extend) MoveOutRecordAndExtend() argument [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-color-colr-table.hh | 155 * layer record. There will be 996 ClipRecord record; in serialize_clip_records() local 997 record.startGlyphID = start_gid; in serialize_clip_records() 998 record.endGlyphID = prev_gid; in serialize_clip_records() 999 record.clipBox = prev_offset; in serialize_clip_records() 1001 if (!c->copy (record, this)) return_trace (0); in serialize_clip_records() 1011 ClipRecord record; in serialize_clip_records() local 1012 record.startGlyphID = start_gid; in serialize_clip_records() 1013 record.endGlyphID = prev_gid; in serialize_clip_records() 1014 record in serialize_clip_records() 1257 const BaseGlyphRecord &record = (this+baseGlyphsZ).bsearch (numBaseGlyphs, glyph); get_glyph_layers() local 1303 const BaseGlyphRecord *record = get_base_glyph_record (glyph); closure_glyphs() local 1396 auto* record = c->embed (_); serialize_V0() local 1416 const BaseGlyphRecord* record = &(this+baseGlyphsZ).bsearch (numBaseGlyphs, (unsigned int) gid); get_base_glyph_record() local 1424 const BaseGlyphPaintRecord* record = &(this+baseGlyphList).bsearch ((unsigned) gid); get_base_glyph_paintrecord() local [all...] |
H A D | hb-ot-layout-base-table.hh | 289 const BaseLangSysRecord& record = baseLangSysRecords.bsearch (language_tag); in get_min_max() local 290 return record.has_data () ? record.get_min_max () : this+defaultMinMax; in get_min_max() 354 const BaseScriptRecord *record = &baseScriptRecords.bsearch (script); in get_base_script() local 355 if (!record->has_data ()) record = &baseScriptRecords.bsearch (HB_TAG ('D','F','L','T')); in get_base_script() 356 return record->has_data () ? record->get_base_script (this) : Null (BaseScript); in get_base_script()
|
/kernel/linux/linux-5.10/tools/lib/traceevent/ |
H A D | parse-filter.c | 1525 struct tep_record *record, enum tep_errno *err); 1528 get_comm(struct tep_event *event, struct tep_record *record) in get_comm() argument 1533 pid = tep_data_pid(event->tep, record); in get_comm() 1540 struct tep_format_field *field, struct tep_record *record) in get_value() 1548 name = get_comm(event, record); in get_value() 1554 return record->cpu; in get_value() 1556 tep_read_number_field(field, record->data, &val); in get_value() 1576 struct tep_record *record, enum tep_errno *err); 1580 struct tep_record *record, enum tep_errno *err) in get_exp_value() 1584 lval = get_arg_value(event, arg->exp.left, record, er in get_exp_value() 1539 get_value(struct tep_event *event, struct tep_format_field *field, struct tep_record *record) get_value() argument 1579 get_exp_value(struct tep_event *event, struct tep_filter_arg *arg, struct tep_record *record, enum tep_errno *err) get_exp_value() argument 1634 get_arg_value(struct tep_event *event, struct tep_filter_arg *arg, struct tep_record *record, enum tep_errno *err) get_arg_value() argument 1658 test_num(struct tep_event *event, struct tep_filter_arg *arg, struct tep_record *record, enum tep_errno *err) test_num() argument 1699 get_field_str(struct tep_filter_arg *arg, struct tep_record *record) get_field_str() argument 1749 test_str(struct tep_event *event, struct tep_filter_arg *arg, struct tep_record *record, enum tep_errno *err) test_str() argument 1780 test_op(struct tep_event *event, struct tep_filter_arg *arg, struct tep_record *record, enum tep_errno *err) test_op() argument 1802 test_filter(struct tep_event *event, struct tep_filter_arg *arg, struct tep_record *record, enum tep_errno *err) test_filter() argument 1874 tep_filter_match(struct tep_event_filter *filter, struct tep_record *record) tep_filter_match() argument [all...] |
/foundation/resourceschedule/background_task_mgr/services/common/src/ |
H A D | data_storage_helper.cpp | 50 auto record = iter.second; in RefreshTaskRecord() local 51 std::string data = record->ParseToJsonStr(); in RefreshTaskRecord() 69 std::shared_ptr<ContinuousTaskRecord> record = std::make_shared<ContinuousTaskRecord>(); in RestoreTaskRecord() local 70 if (record->ParseFromJson(recordJson)) { in RestoreTaskRecord() 71 allRecord.emplace(iter.key(), record); in RestoreTaskRecord() 80 std::string record {""}; in RefreshResourceRecord() 81 ConvertMapToString(appRecord, processRecord, record); in RefreshResourceRecord() 82 return SaveJsonValueToFile(record, RESOURCE_RECORD_FILE_PATH); in RefreshResourceRecord()
|
/foundation/communication/nfc/test/unittest/services/tags_test/ |
H A D | ndef_message_test.cpp | 228 std::shared_ptr<NdefRecord> record = std::make_shared<NdefRecord>();
in HWTEST_F() local 229 record->tnf_ = 0x00;
in HWTEST_F() 230 record->payload_ = "00000000";
in HWTEST_F() 232 NdefMessage::NdefRecordToString(record, buffer, true, true);
in HWTEST_F() 236 record->tnf_ = 0x01;
in HWTEST_F() 237 record->id_ = "";
in HWTEST_F() 238 record->payload_ = payload;
in HWTEST_F() 240 NdefMessage::NdefRecordToString(record, buffer, true, true);
in HWTEST_F()
|
/foundation/ability/form_fwk/test/unittest/fms_form_data_proxy_record_test/ |
H A D | fms_form_data_proxy_record_test.cpp | 783 FormDataProxyRecord::SubscribeResultRecord record; in HWTEST_F() local 785 records.emplace(subscribeId, record); in HWTEST_F() 810 FormDataProxyRecord::SubscribeResultRecord record; in HWTEST_F() local 811 record.subscribeId = subscribeId; in HWTEST_F() 812 record.uri = uriString; in HWTEST_F() 813 record.ret = 0; in HWTEST_F() 814 record.retry = false; in HWTEST_F() 815 record.retryRet = 0; in HWTEST_F() 817 records.emplace(subscribeId, record); in HWTEST_F() 840 FormDataProxyRecord::SubscribeResultRecord record; in HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/data_ability/ |
H A D | data_ability_manager.cpp | 209 auto record = Token::GetAbilityRecordByToken(token); in AttachAbilityThread() local 211 if (record != nullptr) { in AttachAbilityThread() 212 abilityName = record->GetAbilityInfo().name; in AttachAbilityThread() 261 auto record = Token::GetAbilityRecordByToken(token); in AbilityTransitionDone() local 263 if (record != nullptr) { in AbilityTransitionDone() 264 abilityName = record->GetAbilityInfo().name; in AbilityTransitionDone() 265 record->RemoveSignatureInfo(); in AbilityTransitionDone() 308 TAG_LOGD(AAFwkTag::DATA_ABILITY, "Removing died data ability record..."); in OnAbilityDied() 556 std::shared_ptr<DataAbilityRecord> record) const in DumpClientInfo() 558 if (record in DumpClientInfo() 676 ReportDataAbilityAcquired(const sptr<IRemoteObject> &client, bool isNotHap, std::shared_ptr<DataAbilityRecord> &record) ReportDataAbilityAcquired() argument 696 ReportDataAbilityReleased(const sptr<IRemoteObject> &client, bool isNotHap, std::shared_ptr<DataAbilityRecord> &record) ReportDataAbilityReleased() argument [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp_redirect_cpu_user.c | 176 /* Common stats data record shared with _kern.c */ 185 struct record { struct 191 struct record rx_cnt; 192 struct record redir_err; 193 struct record kthread; 194 struct record exception; 195 struct record enq[]; 198 static bool map_collect_percpu(int fd, __u32 key, struct record *rec) in map_collect_percpu() 261 size = sizeof(*rec) + n_cpus * sizeof(struct record); in alloc_stats_record() 291 static double calc_period(struct record * 660 struct stats_record *record, *prev; stats_poll() local [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | arm-spe.c | 230 struct arm_spe_record *record = &speq->decoder->record; in arm_spe_prep_sample() local 235 sample->ip = record->from_ip; in arm_spe_prep_sample() 239 sample->addr = record->to_ip; in arm_spe_prep_sample() 293 const struct arm_spe_record *record = &speq->decoder->record; in arm_spe_sample() local 298 if (record->type & ARM_SPE_L1D_MISS) { in arm_spe_sample() 305 if (record->type & ARM_SPE_L1D_ACCESS) { in arm_spe_sample() 314 if (record->type & ARM_SPE_LLC_MISS) { in arm_spe_sample() 321 if (record in arm_spe_sample() 403 struct arm_spe_record *record; arm_spe__setup_queue() local [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | dlp_state_item.h | 28 * DlpStateItem,This class is used to record connection state of a process. 38 * @param record target dlp ability. 42 bool AddDlpConnectionState(const std::shared_ptr<AbilityRecord> &record, AbilityRuntime::DlpStateData &data); 47 * @param record target dlp ability. 51 bool RemoveDlpConnectionState(const std::shared_ptr<AbilityRecord> &record, AbilityRuntime::DlpStateData &data); 59 bool HandleDlpConnectionState(const std::shared_ptr<AbilityRecord> &record, bool isAdd,
|
/kernel/linux/linux-6.6/include/acpi/ |
H A D | apei.h | 42 int erst_write(const struct cper_record_header *record); 47 ssize_t erst_read(u64 record_id, struct cper_record_header *record, 49 ssize_t erst_read_record(u64 record_id, struct cper_record_header *record,
|