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