Home
last modified time | relevance | path

Searched refs:RE (Results 1 – 25 of 151) sorted by relevance

1234567

/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFThumb.h162 RelocationEntry RE = in processRelocationRef() local
169 RelocationEntry RE = in processRelocationRef() local
176 RelocationEntry RE = in processRelocationRef() local
182 RelocationEntry RE = in processRelocationRef() local
188 RelocationEntry RE = in processRelocationRef() local
213 switch (RE.RelType) { in resolveRelocation()
223 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation()
270 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation()
298 RE.Addend - (Sections[RE.SectionID].getLoadAddress() + RE.Offset) - 4; in resolveRelocation()
313 RE.Addend - (Sections[RE.SectionID].getLoadAddress() + RE.Offset) - 4; in resolveRelocation()
[all …]
H A DRuntimeDyldMachOAArch64.h40 switch (RE.RelType) { in decodeAddend()
76 switch (RE.RelType) { in decodeAddend()
309 (RE.Size == 2 && RE.IsPCRel) || (RE.Size == 3 && !RE.IsPCRel); in processRelocationRef()
370 if (RE.Size < 2) in resolveRelocation()
373 encodeAddend(LocalAddress, 1 << RE.Size, RelType, Value + RE.Addend); in resolveRelocation()
378 assert(((RE.Size == 2 && RE.IsPCRel) || (RE.Size == 3 && !RE.IsPCRel)) && in resolveRelocation()
384 RE.IsPCRel ? (RE.Addend - RE.Offset) : (Value + RE.Addend); in resolveRelocation()
411 Value += RE.Addend; in resolveRelocation()
445 (RE.Size == 2 || RE.Size == 3)) || in processGOTRelocation()
474 RelocationEntry TargetRE(RE.SectionID, RE.Offset, RE.RelType, Offset, in processGOTRelocation()
[all …]
H A DRuntimeDyldCOFFI386.h106 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
116 RelocationEntry RE = in processRelocationRef() local
123 RelocationEntry RE = in processRelocationRef() local
129 RelocationEntry RE = in processRelocationRef() local
143 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
146 switch (RE.RelType) { in resolveRelocation()
156 RE.Addend); in resolveRelocation()
170 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend) - in resolveRelocation()
186 Result = Result - Section.getLoadAddress() + RE.Addend - 4 - RE.Offset; in resolveRelocation()
214 << RE.Addend << '\n'); in resolveRelocation()
[all …]
H A DRuntimeDyldMachOARM.h66 switch (RE.RelType) { in decodeAddend()
68 return memcpyAddend(RE); in decodeAddend()
161 RE.Addend = *AddendOrErr; in processRelocationRef()
178 if (RE.IsPCRel) in processRelocationRef()
209 if (RE.IsPCRel) { in resolveRelocation()
217 switch (RE.RelType) { in resolveRelocation()
219 Value += RE.Addend; in resolveRelocation()
238 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
243 Value += RE.Addend; in resolveRelocation()
338 RelocationEntry TargetRE(RE.SectionID, RE.Offset, RE.RelType, 0, in processBranchRelocation()
[all …]
H A DRuntimeDyldMachOX86_64.h50 RE.Addend = memcpyAddend(RE); in processRelocationRef()
58 if (!IsExtern && RE.IsPCRel) in processRelocationRef()
75 RE.Addend = Value.Offset; in processRelocationRef()
92 if (RE.IsPCRel) { in resolveRelocation()
99 switch (RE.RelType) { in resolveRelocation()
108 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
131 assert(RE.IsPCRel); in processGOTRelocation()
132 assert(RE.Size == 2); in processGOTRelocation()
133 Value.Offset -= RE.Addend; in processGOTRelocation()
151 RelocationEntry TargetRE(RE.SectionID, RE.Offset, in processGOTRelocation()
[all …]
H A DRuntimeDyldMachOI386.h67 RE.Addend = memcpyAddend(RE); in processRelocationRef()
84 if (RE.IsPCRel) in processRelocationRef()
87 RE.Addend = Value.Offset; in processRelocationRef()
90 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
92 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
98 LLVM_DEBUG(dumpRelocationToResolve(RE, Value)); in resolveRelocation()
103 if (RE.IsPCRel) { in resolveRelocation()
108 switch (RE.RelType) { in resolveRelocation()
110 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
150 MachO::any_relocation_info RE = in processSECTDIFFRelocation() local
[all …]
H A DRuntimeDyldCOFFAArch64.h249 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
262 switch (RE.RelType) { in resolveRelocation()
271 Value += RE.Addend; in resolveRelocation()
277 Value += RE.Addend; in resolveRelocation()
284 Value += RE.Addend; in resolveRelocation()
291 Value += RE.Addend; in resolveRelocation()
297 uint32_t VA = Value + RE.Addend; in resolveRelocation()
344 write64le(Target, Value + RE.Addend); in resolveRelocation()
351 add16(Target, RE.SectionID); in resolveRelocation()
360 write32le(Target, RE.Addend); in resolveRelocation()
[all …]
H A DRuntimeDyldCOFFX86_64.h88 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
89 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); in resolveRelocation()
91 switch (RE.RelType) { in resolveRelocation()
104 uint64_t Result = Value + RE.Addend; in resolveRelocation()
120 write32BitOffset(Target, RE.Addend, Value - ImageBase); in resolveRelocation()
126 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation()
133 writeBytesUnaligned(RE.Addend, Target, 4); in resolveRelocation()
140 writeBytesUnaligned(RE.SectionID, Target, 2); in resolveRelocation()
278 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
279 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
[all …]
H A DRuntimeDyldELFMips.cpp16 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation()
20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
21 RE.SymOffset, RE.SectionID); in resolveRelocation()
23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
24 RE.SymOffset, RE.SectionID); in resolveRelocation()
33 const SectionEntry &Section = Sections[RE.SectionID]; in evaluateRelocation()
34 Value = evaluateMIPS64Relocation(Section, RE.Offset, Value, RE.RelType, in evaluateRelocation()
35 Addend, RE.SymOffset, RE.SectionID); in evaluateRelocation()
44 const SectionEntry &Section = Sections[RE.SectionID]; in applyRelocation()
[all …]
H A DRuntimeDyldELFMips.h27 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override;
43 uint64_t evaluateRelocation(const RelocationEntry &RE, uint64_t Value,
49 void applyRelocation(const RelocationEntry &RE, uint64_t Value);
/freebsd-14.2/contrib/atf/atf-c/detail/
H A Dlist_test.c53 RE(atf_list_init(&list)); in ATF_TC_BODY()
74 RE(atf_list_init(&list)); in ATF_TC_BODY()
98 RE(atf_list_init(&list)); in ATF_TC_BODY()
116 RE(atf_list_init(&list)); in ATF_TC_BODY()
134 RE(atf_list_init(&list)); in ATF_TC_BODY()
163 RE(atf_list_init(&list)); in ATF_TC_BODY()
182 RE(atf_list_init(&l1)); in ATF_TC_BODY()
183 RE(atf_list_init(&l2)); in ATF_TC_BODY()
195 RE(atf_list_init(&l1)); in ATF_TC_BODY()
275 RE(atf_list_init(&list)); in ATF_TC_BODY()
[all …]
H A Ddynstr_test.c55 RE(atf_dynstr_init(&str)); in ATF_TC_BODY()
264 RE(atf_dynstr_copy(&str2, &str)); in ATF_TC_BODY()
381 RE(atf_dynstr_init(&str)); in check_append()
388 RE(append(&str, "a")); in check_append()
395 RE(atf_dynstr_init(&str)); in check_append()
402 RE(append(&str, "%s", "a")); in check_append()
454 RE(atf_dynstr_init(&str)); in ATF_TC_BODY()
481 RE(atf_dynstr_init(&str)); in check_prepend()
501 RE(atf_dynstr_init(&str)); in check_prepend()
570 RE(atf_dynstr_init(&str)); in ATF_TC_BODY()
[all …]
H A Dfs_test.c445 RE(atf_fs_stat_init(&st, &p)); in ATF_TC_BODY()
451 RE(atf_fs_stat_init(&st, &p)); in ATF_TC_BODY()
472 RE(atf_fs_stat_init(&st, &p)); in ATF_TC_BODY()
478 RE(atf_fs_stat_init(&st, &p)); in ATF_TC_BODY()
579 RE(atf_fs_exists(&pdir, &b)); in ATF_TC_BODY()
583 RE(atf_fs_exists(&pfile, &b)); in ATF_TC_BODY()
726 RE(atf_fs_getcwd(&cwd1)); in ATF_TC_BODY()
728 RE(atf_fs_getcwd(&cwd2)); in ATF_TC_BODY()
751 RE(atf_fs_rmdir(&p)); in ATF_TC_BODY()
832 RE(atf_fs_mkdtemp(&p1)); in ATF_TC_BODY()
[all …]
H A Dmap_test.c53 RE(atf_map_init(&map)); in ATF_TC_BODY()
129 RE(atf_map_init(&map)); in ATF_TC_BODY()
167 RE(atf_map_init(&map)); in ATF_TC_BODY()
193 RE(atf_map_init(&map)); in ATF_TC_BODY()
211 RE(atf_map_init(&map)); in ATF_TC_BODY()
245 RE(atf_map_init(&map)); in ATF_TC_BODY()
289 RE(atf_map_init(&map)); in ATF_TC_BODY()
300 RE(atf_map_init(&map)); in ATF_TC_BODY()
330 RE(atf_map_init(&map)); in ATF_TC_BODY()
341 RE(atf_map_init(&map)); in ATF_TC_BODY()
[all …]
H A Dtest_helpers.c50 RE(atf_dynstr_init_fmt(&iflag, "-I%s", atf_env_get_with_default( in build_check_c_o()
58 RE(atf_check_build_c_o(path, "test.o", optargs, &success)); in build_check_c_o()
70 RE(atf_fs_path_init_fmt(&path, "%s/%s", in build_check_c_o_srcdir()
99 RE(atf_fs_path_init_fmt(path, "%s/%sprocess_helpers", in get_process_helpers_path()
115 RE(atf_tc_run(data->m_tc, data->m_resname)); in run_h_tc_child()
130 RE(atf_fs_path_init_fmt(&outpath, outname)); in run_h_tc()
131 RE(atf_fs_path_init_fmt(&errpath, errname)); in run_h_tc()
135 RE(atf_process_stream_init_redirect_path(&outb, &outpath)); in run_h_tc()
136 RE(atf_process_stream_init_redirect_path(&errb, &errpath)); in run_h_tc()
137 RE(atf_process_fork(&child, run_h_tc_child, &outb, &errb, &data)); in run_h_tc()
[all …]
H A Dtext_test.c337 RE(atf_text_to_bool("true", &b)); ATF_REQUIRE(b); in ATF_TC_BODY()
338 RE(atf_text_to_bool("TRUE", &b)); ATF_REQUIRE(b); in ATF_TC_BODY()
339 RE(atf_text_to_bool("yes", &b)); ATF_REQUIRE(b); in ATF_TC_BODY()
340 RE(atf_text_to_bool("YES", &b)); ATF_REQUIRE(b); in ATF_TC_BODY()
342 RE(atf_text_to_bool("false", &b)); ATF_REQUIRE(!b); in ATF_TC_BODY()
343 RE(atf_text_to_bool("FALSE", &b)); ATF_REQUIRE(!b); in ATF_TC_BODY()
344 RE(atf_text_to_bool("no", &b)); ATF_REQUIRE(!b); in ATF_TC_BODY()
345 RE(atf_text_to_bool("NO", &b)); ATF_REQUIRE(!b); in ATF_TC_BODY()
392 RE(atf_text_to_long("0", &l)); ATF_REQUIRE_EQ(l, 0); in ATF_TC_BODY()
393 RE(atf_text_to_long("-5", &l)); ATF_REQUIRE_EQ(l, -5); in ATF_TC_BODY()
[all …]
H A Dprocess_test.c430 RE(atf_process_child_wait(&child, &status)); in do_fork()
452 RE(atf_process_stream_init_capture(&sb)); in ATF_TC_BODY()
488 RE(atf_process_stream_init_inherit(&sb)); in ATF_TC_BODY()
525 RE(atf_fs_path_init_fmt(&path, "foo")); in ATF_TC_BODY()
683 RE(atf_process_status_init(&s, rawstatus)); in ATF_TC_BODY()
721 RE(atf_process_stream_init_capture(&outsb)); in ATF_TC_BODY()
722 RE(atf_process_stream_init_inherit(&errsb)); in ATF_TC_BODY()
731 RE(atf_process_child_wait(&child, &status)); in ATF_TC_BODY()
858 RE(atf_process_child_wait(&child, &status)); in ATF_TC_BODY()
923 RE(atf_list_init(&argv)); in ATF_TC_BODY()
[all …]
H A Denv_test.c96 RE(atf_text_format(&oldval, "%s", atf_env_get("PATH"))); in ATF_TC_BODY()
97 RE(atf_env_set("PATH", "foo-bar")); in ATF_TC_BODY()
103 RE(atf_env_set("_UNDEFINED_VARIABLE_", "foo2-bar2")); in ATF_TC_BODY()
116 RE(atf_env_unset("PATH")); in ATF_TC_BODY()
H A Dsanity_test.c101 RE(atf_process_stream_init_inherit(&outsb)); in do_test()
102 RE(atf_process_stream_init_capture(&errsb)); in do_test()
103 RE(atf_process_fork(&child, do_test_child, &outsb, &errsb, &td)); in do_test()
114 RE(atf_process_child_wait(&child, &status)); in do_test()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp47 unsigned NumBytes = 1 << RE.Size; in memcpyAddend()
48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend()
61 MachO::any_relocation_info RE = in processScatteredVANILLA() local
65 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA()
66 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA()
67 unsigned Size = Obj.getAnyRelocationLength(RE); in processScatteredVANILLA()
123 Value.Offset = RE.Addend; in getRelocationValueRef()
134 Value.Offset = RE.Addend - Addr; in getRelocationValueRef()
158 << " isPCRel: " << RE.IsPCRel << " MachoType: " << RE.RelType in dumpRelocationToResolve()
159 << " Size: " << (1 << RE.Size) << "\n"; in dumpRelocationToResolve()
[all …]
H A DRuntimeDyldELF.cpp1038 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
1039 RE.SymOffset, RE.SectionID); in resolveRelocation()
1398 addRelocationForSection(RE, SectionID); in processRelocationRef()
1426 addRelocationForSection(RE, SectionID); in processRelocationRef()
1475 RE.SymOffset = i->second; in processRelocationRef()
1477 RE.SymOffset = allocateGOTEntries(1); in processRelocationRef()
1832 RelocationEntry RE = in processRelocationRef() local
1845 RelocationEntry RE = in processRelocationRef() local
1981 RelocationEntry RE(SectionID, in processX86_64GOTTPOFFRelocation() local
2001 RelocationEntry RE = in processX86_64GOTTPOFFRelocation() local
[all …]
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgoogletest-port-test.cc415 const RE empty(TypeParam("")); in TYPED_TEST()
434 const RE empty(TypeParam("")); in TYPED_TEST()
438 const RE re(TypeParam("a.*z")); in TYPED_TEST()
447 const RE empty(TypeParam("")); in TYPED_TEST()
870 const RE empty(""); in TEST()
873 const RE simple("hello"); in TEST()
891 const RE empty(""); in TEST()
895 const RE re1("a"); in TEST()
898 const RE re("a.*z"); in TEST()
907 const RE empty(""); in TEST()
[all …]
/freebsd-14.2/contrib/atf/atf-c/
H A Dcheck_test.c59 RE(atf_check_exec_array(argv, r)); in do_exec()
79 RE(atf_check_exec_array(argv, r)); in do_exec_with_arg()
112 RE(atf_check_build_c_o("test.c", "test.o", NULL, &success)); in ATF_TC_BODY()
145 RE(atf_fs_path_init_fmt(&test_p, "test.p")); in ATF_TC_BODY()
225 RE(atf_tc_init_pack(tc, tcpack, config)); in init_and_run_h_tc()
313 RE(atf_check_exec_array(argv, &result)); in ATF_TC_BODY()
346 RE(atf_fs_exists(&out, &exists)); ATF_CHECK(exists); in ATF_TC_BODY()
347 RE(atf_fs_exists(&err, &exists)); ATF_CHECK(exists); in ATF_TC_BODY()
349 RE(atf_fs_exists(&out, &exists)); ATF_CHECK(!exists); in ATF_TC_BODY()
350 RE(atf_fs_exists(&err, &exists)); ATF_CHECK(!exists); in ATF_TC_BODY()
[all …]
H A Dtc_test.c65 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), in ATF_TC_BODY()
71 RE(atf_tc_init(&tc, "test2", ATF_TC_HEAD_NAME(test_var), in ATF_TC_BODY()
99 RE(atf_tc_init_pack(&tc, &tcp1, NULL)); in ATF_TC_BODY()
104 RE(atf_tc_init_pack(&tc, &tcp2, NULL)); in ATF_TC_BODY()
120 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), in ATF_TC_BODY()
123 RE(atf_tc_set_md_var(&tc, "test-var", "Test value")); in ATF_TC_BODY()
141 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), in ATF_TC_BODY()
147 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), in ATF_TC_BODY()
H A Dbuild_test.c98 RE(atf_env_set(var, val)); in verbose_set_env()
167 RE(atf_build_c_o(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
170 RE(atf_build_c_o(test->sfile, test->ofile, NULL, &argv)); in ATF_TC_BODY()
195 RE(atf_build_cpp(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
198 RE(atf_build_cpp(test->sfile, test->ofile, NULL, &argv)); in ATF_TC_BODY()
224 RE(atf_build_cxx_o(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
227 RE(atf_build_cxx_o(test->sfile, test->ofile, NULL, &argv)); in ATF_TC_BODY()

1234567