Home
last modified time | relevance | path

Searched refs:str_index (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/libexec/ld.so/ldconfig/
Dldconfig.c300 int strtab_sz = 0, nhints = 0, fd = -1, i, ret = -1, str_index = 0; in buildhints() local
363 bp->hi_namex = str_index; in buildhints()
364 strlcpy(strtab + str_index, shp->name, strtab_sz - str_index); in buildhints()
365 str_index += 1 + strlen(shp->name); in buildhints()
367 bp->hi_pathx = str_index; in buildhints()
368 strlcpy(strtab + str_index, shp->path, strtab_sz - str_index); in buildhints()
369 str_index += 1 + strlen(shp->path); in buildhints()
377 strlcpy(strtab + str_index, dir_list, strtab_sz - str_index); in buildhints()
378 str_index += 1 + strlen(dir_list); in buildhints()
381 if (str_index != strtab_sz) in buildhints()
[all …]
/openbsd/src/gnu/llvm/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp985 uint32_t str_index = static_cast<uint32_t>(symbol.d_val); in ParseDependentModules() local
986 const char *lib_name = dynstr_data.PeekCStr(str_index); in ParseDependentModules()