/external/libcxx/test/libcxx/containers/associative/ |
D | tree_remove.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 38 // Case 1 -> Case 2 -> x is red turned to black in test1() 39 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() [all …]
|
D | tree_balance_after_insert.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 12 // Precondition: __root->__is_black_ == true 37 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() [all …]
|
/external/toybox/tests/ |
D | chgrp.test | 3 [ -f testing.sh ] && . testing.sh 5 if [ "$(id -u)" -ne 0 ] 7 echo "$SHOWSKIP: chgrp (not root)" 12 # We chgrp between "root" and the last group in /etc/group. 14 GRP="$(sed -n '$s/:.*//p' /etc/group)" 18 rm -rf testdir && 19 mkdir -p testdir/dir/dir/dir testdir/dir2 && 21 ln -s ../dir/dir testdir/dir2/dir && 22 ln -s ../dir/file testdir/dir2/file || exit 1 26 IN="cd testdir && chgrp -R $GRP dir dir2 &&" [all …]
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | deadness_analysis_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 49 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() 57 return {o.node()->name(), Graph::kControlSlot}; in ControlOutputFor() 78 // +---------------+ 80 // +---------------+ 84 // +---------------+ 86 // +---------------+ [all …]
|
D | resource_operation_safety_analysis_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 76 return ComputeIncompatibleResourceOperationPairs(*g, &g->flib_def(), {}, in ComputeIncompatiblePairs() 81 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() 92 std::pair<int, int> write_read_pair = {write->id(), read->id()}; in TEST() 97 Scope root = Scope::NewRootScope().ExitOnError(); in TEST() local 99 Node* read = MakeRead(root, "R"); in TEST() [all …]
|
D | increase_dynamism_for_auto_jit_pass_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 70 device_set->AddDevice(device.get()); in IncreaseDynamismForAutoJit() 76 ->mutable_optimizer_options() in IncreaseDynamismForAutoJit() 77 ->set_global_jit_level(OptimizerOptions::ON_2); in IncreaseDynamismForAutoJit() 86 for (Node* n : s.graph()->nodes()) { in IncreaseDynamismForAutoJit() 87 assigned_device_names[n->name()] = n->assigned_device_name(); in IncreaseDynamismForAutoJit() 90 for (Node* n : graph->nodes()) { in IncreaseDynamismForAutoJit() 91 n->set_assigned_device_name(assigned_device_names[n->name()]); in IncreaseDynamismForAutoJit() 101 Scope root = Scope::NewRootScope() in TEST() local 106 Output input = ops::Placeholder(root.WithOpName("input"), DT_FLOAT); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | ImmutableMap.h | 1 //===--- ImmutableMap.h - Immutable (functional) map interface --*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 24 /// ImutKeyValueInfo -Traits class used by ImmutableMap. While both the first 74 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() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | ImmutableMap.h | 1 //===--- ImmutableMap.h - Immutable (functional) map interface --*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 21 /// ImutKeyValueInfo -Traits class used by ImmutableMap. While both the first 71 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() [all …]
|
/external/autotest/client/site_tests/security_SandboxedServices/ |
D | baseline.lakitu-gpu | 5 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 …]
|
D | baseline | 7 # 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 19 # nonewprivs: Whether the process runs with no_new_privs set (minijail's -n). 22 # exe,euser,egroup are mandatory checks. All the other fields are opt-in. That 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 36 systemd-journal,syslog,syslog,No,Yes,Yes,No,No [all …]
|
D | baseline.lakitu_next | 2 # NOTE: When modifying this file, do the same for baseline.lakitu-gpu as well. 6 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 [all …]
|
D | baseline.lakitu | 2 # NOTE: When modifying this file, do the same for baseline.lakitu-gpu as well. 6 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 [all …]
|
D | baseline.lakitu-st | 2 # NOTE: When modifying this file, do the same for baseline.lakitu-gpu as well. 6 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 [all …]
|
D | baseline.gale | 5 ap-av,root,root,No,No,No,No,No,No 6 ap-ecm-manager,root,root,No,No,No,No,No,No 7 ap-pipe-reader,root,root,No,No,No,No,No,No 8 ap-ui-server,root,root,No,No,No,No,No,No 9 ap-wifiblaster-,root,root,No,No,No,No,No,No 10 dev_debug_vboot,root,root,No,No,No,No,No,No 11 feedback_daemon,root,root,No,No,No,No,No,No 12 flashrom,root,root,No,No,No,No,No,No 13 hciattach,root,root,No,No,No,No,No,No 14 speed-test,root,root,No,No,No,No,No,No [all …]
|
D | baseline.whirlwind | 5 ap-av,root,root,No,No,No,No,No,No 6 ap-ecm-manager,root,root,No,No,No,No,No,No 7 ap-pipe-reader,root,root,No,No,No,No,No,No 8 ap-ui-server,root,root,No,No,No,No,No,No 9 ap-wifiblaster-,root,root,No,No,No,No,No,No 10 dev_debug_vboot,root,root,No,No,No,No,No,No 11 feedback_daemon,root,root,No,No,No,No,No,No 12 flashrom,root,root,No,No,No,No,No,No 13 hciattach,root,root,No,No,No,No,No,No 14 speed-test,root,root,No,No,No,No,No,No [all …]
|
/external/openssh/contrib/suse/ |
D | openssh.spec | 8 # The version of x11-ssh-askpass to use 11 # Allow the ability to override defaults with -D skip_xxx=1 19 Source0: openssh-%{version}.tar.gz 20 Source1: x11-ssh-askpass-%{xversion}.tar.gz 23 BuildRoot: %{_tmppath}/openssh-%{version}-buildroot 29 # building prerequisites -- stuff for 30 # OpenSSL (openssl-devel), 34 BuildPrereq: zlib-devel 43 Obsoletes: ssh-extras 44 Provides: openssh:${_libdir}/ssh/ssh-askpass [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | ImmutableMap.h | 1 //===--- ImmutableMap.h - Immutable (functional) map interface --*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 21 /// ImutKeyValueInfo -Traits class used by ImmutableMap. While both the first 72 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() [all …]
|
/external/tcpdump/tests/ |
D | mstp-v.out | 2 port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000 3 CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012, 4 message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 6 digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000, 7 CIST bridge-id 8000.00:1e:f7:05:a8:80, CIST remaining-hops 20 8 MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated 9 MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 0 10 MSTI bridge-prio 6, port-prio 8, hops 20 11 MSTI 2, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root 12 MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 200000 [all …]
|
D | rstp-v.out | 1 STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 2 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 3 root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated 4 STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 5 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 6 root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated 7 STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 8 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 9 root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated 10 STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 [all …]
|
/external/libchrome/base/json/ |
D | json_reader_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 25 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() [all …]
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 50 args->dest = node; in gen_copy_args() 51 args->db = db; in gen_copy_args() 65 cil_set_to_list(test_tree->root->cl_head, cil_l, 1); in test_cil_copy_list() 72 CuAssertStrEquals(tc, copy_list->head->data, cil_l->head->data); in test_cil_copy_list() 73 CuAssertStrEquals(tc, copy_list->head->next->data, cil_l->head->next->data); in test_cil_copy_list() 74 CuAssertIntEquals(tc, copy_list->head->flavor, cil_l->head->flavor); in test_cil_copy_list() 75 CuAssertIntEquals(tc, copy_list->head->next->flavor, cil_l->head->next->flavor); in test_cil_copy_list() 87 cil_set_to_list(test_tree->root->cl_head, cil_l, 1); in test_cil_copy_list_sublist() 94 CuAssertStrEquals(tc, copy_list->head->data, cil_l->head->data); in test_cil_copy_list_sublist() 95 CuAssertStrEquals(tc, copy_list->head->next->data, cil_l->head->next->data); in test_cil_copy_list_sublist() [all …]
|
D | test_cil_resolve_ast.c | 56 args->db = db; in gen_resolve_args() 57 args->pass = pass; in gen_resolve_args() 58 args->changed = changed; in gen_resolve_args() 59 args->callstack = calls; in gen_resolve_args() 60 args->optstack = opts; in gen_resolve_args() 61 args->macro = macro; in gen_resolve_args() 80 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() 83 struct cil_typealias *test_alias = (struct cil_typealias*)test_curr->data; in test_cil_resolve_name() 86 int rc = cil_resolve_name(test_curr, test_alias->type_str, CIL_SYM_TYPES, args, &type_node); in test_cil_resolve_name() [all …]
|
D | test_cil_build_ast.c | 54 args->ast = node; in gen_build_args() 55 args->db = db; in gen_build_args() 56 args->macro = macro; in gen_build_args() 57 args->tifstack = tifstack; in gen_build_args() 70 test_current = test_tree->root->cl_head->cl_head; in test_cil_parse_to_list() 74 test_avrule->rule_kind = CIL_AVRULE_ALLOWED; in test_cil_parse_to_list() 75 test_avrule->src_str = cil_strdup(test_current->next->data); in test_cil_parse_to_list() 76 test_avrule->tgt_str = cil_strdup(test_current->next->next->data); in test_cil_parse_to_list() 78 cil_classpermset_init(&test_avrule->classpermset); in test_cil_parse_to_list() 80 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data); in test_cil_parse_to_list() [all …]
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_ops_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 36 constraints->clear(); in GetColocationConstraints() 37 TF_EXPECT_OK(GetNodeAttr(tensor.op().node()->attrs(), kColocationAttrName, in GetColocationConstraints() 42 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() [all …]
|
/external/vboot_reference/utility/ |
D | vbutil_what_keys | 1 #!/bin/sh -u 3 # Use of this source code is governed by a BSD-style license that can be 6 if [ -z "$*" ]; then 9 Usage: vbutil_what_keys [-v|-V] IMAGE [IMAGE...] 15 With the -v option, it will attempt to mount any rootfs partitions from disk 16 images (using sudo), extract the BIOS from /usr/sbin/chromeos-firmwareupdate, 17 and process it as well. Use -V to display the shellball -V message too. 30 # {97A1FBD6-FDE1-4FC5-BB81-286608B90FCE} Alex H2C 31 # {9D799111-A88A-439E-9E1F-FBBB41B00A9A} Mario H2C 32 # {24B107F2-BA6A-4EBD-8CDD-E768438CE0F0} Stumpy H2C [all …]
|