Lines Matching refs:pointer
96 char *pointer = path_; in mkdirs() local
97 while ((pointer = strchr(pointer, '/')) != NULL) { in mkdirs()
98 if (path_ != pointer) { // skip leading slash in mkdirs()
99 *pointer = 0; in mkdirs()
107 *pointer = '/'; in mkdirs()
109 pointer++; in mkdirs()
147 const char *pointer = strrchr(path, '/'); in basename() local
148 if (pointer == NULL) { in basename()
149 pointer = path; in basename()
151 pointer++; // Skip the leading slash. in basename()
153 strncpy(output, pointer, output_size); in basename()