Home
last modified time | relevance | path

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

/hal_espressif-latest/components/newlib/
Drealpath.c41 const char* in_ptr = file_name; in realpath() local
47 while (*in_ptr) { in realpath()
51 const char* end_of_path_component = strchrnul(in_ptr, '/'); in realpath()
52 size_t path_component_len = end_of_path_component - in_ptr; in realpath()
55 (path_component_len == 1 && in_ptr[0] == '.')) { in realpath()
57 } else if (path_component_len == 2 && in_ptr[0] == '.' && in_ptr[1] == '.') { in realpath()
88 memcpy(out_ptr, in_ptr, path_component_len); in realpath()
95 in_ptr += path_component_len; in realpath()
96 if (*in_ptr != '\0') { in realpath()
98 ++in_ptr; in realpath()