/kernel/linux/linux-5.10/drivers/misc/cxl/ |
H A D | vphb.c | 106 int record; in cxl_pcie_config_info() local 108 record = cxl_pcie_cfg_record(bus->number, devfn); in cxl_pcie_config_info() 109 if (record > afu->crs_num) in cxl_pcie_config_info() 112 *_record = record; in cxl_pcie_config_info() 119 int rc, record; in cxl_pcie_read_config() local 130 rc = cxl_pcie_config_info(bus, devfn, afu, &record); in cxl_pcie_read_config() 136 rc = cxl_ops->afu_cr_read8(afu, record, offset, &val8); in cxl_pcie_read_config() 140 rc = cxl_ops->afu_cr_read16(afu, record, offset, &val16); in cxl_pcie_read_config() 144 rc = cxl_ops->afu_cr_read32(afu, record, offset, &val32); in cxl_pcie_read_config() 159 int rc, record; in cxl_pcie_write_config() local [all...] |
/kernel/linux/linux-6.6/drivers/misc/cxl/ |
H A D | vphb.c | 100 int record; in cxl_pcie_config_info() local 102 record = cxl_pcie_cfg_record(bus->number, devfn); in cxl_pcie_config_info() 103 if (record > afu->crs_num) in cxl_pcie_config_info() 106 *_record = record; in cxl_pcie_config_info() 113 int rc, record; in cxl_pcie_read_config() local 124 rc = cxl_pcie_config_info(bus, devfn, afu, &record); in cxl_pcie_read_config() 130 rc = cxl_ops->afu_cr_read8(afu, record, offset, &val8); in cxl_pcie_read_config() 134 rc = cxl_ops->afu_cr_read16(afu, record, offset, &val16); in cxl_pcie_read_config() 138 rc = cxl_ops->afu_cr_read32(afu, record, offset, &val32); in cxl_pcie_read_config() 153 int rc, record; in cxl_pcie_write_config() local [all...] |
/third_party/python/Doc/tools/extensions/ |
H A D | c_annotations.py | 95 for record in csv.DictReader(fp): 96 role = record['role'] 97 name = record['name'] 98 self.stable_abi_data[name] = record 122 record = self.stable_abi_data.get(name) 123 if record: 124 if record['role'] != objtype: 127 f"for {name}: {record['role']!r} != {objtype!r}") 128 stable_added = record['added'] 135 struct_abi_kind = record['struct_abi_kin [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras_eeprom.c | 179 struct eeprom_table_record *record = &records[i]; in __calc_recs_byte_sum() local 181 for (j = 0; j < sizeof(*record); j++) { in __calc_recs_byte_sum() 182 tbl_sum += *(((unsigned char *)record) + j); in __calc_recs_byte_sum() 341 struct eeprom_table_record *record, in __encode_table_record_to_buff() 347 /* Next are all record fields according to EEPROM page spec in LE foramt */ in __encode_table_record_to_buff() 348 buff[i++] = record->err_type; in __encode_table_record_to_buff() 350 buff[i++] = record->bank; in __encode_table_record_to_buff() 352 tmp = cpu_to_le64(record->ts); in __encode_table_record_to_buff() 356 tmp = cpu_to_le64((record->offset & 0xffffffffffff)); in __encode_table_record_to_buff() 360 buff[i++] = record in __encode_table_record_to_buff() 340 __encode_table_record_to_buff(struct amdgpu_ras_eeprom_control *control, struct eeprom_table_record *record, unsigned char *buff) __encode_table_record_to_buff() argument 367 __decode_table_record_from_buff(struct amdgpu_ras_eeprom_control *control, struct eeprom_table_record *record, unsigned char *buff) __decode_table_record_from_buff() argument 479 struct eeprom_table_record *record; amdgpu_ras_eeprom_process_recods() local [all...] |
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_slot_filter_test.cpp | 83 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>(); in HWTEST_F() local 84 ErrCode result = notificationSlotFilter.OnPublish(record); in HWTEST_F() 97 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>(); in HWTEST_F() local 98 record->request = new NotificationRequest(); in HWTEST_F() 99 record->notification = new Notification(record->request); in HWTEST_F() 100 record->slot = new NotificationSlot(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F() 101 notificationSlotFilter.OnPublish(record); in HWTEST_F()
|
/third_party/skia/tests/ |
H A D | RecordTestUtils.h | 29 // Assert that the ith command in record is of type T, and return it. 31 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, int index) { in assert_type() argument 33 record.visit(index, reader); in assert_type() 44 template <typename DrawT> int count_instances_of_type(const SkRecord& record) { in count_instances_of_type() argument 47 for (int i = 0; i < record.count(); i++) { in count_instances_of_type() 48 counter += record.visit(i, matcher); in count_instances_of_type() 53 template <typename DrawT> int find_first_instances_of_type(const SkRecord& record) { in find_first_instances_of_type() argument 55 for (int i = 0; i < record.count(); i++) { in find_first_instances_of_type() 56 if (record.visit(i, matcher)) { in find_first_instances_of_type()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | nvram_64.c | 379 * @record: pstore record to write, with @id to be set 385 static int nvram_pstore_write(struct pstore_record *record) in nvram_pstore_write() argument 392 if (record->part > 1 || (record->type != PSTORE_TYPE_DMESG)) in nvram_pstore_write() 399 oops_hdr->report_length = cpu_to_be16(record->size); in nvram_pstore_write() 402 if (record->compressed) in nvram_pstore_write() 406 (int) (sizeof(*oops_hdr) + record->size), err_type, in nvram_pstore_write() 407 record->count); in nvram_pstore_write() 412 record in nvram_pstore_write() 421 nvram_pstore_read(struct pstore_record *record) nvram_pstore_read() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | nvram_64.c | 379 * @record: pstore record to write, with @id to be set 385 static int nvram_pstore_write(struct pstore_record *record) in nvram_pstore_write() argument 392 if (record->part > 1 || (record->type != PSTORE_TYPE_DMESG)) in nvram_pstore_write() 399 oops_hdr->report_length = cpu_to_be16(record->size); in nvram_pstore_write() 402 if (record->compressed) in nvram_pstore_write() 406 (int) (sizeof(*oops_hdr) + record->size), err_type, in nvram_pstore_write() 407 record->count); in nvram_pstore_write() 412 record in nvram_pstore_write() 421 nvram_pstore_read(struct pstore_record *record) nvram_pstore_read() argument [all...] |
/test/xts/acts/distributeddatamgr/UDMFtest/UDMFndktestHvigor/entry/src/main/cpp/ |
H A D | udmf_ndk_test.cpp | 40 OH_UdmfRecord *record = OH_UdmfRecord_Create();
in OH_Udmf_AddRecordToUnifiedData001() local 42 int status = OH_UdmfData_AddRecord(unifiedData, record);
in OH_Udmf_AddRecordToUnifiedData001() 45 OH_UdmfRecord_Destroy(record);
in OH_Udmf_AddRecordToUnifiedData001() 53 OH_UdmfRecord *record = OH_UdmfRecord_Create();
in OH_Udmf_HasUnifiedDataType001() local 55 OH_UdmfRecord_AddPlainText(record, plainText);
in OH_Udmf_HasUnifiedDataType001() 56 OH_UdmfData_AddRecord(unifiedData, record);
in OH_Udmf_HasUnifiedDataType001() 67 OH_UdmfRecord_Destroy(record);
in OH_Udmf_HasUnifiedDataType001() 74 OH_UdmfRecord *record = OH_UdmfRecord_Create();
in OH_Udmf_GetUnifiedDataTypes001() local 76 OH_UdmfRecord_AddPlainText(record, plainText);
in OH_Udmf_GetUnifiedDataTypes001() 77 OH_UdmfData_AddRecord(unifiedData, record);
in OH_Udmf_GetUnifiedDataTypes001() 100 OH_UdmfRecord *record = OH_UdmfRecord_Create(); OH_Udmf_GetUnifiedRecordTypes001() local 118 OH_UdmfRecord *record = OH_UdmfRecord_Create(); OH_Udmf_GetRecords001() local 137 OH_UdmfRecord *record = OH_UdmfRecord_Create(); OH_Udmf_SetAndGetUnifiedData001() local 176 OH_UdmfRecord *record = OH_UdmfRecord_Create(); OH_Udmf_SetAndGetUnifiedData002() local 216 OH_UdmfRecord *record = OH_UdmfRecord_Create(); OH_Udmf_GetRecords002() local 246 OH_UdmfRecord *record = OH_UdmfRecord_Create(); OH_Udmf_AddAndGetGeneralEntry001() local [all...] |
/third_party/skia/src/core/ |
H A D | SkTextBlobTrace.cpp | 35 SkTextBlobTrace::Record record; in CreateBlobTrace() local 36 record.origUniqueID = readBuffer.readUInt(); in CreateBlobTrace() 37 record.paint = readBuffer.readPaint(); in CreateBlobTrace() 38 readBuffer.readPoint(&record.offset); in CreateBlobTrace() 39 record.blob = SkTextBlobPriv::MakeFromBuffer(readBuffer); in CreateBlobTrace() 40 trace.push_back(std::move(record)); in CreateBlobTrace() 46 for (const SkTextBlobTrace::Record& record : trace) { in DumpTrace() 47 const SkTextBlob* blob = record.blob.get(); in DumpTrace() 48 const SkPaint& p = record.paint; in DumpTrace() 54 blob->uniqueID(), record in DumpTrace() [all...] |
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/ |
H A D | notification_subscriber_manager_branch_test.cpp | 132 * @tc.desc : test OnRemoteDied function and record == nullptr
153 std::shared_ptr<NotificationSubscriberManager::SubscriberRecord> record =
in HWTEST_F() local 156 notificationSubscriberManager->AddRecordInfo(record, subscribeInfo);
in HWTEST_F() 162 * @tc.desc : test RemoveSubscriberInner function and record == nullptr
183 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>();
in HWTEST_F() local 184 record->notification = new Notification();
in HWTEST_F() 185 record->request = new NotificationRequest();
in HWTEST_F() 186 advancedNotificationService.notificationList_.push_back(record);
in HWTEST_F() 194 * @tc.desc : test ActiveNotificationDump function and bundle != record->notification->GetBundleName().
202 std::shared_ptr<NotificationRecord> record in HWTEST_F() local 222 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>(); HWTEST_F() local 243 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>(); HWTEST_F() local 266 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>(); HWTEST_F() local 289 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>(); HWTEST_F() local 306 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>(); HWTEST_F() local 324 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>(); HWTEST_F() local 343 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>(); HWTEST_F() local 363 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>(); HWTEST_F() local 386 std::shared_ptr<NotificationRecord> record = std::make_shared<NotificationRecord>(); HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_event_service.cpp | 172 void AdvancedNotificationService::SendFlowControlOccurHiSysEvent(const std::shared_ptr<NotificationRecord> &record) in SendFlowControlOccurHiSysEvent() argument 174 if (record == nullptr || record->request == nullptr || record->bundleOption == nullptr) { in SendFlowControlOccurHiSysEvent() 179 eventInfo.notificationId = record->request->GetNotificationId(); in SendFlowControlOccurHiSysEvent() 180 eventInfo.bundleName = record->bundleOption->GetBundleName(); in SendFlowControlOccurHiSysEvent() 181 eventInfo.uid = record->bundleOption->GetUid(); in SendFlowControlOccurHiSysEvent() 186 const std::shared_ptr<NotificationRecord> &record, int32_t uploadStatus) in SendLiveViewUploadHiSysEvent() 188 if (record == nullptr || record in SendLiveViewUploadHiSysEvent() 185 SendLiveViewUploadHiSysEvent( const std::shared_ptr<NotificationRecord> &record, int32_t uploadStatus) SendLiveViewUploadHiSysEvent() argument [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | anm.c | 45 int record; /**< current record (with in page) */ member 62 * @return page containing the requested record or AVERROR_XXX 64 static int find_record(const AnmDemuxContext *anm, int record) in find_record() argument 68 if (record >= anm->nb_records) in find_record() 73 if (p->nb_records > 0 && record >= p->base_record && record < p->base_record + p->nb_records) in find_record() 113 /* ignore last delta record (used for looping) */ in read_header() 158 anm->record = -1; in read_header() 184 if (anm->record < in read_packet() [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
H A D | CanonGSUBBuilder.java | 77 ArabicCharacterData.Record record = data.getRecord(i); in buildArabicContextualForms() 78 String decomposition = record.getDecomposition(); in buildArabicContextualForms() 81 int contextual = record.getCodePoint(); in buildArabicContextualForms() 82 int isolated = UTF16.charAt(record.getDecomposition(), 0); in buildArabicContextualForms() 84 switch (record.getDecompositionType()) { in buildArabicContextualForms() 119 ArabicCharacterData.Record record = data.getRecord(i); in buildArabicLigatureTree() 120 String decomposition = record.getDecomposition(); in buildArabicLigatureTree() 123 int ligature = record.getCodePoint(); in buildArabicLigatureTree() 124 int decompType = record.getDecompositionType(); in buildArabicLigatureTree() 185 static int getGlyphClass(ArabicCharacterData.Record record) in getGlyphClass() argument [all...] |
/kernel/linux/linux-5.10/drivers/acpi/apei/ |
H A D | erst.c | 504 /* record id already in cache, try next */ in __erst_record_id_cache_add_one() 516 pr_warn(FW_WARN "too many record IDs!\n"); in __erst_record_id_cache_add_one() 536 * Get the record ID of an existing error record on the persistent 537 * storage. If there is no error record on the persistent storage, the 557 /* found next record id in cache */ in erst_get_record_id_next() 564 /* Try to add one more record ID to cache */ in erst_get_record_id_next() 749 static int __erst_write_to_nvram(const struct cper_record_header *record) in __erst_write_to_nvram() argument 767 int erst_write(const struct cper_record_header *record) in erst_write() argument 776 if (memcmp(record in erst_write() 820 __erst_read(u64 record_id, struct cper_record_header *record, size_t buflen) __erst_read() argument 843 erst_read(u64 record_id, struct cper_record_header *record, size_t buflen) erst_read() argument 972 erst_reader(struct pstore_record *record) erst_reader() argument 1040 erst_writer(struct pstore_record *record) erst_writer() argument 1088 erst_clearer(struct pstore_record *record) erst_clearer() argument [all...] |
/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/ |
H A D | AppLaunchSceneDataProcessor.h | 63 void SaveCheckPoint(AppStartRecord& record, const AppStartCheckPointData& data); 76 bool HaveStartPoint(const AppStartRecord& record); 77 bool HaveAllEndPoints(const AppStartRecord& record); 78 bool HaveEndPoint(const AppStartRecord& record); 79 bool HaveResponseOrCompletedPoint(const AppStartRecord& record); 80 std::string GetProcessName(const AppStartRecord& record); 81 int32_t GetAppPid(const AppStartRecord& record); 82 uint64_t GetInputTime(const AppStartRecord& record); 86 void CalcLatency(AppStartMetrics& appStartMetrics, const AppStartRecord& record, const uint64_t inputTime);
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | record.sh | 2 # perf record tests 30 if ! perf record -o /dev/null --quiet ${testprog} 2> /dev/null 32 echo "Per-thread record [Skipped event not supported]" 35 if ! perf record --per-thread -o "${perfdata}" ${testprog} 2> /dev/null 37 echo "Per-thread record [Failed record]" 43 echo "Per-thread record [Failed missing output]" 55 perf record -p "${TESTPID}" --per-thread -o "${perfdata}" sleep 1 2> /dev/null 60 echo "Per-thread record [Failed record [all...] |
H A D | record_bpf_filter.sh | 2 # perf record sample filtering (by BPF) tests 31 if ! perf record -e task-clock --filter 'period > 1' \ 43 if ! perf record -e task-clock -c 10000 --filter 'ip < 0xffffffff00000000' \ 46 echo "Basic bpf-filter test [Failed record]" 69 if ! perf record -e task-clock --filter 'cpu > 0' \ 77 if ! perf record --sample-cpu -e task-clock --filter 'cpu > 0' \ 91 if ! perf record -e task-clock --filter 'period > 1000 || ip > 0' \ 99 if ! perf record -e task-clock --filter 'cpu > 0 || ip > 0' \ 107 if ! perf record -e task-clock --filter 'period > 0 || code_pgsz > 4096' \
|
/base/sensors/miscdevice/services/miscdevice_service/src/ |
H A D | miscdevice_dump.cpp | 107 {"record", no_argument, 0, 'r'}, in RunVibratorDump() 135 dprintf(fd, " -r, --record: dump the list of vibrate recorded\n"); in DumpHelp() 147 auto record = dumpQueue_.front(); in DumpMiscdeviceRecord() local 148 dumpQueue_.push(record); in DumpMiscdeviceRecord() 150 VibrateInfo info = record.info; in DumpMiscdeviceRecord() 153 record.startTime.c_str(), info.uid, info.pid, info.packageName.c_str(), in DumpMiscdeviceRecord() 157 record.startTime.c_str(), info.uid, info.pid, info.packageName.c_str(), in DumpMiscdeviceRecord() 161 record.startTime.c_str(), info.uid, info.pid, info.packageName.c_str(), in DumpMiscdeviceRecord() 180 void MiscdeviceDump::UpdateRecordQueue(const VibrateRecord &record) in UpdateRecordQueue() argument 183 dumpQueue_.push(record); in UpdateRecordQueue() 191 VibrateRecord record; SaveVibrateRecord() local [all...] |
/kernel/linux/linux-5.10/fs/hfs/ |
H A D | bfind.c | 56 /* Find the record in bnode that best matches key (not greater than...)*/ 98 fd->record = e; in __hfs_brec_find() 108 /* Return allocated copy of node found, set recnum to best record */ 143 if (fd->record < 0) in hfs_brec_find() 188 while (cnt > fd->record) { in hfs_brec_goto() 189 cnt -= fd->record + 1; in hfs_brec_goto() 190 fd->record = bnode->num_recs - 1; in hfs_brec_goto() 204 fd->record -= cnt; in hfs_brec_goto() 206 while (cnt >= bnode->num_recs - fd->record) { in hfs_brec_goto() 207 cnt -= bnode->num_recs - fd->record; in hfs_brec_goto() [all...] |
/kernel/linux/linux-6.6/fs/hfs/ |
H A D | bfind.c | 54 /* Find the record in bnode that best matches key (not greater than...)*/ 96 fd->record = e; in __hfs_brec_find() 106 /* Return allocated copy of node found, set recnum to best record */ 141 if (fd->record < 0) in hfs_brec_find() 186 while (cnt > fd->record) { in hfs_brec_goto() 187 cnt -= fd->record + 1; in hfs_brec_goto() 188 fd->record = bnode->num_recs - 1; in hfs_brec_goto() 202 fd->record -= cnt; in hfs_brec_goto() 204 while (cnt >= bnode->num_recs - fd->record) { in hfs_brec_goto() 205 cnt -= bnode->num_recs - fd->record; in hfs_brec_goto() [all...] |
/third_party/node/deps/v8/src/profiler/ |
H A D | cpu-profiler.cc | 145 TickSampleEventRecord record(last_code_event_id_); in AddDeoptStack() 151 record.sample.Init(isolate_, regs, TickSample::kSkipCEntryFrame, false, in AddDeoptStack() 153 ticks_from_vm_buffer_.Enqueue(record); in AddDeoptStack() 157 TickSampleEventRecord record(last_code_event_id_); in AddCurrentStack() 166 record.sample.Init(isolate_, regs, TickSample::kSkipCEntryFrame, update_stats, in AddCurrentStack() 168 ticks_from_vm_buffer_.Enqueue(record); in AddCurrentStack() 172 TickSampleEventRecord record(last_code_event_id_); in AddSample() 173 record.sample = sample; in AddSample() 174 ticks_from_vm_buffer_.Enqueue(record); in AddSample() 191 CodeEventsContainer record; in ProcessCodeEvent() local 231 SymbolizeAndAddToProfiles( const TickSampleEventRecord* record) SymbolizeAndAddToProfiles() argument 249 TickSampleEventRecord record; ProcessOneSample() local 255 const TickSampleEventRecord* record = ticks_buffer_.Peek(); ProcessOneSample() local 380 CodeEventsContainer record = evt_rec; CodeEventHandlerInternal() local [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_sqtt.c | 633 list_inithead(&sctx->thread_trace->rgp_pso_correlation.record); in si_init_thread_trace() 636 list_inithead(&sctx->thread_trace->rgp_loader_events.record); in si_init_thread_trace() 639 list_inithead(&sctx->thread_trace->rgp_code_object.record); in si_init_thread_trace() 671 list_for_each_entry_safe(struct rgp_pso_correlation_record, record, in si_destroy_thread_trace() 672 &pso_correlation->record, list) { in si_destroy_thread_trace() 673 list_del(&record->list); in si_destroy_thread_trace() 674 free(record); in si_destroy_thread_trace() 678 list_for_each_entry_safe(struct rgp_loader_events_record, record, in si_destroy_thread_trace() 679 &loader_events->record, list) { in si_destroy_thread_trace() 680 list_del(&record in si_destroy_thread_trace() 1018 struct rgp_code_object_record *record; si_sqtt_add_code_object() local [all...] |
/test/xts/hats/kernel/memtracker/ |
H A D | MemTrackerTest.cpp | 69 for (auto record : records) { in HWTEST_F() 70 printf("memtrack: \trecords[%d], flag=%d, size=%lld \n", i++, record.flags, (long long)record.size); in HWTEST_F() 89 for (auto record : records) { in HWTEST_F() 90 printf("memtrack: \trecords[%d], flag=%d, size=%lld \n", i++, record.flags, (long long)record.size); in HWTEST_F()
|
/kernel/linux/linux-6.6/tools/tracing/rtla/src/ |
H A D | osnoise_top.c | 108 osnoise_top_handler(struct trace_seq *s, struct tep_record *record, in osnoise_top_handler() argument 116 int cpu = record->cpu; in osnoise_top_handler() 125 tep_get_field_val(s, event, "runtime", record, &val, 1); in osnoise_top_handler() 128 tep_get_field_val(s, event, "noise", record, &val, 1); in osnoise_top_handler() 132 tep_get_field_val(s, event, "max_sample", record, &val, 1); in osnoise_top_handler() 135 tep_get_field_val(s, event, "hw_count", record, &val, 1); in osnoise_top_handler() 138 tep_get_field_val(s, event, "nmi_count", record, &val, 1); in osnoise_top_handler() 141 tep_get_field_val(s, event, "irq_count", record, &val, 1); in osnoise_top_handler() 144 tep_get_field_val(s, event, "softirq_count", record, &val, 1); in osnoise_top_handler() 147 tep_get_field_val(s, event, "thread_count", record, in osnoise_top_handler() 664 struct osnoise_tool *record = NULL; osnoise_top_main() local [all...] |