Home | History | Annotate | Download | only in libcutils

Lines Matching defs:segment

171     char* segment = buf + 1;
172 char* p = segment;
177 if (!strcmp(segment, "..") || !strcmp(segment, ".") || !strcmp(segment, "")) {
183 if (fstatat(fd, segment, &sb, AT_SYMLINK_NOFOLLOW) != 0) {
186 if (mkdirat(fd, segment, mode) != 0) {
207 ALOGE("Existing segment not a directory: %s", buf);
213 /* Yay, segment is ready for us to step into */
215 if ((next_fd = openat(fd, segment, O_NOFOLLOW | O_CLOEXEC)) == -1) {
225 segment = p + 1;