Searched refs:nameoff (Results 1 – 10 of 10) sorted by relevance
/external/dtc/libfdt/ |
D | fdt_sw.c | 226 int nameoff; in fdt_property() local 230 nameoff = _fdt_find_add_string(fdt, name); in fdt_property() 231 if (nameoff == 0) in fdt_property() 239 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property() 273 int nameoff; in fdt_finish() local 275 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish() 276 nameoff += fdt_size_dt_strings(fdt); in fdt_finish() 277 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
|
D | fdt.h | 89 fdt32_t nameoff; member
|
D | fdt_ro.c | 306 if (_fdt_string_eq(fdt, fdt32_to_cpu(prop->nameoff), in fdt_get_property_namelen() 345 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_getprop_by_offset()
|
D | fdt_rw.c | 244 (*prop)->nameoff = cpu_to_fdt32(namestroff); in _fdt_add_property()
|
/external/dtc/tests/ |
D | testutils.c | 92 uint32_t tag, nameoff, proplen; in check_property() local 103 nameoff = fdt32_to_cpu(prop->nameoff); in check_property() 109 propname = fdt_string(fdt, nameoff); in check_property()
|
D | dtbs_equal_ordered.c | 126 name1 = fdt_string(fdt1, fdt32_to_cpu(prop1->nameoff)); in compare_structure() 127 name2 = fdt_string(fdt2, fdt32_to_cpu(prop2->nameoff)); in compare_structure()
|
/external/kmod/libkmod/ |
D | libkmod-elf.c | 64 uint32_t nameoff; /* offset in strings itself */ member 224 …info(const struct kmod_elf *elf, uint16_t idx, uint64_t *offset, uint64_t *size, uint32_t *nameoff) in elf_get_section_info() argument 233 *nameoff = 0; in elf_get_section_info() 244 *nameoff = READV(sh_name); in elf_get_section_info() 249 *nameoff = READV(sh_name); in elf_get_section_info() 261 idx, *offset, *size, *nameoff); in elf_get_section_info() 342 &elf->header.strings.nameoff) < 0) { in kmod_elf_new() 381 uint32_t nameoff; in elf_find_section() local 383 int err = elf_get_section_info(elf, i, &off, &size, &nameoff); in elf_find_section() 386 if (nameoff >= nameslen) in elf_find_section() [all …]
|
/external/dtc/ |
D | fdtget.c | 134 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
|
D | flattree.c | 271 int nameoff; in flatten_tree() local 276 nameoff = stringtable_insert(strbuf, prop->name); in flatten_tree() 280 emit->cell(etarget, nameoff); in flatten_tree()
|
/external/iproute2/misc/ |
D | ss.c | 449 int nameoff; in user_ent_hash_build() local 467 nameoff = strlen(name); in user_ent_hash_build() 487 snprintf(name + nameoff, sizeof(name) - nameoff, "%d/fd/", pid); in user_ent_hash_build()
|