Home
last modified time | relevance | path

Searched full:root (Results 1 – 25 of 8532) sorted by relevance

12345678910>>...342

/external/libcxx/test/libcxx/containers/associative/
Dtree_remove.pass.cpp39 Node root; in test1() local
46 root.__left_ = &b; in test1()
48 b.__parent_ = &root; in test1()
73 std::__tree_remove(root.__left_, &y); in test1()
74 assert(std::__tree_invariant(root.__left_)); in test1()
76 assert(root.__parent_ == 0); in test1()
77 assert(root.__left_ == &d); in test1()
78 assert(root.__right_ == 0); in test1()
79 assert(root.__is_black_ == false); in test1()
81 assert(d.__parent_ == &root); in test1()
[all …]
Dtree_balance_after_insert.pass.cpp37 Node root; in test1() local
43 root.__left_ = &c; in test1()
45 c.__parent_ = &root; in test1()
65 std::__tree_balance_after_insert(root.__left_, &a); in test1()
67 assert(std::__tree_invariant(root.__left_)); in test1()
69 assert(root.__left_ == &c); in test1()
71 assert(c.__parent_ == &root); in test1()
92 Node root; in test1() local
98 root.__left_ = &c; in test1()
100 c.__parent_ = &root; in test1()
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/
DHTMLElementTest.java29 private HTMLElement root; field in HTMLElementTest
34 root = new HTMLElement(buffer, "root") { in setUp()
43 root.meta("key", "value"); in testMeta()
44 root.close(); in testMeta()
46 "<root><meta http-equiv=\"key\" content=\"value\"/></root>", in testMeta()
52 root.link("stylesheet", "style.css", "text/css"); in testLink()
53 root.close(); in testLink()
55 "<root><link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\"/></root>", in testLink()
61 root.title(); in testTitle()
62 root.close(); in testTitle()
[all …]
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_misc.py11 t = tkinter.Toplevel(self.root, name='top')
16 t = tkinter.Toplevel(self.root)
24 root = self.root
25 root.tk_setPalette('black')
26 self.assertEqual(root['background'], 'black')
27 root.tk_setPalette('white')
28 self.assertEqual(root['background'], 'white')
31 root.tk_setPalette, 'spam')
33 root.tk_setPalette(background='black')
34 self.assertEqual(root['background'], 'black')
[all …]
Dtest_variables.py20 self.root = Tcl()
23 del self.root
29 return self.root.getboolean(self.root.call("info", "exists", *args))
32 v = Variable(self.root)
37 v = Variable(self.root, "sample string", "varname")
43 v = Variable(self.root, "sample string", "varname")
50 v1 = Variable(self.root, name="name")
51 v2 = Variable(self.root, name="name")
60 v1 = Variable(self.root, name="abc")
61 v2 = Variable(self.root, name="abc")
[all …]
/external/toybox/tests/
Dchgrp.test7 echo "$SHOWSKIP: chgrp (not root)"
12 # We chgrp between "root" and the last group in /etc/group.
35 testing "dir" "$IN chgrp root dir $OUT" \
36 "root $GRP $GRP $GRP $GRP $GRP $GRP\n" "" ""
37 testing "file" "$IN chgrp root dir/file $OUT" \
38 "$GRP $GRP $GRP root $GRP $GRP $GRP\n" "" ""
39 testing "dir and file" "$IN chgrp root dir dir/file $OUT" \
40 "root $GRP $GRP root $GRP $GRP $GRP\n" "" ""
43 testing "symlink->file" "$IN chgrp root dir2/file $OUT" \
44 "$GRP $GRP $GRP root $GRP $GRP $GRP\n" "" ""
[all …]
/external/autotest/client/site_tests/security_SandboxedServices/
Dbaseline.lakitu-gpu5 cloud-init,root,root,No,No,No,No,No
6 device_policy_m,root,root,No,No,No,No,No
7 first-boot,root,root,No,No,No,No,No
8 onboot,root,root,No,No,No,No,No
9 systemd-journal,root,root,No,No,No,No,No
10 systemd-logind,root,root,No,No,No,No,No
11 systemd,root,root,No,No,No,No,No
12 systemd-udevd,root,root,No,No,No,No,No
14 # TODO: These processes do not really need to run as root. Figure out a way to
16 curl,root,root,No,No,No,No,No
[all …]
Dbaseline.lakitu-st6 cloud-init,root,root,No,No,No,No,No
7 device_policy_m,root,root,No,No,No,No,No
8 first-boot,root,root,No,No,No,No,No
9 onboot,root,root,No,No,No,No,No
10 systemd-journal,root,root,No,No,No,No,No
11 systemd-logind,root,root,No,No,No,No,No
12 systemd,root,root,No,No,No,No,No
13 systemd-udevd,root,root,No,No,No,No,No
15 # TODO: These processes do not really need to run as root. Figure out a way to
17 curl,root,root,No,No,No,No,No
[all …]
Dbaseline.lakitu_next6 cloud-init,root,root,No,No,No,No,No
7 device_policy_m,root,root,No,No,No,No,No
8 first-boot,root,root,No,No,No,No,No
9 onboot,root,root,No,No,No,No,No
10 systemd-journal,root,root,No,No,No,No,No
11 systemd-logind,root,root,No,No,No,No,No
12 systemd,root,root,No,No,No,No,No
13 systemd-udevd,root,root,No,No,No,No,No
15 # TODO: These processes do not really need to run as root. Figure out a way to
17 curl,root,root,No,No,No,No,No
[all …]
Dbaseline.lakitu6 cloud-init,root,root,No,No,No,No,No
7 device_policy_m,root,root,No,No,No,No,No
8 first-boot,root,root,No,No,No,No,No
9 onboot,root,root,No,No,No,No,No
10 systemd-journal,root,root,No,No,No,No,No
11 systemd-logind,root,root,No,No,No,No,No
12 systemd,root,root,No,No,No,No,No
13 systemd-udevd,root,root,No,No,No,No,No
15 # TODO: These processes do not really need to run as root. Figure out a way to
17 curl,root,root,No,No,No,No,No
[all …]
Dbaseline7 # root, do not just whitelist it here. Services should rarely be running under
8 # the root account. Spend the time to improve the security of the system early
27 # root. TODO: We should namespace it.
28 udevd,root,root,No,No,No,No,No
30 # Frecon needs to run as root and in the original namespace because it might
32 frecon,root,root,No,No,No,No,No
34 session_manager,root,root,No,No,No,No,No
41 cryptohomed,root,root,No,No,No,No,No
45 memd,root,root,Yes,Yes,No,Yes,Yes
46 metrics_daemon,root,root,No,No,No,No,No
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Ddeadness_analysis_test.cc49 ops::Switch CreateSwitch(const Scope& root, const string& prefix) { in CreateSwitch() argument
50 Output value = ops::Placeholder(root.WithOpName(prefix + "/value"), DT_FLOAT); in CreateSwitch()
52 ops::Placeholder(root.WithOpName(prefix + "/pred"), DT_BOOL); in CreateSwitch()
53 return ops::Switch(root.WithOpName(prefix + "/switch"), value, predicate); in CreateSwitch()
114 InductionVarInfo CreateInductionVariable(const Scope& root, in CreateInductionVariable() argument
119 root.WithOpName(prefix + "/enter"), initial_value, frame_name); in CreateInductionVariable()
121 ops::Merge iv(root.WithOpName(prefix + "/iv"), in CreateInductionVariable()
123 Output increment_by = ops::Const(root.WithOpName(prefix + "/incr"), 1); in CreateInductionVariable()
124 Output final_value = ops::Const(root.WithOpName(prefix + "/final"), 10); in CreateInductionVariable()
126 ops::Less(root.WithOpName(prefix + "/cond"), iv.output, final_value); in CreateInductionVariable()
[all …]
Dresource_operation_safety_analysis_test.cc81 Scope root = Scope::NewRootScope().ExitOnError(); in TEST() local
83 Node* read = MakeRead(root, "R"); in TEST()
84 Node* write = MakeWrite(root, "W"); in TEST()
86 root.graph()->AddControlEdge(write, read); in TEST()
89 TF_ASSERT_OK(ComputeIncompatiblePairs(root.graph(), &incompatible_pairs)); in TEST()
97 Scope root = Scope::NewRootScope().ExitOnError(); in TEST() local
99 Node* read = MakeRead(root, "R"); in TEST()
100 Node* write = MakeWrite(root, "W"); in TEST()
102 root.graph()->AddControlEdge(read, write); in TEST()
105 TF_ASSERT_OK(ComputeIncompatiblePairs(root.graph(), &incompatible_pairs)); in TEST()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcalltest.c16 /* THE FILE WHERE ALL C API TESTS ARE ADDED TO THE ROOT */
21 void addUtility(TestNode** root);
22 void addBreakIter(TestNode** root);
23 void addStandardNamesTest(TestNode **root);
24 void addFormatTest(TestNode** root);
25 void addConvert(TestNode** root);
26 void addCollTest(TestNode** root);
27 void addComplexTest(TestNode** root);
28 void addBidiTransformTest(TestNode** root);
29 void addUDataTest(TestNode** root);
[all …]
/external/llvm/include/llvm/ADT/
DImmutableMap.h71 TreeTy* Root;
74 /// Constructs a map from a pointer to a tree root. In general one
78 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) { in ImmutableMap()
79 if (Root) { Root->retain(); } in ImmutableMap()
82 ImmutableMap(const ImmutableMap &X) : Root(X.Root) { in ImmutableMap()
83 if (Root) { Root->retain(); } in ImmutableMap()
87 if (Root != X.Root) {
88 if (X.Root) { X.Root->retain(); }
89 if (Root) { Root->release(); }
90 Root = X.Root;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DImmutableMap.h74 TreeTy* Root;
77 /// Constructs a map from a pointer to a tree root. In general one
81 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) { in ImmutableMap()
82 if (Root) { Root->retain(); } in ImmutableMap()
85 ImmutableMap(const ImmutableMap &X) : Root(X.Root) { in ImmutableMap()
86 if (Root) { Root->retain(); } in ImmutableMap()
90 if (Root) { Root->release(); } in ~ImmutableMap()
94 if (Root != X.Root) {
95 if (X.Root) { X.Root->retain(); }
96 if (Root) { Root->release(); }
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_misc.py11 root = self.root
18 self.assertIsNone(root.after(1))
22 timer1 = root.after(0, callback)
23 self.assertIn(timer1, root.tk.call('after', 'info'))
24 (script, _) = root.tk.splitlist(root.tk.call('after', 'info', timer1))
25 root.update() # Process all pending events.
28 root.tk.call(script)
32 timer1 = root.after(0, callback, 42, 11)
33 root.update() # Process all pending events.
37 timer1 = root.after(1000, callback)
[all …]
Dtest_variables.py10 self.root = Tcl()
13 del self.root
19 return self.root.getboolean(self.root.call("info", "exists", *args))
22 v = Variable(self.root)
27 v = Variable(self.root, "sample string", "varname")
33 v = Variable(self.root, "sample string", "varname")
40 v1 = Variable(self.root, name="name")
41 v2 = Variable(self.root, name="name")
50 v1 = Variable(self.root, name="abc")
51 v2 = Variable(self.root, name="abc")
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/
DXMLElementTest.java29 private XMLElement root; field in XMLElementTest
34 root = new XMLElement(buffer, "root"); in setUp()
35 root.beginOpenTag(); in setUp()
40 root.close(); in testEmptyNode()
42 root.close(); in testEmptyNode()
43 assertEquals("<root/>", buffer.toString()); in testEmptyNode()
48 root.close(); in testAddAttributeToClosedNode()
49 root.attr("attr", "value"); in testAddAttributeToClosedNode()
54 root.close(); in testAddChildToClosedNode()
55 root.element("child"); in testAddChildToClosedNode()
[all …]
/external/openssh/contrib/suse/
Dopenssh.spec193 %defattr(-,root,root)
196 %attr(0755,root,root) %dir %{_sysconfdir}/ssh
197 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/ssh/ssh_config
198 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/sshd_config
199 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/moduli
200 %attr(0644,root,root) %config(noreplace) /etc/pam.d/sshd
201 %attr(0755,root,root) %config /etc/init.d/sshd
202 %attr(0755,root,root) %{_bindir}/ssh-keygen
203 %attr(0755,root,root) %{_bindir}/scp
204 %attr(0755,root,root) %{_bindir}/ssh
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dload_test.py72 root = tracking.AutoTrackable()
73 root.dep_one = tracking.AutoTrackable()
74 root.dep_two = tracking.AutoTrackable()
75 root.dep_two.dep = tracking.AutoTrackable()
76 root.dep_three = root.dep_two.dep
77 imported = self.cycle(root, cycles)
82 root = tracking.AutoTrackable()
83 root.v1 = variables.Variable(1., trainable=True)
84 root.v2 = variables.Variable(2., trainable=False)
85 imported = self.cycle(root, cycles)
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DImmutableMap.h72 TreeTy* Root;
75 /// Constructs a map from a pointer to a tree root. In general one
79 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) { in ImmutableMap()
80 if (Root) { Root->retain(); } in ImmutableMap()
82 ImmutableMap(const ImmutableMap &X) : Root(X.Root) { in ImmutableMap()
83 if (Root) { Root->retain(); } in ImmutableMap()
86 if (Root != X.Root) {
87 if (X.Root) { X.Root->retain(); }
88 if (Root) { Root->release(); }
89 Root = X.Root;
[all …]
/external/tensorflow/tensorflow/cc/framework/
Dcc_ops_test.cc42 Scope root = Scope::NewRootScope(); in TEST() local
43 auto c = Const(root, {{1, 1}}); in TEST()
50 MatMul m(root, c, {{41}, {1}}); in TEST()
51 TF_EXPECT_OK(root.status()); in TEST()
53 test::GetTensor(root, m, &out); in TEST()
58 Scope root = Scope::NewRootScope(); in TEST() local
59 auto m = MatMul(root, {{1}, {1}}, {{41}, {1}}, MatMul::TransposeA(true)); in TEST()
60 TF_EXPECT_OK(root.status()); in TEST()
62 test::GetTensor(root, m, &out); in TEST()
67 Scope root = Scope::NewRootScope(); in TEST() local
[all …]
/external/libchrome/base/json/
Djson_reader_unittest.cc25 std::unique_ptr<Value> root = JSONReader().ReadToValue(" null "); in TEST() local
26 ASSERT_TRUE(root); in TEST()
27 EXPECT_TRUE(root->is_none()); in TEST()
35 std::unique_ptr<Value> root = JSONReader().ReadToValue("true "); in TEST() local
36 ASSERT_TRUE(root); in TEST()
37 EXPECT_TRUE(root->is_bool()); in TEST()
41 std::unique_ptr<Value> root = JSONReader().ReadToValue("/* comment */null"); in TEST() local
42 ASSERT_TRUE(root); in TEST()
43 EXPECT_TRUE(root->is_none()); in TEST()
44 root = JSONReader().ReadToValue("40 /* comment */"); in TEST()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowViewGroupTest.java35 private ViewGroup root; field in ShadowViewGroupTest
47 root = new FrameLayout(context); in setUp()
55 root.addView(child1); in setUp()
56 root.addView(child2); in setUp()
57 root.addView(child3); in setUp()
73 root.removeView(null); in removeNullView_doesNothing()
78 assertThat(root.getLayoutAnimationListener()).isNull(); in testLayoutAnimationListener()
93 root.setLayoutAnimationListener(animationListener); in testLayoutAnimationListener()
95 assertThat(root.getLayoutAnimationListener()).isSameAs(animationListener); in testLayoutAnimationListener()
100 assertThat(root.getLayoutAnimation()).isNull(); in testLayoutAnimation()
[all …]

12345678910>>...342