Home
last modified time | relevance | path

Searched refs:loadmap (Results 1 – 11 of 11) 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
99 struct fdpic_loadmap *loadmap; member
173 if (!p->loadmap) return p->base + v; in laddr()
174 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
175 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr()
181 if (!p->loadmap) return p->base + v; in laddr_pg()
183 size_t a = p->loadmap->segs[j].p_vaddr; in laddr_pg()
184 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
190 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr_pg()
609 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/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/porting/linux/user/ldso/
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()
Ddynlink.c366 if (!p->loadmap) return p->base + v; in laddr()
367 for (j=0; v-p->loadmap->segs[j].p_vaddr >= p->loadmap->segs[j].p_memsz; j++); in laddr()
368 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr()
374 if (!p->loadmap) return p->base + v; in laddr_pg()
376 size_t a = p->loadmap->segs[j].p_vaddr; in laddr_pg()
377 size_t b = a + p->loadmap->segs[j].p_memsz; in laddr_pg()
383 return (void *)(v - p->loadmap->segs[j].p_vaddr + p->loadmap->segs[j].addr); in laddr_pg()
1247 if (dso->loadmap) { in unmap_library()
1249 for (i=0; i<dso->loadmap->nsegs; i++) { in unmap_library()
1250 if (!dso->loadmap->segs[i].p_memsz) in unmap_library()
[all …]
/third_party/musl/porting/linux/user/src/internal/
Ddynlink.h82 struct fdpic_loadmap *loadmap; member
124 struct fdpic_loadmap *loadmap; member