/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...] |
/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...] |
/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...] |
/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...] |
/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...] |
/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...] |
/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...] |
/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...] |
/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/ability/ability_runtime/test/moduletest/common/ams/app_running_record_test/ |
H A D | ams_app_running_record_module_test.cpp | 70 std::shared_ptr<AppRunningRecord> record, const std::string& testPoint) const in CheckLaunchApplication() 72 EXPECT_TRUE(record != nullptr) << "record is nullptr!"; in CheckLaunchApplication() 74 record->SetApplicationClient(client); in CheckLaunchApplication() 91 record->LaunchApplication(config); in CheckLaunchApplication() 99 const std::shared_ptr<AbilityInfo> abilityInfo, const std::shared_ptr<AppRunningRecord> record, const int index, in CheckAppRunningRecording() 105 EXPECT_TRUE(record != nullptr) << "record is nullptr!"; in CheckAppRunningRecording() 106 auto abilityRecord = record->GetAbilityRunningRecordByToken(GetMockToken()); in CheckAppRunningRecording() 107 int32_t id = record in CheckAppRunningRecording() 69 CheckLaunchApplication(const sptr<MockApplication>& mockApplication, const unsigned long index, std::shared_ptr<AppRunningRecord> record, const std::string& testPoint) const CheckLaunchApplication() argument 98 CheckAppRunningRecording(const std::shared_ptr<ApplicationInfo> appInfo, const std::shared_ptr<AbilityInfo> abilityInfo, const std::shared_ptr<AppRunningRecord> record, const int index, RecordQueryResult& result) const CheckAppRunningRecording() argument 199 auto record = service_->CreateAppRunningRecord( HWTEST_F() local 266 auto record = service_->CreateAppRunningRecord( HWTEST_F() local 312 auto record = service_->CreateAppRunningRecord( HWTEST_F() local 362 auto record = service_->CreateAppRunningRecord( HWTEST_F() local 414 auto record = service_->CreateAppRunningRecord( HWTEST_F() local 487 auto record = service_->CreateAppRunningRecord( HWTEST_F() local 551 auto record = service_->CreateAppRunningRecord( HWTEST_F() local 598 auto record = service_->CreateAppRunningRecord( HWTEST_F() local [all...] |
/foundation/ability/ability_lite/services/abilitymgr_lite/src/slite/ |
H A D | ability_record_manager.cpp | 65 auto record = new AbilityRecord(); in StartLauncher() local 66 record->SetAppName(LAUNCHER_BUNDLE_NAME); in StartLauncher() 67 record->token = LAUNCHER_TOKEN; in StartLauncher() 68 record->isNativeApp = true; in StartLauncher() 69 record->state = SCHEDULE_FOREGROUND; in StartLauncher() 70 record->taskId = LOS_CurTaskIDGet(); in StartLauncher() 71 abilityList_.Add(record); in StartLauncher() 72 (void)ScheduleLifecycleInner(record, SLITE_STATE_FOREGROUND); in StartLauncher() 94 int32_t AbilityRecordManager::StartAbility(const AbilityRecord *record) in StartAbility() argument 96 if (record in StartAbility() 153 AbilityRecord *record = abilityList_.GetByTaskId(curTask_); StartRemoteAbility() local 259 AbilityRecord *record = abilityList_.Get(info->bundleName); UpdateRecord() local 589 auto record = new AbilityRecord(); PreCheckStartAbility() local 668 CreateAppTask(AbilityRecord *record) CreateAppTask() argument 740 AbilityRecord *record = abilityList_.Get(token); DeleteRecordInfo() local 752 DeleteAbilityThread(AbilityRecord *record) DeleteAbilityThread() argument 841 AbilityRecord *record = abilityList_.Get(token); OnBackgroundDone() local 848 AbilityRecord *record = abilityList_.Get(token); OnBackgroundDone() local 889 auto record = pendingRecord; OnDestroyDone() local 917 auto record = abilityList_.Get(pendingToken_); OnDestroyDone() local 947 AbilityRecord *record = abilityList_.Get(token); SchedulerLifecycle() local 961 AbilityRecord *record = abilityList_.Get(token); SetAbilityStateAndNotify() local 971 ScheduleLifecycleInner(const AbilityRecord *record, int32_t state) ScheduleLifecycleInner() argument 1062 SendMsgToAbilityThread(int32_t state, const AbilityRecord *record) SendMsgToAbilityThread() argument 1098 CreateWant(const AbilityRecord *record) CreateWant() argument [all...] |
/third_party/astc-encoder/Test/testlib/ |
H A D | resultset.py | 84 def add_record(self, record): 86 Add a record to this summary. 89 record (Record): The Record to add. 91 if record.status == Result.PASS: 93 elif record.status == Result.WARN: 95 elif record.status == Result.FAIL: 100 if record.tTimeRel is not None: 101 self.tTimesRel.append(record.tTimeRel) 102 self.cTimesRel.append(record.cTimeRel) 103 self.psnrRel.append(record [all...] |
/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | convert_utils_test.cpp | 63 void AddPlainUdsEntry(UDMF::UnifiedRecord &record); 64 void AddFileUriUdsEntry(UDMF::UnifiedRecord &record); 65 void AddHtmlUdsEntry(UDMF::UnifiedRecord &record); 66 void AddPixelMapUdsEntry(UDMF::UnifiedRecord &record); 67 void AddLinkUdsEntry(UDMF::UnifiedRecord &record); 68 void AddCustomEntry(UDMF::UnifiedRecord &record); 69 void AddCustomEntries(UDMF::UnifiedRecord &record); 92 void ConvertUtilsTest::AddPlainUdsEntry(UDMF::UnifiedRecord &record) in AddPlainUdsEntry() argument 98 record.AddEntry(utdId, std::make_shared<Object>(plainUds)); in AddPlainUdsEntry() 101 void ConvertUtilsTest::AddFileUriUdsEntry(UDMF::UnifiedRecord &record) in AddFileUriUdsEntry() argument 111 AddHtmlUdsEntry(UDMF::UnifiedRecord &record) AddHtmlUdsEntry() argument 120 AddLinkUdsEntry(UDMF::UnifiedRecord &record) AddLinkUdsEntry() argument 129 AddCustomEntry(UDMF::UnifiedRecord &record) AddCustomEntry() argument 134 AddCustomEntries(UDMF::UnifiedRecord &record) AddCustomEntries() argument 140 AddPixelMapUdsEntry(UDMF::UnifiedRecord &record) AddPixelMapUdsEntry() argument 155 std::shared_ptr<UDMF::UnifiedRecord> record = std::make_shared<UDMF::UnifiedRecord>(); InitDataWithPlainEntry() local 166 std::shared_ptr<UDMF::UnifiedRecord> record = std::make_shared<UDMF::UnifiedRecord>(); InitDataWithHtmlEntry() local 177 std::shared_ptr<UDMF::UnifiedRecord> record = std::make_shared<UDMF::UnifiedRecord>(); InitDataWithFileUriEntry() local 188 std::shared_ptr<UDMF::UnifiedRecord> record = std::make_shared<UDMF::UnifiedRecord>(); InitDataWithPixelMapEntry() local 199 std::shared_ptr<UDMF::UnifiedRecord> record = std::make_shared<UDMF::UnifiedRecord>(); InitDataWitCustomEntry() local 210 std::shared_ptr<UDMF::UnifiedRecord> record = std::make_shared<UDMF::UnifiedRecord>(); InitDataWitSameCustomEntry() local 222 std::shared_ptr<UDMF::UnifiedRecord> record = std::make_shared<UDMF::UnifiedRecord>(); InitDataWithEntries() local 367 auto record = decodePasteData.GetRecordAt(0); HWTEST_F() local 394 auto record = decodePasteData.GetRecordAt(0); HWTEST_F() local 421 auto record = decodePasteData.GetRecordAt(0); HWTEST_F() local 453 auto record = decodePasteData.GetRecordAt(0); HWTEST_F() local 481 auto record = decodePasteData.GetRecordAt(0); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | efi-pstore.c | 44 struct pstore_record *record) in efi_pstore_read_func() 61 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func() 62 record->id = generic_id(time, part, cnt); in efi_pstore_read_func() 63 record->part = part; in efi_pstore_read_func() 64 record->count = cnt; in efi_pstore_read_func() 65 record->time.tv_sec = time; in efi_pstore_read_func() 66 record->time.tv_nsec = 0; in efi_pstore_read_func() 68 record->compressed = true; in efi_pstore_read_func() 70 record->compressed = false; in efi_pstore_read_func() 71 record in efi_pstore_read_func() 43 efi_pstore_read_func(struct efivar_entry *entry, struct pstore_record *record) efi_pstore_read_func() argument 173 efi_pstore_sysfs_entry_iter(struct pstore_record *record) efi_pstore_sysfs_entry_iter() argument 224 efi_pstore_read(struct pstore_record *record) efi_pstore_read() argument 247 efi_pstore_write(struct pstore_record *record) efi_pstore_write() argument 333 efi_pstore_erase(struct pstore_record *record) efi_pstore_erase() argument [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_provider_mgr.cpp | 108 FormRecord record; in RefreshForm() local 109 ErrCode result = RefreshCheck(record, formId, want); in RefreshForm() 113 HILOG_INFO("FormProviderMgr::RefreshForm, formId:%{public}" PRId64 "., record.enableForm = %{public}d", in RefreshForm() 114 formId, record.enableForm); in RefreshForm() 115 if (!record.enableForm) { in RefreshForm() 132 bool isFormVisible = record.formVisibleNotifyState == Constants::FORM_VISIBLE; in RefreshForm() 151 bool needRefresh = IsNeedToFresh(record, formId, isVisibleToFresh); in RefreshForm() 158 FormRecord refreshRecord = GetFormAbilityInfo(record); in RefreshForm() 164 ErrCode FormProviderMgr::RefreshCheck(FormRecord &record, const int64_t formId, const Want &want) in RefreshCheck() argument 166 bool bGetRecord = FormDataMgr::GetInstance().GetFormRecord(formId, record); in RefreshCheck() 200 ConnectAmsForRefresh(const int64_t formId, const FormRecord &record, const Want &want, const bool isCountTimerRefresh) ConnectAmsForRefresh() argument 259 FormRecord record; ConnectAmsForRefreshPermission() local 446 MessageEvent(const int64_t formId, const FormRecord &record, const Want &want) MessageEvent() argument 484 FormRecord record; IncreaseTimerRefreshCount() local 518 IsNeedToFresh(FormRecord &record, int64_t formId, bool isVisibleToFresh) IsNeedToFresh() argument 551 IsFormCached(const FormRecord &record) IsFormCached() argument 559 RebindByFreeInstall(const FormRecord &record, Want &want, const sptr<AAFwk::IAbilityConnection> formRefreshConnection) RebindByFreeInstall() argument [all...] |