Home
last modified time | relevance | path

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

/components/legacy/fdt/src/
A Ddtb_get.c69 int pathname_sz; in _dtb_node_get_dtb_nodes_list() local
79 pathname_sz = strlen(pathname); in _dtb_node_get_dtb_nodes_list()
94 if (paths_buf.cur + pathname_sz + node_name_sz + 2 < paths_buf.end) in _dtb_node_get_dtb_nodes_list()
97 strncpy(paths_buf.cur, pathname, pathname_sz); in _dtb_node_get_dtb_nodes_list()
98 paths_buf.cur += pathname_sz; in _dtb_node_get_dtb_nodes_list()
554 int pathname_sz; in dtb_node_get_dtb_node_by_path() local
573 pathname_sz = strlen(pathname) + 1; in dtb_node_get_dtb_node_by_path()
574 pathname_clone = (char *)malloc(pathname_sz); in dtb_node_get_dtb_node_by_path()
579 strncpy(pathname_clone, pathname, pathname_sz); in dtb_node_get_dtb_node_by_path()
613 node_name = &((char *)pathname)[(pathname_sz - 1) - (&pathname_clone[i] - node_name)]; in dtb_node_get_dtb_node_by_path()

Completed in 3 milliseconds