/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...] |
H A 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() 46 // record was created. 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() [all...] |
H A D | loader.cc | 116 ToolchainRecord* record = new_record.get(); in Load() local 123 record->is_toolchain_loaded = true; in Load() 125 record->waiting_on_me.push_back(SourceFileAndOrigin(file, origin)); in Load() 126 ScheduleLoadBuildConfig(&record->settings, Scope::KeyValueMap()); in Load() 131 ToolchainRecord* record; in Load() local 133 record = toolchain_records_[default_toolchain_label_].get(); in Load() 135 record = toolchain_records_[toolchain_name].get(); in Load() 137 if (!record) { in Load() 144 record = new_record.get(); in Load() 151 if (record in Load() 158 ToolchainRecord* record = toolchain_records_[toolchain->label()].get(); ToolchainLoaded() local 374 ToolchainRecord* record = nullptr; DidLoadBuildConfig() 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...] |
/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 | 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...] |
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 | 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, in DEF_TEST() 61 SkRecord record; DEF_TEST() local 77 SkRecord record; DEF_TEST() local 162 SkRecord record; DEF_TEST() local 184 SkRecord record; DEF_TEST() local 217 SkRecord record; DEF_TEST() local [all...] |
H A 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, 10 in DEF_TEST() 98 SkRecord record; DEF_TEST() local 118 SkRecord record; DEF_TEST() 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...] |
/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...] |
/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/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...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
H A D | DataRecord.java | 60 DataRecord record = new DataRecord(); in read() 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 in read() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/impl/ |
H A D | DataRecord.java | 62 DataRecord record = new DataRecord(); in read() 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 in read() [all...] |
/third_party/mesa3d/src/amd/common/ |
H A 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; ac_sqtt_add_code_object_loader_event() local [all...] |
H A D | ac_rgp_elf_object_pack.c | 87 struct rgp_code_object_record *record, in ac_rgp_write_msgpack() 95 num_shaders = util_bitcount(record->shader_stages_mask); in ac_rgp_write_msgpack() 124 mask = record->shader_stages_mask; in ac_rgp_write_msgpack() 133 record->shader_data[i].hash[0]); in ac_rgp_write_msgpack() 138 record->shader_data[i].hw_stage]); in ac_rgp_write_msgpack() 144 record->num_shaders_combined); in ac_rgp_write_msgpack() 145 mask = record->shader_stages_mask; in ac_rgp_write_msgpack() 149 if (record->shader_data[i].is_combined) in ac_rgp_write_msgpack() 153 record->shader_data[i].hw_stage]); in ac_rgp_write_msgpack() 157 record in ac_rgp_write_msgpack() 86 ac_rgp_write_msgpack(FILE *output, struct rgp_code_object_record *record, uint32_t *written_size) ac_rgp_write_msgpack() argument 195 get_lowest_shader(uint32_t *shader_stages_mask, struct rgp_code_object_record *record, struct rgp_shader_data **rgp_shader_data) get_lowest_shader() argument 228 ac_rgp_file_write_elf_text(FILE *output, uint32_t *elf_size_calc, struct rgp_code_object_record *record, uint32_t *text_size) ac_rgp_file_write_elf_text() argument 324 ac_rgp_file_write_elf_symbol_table(FILE *output, uint32_t *elf_size_calc, struct rgp_code_object_record *record, uint32_t *symbol_table_size) ac_rgp_file_write_elf_symbol_table() argument 375 ac_rgp_file_write_elf_object(FILE *output, size_t file_elf_start, struct rgp_code_object_record *record, uint32_t *written_size, uint32_t flags) ac_rgp_file_write_elf_object() argument [all...] |
/third_party/node/deps/v8/third_party/test262-harness/test/ |
H A D | test_parseTestRecord.py | 31 record = parseTestRecord(contents, name) 35 record['header']) 37 declaration;""", record['commentary']) 39 self.assertEqual("bestPractice/Sbp_A1_T1.js", record['path']) 41 record['description']) 42 self.assertEqual("", record['onlyStrict']) 43 self.assertEqual("SyntaxError", record['negative']) 45 record['bestPractice']) 52 """, record['test']) 152 record [all...] |
H A D | test_common.py | 31 record = convertDocString(contents) 34 declaration;""", record['commentary']) 36 self.assertEqual("bestPractice/Sbp_A1_T1.js", record['path']) 38 record['description']) 39 self.assertEqual("", record['onlyStrict']) 40 self.assertEqual("SyntaxError", record['negative']) 42 record['bestPractice']) 50 record = convertDocString(contents) 52 self.assertEqual("The production Block { } in strict code can't contain function declaration;\n", record['commentary']) 55 record['descriptio [all...] |
/third_party/python/Lib/logging/ |
H A D | handlers.py | 65 def emit(self, record): 67 Emit a record. 69 Output the record to the file, catering for rollover as described 73 if self.shouldRollover(record): 75 logging.FileHandler.emit(self, record) 77 self.handleError(record) 183 def shouldRollover(self, record): 187 Basically, see if the supplied record would cause the file to exceed 196 msg = "%s\n" % self.format(record) 344 def shouldRollover(self, record) [all...] |
/third_party/node/deps/v8/src/diagnostics/ |
H A D | unwinding-info-win64.cc | 189 void InitUnwindingRecord(Record* record, size_t code_size_in_bytes) { in InitUnwindingRecord() argument 194 record->runtime_function[0].BeginAddress = 0; in InitUnwindingRecord() 195 record->runtime_function[0].EndAddress = in InitUnwindingRecord() 197 record->runtime_function[0].UnwindData = offsetof(Record, unwind_info); in InitUnwindingRecord() 198 record->runtime_function_count = 1; in InitUnwindingRecord() 199 record->exception_handler = offsetof(Record, exception_thunk); in InitUnwindingRecord() 208 DCHECK_LE(masm.instruction_size(), sizeof(record->exception_thunk)); in InitUnwindingRecord() 209 memcpy(&record->exception_thunk[0], masm.buffer_start(), in InitUnwindingRecord() 240 // UNWIND_INFO defines the static part (first 32-bit) of the .xdata record in 417 void InitUnwindingRecord(Record* record, size_ 379 STATIC_ASSERT(kDefaultNumberOfUnwindCodeWords < kMaxNumberOfUnwindCodeWords); xdata.unwind_info.CodeWords = kDefaultNumberOfUnwindCodeWords; } else { int pre_index_amount = fp_adjustment.fp_to_saved_caller_fp - fp_adjustment.fp_to_caller_sp; int stack_space = fp_adjustment.fp_to_saved_caller_fp; int offset_from_stack_top = stack_space & kAllocStackShiftMask; stack_space += offset_from_stack_top; xdata.unwind_codes[0] = Combine8BitUnwindCodes( OpAddFp, MakeOpAddFpArgument(offset_from_stack_top), MakeOpAllocS(stack_space), MakeOpSaveFpLrX(pre_index_amount)); xdata.unwind_codes[1] = Combine8BitUnwindCodes(OpEnd); } return std::vector<uint8_t>( reinterpret_cast<uint8_t*>(&xdata), reinterpret_cast<uint8_t*>( &xdata.unwind_codes[xdata.unwind_info.CodeWords])); } template <typename Record> void InitUnwindingRecord(Record* record, size_t code_size_in_bytes) { constexpr uint32_t max_runtime_function_count = static_cast<uint32_t>( (kOSPageSize - sizeof(Record)) / sizeof(RUNTIME_FUNCTION) + kDefaultRuntimeFunctionCount); uint32_t runtime_function_index = 0; uint32_t current_unwind_start_address = 0; int64_t remaining_size_in_bytes = static_cast<int64_t>(code_size_in_bytes); while (remaining_size_in_bytes >= kMaxFunctionLength && runtime_function_index < max_runtime_function_count) GetUnwindInfoForBuiltinFunction() argument 573 ExceptionHandlerRecord* record = new (start) ExceptionHandlerRecord(); RegisterNonABICompliantCodeRange() local 587 CodeRangeUnwindingRecord* record = new (start) CodeRangeUnwindingRecord(); RegisterNonABICompliantCodeRange() local 612 ExceptionHandlerRecord* record = UnregisterNonABICompliantCodeRange() local 623 CodeRangeUnwindingRecord* record = UnregisterNonABICompliantCodeRange() local [all...] |
/third_party/skia/tools/ |
H A D | blob_cache_sim.cpp | 29 for (const SkTextBlobTrace::Record& record : trace) { in main() 31 const SkPaint paint = record.paint; in main() 36 uint64_t blobID = record.origUniqueID; in main() 37 SkPoint offset = record.offset; in main() 65 for (const SkTextBlobTrace::Record& record : trace) { in main() 66 bounds.join(record.blob->bounds().makeOffset(record.offset.x(), record.offset.y())); in main() 79 for (const SkTextBlobTrace::Record& record : trace) { in main() 81 record in main() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | ticket.h | 127 MARL_NO_EXPORT inline Ticket(Loan<Record>&& record); 129 Loan<Record> record; member in marl::Ticket 136 Ticket::Ticket(Loan<Record>&& record) : record(std::move(record)) {} in Ticket() argument 139 marl::lock lock(record->shared->mutex); in wait() 140 record->isCalledCondVar.wait(lock, [this] { return record->isCalled; }); in wait() 144 record->done(); in done() 149 marl::lock lock(record in onCall() [all...] |