Lines Matching defs:in
3 * found in the LICENSE file. */
35 const char* in = path;
42 if (*in == '/') {
45 in++;
59 const char* next_slash = strchr(in, '/');
63 namelen = next_slash - in;
66 namelen = strlen(in);
67 next_in = in + namelen; // Move to the '\0'
73 } else if (namelen == 1 && strncmp(in, ".", 1) == 0) {
75 } else if (namelen == 2 && strncmp(in, "..", 2) == 0) {
76 // Parent directory, find previous slash in resolved_path.
104 strncat(out, in, namelen);
108 in = next_in;