Searched refs:RE (Results 1 - 25 of 89) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFThumb.h108 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0);
109 addRelocationForSymbol(RE, TargetName);
127 RelocationEntry RE = RelocationEntry( variable
130 addRelocationForSection(RE, TargetSectionID);
134 RelocationEntry RE = variable
137 addRelocationForSection(RE, TargetSectionID);
141 RelocationEntry RE = variable
143 addRelocationForSection(RE, TargetSectionID);
147 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, variable
149 addRelocationForSection(RE, TargetSectionI
153 RelocationEntry RE = RelocationEntry( variable
162 RelocationEntry RE = variable
[all...]
H A DRuntimeDyldMachOX86_64.h50 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
51 RE.Addend = memcpyAddend(RE);
53 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID))
59 if (!IsExtern && RE.IsPCRel)
60 makeValueAddendPCRel(Value, RelI, 1 << RE.Size);
72 if (RE.RelType == MachO::X86_64_RELOC_GOT ||
73 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD)
74 processGOTRelocation(RE, Value, Stubs);
76 RE
129 processGOTRelocation(const RelocationEntry &RE, RelocationValueRef &Value, StubMap &Stubs) argument
163 MachO::any_relocation_info RE = local
[all...]
H A DRuntimeDyldCOFFI386.h88 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0);
89 addRelocationForSymbol(RE, TargetName);
104 RelocationEntry RE = variable
107 addRelocationForSection(RE, TargetSectionID);
111 RelocationEntry RE = variable
113 addRelocationForSection(RE, TargetSectionID);
117 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, variable
119 addRelocationForSection(RE, TargetSectionID);
131 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
132 const auto Section = Sections[RE
[all...]
H A DRuntimeDyldMachOARM.h63 Expected<int64_t> decodeAddend(const RelocationEntry &RE) const {
64 const SectionEntry &Section = Sections[RE.SectionID];
65 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset);
67 switch (RE.RelType) {
69 return memcpyAddend(RE);
160 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
161 if (auto AddendOrErr = decodeAddend(RE))
162 RE.Addend = *AddendOrErr;
165 RE.IsTargetThumbFunc = TargetIsLocalThumbFunc;
168 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToI
305 processBranchRelocation(const RelocationEntry &RE, const RelocationValueRef &Value, StubMap &Stubs) argument
350 MachO::any_relocation_info RE = local
[all...]
H A DRuntimeDyldMachOAArch64.h34 Expected<int64_t> decodeAddend(const RelocationEntry &RE) const {
35 const SectionEntry &Section = Sections[RE.SectionID];
36 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset);
37 unsigned NumBytes = 1 << RE.Size;
40 switch (RE.RelType) {
46 << getRelocName(RE.RelType);
58 << getRelocName(RE.RelType);
76 switch (RE.RelType) {
305 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
307 if (RE
442 processGOTRelocation(const RelocationEntry &RE, RelocationValueRef &Value, StubMap &Stubs) argument
485 MachO::any_relocation_info RE = local
[all...]
H A DRuntimeDyldCOFFAArch64.h127 const RelocationEntry RE(SectionID, Offset, RelType, Addend);
128 resolveRelocation(RE, Section.getLoadAddressWithOffset(StubOffset));
229 RelocationEntry RE(SectionID, Offset, RelType, Addend);
230 addRelocationForSymbol(RE, TargetName);
239 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend);
240 addRelocationForSection(RE, TargetSectionID);
245 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
246 const auto Section = Sections[RE.SectionID];
247 uint8_t *Target = Section.getAddressWithOffset(RE.Offset);
248 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE
[all...]
H A DRuntimeDyldMachOI386.h67 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
68 RE.Addend = memcpyAddend(RE);
70 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID))
80 // if (IsExtern && RE.IsPCRel) {
85 if (RE.IsPCRel)
86 makeValueAddendPCRel(Value, RelI, 1 << RE.Size);
88 RE.Addend = Value.Offset;
91 addRelocationForSymbol(RE, Value.SymbolName);
93 addRelocationForSection(RE, Valu
151 MachO::any_relocation_info RE = local
[all...]
H A DRuntimeDyldCOFFX86_64.h66 // The target location for the relocation is described by RE.SectionID and
67 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each
83 // the symbol resides (RE.Addend provides additional information about the
86 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override {
87 const SectionEntry &Section = Sections[RE.SectionID];
88 uint8_t *Target = Section.getAddressWithOffset(RE.Offset);
90 switch (RE.RelType) {
98 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset);
101 uint64_t Delta = 4 + (RE
[all...]
H A DRuntimeDyldELFMips.cpp14 void RuntimeDyldELFMips::resolveRelocation(const RelocationEntry &RE, argument
16 const SectionEntry &Section = Sections[RE.SectionID];
18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend);
20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend,
21 RE.SymOffset, RE
29 evaluateRelocation(const RelocationEntry &RE, uint64_t Value, uint64_t Addend) argument
41 applyRelocation(const RelocationEntry &RE, uint64_t Value) argument
[all...]
H A DRuntimeDyldELFMips.h28 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override;
42 /// \param RE The relocation to be resolved
44 uint64_t evaluateRelocation(const RelocationEntry &RE, uint64_t Value,
48 /// \param RE The relocation to be resolved
50 void applyRelocation(const RelocationEntry &RE, uint64_t Value);
/freebsd-11-stable/contrib/atf/atf-c/detail/
H A Dtest_helpers.c50 RE(atf_dynstr_init_fmt(&iflag, "-I%s", atf_env_get_with_default(
58 RE(atf_check_build_c_o(path, "test.o", optargs, &success));
70 RE(atf_fs_path_init_fmt(&path, "%s/%s",
99 RE(atf_fs_path_init_fmt(path, "%s/%sprocess_helpers",
115 RE(atf_tc_run(data->m_tc, data->m_resname));
130 RE(atf_fs_path_init_fmt(&outpath, outname));
131 RE(atf_fs_path_init_fmt(&errpath, errname));
135 RE(atf_process_stream_init_redirect_path(&outb, &outpath));
136 RE(atf_process_stream_init_redirect_path(&errb, &errpath));
137 RE(atf_process_for
[all...]
H A Dlist_test.c53 RE(atf_list_init(&list));
74 RE(atf_list_init(&list));
75 RE(atf_list_append(&list, &i1, false));
76 RE(atf_list_append(&list, &i2, false));
77 RE(atf_list_append(&list, &i3, false));
98 RE(atf_list_init(&list));
99 RE(atf_list_append(&list, &i1, false));
100 RE(atf_list_append(&list, &i2, false));
101 RE(atf_list_append(&list, &i3, false));
116 RE(atf_list_ini
[all...]
H A Ddynstr_test.c55 RE(atf_dynstr_init(&str));
68 RE(atf_dynstr_init_ap(str, fmt, ap));
112 RE(atf_dynstr_init_fmt(&str, "String 1"));
116 RE(atf_dynstr_init_fmt(&str, "String %d", 2));
120 RE(atf_dynstr_init_fmt(&str, "%s %d", "String", 3));
124 RE(atf_dynstr_init_fmt(&str, "%s%s%s%s%s%s%s", "This ", "should ",
144 RE(atf_dynstr_init_raw(&str, src, 0));
148 RE(atf_dynstr_init_raw(&str, src, 8));
152 RE(atf_dynstr_init_raw(&str, src + 10, 8));
156 RE(atf_dynstr_init_ra
[all...]
H A Dmap_test.c53 RE(atf_map_init(&map));
63 RE(atf_map_init_charpp(&map, NULL));
74 RE(atf_map_init_charpp(&map, array));
86 RE(atf_map_init_charpp(&map, array));
129 RE(atf_map_init(&map));
130 RE(atf_map_insert(&map, "K1", val1, false));
131 RE(atf_map_insert(&map, "K2", val2, false));
167 RE(atf_map_init(&map));
168 RE(atf_map_insert(&map, "K1", val1, false));
169 RE(atf_map_inser
[all...]
H A Dtext_test.c145 RE(atf_text_for_each_word("1 2 3", " ", word_count, &cnt));
146 RE(atf_text_for_each_word("1 2 3", " ", word_acum, acum));
152 RE(atf_text_for_each_word("1 2 3", ".", word_count, &cnt));
153 RE(atf_text_for_each_word("1 2 3", ".", word_acum, acum));
159 RE(atf_text_for_each_word("1 2 3 4 5", " ", word_count, &cnt));
160 RE(atf_text_for_each_word("1 2 3 4 5", " ", word_acum, acum));
166 RE(atf_text_for_each_word("1 2.3.4 5", " .", word_count, &cnt));
167 RE(atf_text_for_each_word("1 2.3.4 5", " .", word_acum, acum));
337 RE(atf_text_to_bool("true", &b)); ATF_REQUIRE(b);
338 RE(atf_text_to_boo
[all...]
H A Dfs_test.c133 RE(atf_fs_path_init_fmt(&p, "%s", t->in));
151 RE(atf_fs_path_init_fmt(&str, "foo"));
152 RE(atf_fs_path_copy(&str2, &str));
156 RE(atf_fs_path_append_fmt(&str2, "bar"));
191 RE(atf_fs_path_init_fmt(&p, "%s", t->in));
231 RE(atf_fs_path_init_fmt(&p, "%s", t->in));
271 RE(atf_fs_path_init_fmt(&p, "%s", t->in));
272 RE(atf_fs_path_branch_path(&p, &bp));
310 RE(atf_fs_path_init_fmt(&p, "%s", t->in));
311 RE(atf_fs_path_leaf_nam
[all...]
H A Denv_test.c96 RE(atf_text_format(&oldval, "%s", atf_env_get("PATH")));
97 RE(atf_env_set("PATH", "foo-bar"));
103 RE(atf_env_set("_UNDEFINED_VARIABLE_", "foo2-bar2"));
116 RE(atf_env_unset("PATH"));
H A Dprocess_test.c124 RE(atf_process_stream_init_capture(&s->m_base.m_sb));
203 RE(atf_process_stream_init_connect(&s->m_base.m_sb, src_fd, s->m_fd));
239 RE(atf_process_stream_init_inherit(&s->m_base.m_sb));
330 RE(atf_process_stream_init_redirect_fd(&s->m_base.m_sb, s->m_fd));
365 RE(atf_fs_path_init_fmt(&s->m_path, "stdout"));
368 RE(atf_fs_path_init_fmt(&s->m_path, "stderr"));
375 RE(atf_process_stream_init_redirect_path(&s->m_base.m_sb, &s->m_path));
421 RE(atf_process_fork(&child, child_print, outfs->m_sb_ptr,
427 RE(atf_process_child_wait(&child, &status));
449 RE(atf_process_stream_init_captur
[all...]
H A Dsanity_test.c101 RE(atf_process_stream_init_inherit(&outsb));
102 RE(atf_process_stream_init_capture(&errsb));
103 RE(atf_process_fork(&child, do_test_child, &outsb, &errsb, &td));
114 RE(atf_process_child_wait(&child, &status));
H A Dtest_helpers.h43 #define RE(stm) ATF_REQUIRE(!atf_is_error(stm)) macro
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp46 int64_t RuntimeDyldMachO::memcpyAddend(const RelocationEntry &RE) const {
47 unsigned NumBytes = 1 << RE.Size;
48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset;
61 MachO::any_relocation_info RE = local
65 uint32_t RelocType = Obj.getAnyRelocationType(RE);
66 bool IsPCRel = Obj.getAnyRelocationPCRel(RE);
67 unsigned Size = Obj.getAnyRelocationLength(RE);
73 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE);
99 const RelocationEntry &RE, ObjSectionToIDMa
97 getRelocationValueRef( const ObjectFile &BaseTObj, const relocation_iterator &RI, const RelocationEntry &RE, ObjSectionToIDMap &ObjSectionToID) argument
148 dumpRelocationToResolve(const RelocationEntry &RE, uint64_t Value) const argument
[all...]
/freebsd-11-stable/contrib/atf/atf-c/
H A Dtc_test.c65 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty),
71 RE(atf_tc_init(&tc, "test2", ATF_TC_HEAD_NAME(test_var),
99 RE(atf_tc_init_pack(&tc, &tcp1, NULL));
104 RE(atf_tc_init_pack(&tc, &tcp2, NULL));
120 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty),
123 RE(atf_tc_set_md_var(&tc, "test-var", "Test value"));
141 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty),
147 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty),
H A Dbuild_test.c98 RE(atf_env_set(var, val));
167 RE(atf_build_c_o(test->sfile, test->ofile, test->optargs,
170 RE(atf_build_c_o(test->sfile, test->ofile, NULL, &argv));
195 RE(atf_build_cpp(test->sfile, test->ofile, test->optargs,
198 RE(atf_build_cpp(test->sfile, test->ofile, NULL, &argv));
224 RE(atf_build_cxx_o(test->sfile, test->ofile, test->optargs,
227 RE(atf_build_cxx_o(test->sfile, test->ofile, NULL, &argv));
H A Dcheck_test.c59 RE(atf_check_exec_array(argv, r));
79 RE(atf_check_exec_array(argv, r));
112 RE(atf_check_build_c_o("test.c", "test.o", NULL, &success));
130 RE(atf_check_build_c_o("test.c", "test.o", NULL, &success));
145 RE(atf_fs_path_init_fmt(&test_p, "test.p"));
153 RE(atf_check_build_cpp("test.c", atf_fs_path_cstring(&test_p), NULL,
174 RE(atf_check_build_cpp("test.c", "test.p", NULL, &success));
192 RE(atf_check_build_cxx_o("test.cpp", "test.o", NULL, &success));
210 RE(atf_check_build_cxx_o("test.cpp", "test.o", NULL, &success));
225 RE(atf_tc_init_pac
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libm/
H A Dt_casinh.c15 #define RE(z) (((double *)(&z))[0]) macro
67 RE(input) = values[i].input_re;
69 RE(result) = values[i].result_re;

Completed in 183 milliseconds

1234