/third_party/gn/src/gn/ |
D | builder.cc | 69 BuilderRecord* record = in ItemDefined() local 71 if (!record) { in ItemDefined() 77 if (record->item()) { in ItemDefined() 82 Err(record->item()->defined_from(), "Previous definition:")); in ItemDefined() 87 record->set_item(std::move(item)); in ItemDefined() 93 TargetDefined(record, &err); in ItemDefined() 96 ConfigDefined(record, &err); in ItemDefined() 99 ToolchainDefined(record, &err); in ItemDefined() 109 if (record->can_resolve()) { in ItemDefined() 110 if (!ResolveItem(record, &err)) { in ItemDefined() [all …]
|
D | builder_record_map.h | 22 BuilderRecord* record; member 23 bool is_null() const { return !record; } in is_null() 26 size_t hash_value() const { return record->label().hash(); } in hash_value() 35 delete it->record; in ~BuilderRecordMap() 41 return Lookup(label)->record; in find() 52 return {false, node->record}; in try_emplace() 54 BuilderRecord* record = new BuilderRecord(type, label, request_from); in try_emplace() local 55 node->record = record; in try_emplace() 57 return {true, record}; in try_emplace() 62 const BuilderRecord& operator*() const { return *node_->record; } [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | ndef.c | 36 struct ndef_record *record) in ndef_parse_record() argument 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->id = record->id_length == 0 ? NULL : pos; in ndef_parse_record() 70 pos += record->id_length; in ndef_parse_record() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | ndef.c | 36 struct ndef_record *record) in ndef_parse_record() argument 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->id = record->id_length == 0 ? NULL : pos; in ndef_parse_record() 70 pos += record->id_length; in ndef_parse_record() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
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.data.reallocation.original = original; in reallocation() [all …]
|
/third_party/flutter/skia/tests/ |
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__} argument 60 SkRecord record; in DEF_TEST() local 65 APPEND(record, SkRecords::DrawRect, paint, rect); in DEF_TEST() 69 summer.apply(record); in DEF_TEST() [all …]
|
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, i)); in DEF_TEST() [all …]
|
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 [all …]
|
D | RecordDrawTest.cpp | 34 SkRecord record; in DEF_TEST() local 35 SkRecorder recorder(&record, W, H); in DEF_TEST() 37 REPORTER_ASSERT(r, 0 == record.count()); in DEF_TEST() 39 REPORTER_ASSERT(r, 0 == record.count()); // the save was not recorded (yet) in DEF_TEST() 41 REPORTER_ASSERT(r, 1 == record.count()); in DEF_TEST() 43 REPORTER_ASSERT(r, 3 == record.count()); // now we see the save in DEF_TEST() 45 REPORTER_ASSERT(r, 4 == record.count()); in DEF_TEST() 47 assert_type<SkRecords::DrawPaint>(r, record, 0); in DEF_TEST() 48 assert_type<SkRecords::Save> (r, record, 1); in DEF_TEST() 49 assert_type<SkRecords::Concat> (r, record, 2); in DEF_TEST() [all …]
|
/third_party/skia/tests/ |
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__} argument 60 SkRecord record; in DEF_TEST() local 65 APPEND(record, SkRecords::DrawRect, paint, rect); in DEF_TEST() 69 summer.apply(record); in DEF_TEST() [all …]
|
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, i)); in DEF_TEST() [all …]
|
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 [all …]
|
D | RecordDrawTest.cpp | 34 SkRecord record; in DEF_TEST() local 35 SkRecorder recorder(&record, W, H); in DEF_TEST() 37 REPORTER_ASSERT(r, 0 == record.count()); in DEF_TEST() 39 REPORTER_ASSERT(r, 0 == record.count()); // the save was not recorded (yet) in DEF_TEST() 41 REPORTER_ASSERT(r, 1 == record.count()); in DEF_TEST() 43 REPORTER_ASSERT(r, 3 == record.count()); // now we see the save in DEF_TEST() 45 REPORTER_ASSERT(r, 4 == record.count()); in DEF_TEST() 47 assert_type<SkRecords::DrawPaint>(r, record, 0); in DEF_TEST() 48 assert_type<SkRecords::Save> (r, record, 1); in DEF_TEST() 49 assert_type<SkRecords::Scale> (r, record, 2); in DEF_TEST() [all …]
|
D | RecorderTest.cpp | 32 void apply(const SkRecord& record) { in apply() argument 33 for (int i = 0; i < record.count(); i++) { in apply() 34 record.visit(i, *this); in apply() 43 SkRecord record; in DEF_TEST() local 44 SkRecorder recorder(&record, 1920, 1080); in DEF_TEST() 49 tally.apply(record); in DEF_TEST() 65 SkRecord record; in DEF_TEST() local 66 SkRecorder recorder(&record, 1920, 1080); in DEF_TEST() 83 SkRecord record; in DEF_TEST() local 84 SkRecorder recorder(&record, 100, 100); in DEF_TEST() [all …]
|
/third_party/skia/src/core/ |
D | SkRecordOpts.cpp | 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, Pattern* pattern, int begin, int end) { 65 record->replace<NoOp>(begin); // first SetMatrix [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkRecordOpts.cpp | 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, Pattern* pattern, int begin, int end) { 65 record->replace<NoOp>(begin); // first SetMatrix [all …]
|
/third_party/ntfs-3g/ntfsprogs/ |
D | playlog.c | 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->attrs_offset); in sanity_mft() 374 || (le32_to_cpu(record->bytes_in_use) != (k + 8)) in sanity_mft() 375 || (le32_to_cpu(record->bytes_allocated) < (k + 8))) { in sanity_mft() 378 (long)le32_to_cpu(record->bytes_in_use), in sanity_mft() 380 (long)le32_to_cpu(record->bytes_allocated)); in sanity_mft() 632 MFT_RECORD *record; in write_protected() local 644 record = (MFT_RECORD*)buffer; in write_protected() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/ |
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 [all …]
|
/third_party/mesa3d/src/amd/common/ |
D | ac_sqtt.c | 106 struct rgp_pso_correlation_record *record; in ac_sqtt_add_pso_correlation() local 108 record = malloc(sizeof(struct rgp_pso_correlation_record)); in ac_sqtt_add_pso_correlation() 109 if (!record) in ac_sqtt_add_pso_correlation() 112 record->api_pso_hash = pipeline_hash; in ac_sqtt_add_pso_correlation() 113 record->pipeline_hash[0] = pipeline_hash; in ac_sqtt_add_pso_correlation() 114 record->pipeline_hash[1] = pipeline_hash; in ac_sqtt_add_pso_correlation() 115 memset(record->api_level_obj_name, 0, sizeof(record->api_level_obj_name)); in ac_sqtt_add_pso_correlation() 118 list_addtail(&record->list, &pso_correlation->record); in ac_sqtt_add_pso_correlation() 131 struct rgp_loader_events_record *record; in ac_sqtt_add_code_object_loader_event() local 133 record = malloc(sizeof(struct rgp_loader_events_record)); in ac_sqtt_add_code_object_loader_event() [all …]
|
D | ac_rgp_elf_object_pack.c | 85 struct rgp_code_object_record *record, in ac_rgp_write_msgpack() argument 93 num_shaders = util_bitcount(record->shader_stages_mask); in ac_rgp_write_msgpack() 122 mask = record->shader_stages_mask; in ac_rgp_write_msgpack() 131 record->shader_data[i].hash[0]); in ac_rgp_write_msgpack() 136 record->shader_data[i].hw_stage]); in ac_rgp_write_msgpack() 142 record->num_shaders_combined); in ac_rgp_write_msgpack() 143 mask = record->shader_stages_mask; in ac_rgp_write_msgpack() 147 if (record->shader_data[i].is_combined) in ac_rgp_write_msgpack() 151 record->shader_data[i].hw_stage]); in ac_rgp_write_msgpack() 155 record->shader_data[i].hw_stage]); in ac_rgp_write_msgpack() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/impl/ |
D | DataRecord.java | 62 DataRecord record = new DataRecord(); in read() local 63 record.pl = in.namedIndex("pl", EPluralization.names); in read() 64 record.pluralNames = in.stringTable("pluralName"); in read() 65 record.genders = in.namedIndexArray("gender", EGender.names); in read() 66 record.singularNames = in.stringArray("singularName"); in read() 67 record.halfNames = in.stringArray("halfName"); in read() 68 record.numberNames = in.stringArray("numberName"); in read() 69 record.mediumNames = in.stringArray("mediumName"); in read() 70 record.shortNames = in.stringArray("shortName"); in read() 71 record.measures = in.stringArray("measure"); in read() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
D | DataRecord.java | 60 DataRecord record = new DataRecord(); in read() local 61 record.pl = in.namedIndex("pl", EPluralization.names); in read() 62 record.pluralNames = in.stringTable("pluralName"); in read() 63 record.genders = in.namedIndexArray("gender", EGender.names); in read() 64 record.singularNames = in.stringArray("singularName"); in read() 65 record.halfNames = in.stringArray("halfName"); in read() 66 record.numberNames = in.stringArray("numberName"); in read() 67 record.mediumNames = in.stringArray("mediumName"); in read() 68 record.shortNames = in.stringArray("shortName"); in read() 69 record.measures = in.stringArray("measure"); in read() [all …]
|
/third_party/e2fsprogs/e2fsck/ |
D | revoke.c | 140 struct jbd2_revoke_record_s *record; in insert_revoke_hash() local 145 record = kmem_cache_alloc(jbd2_revoke_record_cache, gfp_mask); in insert_revoke_hash() 146 if (!record) in insert_revoke_hash() 149 record->sequence = seq; in insert_revoke_hash() 150 record->blocknr = blocknr; in insert_revoke_hash() 153 list_add(&record->hash, hash_list); in insert_revoke_hash() 164 struct jbd2_revoke_record_s *record; in find_revoke_record() local 169 record = (struct jbd2_revoke_record_s *) hash_list->next; in find_revoke_record() 170 while (&(record->hash) != hash_list) { in find_revoke_record() 171 if (record->blocknr == blocknr) { in find_revoke_record() [all …]
|
/third_party/openssl/test/recipes/ |
D | 70-test_sslrecords.t | 244 my $record = TLSProxy::Record->new( 255 push @{$records}, $record; 286 my $record = TLSProxy::Record->new( 297 push @{$records}, $record; 301 $record = TLSProxy::Record->new( 312 push @{$records}, $record; 319 my $record; 333 $record = TLSProxy::Record->new( 345 push @{$proxy->record_list}, $record; 372 $record = TLSProxy::Record->new( [all …]
|
/third_party/boost/boost/log/core/ |
D | record.hpp | 43 class record class 45 BOOST_MOVABLE_BUT_NOT_COPYABLE(record) 60 BOOST_CONSTEXPR explicit record(public_data* impl) BOOST_NOEXCEPT : m_impl(impl) {} in record() function in boost::record 70 BOOST_CONSTEXPR record() BOOST_NOEXCEPT : m_impl(NULL) {} in record() function in boost::record 75 record(BOOST_RV_REF(record) that) BOOST_NOEXCEPT : m_impl(that.m_impl) in record() function in boost::record 83 ~record() BOOST_NOEXCEPT in ~record() 91 record& operator= (BOOST_RV_REF(record) that) BOOST_NOEXCEPT in operator =() 93 swap(static_cast< record& >(that)); in operator =() 140 void swap(record& that) BOOST_NOEXCEPT in swap() 200 inline void swap(record& left, record& right) BOOST_NOEXCEPT in swap()
|