Home
last modified time | relevance | path

Searched refs:is_root (Results 1 – 25 of 32) sorted by relevance

12

/third_party/typescript/tests/ts_extra_tests/tool/
Dtest_helper.py65 def get_path_file(dir_path, all_file_path=None, is_root=False, limit_version=None): argument
71 is_root = True
73 is_root = False
74 if is_root:
/third_party/rust/crates/rustix/tests/process/
Did.rs8 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/
Djson_objectwriter.cc50 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()
Dstructured_objectwriter.h82 bool is_root() const { return parent_ == nullptr; } in is_root() function
/third_party/flutter/skia/infra/bots/
Dgen_compile_isolate.py105 def is_root(self): member in Tree.Node
112 if not self.is_root:
136 if not self.is_root and immediate_children >= COMBINE_PATHS_THRESHOLD:
155 if not self.is_root:
/third_party/skia/tools/skpbench/
D_adb.py36 if not self.is_root():
40 return self.is_root()
42 def is_root(self): member in Adb
D_hardware_pixel.py18 if not self._adb.is_root():
67 if not self._adb.is_root():
D_hardware_nexus_6p.py18 if not self._adb.is_root():
66 if not self._adb.is_root():
D_hardware_pixel_c.py21 if not self._adb.is_root():
58 if not self._adb.is_root():
D_hardware_pixel2.py20 if not self._adb.is_root():
87 if not self._adb.is_root():
D_hardware_android.py23 if not self._adb.is_root() and self._adb.root():
37 if self._adb.is_root():
/third_party/flutter/skia/tools/skpbench/
D_adb.py36 if not self.is_root():
40 return self.is_root()
42 def is_root(self): member in Adb
D_hardware_android.py22 if not self._adb.is_root() and self._adb.root():
36 if self._adb.is_root():
D_hardware_pixel.py18 if not self._adb.is_root():
67 if not self._adb.is_root():
D_hardware_nexus_6p.py18 if not self._adb.is_root():
66 if not self._adb.is_root():
D_hardware_pixel_c.py21 if not self._adb.is_root():
58 if not self._adb.is_root():
D_hardware_pixel2.py20 if not self._adb.is_root():
87 if not self._adb.is_root():
/third_party/json/third_party/amalgamate/
Damalgamate.py250 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/
DSkParseEncodedOrigin.cpp12 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/
Dmod.rs44 if !Uid::current().is_root() && CtlValue::Int(0) == ctl.value().unwrap()
83 if !Uid::current().is_root() {
/third_party/rust/crates/rustix/src/process/
Did.rs73 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/rust/crates/tracing/tracing-core/src/
Devent.rs103 pub fn is_root(&self) -> bool { in is_root() method
Dspan.rs152 pub fn is_root(&self) -> bool { in is_root() method
/third_party/rust/crates/tracing/tracing-subscriber/src/layer/
Dcontext.rs173 if event.is_root() { in event_span()
/third_party/libfuse/test/
Dtest_syscalls.c1964 int is_root; in main() local
2016 is_root = (geteuid() == 0); in main()
2073 if(!is_root) { in main()

12