| /src/external/gpl3/gdb.old/dist/gdb/unittests/ |
| enum-flags-selftests.c | 32 enum RE 61 DEF_ENUM_FLAGS_TYPE (RE, EF); 73 static RE re ATTRIBUTE_UNUSED; 86 CHECK_VALID_EXPR_6 (EF, RE, EF2, RE2, UEF, URE, VALID, EXPR_TYPE, EXPR) 88 typedef std::underlying_type<RE>::type und; 92 /* RE/EF -> underlying (explicit) */ 93 CHECK_VALID (true, und, und (RE ())) 96 /* RE/EF -> int (explicit) */ 97 CHECK_VALID (true, int, int (RE ())) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| RuntimeDyldCOFFThumb.h | 126 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); 127 addRelocationForSymbol(RE, TargetName); 140 RelocationEntry RE = 143 addRelocationForSection(RE, TargetSectionID); 147 RelocationEntry RE = 150 addRelocationForSection(RE, TargetSectionID); 154 RelocationEntry RE = 156 addRelocationForSection(RE, TargetSectionID); 160 RelocationEntry RE = 162 addRelocationForSection(RE, TargetSectionID) [all...] |
| RuntimeDyldMachOX86_64.h | 50 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.Addend = Value.Offset [all...] |
| RuntimeDyldCOFFI386.h | 105 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); 106 addRelocationForSymbol(RE, TargetName); 116 RelocationEntry RE = 119 addRelocationForSection(RE, TargetSectionID); 123 RelocationEntry RE = 125 addRelocationForSection(RE, TargetSectionID); 129 RelocationEntry RE = 131 addRelocationForSection(RE, TargetSectionID); 142 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { 143 const auto Section = Sections[RE.SectionID] [all...] |
| RuntimeDyldMachOARM.h | 63 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, ObjSectionToID) [all...] |
| RuntimeDyldMachOAArch64.h | 34 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.RelType == MachO::ARM64_RELOC_POINTER_TO_GOT) [all...] |
| RuntimeDyldMachOI386.h | 67 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, Value.SectionID) [all...] |
| RuntimeDyldCOFFX86_64.h | 67 // The target location for the relocation is described by RE.SectionID and 68 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each 84 // the symbol resides (RE.Addend provides additional information about the 87 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { 88 const SectionEntry &Section = Sections[RE.SectionID]; 89 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); 91 switch (RE.RelType) { 99 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); 102 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32) [all...] |
| RuntimeDyldCOFFAArch64.h | 128 const RelocationEntry RE(SectionID, Offset, RelType, Addend); 129 resolveRelocation(RE, Section.getLoadAddressWithOffset(StubOffset)); 247 RelocationEntry RE(SectionID, Offset, RelType, Addend); 248 addRelocationForSymbol(RE, TargetName); 250 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend); 251 addRelocationForSection(RE, TargetSectionID); 256 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { 257 const auto Section = Sections[RE.SectionID]; 258 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); 259 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset) [all...] |
| RuntimeDyldELFMips.cpp | 14 void RuntimeDyldELFMips::resolveRelocation(const RelocationEntry &RE, 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.SectionID) [all...] |
| RuntimeDyldELFMips.h | 28 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);
|
| /src/external/bsd/atf/dist/atf-c/detail/ |
| test_helpers.c | 53 RE(atf_dynstr_init_fmt(&iflag, "-I%s", atf_config_get("atf_includedir"))); 60 RE(atf_check_build_c_o(path, "test.o", optargs, &success)); 72 RE(atf_fs_path_init_fmt(&path, "%s/%s", 101 RE(atf_fs_path_init_fmt(path, "%s/%sprocess_helpers", 117 RE(atf_tc_run(data->m_tc, data->m_resname)); 132 RE(atf_fs_path_init_fmt(&outpath, "%s", outname)); 133 RE(atf_fs_path_init_fmt(&errpath, "%s", errname)); 137 RE(atf_process_stream_init_redirect_path(&outb, &outpath)); 138 RE(atf_process_stream_init_redirect_path(&errb, &errpath)); 139 RE(atf_process_fork(&child, run_h_tc_child, &outb, &errb, &data)) [all...] |
| list_test.c | 57 RE(atf_list_init(&list)); 78 RE(atf_list_init(&list)); 79 RE(atf_list_append(&list, &i1, false)); 80 RE(atf_list_append(&list, &i2, false)); 81 RE(atf_list_append(&list, &i3, false)); 102 RE(atf_list_init(&list)); 103 RE(atf_list_append(&list, &i1, false)); 104 RE(atf_list_append(&list, &i2, false)); 105 RE(atf_list_append(&list, &i3, false)); 120 RE(atf_list_init(&list)) [all...] |
| dynstr_test.c | 58 RE(atf_dynstr_init(&str)); 71 RE(atf_dynstr_init_ap(str, fmt, ap)); 115 RE(atf_dynstr_init_fmt(&str, "String 1")); 119 RE(atf_dynstr_init_fmt(&str, "String %d", 2)); 123 RE(atf_dynstr_init_fmt(&str, "%s %d", "String", 3)); 127 RE(atf_dynstr_init_fmt(&str, "%s%s%s%s%s%s%s", "This ", "should ", 147 RE(atf_dynstr_init_raw(&str, src, 0)); 151 RE(atf_dynstr_init_raw(&str, src, 8)); 155 RE(atf_dynstr_init_raw(&str, src + 10, 8)); 159 RE(atf_dynstr_init_raw(&str, "String\0Lost", 11)) [all...] |
| env_test.c | 80 RE(atf_text_format(&oldval, "%s", atf_env_get("PATH"))); 81 RE(atf_env_set("PATH", "foo-bar")); 87 RE(atf_env_set("_UNDEFINED_VARIABLE_", "foo2-bar2")); 100 RE(atf_env_unset("PATH"));
|
| map_test.c | 57 RE(atf_map_init(&map)); 67 RE(atf_map_init_charpp(&map, NULL)); 78 RE(atf_map_init_charpp(&map, array)); 90 RE(atf_map_init_charpp(&map, array)); 133 RE(atf_map_init(&map)); 134 RE(atf_map_insert(&map, "K1", val1, false)); 135 RE(atf_map_insert(&map, "K2", val2, false)); 171 RE(atf_map_init(&map)); 172 RE(atf_map_insert(&map, "K1", val1, false)); 173 RE(atf_map_insert(&map, "K2", val2, false)) [all...] |
| text_test.c | 148 RE(atf_text_for_each_word("1 2 3", " ", word_count, &cnt)); 149 RE(atf_text_for_each_word("1 2 3", " ", word_acum, acum)); 155 RE(atf_text_for_each_word("1 2 3", ".", word_count, &cnt)); 156 RE(atf_text_for_each_word("1 2 3", ".", word_acum, acum)); 162 RE(atf_text_for_each_word("1 2 3 4 5", " ", word_count, &cnt)); 163 RE(atf_text_for_each_word("1 2 3 4 5", " ", word_acum, acum)); 169 RE(atf_text_for_each_word("1 2.3.4 5", " .", word_count, &cnt)); 170 RE(atf_text_for_each_word("1 2.3.4 5", " .", word_acum, acum)); 340 RE(atf_text_to_bool("true", &b)); ATF_REQUIRE(b); 341 RE(atf_text_to_bool("TRUE", &b)); ATF_REQUIRE(b) [all...] |
| fs_test.c | 136 RE(atf_fs_path_init_fmt(&p, "%s", t->in)); 154 RE(atf_fs_path_init_fmt(&str, "foo")); 155 RE(atf_fs_path_copy(&str2, &str)); 159 RE(atf_fs_path_append_fmt(&str2, "bar")); 194 RE(atf_fs_path_init_fmt(&p, "%s", t->in)); 234 RE(atf_fs_path_init_fmt(&p, "%s", t->in)); 274 RE(atf_fs_path_init_fmt(&p, "%s", t->in)); 275 RE(atf_fs_path_branch_path(&p, &bp)); 313 RE(atf_fs_path_init_fmt(&p, "%s", t->in)); 314 RE(atf_fs_path_leaf_name(&p, &ln)) [all...] |
| process_test.c | 128 RE(atf_process_stream_init_capture(&s->m_base.m_sb)); 207 RE(atf_process_stream_init_connect(&s->m_base.m_sb, src_fd, s->m_fd)); 243 RE(atf_process_stream_init_inherit(&s->m_base.m_sb)); 334 RE(atf_process_stream_init_redirect_fd(&s->m_base.m_sb, s->m_fd)); 369 RE(atf_fs_path_init_fmt(&s->m_path, "stdout")); 372 RE(atf_fs_path_init_fmt(&s->m_path, "stderr")); 379 RE(atf_process_stream_init_redirect_path(&s->m_base.m_sb, &s->m_path)); 425 RE(atf_process_fork(&child, child_print, outfs->m_sb_ptr, 431 RE(atf_process_child_wait(&child, &status)); 453 RE(atf_process_stream_init_capture(&sb)) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| RuntimeDyldMachO.cpp | 46 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 = 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, ObjSectionToIDMap &ObjSectionToID) [all...] |
| /src/external/bsd/atf/dist/atf-c/ |
| tc_test.c | 67 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), 73 RE(atf_tc_init(&tc, "test2", ATF_TC_HEAD_NAME(test_var), 101 RE(atf_tc_init_pack(&tc, &tcp1, NULL)); 106 RE(atf_tc_init_pack(&tc, &tcp2, NULL)); 122 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), 125 RE(atf_tc_set_md_var(&tc, "test-var", "Test value")); 143 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), 149 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty),
|
| build_test.c | 105 RE(atf_env_set(var, val)); 175 RE(atf_build_c_o(test->sfile, test->ofile, test->optargs, 178 RE(atf_build_c_o(test->sfile, test->ofile, NULL, &argv)); 204 RE(atf_build_cpp(test->sfile, test->ofile, test->optargs, 207 RE(atf_build_cpp(test->sfile, test->ofile, NULL, &argv)); 234 RE(atf_build_cxx_o(test->sfile, test->ofile, test->optargs, 237 RE(atf_build_cxx_o(test->sfile, test->ofile, NULL, &argv));
|
| check_test.c | 64 RE(atf_check_exec_array(argv, r)); 84 RE(atf_check_exec_array(argv, r)); 117 RE(atf_check_build_c_o("test.c", "test.o", NULL, &success)); 135 RE(atf_check_build_c_o("test.c", "test.o", NULL, &success)); 150 RE(atf_fs_path_init_fmt(&test_p, "test.p")); 158 RE(atf_check_build_cpp("test.c", atf_fs_path_cstring(&test_p), NULL, 179 RE(atf_check_build_cpp("test.c", "test.p", NULL, &success)); 197 RE(atf_check_build_cxx_o("test.cpp", "test.o", NULL, &success)); 215 RE(atf_check_build_cxx_o("test.cpp", "test.o", NULL, &success)); 230 RE(atf_tc_init_pack(tc, tcpack, config)) [all...] |
| /src/external/gpl3/gdb/dist/sim/bfin/ |
| dv-bfin_emac.h | 25 #define RE (1 << 0)
|
| /src/external/gpl3/gdb.old/dist/sim/bfin/ |
| dv-bfin_emac.h | 25 #define RE (1 << 0)
|