Home
last modified time | relevance | path

Searched refs:loadmap (Results 1 – 14 of 14) sorted by relevance

/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c55 struct fdpic_loadmap *loadmap; member
97 struct fdpic_loadmap *loadmap; member
171 if (!p->loadmap) return p->base + v; in laddr()
172 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
173 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr()
179 if (!p->loadmap) return p->base + v; in laddr_pg()
181 size_t a = p->loadmap->segs[j].p_vaddr; in laddr_pg()
182 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
188 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr_pg()
607 if (dso->loadmap) { in unmap_library()
[all …]
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c55 struct fdpic_loadmap *loadmap; member
97 struct fdpic_loadmap *loadmap; member
171 if (!p->loadmap) return p->base + v; in laddr()
172 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
173 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr()
179 if (!p->loadmap) return p->base + v; in laddr_pg()
181 size_t a = p->loadmap->segs[j].p_vaddr; in laddr_pg()
182 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
188 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr_pg()
607 if (dso->loadmap) { in unmap_library()
[all …]
/third_party/musl/ldso/
Ddynlink.c55 struct fdpic_loadmap *loadmap; member
101 struct fdpic_loadmap *loadmap; member
175 if (!p->loadmap) return p->base + v; in laddr()
176 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
177 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr()
183 if (!p->loadmap) return p->base + v; in laddr_pg()
185 size_t a = p->loadmap->segs[j].p_vaddr; in laddr_pg()
186 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
192 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr_pg()
611 if (dso->loadmap) { in unmap_library()
[all …]
/third_party/python/Tools/unicode/
Dgenmap_japanese.py83 sjisdecmap = loadmap(jisx0208file, natcol=0, unicol=2)
84 jisx0208decmap = loadmap(jisx0208file, natcol=1, unicol=2)
85 jisx0212decmap = loadmap(jisx0212file)
86 cp932decmap = loadmap(cp932file)
Dgenmap_schinese.py61 gbkdecmap = loadmap(cp936map)
62 gb2312decmap = loadmap(gb2312map)
Dgenmap_korean.py24 decmap = loadmap(mapfile)
Dgenmap_support.py183 def loadmap(fo, natcol=0, unicol=1, sbcs=0): function
/third_party/musl/porting/linux/user/src/internal/
Ddynlink.h82 struct fdpic_loadmap *loadmap; member
124 struct fdpic_loadmap *loadmap; member
159 struct fdpic_loadmap *loadmap; member
/third_party/musl/src/internal/
Ddynlink.h92 struct fdpic_loadmap *loadmap; member
134 struct fdpic_loadmap *loadmap; member
169 struct fdpic_loadmap *loadmap; member
/third_party/musl/libc-test/src/functionalext/unittest/
Dunit_test_ldso_dynlink.c382 …temp_dso.loadmap = (struct fdpic_loadmap *)calloc(1, sizeof(struct fdpic_loadmap) + 1 * sizeof(str… in dynlink_test_0250()
383 if (temp_dso.loadmap == NULL){ in dynlink_test_0250()
387 temp_dso.loadmap->nsegs = 1; in dynlink_test_0250()
401 temp_dso.loadmap->segs[0].addr = (uintptr_t)p; in dynlink_test_0250()
402 temp_dso.loadmap->segs[0].p_memsz = 1; in dynlink_test_0250()
/third_party/musl/ldso/linux/
Ddynlink.c392 if (!p->loadmap) return p->base + v; in laddr()
393 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
394 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr()
400 if (!p->loadmap) return p->base + v; in laddr_pg()
402 size_t a = p->loadmap->segs[j].p_vaddr; in laddr_pg()
403 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
409 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr_pg()
1312 if (dso->loadmap) { in unmap_library()
1314 for (i=0; i<dso->loadmap->nsegs; i++) { in unmap_library()
1315 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()
[all …]
Dcfi.c146 if (DL_FDPIC && pldso->loadmap) { in is_addr_in_ldso()
147 for (i = 0; i < pldso->loadmap->nsegs; i++) { in is_addr_in_ldso()
148 if (a - pldso->loadmap->segs[i].p_vaddr in is_addr_in_ldso()
149 < pldso->loadmap->segs[i].p_memsz) in is_addr_in_ldso()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c392 if (!p->loadmap) return p->base + v; in laddr()
393 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
394 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr()
400 if (!p->loadmap) return p->base + v; in laddr_pg()
402 size_t a = p->loadmap->segs[j].p_vaddr; in laddr_pg()
403 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
409 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr_pg()
1312 if (dso->loadmap) { in unmap_library()
1314 for (i=0; i<dso->loadmap->nsegs; i++) { in unmap_library()
1315 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()
[all …]
Dcfi.c146 if (DL_FDPIC && pldso->loadmap) { in is_addr_in_ldso()
147 for (i = 0; i < pldso->loadmap->nsegs; i++) { in is_addr_in_ldso()
148 if (a-pldso->loadmap->segs[i].p_vaddr in is_addr_in_ldso()
149 < pldso->loadmap->segs[i].p_memsz) in is_addr_in_ldso()