/third_party/rust/crates/rustix/tests/process/ |
D | id.rs | 8 assert_eq!(process::getuid().is_root(), libc::getuid() == 0); in test_getuid() 17 assert_eq!(process::getgid().is_root(), libc::getgid() == 0); in test_getgid() 26 assert_eq!(process::geteuid().is_root(), libc::geteuid() == 0); in test_geteuid() 35 assert_eq!(process::getegid().is_root(), libc::getegid() == 0); in test_getegid()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | json_objectwriter.cc | 50 if (element_ && !element_->is_root()) { in ~JsonObjectWriter() 65 if (element() && element()->is_root()) NewLine(); in EndObject() 79 if (element()->is_root()) NewLine(); in EndList() 175 if (not_first || !element()->is_root()) NewLine(); in WritePrefix()
|
D | structured_objectwriter.h | 82 bool is_root() const { return parent_ == nullptr; } in is_root() function
|
/third_party/skia/tools/skpbench/ |
D | _adb.py | 36 if not self.is_root(): 40 return self.is_root() 42 def is_root(self): member in Adb
|
D | _hardware_pixel.py | 18 if not self._adb.is_root(): 67 if not self._adb.is_root():
|
D | _hardware_nexus_6p.py | 18 if not self._adb.is_root(): 66 if not self._adb.is_root():
|
D | _hardware_pixel_c.py | 21 if not self._adb.is_root(): 58 if not self._adb.is_root():
|
D | _hardware_pixel2.py | 20 if not self._adb.is_root(): 87 if not self._adb.is_root():
|
D | _hardware_android.py | 23 if not self._adb.is_root() and self._adb.root(): 37 if self._adb.is_root():
|
/third_party/typescript/tests/ts_extra_tests/tool/ |
D | test_helper.py | 67 is_root = True 69 is_root = False 74 if is_root:
|
/third_party/json/tools/amalgamate/ |
D | amalgamate.py | 250 if not self.is_root: 254 def __init__(self, file_path, amalgamation, is_root): argument 258 self.is_root = is_root
|
/third_party/skia/src/codec/ |
D | SkParseEncodedOrigin.cpp | 12 bool littleEndian, bool is_root, SkEncodedOrigin* orientation) { in parse_encoded_origin() argument 43 } else if (kSubIFDOffsetTag == tag && kSubIFDOffsetType == type && 1 == count && is_root) { in parse_encoded_origin()
|
/third_party/rust/crates/nix/test/common/ |
D | mod.rs | 44 if !Uid::current().is_root() && CtlValue::Int(0) == ctl.value().unwrap() 83 if !Uid::current().is_root() {
|
/third_party/rust/crates/rustix/src/process/ |
D | id.rs | 73 pub const fn is_root(self) -> bool { in is_root() method 100 pub const fn is_root(self) -> bool { in is_root() method
|
/third_party/node/deps/v8/src/handles/ |
D | global-handles.cc | 686 bool is_root() const { return IsRoot::decode(flags_); } in is_root() function in v8::internal::GlobalHandles::TracedNode 733 void CheckImplFieldsAreCleared() const { DCHECK(is_root()); } in CheckImplFieldsAreCleared() 1272 DCHECK(node->is_root()); in IdentifyWeakUnmodifiedObjects() 1290 if (node->IsInUse() && node->is_root()) { in IterateYoungStrongAndDependentRoots() 1352 DCHECK_IMPLIES(node->is_root(), in IterateYoungWeakObjectsForPhantomHandles() 1363 if (!node->is_root()) { in IterateYoungWeakObjectsForPhantomHandles()
|
/third_party/libfuse/test/ |
D | test_syscalls.c | 1964 int is_root; in main() local 2016 is_root = (geteuid() == 0); in main() 2073 if(!is_root) { in main()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | btree.h | 682 bool is_root() const { return parent()->leaf(); } 684 assert(parent()->is_root()); 1842 while (position == node->finish() && !node->is_root()) { 1866 while (position < node->start() && !node->is_root()) {
|
/third_party/libabigail/tools/ |
D | abilint.cc | 194 is_root() const in is_root() function
|
/third_party/python/Lib/test/ |
D | test_posix.py | 730 is_root = (uid in (0, 1)) 732 is_root = (uid == 0) 733 if is_root:
|
/third_party/rust/crates/nix/ |
D | CHANGELOG.md | 476 - Made `Uid::is_root` a `const fn` 791 `Uid::is_root`, `Uid::as_raw`, `Pid::as_raw`, and `PollFd::revents` now take
|
/third_party/rust/crates/nix/src/ |
D | unistd.rs | 94 pub const fn is_root(self) -> bool {
|