Home
last modified time | relevance | path

Searched refs:nextoffset (Results 1 – 9 of 9) sorted by relevance

/external/dtc/libfdt/
Dfdt.c94 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
101 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
108 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
140 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
164 int nextoffset = 0; in fdt_next_node() local
168 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0) in fdt_next_node()
169 return nextoffset; in fdt_next_node()
172 offset = nextoffset; in fdt_next_node()
173 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
187 return nextoffset; in fdt_next_node()
[all …]
Dfdt_rw.c225 int nextoffset; in _fdt_add_property() local
229 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in _fdt_add_property()
230 return nextoffset; in _fdt_add_property()
236 *prop = _fdt_offset_ptr_w(fdt, nextoffset); in _fdt_add_property()
337 int offset, nextoffset; in fdt_add_subnode_namelen() local
352 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */ in fdt_add_subnode_namelen()
354 offset = nextoffset; in fdt_add_subnode_namelen()
355 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_add_subnode_namelen()
Dfdt_sw.c251 int offset, nextoffset; in fdt_finish() local
269 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
279 offset = nextoffset; in fdt_finish()
281 if (nextoffset < 0) in fdt_finish()
282 return nextoffset; in fdt_finish()
Dfdt_ro.c137 int nextoffset; in _nextprop() local
140 tag = fdt_next_tag(fdt, offset, &nextoffset); in _nextprop()
144 if (nextoffset >= 0) in _nextprop()
147 return nextoffset; in _nextprop()
152 offset = nextoffset; in _nextprop()
Dlibfdt.h152 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/external/dtc/tests/
Dnopulate.c34 int offset, nextoffset = 0; in nopulate_struct() local
41 offset = nextoffset; in nopulate_struct()
42 tag = fdt_next_tag(fdt, offset, &nextoffset); in nopulate_struct()
45 nextoffset - offset); in nopulate_struct()
46 p += nextoffset - offset; in nopulate_struct()
Ddtb_reverse.c85 int nextoffset = offset; in reverse_children() local
91 CHECK(fdt_get_path(in, nextoffset, path, sizeof(path))); in reverse_children()
93 " depth=%d\n", offset, nextoffset, path, depth); in reverse_children()
95 nextoffset = fdt_next_node(in, nextoffset, &depth); in reverse_children()
99 reverse_children(in, out, nextoffset); in reverse_children()
/external/dtc/
Dfdtget.c152 int nextoffset; /* next node offset from libfdt */ in list_subnodes() local
159 tag = fdt_next_tag(blob, node, &nextoffset); in list_subnodes()
191 node = nextoffset; in list_subnodes()
/external/python/cpython2/Objects/
Dobmalloc.c288 uint nextoffset; /* bytes to virgin block */ member
838 if (pool->nextoffset <= pool->maxnextoffset) { in PyObject_Malloc()
841 pool->nextoffset; in PyObject_Malloc()
842 pool->nextoffset += INDEX2SIZE(size); in PyObject_Malloc()
941 pool->nextoffset = POOL_OVERHEAD + (size << 1); in PyObject_Malloc()