Home
last modified time | relevance | path

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

/system/libufdt/
Dufdt_prop_dict.c50 const struct fdt_property **prop_ptr = &dict->props[idx]; in _ufdt_prop_dict_find_index_by_name() local
51 const struct fdt_property *prop = *prop_ptr; in _ufdt_prop_dict_find_index_by_name()
52 if (prop == NULL) return prop_ptr; in _ufdt_prop_dict_find_index_by_name()
55 if (dto_strcmp(prop_name, name) == 0) return prop_ptr; in _ufdt_prop_dict_find_index_by_name()
130 const struct fdt_property **prop_ptr = _ufdt_prop_dict_find_index(dict, prop); in ufdt_prop_dict_add() local
131 if (prop_ptr == NULL) { in ufdt_prop_dict_add()
136 if (*prop_ptr == NULL) dict->num_used++; in ufdt_prop_dict_add()
137 *prop_ptr = prop; in ufdt_prop_dict_add()
144 const struct fdt_property **prop_ptr = in ufdt_prop_dict_find() local
146 return prop_ptr ? *prop_ptr : NULL; in ufdt_prop_dict_find()
Dufdt_overlay.c131 char *path, *prop_ptr, *offset_ptr, *end_ptr; in ufdt_get_fixup_location() local
146 prop_ptr = dto_strchr(path, ':'); in ufdt_get_fixup_location()
147 if (prop_ptr == NULL) { in ufdt_get_fixup_location()
152 *prop_ptr = '\0'; in ufdt_get_fixup_location()
153 prop_ptr++; in ufdt_get_fixup_location()
155 offset_ptr = dto_strchr(prop_ptr, ':'); in ufdt_get_fixup_location()
178 ufdt_node_get_fdt_prop_data_by_name(target_node, prop_ptr, &prop_len); in ufdt_get_fixup_location()
180 dto_error("Property '%s' not found in '%s' node\n", prop_ptr, path); in ufdt_get_fixup_location()
/system/libufdt/tests/libufdt_verify/
Dufdt_test_overlay.cpp143 char *path, *prop_ptr, *offset_ptr; in ufdt_combine_fixup() local
157 prop_ptr = dto_strchr(path, ':'); in ufdt_combine_fixup()
158 if (prop_ptr == NULL) { in ufdt_combine_fixup()
163 *prop_ptr = '\0'; in ufdt_combine_fixup()
164 prop_ptr++; in ufdt_combine_fixup()
166 offset_ptr = dto_strchr(prop_ptr, ':'); in ufdt_combine_fixup()
175 result = dto_strcmp(prop_ptr, "target"); in ufdt_combine_fixup()
/system/libufdt/utils/src/
Dmkdtimg_core.h29 int parse_path(char **path_ptr, char **prop_ptr, char *value_str);
Dmkdtimg_core.c136 int parse_path(char **path_ptr, char **prop_ptr, char *value_str) { in parse_path() argument
137 return split_str(path_ptr, prop_ptr, value_str, ':'); in parse_path()