Home
last modified time | relevance | path

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

/aosp_15_r20/external/selinux/libselinux/utils/
H A Dsefcontext_compile.c300 char stack_path[PATH_MAX + 1]; in main() local
402 rc = snprintf(stack_path, sizeof(stack_path), "%s", out_file); in main()
404 rc = snprintf(stack_path, sizeof(stack_path), "%s.bin", path); in main()
406 if (rc < 0 || rc >= (int)sizeof(stack_path)) { in main()
411 tmp = malloc(strlen(stack_path) + 7); in main()
417 rc = sprintf(tmp, "%sXXXXXX", stack_path); in main()
441 rc = rename(tmp, stack_path); in main()
443 fprintf(stderr, "%s: rename %s -> %s failed: %s\n", argv[0], tmp, stack_path, strerror(errno)); in main()
/aosp_15_r20/external/rust/android-crates-io/crates/walkdir/src/
Dlib.rs544 stack_path: vec![], in into_iter()
585 stack_path: Vec<Ancestor>, field
925 self.stack_path.push(ancestor); in push()
952 self.stack_path.pop().expect("BUG: list/path stacks out of sync"); in pop()
975 for ancestor in self.stack_path.iter().rev() { in check_loop()
/aosp_15_r20/external/selinux/libselinux/src/
H A Dlabel_file.c543 char stack_path[len]; in open_file() local
555 rc = snprintf(stack_path, sizeof(stack_path), "%s", path); in open_file()
556 if (rc >= (int) sizeof(stack_path)) { in open_file()
564 path = rolling_append(stack_path, fdetails[i].suffix, in open_file()
565 sizeof(stack_path)); in open_file()