Home
last modified time | relevance | path

Searched full:nodeoffset (Results 1 – 23 of 23) sorted by relevance

/external/dtc/libfdt/
Dlibfdt.h424 * @nodeoffset: structure block offset of the starting node
428 * device tree node at structure block offset nodeoffset. If lenp is
438 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE
444 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
449 * @nodeoffset: structure block offset of a node
457 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag
464 int fdt_first_property_offset(const void *fdt, int nodeoffset);
478 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag
531 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag
545 * @nodeoffset: offset of the node whose property to find
[all …]
Dfdt_ro.c233 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) in fdt_get_name() argument
235 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); in fdt_get_name()
239 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0)) in fdt_get_name()
253 int fdt_first_property_offset(const void *fdt, int nodeoffset) in fdt_first_property_offset() argument
257 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in fdt_first_property_offset()
317 int nodeoffset, in fdt_get_property() argument
320 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property()
324 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, in fdt_getprop_namelen() argument
329 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp); in fdt_getprop_namelen()
349 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() argument
[all …]
Dfdt_wip.c58 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, in fdt_setprop_inplace_namelen_partial() argument
66 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial()
78 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() argument
84 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace()
91 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name, in fdt_setprop_inplace()
104 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() argument
109 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property()
128 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node() argument
132 endoffset = _fdt_node_end_offset(fdt, nodeoffset); in fdt_nop_node()
136 _fdt_nop_region(fdt_offset_ptr_w(fdt, nodeoffset, 0), in fdt_nop_node()
[all …]
Dfdt_rw.c203 static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name, in _fdt_resize_property() argument
209 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in _fdt_resize_property()
221 static int _fdt_add_property(void *fdt, int nodeoffset, const char *name, in _fdt_add_property() argument
229 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in _fdt_add_property()
249 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument
257 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name()
272 int fdt_setprop(void *fdt, int nodeoffset, const char *name, in fdt_setprop() argument
280 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop); in fdt_setprop()
282 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop); in fdt_setprop()
291 int fdt_appendprop(void *fdt, int nodeoffset, const char *name, in fdt_appendprop() argument
[all …]
Dfdt_addresses.c58 int fdt_address_cells(const void *fdt, int nodeoffset) in fdt_address_cells() argument
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len); in fdt_address_cells()
78 int fdt_size_cells(const void *fdt, int nodeoffset) in fdt_size_cells() argument
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len); in fdt_size_cells()
Dlibfdt_internal.h68 int _fdt_node_end_offset(void *fdt, int nodeoffset);
/external/dtc/tests/
Dtests.h98 void check_property(void *fdt, int nodeoffset, const char *name,
100 #define check_property_cell(fdt, nodeoffset, name, val) \ argument
103 check_property(fdt, nodeoffset, name, sizeof(x), &x); \
107 const void *check_getprop(void *fdt, int nodeoffset, const char *name,
109 #define check_getprop_cell(fdt, nodeoffset, name, val) \ argument
112 check_getprop(fdt, nodeoffset, name, sizeof(x), &x); \
114 #define check_getprop_64(fdt, nodeoffset, name, val) \ argument
117 check_getprop(fdt, nodeoffset, name, sizeof(x), &x); \
119 #define check_getprop_string(fdt, nodeoffset, name, s) \ argument
120 check_getprop((fdt), (nodeoffset), (name), strlen(s)+1, (s))
Dsupernode_atdepth_offset.c74 int nodeoffset, supernodeoffset, superpathoffset, pathprefixlen; in check_supernode_atdepth() local
85 nodeoffset = fdt_path_offset(fdt, path); in check_supernode_atdepth()
86 if (nodeoffset < 0) in check_supernode_atdepth()
87 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset)); in check_supernode_atdepth()
93 supernodeoffset = fdt_supernode_atdepth_offset(fdt, nodeoffset, in check_supernode_atdepth()
111 int nodeoffset, err; in check_supernode_overdepth() local
113 nodeoffset = fdt_path_offset(fdt, path); in check_supernode_overdepth()
114 if (nodeoffset < 0) in check_supernode_overdepth()
115 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset)); in check_supernode_overdepth()
117 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, pdepth + 1, NULL); in check_supernode_overdepth()
Ddtb_reverse.c80 static void reverse_node(void *in, void *out, int nodeoffset);
104 static void reverse_node(void *in, void *out, int nodeoffset) in reverse_node() argument
106 const char *name = fdt_get_name(in, nodeoffset, NULL); in reverse_node()
112 CHECK(fdt_get_path(in, nodeoffset, path, sizeof(path))); in reverse_node()
113 verbose_printf("reverse_node(): nodeoffset=%d [%s]\n", in reverse_node()
114 nodeoffset, path); in reverse_node()
118 offset = fdt_first_property_offset(in, nodeoffset); in reverse_node()
124 offset = fdt_next_node(in, nodeoffset, &depth); in reverse_node()
Dparent_offset.c45 int nodeoffset, parentoffset, parentpathoffset, pathparentlen; in check_path() local
54 nodeoffset = fdt_path_offset(fdt, path); in check_path()
55 if (nodeoffset < 0) in check_path()
56 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset)); in check_path()
63 parentoffset = fdt_parent_offset(fdt, nodeoffset); in check_path()
Dtestutils.c87 void check_property(void *fdt, int nodeoffset, const char *name, in check_property() argument
96 prop = fdt_get_property(fdt, nodeoffset, name, &retlen); in check_property()
124 const void *check_getprop(void *fdt, int nodeoffset, const char *name, in check_getprop() argument
130 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in check_getprop()
/external/llvm/test/ObjectYAML/MachO/
Dexport_trie.yaml144 NodeOffset: 0
152 NodeOffset: 5
160 NodeOffset: 33
167 NodeOffset: 37
177 #CHECK: NodeOffset: 0
181 #CHECK: NodeOffset: 5
185 #CHECK: NodeOffset: 33
189 #CHECK: NodeOffset: 37
/external/llvm/test/tools/llvm-ar/Inputs/
Dmacho.yaml39 NodeOffset: 0
/external/llvm/include/llvm/ObjectYAML/
DMachOYAML.h83 : TerminalSize(0), NodeOffset(0), Name(), Flags(0), Address(0), Other(0), in ExportEntry()
86 uint64_t NodeOffset; member
/external/sonivox/arm-wt-22k/lib_src/
Deas_xmf.c70 …ReadNode (EAS_HW_DATA_HANDLE hwInstData, S_XMF_DATA *pXMFData, EAS_I32 nodeOffset, EAS_I32 *pLengt…
556 …ReadNode (EAS_HW_DATA_HANDLE hwInstData, S_XMF_DATA *pXMFData, EAS_I32 nodeOffset, EAS_I32 *pLengt… in XMF_ReadNode() argument
571 if ((result = EAS_HWFileSeek(hwInstData, pXMFData->fileHandle, nodeOffset)) != EAS_SUCCESS) in XMF_ReadNode()
594 if (offset - nodeOffset > headerLength) in XMF_ReadNode()
598 …if ((result = EAS_HWFileSeek(hwInstData, pXMFData->fileHandle, nodeOffset + headerLength)) != EAS_… in XMF_ReadNode()
659 if (offset <= nodeOffset) { in XMF_ReadNode()
/external/dtc/
Dfdtput.c150 static char *realloc_property(char *fdt, int nodeoffset, in realloc_property() argument
156 if (!fdt_get_property(fdt, nodeoffset, name, &oldlen)) in realloc_property()
/external/tpm2/
DNV.c453 UINT32 nodeOffset; in NvDeleteRAM() local
456 nodeOffset = NvGetRAMIndexOffset(handle); in NvDeleteRAM()
458 nodeOffset -= sizeof(UINT32) + sizeof(TPMI_RH_NV_INDEX); in NvDeleteRAM()
460 memcpy(&size, &s_ramIndex[nodeOffset], sizeof(size)); in NvDeleteRAM()
462 nextNode = nodeOffset + sizeof(UINT32) + size; in NvDeleteRAM()
464 MemoryMove(s_ramIndex + nodeOffset, s_ramIndex + nextNode, in NvDeleteRAM()
/external/llvm/lib/ObjectYAML/
DMachOYAML.cpp165 IO.mapOptional("NodeOffset", ExportEntry.NodeOffset); in mapping()
/external/llvm/include/llvm/Object/
DMachO.h66 uint32_t nodeOffset() const;
/external/llvm/tools/yaml2obj/
Dyaml2macho.cpp313 encodeSLEB128(EE.NodeOffset, OS); in dumpExportEntry()
/external/llvm/tools/obj2yaml/
Dmacho2yaml.cpp414 Child.NodeOffset = decodeULEB128(CurrPtr, &Count); in processExportNode()
/external/llvm/lib/Object/
DMachOObjectFile.cpp1401 uint32_t ExportEntry::nodeOffset() const { in nodeOffset() function in ExportEntry
/external/autotest/client/build_deps/closure_library/
Dclosure-library-20111110-r1376.tar.bz2closure-library-20111110-r1376/ closure-library-20111110-r1376/third_party/ closure ...