Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 4491) sorted by relevance

12345678910>>...180

/external/icu/icu4c/source/test/cintltst/
Dcalltest.c21 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);
30 void addUTF16Test(TestNode** root);
[all …]
Dcutiltst.c26 void addHashtableTest(TestNode** root);
27 void addCStringTest(TestNode** root);
28 void addTrieTest(TestNode** root);
29 void addTrie2Test(TestNode** root);
30 void addUCPTrieTest(TestNode** root);
31 void addEnumerationTest(TestNode** root);
32 void addPosixTest(TestNode** root);
33 void addSortTest(TestNode** root);
35 void addUtility(TestNode** root);
37 void addUtility(TestNode** root) in addUtility() argument
[all …]
/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 …]
/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 …]
Dincrease_dynamism_for_auto_jit_pass_test.cc101 Scope root = Scope::NewRootScope() in TEST() local
106 Output input = ops::Placeholder(root.WithOpName("input"), DT_FLOAT); in TEST()
107 Output begin = ops::Placeholder(root.WithOpName("begin"), DT_INT32); in TEST()
108 Output size = ops::Const(root.WithOpName("size"), {-1, 500}); in TEST()
109 Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size); in TEST()
112 TF_ASSERT_OK(IncreaseDynamismForAutoJit(root, &result)); in TEST()
147 Scope root = Scope::NewRootScope() in TEST() local
152 Output input = ops::Placeholder(root.WithOpName("input"), DT_FLOAT); in TEST()
153 Output begin = ops::Placeholder(root.WithOpName("begin"), DT_INT32); in TEST()
154 Output size = ops::Const(root.WithOpName("size"), {-1}); in TEST()
[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 …]
/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()
52 root.link("stylesheet", "style.css", "text/css"); in testLink()
53 root.close(); in testLink()
61 root.title(); in testTitle()
62 root.close(); in testTitle()
68 root.h1(); in testH1()
69 root.close(); in testH1()
[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/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_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 …]
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 …]
/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/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()
48 root.close(); in testAddAttributeToClosedNode()
49 root.attr("attr", "value"); in testAddAttributeToClosedNode()
54 root.close(); in testAddChildToClosedNode()
55 root.element("child"); in testAddChildToClosedNode()
60 root.close(); in testAddTextToClosedNode()
[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/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/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/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 …]
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_resolve_ast.c80 cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_name()
82 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head; in test_cil_resolve_name()
104 cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_name_invalid_type_neg()
106 struct cil_tree_node *test_curr = test_db->ast->root->cl_head->cl_head; in test_cil_resolve_name_invalid_type_neg()
118 test_db->ast->root = NULL; in test_cil_resolve_ast_curr_null_neg()
120 int rc = cil_resolve_ast(test_db, test_db->ast->root); in test_cil_resolve_ast_curr_null_neg()
143 cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_roleallow()
145 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next->next, args); in test_cil_resolve_roleallow()
162 int rc1=cil_build_ast(test_db, test_tree->root, test_db->ast->root); in test_cil_resolve_roleallow_srcdecl_neg()
165 int rc = cil_resolve_roleallow(test_db->ast->root->cl_head->next, args); in test_cil_resolve_roleallow_srcdecl_neg()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dconst_analysis_test.cc32 Scope root = Scope::NewRootScope(); in TEST() local
34 auto arg0 = ops::_Arg(root.WithOpName("Arg0"), DT_INT32, 0); in TEST()
35 auto arg1 = ops::_Arg(root.WithOpName("Arg1"), DT_INT32, 1); in TEST()
36 auto arg2 = ops::_Arg(root.WithOpName("Arg2"), DT_INT32, 2); in TEST()
37 auto arg3 = ops::_Arg(root.WithOpName("Arg3"), DT_INT32, 3); in TEST()
38 auto a = ops::Shape(root, arg0); in TEST()
39 auto b = ops::Add(root, a, arg1); in TEST()
40 auto c = ops::Reshape(root, arg2, b); in TEST()
41 auto d = ops::Mul(root, c, ops::Sum(root, arg3, arg3)); in TEST()
43 FixupSourceAndSinkEdges(root.graph()); in TEST()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_nodes_test.cc156 auto root = tensorflow::Scope::NewRootScope(); in TestIgnoreOps() local
164 return Const(root.WithOpName(name), Input::Initializer(tensor)); in TestIgnoreOps()
175 Output mat_mul_op = MatMul(root.WithOpName("mat_mul_op"), a_op, b_op); in TestIgnoreOps()
176 Output mul_op = Mul(root.WithOpName("mul"), c_op, d_op); in TestIgnoreOps()
179 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestIgnoreOps()
210 auto root = tensorflow::Scope::NewRootScope(); in TestQuantizeMatMul() local
215 Output a_op = Const(root.WithOpName("a_op"), Input::Initializer(a_tensor)); in TestQuantizeMatMul()
219 Output b_op = Const(root.WithOpName("b_op"), Input::Initializer(b_tensor)); in TestQuantizeMatMul()
221 Output mat_mul_op = MatMul(root.WithOpName("mat_mul_op"), a_op, b_op); in TestQuantizeMatMul()
224 TF_ASSERT_OK(root.ToGraphDef(&float_graph_def)); in TestQuantizeMatMul()
[all …]
/external/freetype/src/type1/
Dt1objs.c59 T1_Face face = (T1_Face)size->root.face; in T1_Size_Get_Globals_Funcs()
64 module = FT_Get_Module( size->root.face->driver->root.library, in T1_Size_Get_Globals_Funcs()
103 T1_Face face = (T1_Face)size->root.face; in T1_Size_Init()
106 error = funcs->create( size->root.face->memory, in T1_Size_Init()
124 FT_Request_Metrics( size->root.face, req ); in T1_Size_Request()
128 size->root.metrics.x_scale, in T1_Size_Request()
129 size->root.metrics.y_scale, in T1_Size_Request()
164 module = FT_Get_Module( slot->face->driver->root.library, in T1_GlyphSlot_Init()
210 memory = face->root.memory; in T1_Face_Done()
273 face->root.family_name = NULL; in T1_Face_Done()
[all …]
/external/python/cpython3/Lib/idlelib/
Dmacosx.py23 root = tkinter.Tk()
24 ws = root.tk.call('tk', 'windowingsystem')
29 elif 'AppKit' in root.tk.call('winfo', 'server', '.'):
33 root.destroy()
71 def tkVersionWarning(root): argument
81 patchlevel = root.tk.call('info', 'patchlevel')
127 def addOpenEventSupport(root, flist): argument
139 root.createcommand("::tk::mac::OpenDocument", doOpenFile)
141 def hideTkConsole(root): argument
143 root.tk.call('console', 'hide')
[all …]

12345678910>>...180