/external/libweave/third_party/chromium/base/json/ |
D | json_reader_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 23 scoped_ptr<Value> root = JSONReader().ReadToValue(" null "); in TEST() local 24 ASSERT_TRUE(root.get()); in TEST() 25 EXPECT_TRUE(root->IsType(Value::TYPE_NULL)); in TEST() 28 root = JSONReader().ReadToValue("nu"); in TEST() 29 EXPECT_FALSE(root.get()); in TEST() 32 root = JSONReader().ReadToValue("true "); in TEST() 33 ASSERT_TRUE(root.get()); in TEST() 34 EXPECT_TRUE(root->IsType(Value::TYPE_BOOLEAN)); in TEST() 37 root = JSONReader().ReadToValue("/* comment */null"); in TEST() [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 28 scoped_ptr<Value> root = JSONReader().ReadToValue(" null "); in TEST() local 29 ASSERT_TRUE(root.get()); in TEST() 30 EXPECT_TRUE(root->IsType(Value::TYPE_NULL)); in TEST() 33 root = JSONReader().ReadToValue("nu"); in TEST() 34 EXPECT_FALSE(root.get()); in TEST() 37 root = JSONReader().ReadToValue("true "); in TEST() 38 ASSERT_TRUE(root.get()); in TEST() 39 EXPECT_TRUE(root->IsType(Value::TYPE_BOOLEAN)); in TEST() 42 root = JSONReader().ReadToValue("/* comment */null"); in TEST() [all …]
|
/external/libcxx/test/std/containers/associative/ |
D | tree_remove.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 35 // Case 1 -> Case 2 -> x is red turned to black in test1() 36 Node root; in test1() local 43 root.__left_ = &b; in test1() 45 b.__parent_ = &root; in test1() 70 std::__tree_remove(root.__left_, &y); in test1() 71 assert(std::__tree_invariant(root.__left_)); in test1() 73 assert(root.__parent_ == 0); in test1() 74 assert(root.__left_ == &d); in test1() [all …]
|
D | tree_balance_after_insert.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 12 // Precondition: __root->__is_black_ == true 34 Node root; in test1() local 40 root.__left_ = &c; in test1() 42 c.__parent_ = &root; in test1() 62 std::__tree_balance_after_insert(root.__left_, &a); in test1() 64 assert(std::__tree_invariant(root.__left_)); in test1() 66 assert(root.__left_ == &c); in test1() 68 assert(c.__parent_ == &root); in test1() [all …]
|
/external/valgrind/solaris/ |
D | valgrind.p5m | 1 set name=pkg.fmri value=developer/debug/valgrind@3.11.0,VVVVV-XXXX 3 …-winning instrumentation framework for building dynamic analysis tools. There are Valgrind tools t… 6 set name=info.upstream-url value=https://bitbucket.org/iraisr/valgrind-solaris 7 set name=info.source-url value=http://valgrind.org/ 10 dir path=usr/bin owner=root group=bin mode=0755 11 file path=usr/bin/callgrind_annotate owner=root group=bin mode=0755 12 file path=usr/bin/callgrind_control owner=root group=bin mode=0755 13 file path=usr/bin/cg_annotate owner=root group=bin mode=0755 14 file path=usr/bin/cg_diff owner=root group=bin mode=0755 15 file path=usr/bin/cg_merge owner=root group=bin mode=0755 [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/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/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/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 …]
|
D | stp-v.out | 1 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, 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 4 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, 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 7 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, 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 10 STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 [all …]
|
D | rpvst-v.out | 11 STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 42 12 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 13 root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated 14 STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 43 15 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 16 root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated 17 STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8005.00:1f:6d:96:ec:00.8004, length 42 18 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 19 root-id 8005.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated 20 STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 42 [all …]
|
D | evb.out | 2 port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0 3 CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003, 4 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 6 digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0, 7 CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20 9 port-role Designated, CIST root-id 8000.08:00:27:0d:f1:3c, CIST ext-pathcost 0 10 CIST regional-root-id 8000.08:00:27:0d:f1:3c, CIST port-id 8003, 11 message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s 13 digest ac36177f50283cd4b83821d8ab26de62, CIST int-root-pathcost 0, 14 CIST bridge-id 8000.08:00:27:0d:f1:3c, CIST remaining-hops 20 [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/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 …]
|
/external/libcap/contrib/ |
D | pcaps4server | 4 # author: chris friedhoff - chris@friedhoff.org 9 # 1 - initial release pcaps4convenience 10 # 1 - 2007.02.15 - initial release 11 # 2 - 2007.11.02 - changed to new setfcaps api; each app is now callable; supressed error of id 12 # 3 - 2007.12.28 - changed to libcap2 package setcap/getcap 13 # 4 - renamed to pcaps4server 16 # 5 - changed 'attr -S -r' to 'setcap -r' and removed attr code 20 # change the installation of different server to be able not to run as root 31 VERBOSE="-v" 41 echo -e "\n\033[00;31m $1 ...\033[00;00m\n" [all …]
|
/external/v8/test/unittests/wasm/ |
D | switch-logic-unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "src/wasm/switch-logic.h" 6 #include "test/unittests/test-utils.h" 14 CHECK_EQ(node->begin, begin); in CheckNodeValues() 15 CHECK_EQ(node->end, end); in CheckNodeValues() 26 CaseNode* root = OrderCases(&values, zone()); in TEST_F() local 27 CHECK_NULL(root->left); in TEST_F() 28 CHECK_NULL(root->right); in TEST_F() 29 CheckNodeValues(root, 12, 19); in TEST_F() 38 values.push_back(-4); in TEST_F() [all …]
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type1/ |
D | t1objs.c | 7 /* Copyright 1996-2015 by */ 52 /* note that we store the global hints in the size's "internal" root */ 61 T1_Face face = (T1_Face)size->root.face; in T1_Size_Get_Globals_Funcs() 62 PSHinter_Service pshinter = (PSHinter_Service)face->pshinter; in T1_Size_Get_Globals_Funcs() 66 module = FT_Get_Module( size->root.face->driver->root.library, in T1_Size_Get_Globals_Funcs() 68 return ( module && pshinter && pshinter->get_globals_funcs ) in T1_Size_Get_Globals_Funcs() 69 ? pshinter->get_globals_funcs( module ) in T1_Size_Get_Globals_Funcs() 80 if ( size->root.internal ) in T1_Size_Done() 87 funcs->destroy( (PSH_Globals)size->root.internal ); in T1_Size_Done() 89 size->root.internal = NULL; in T1_Size_Done() [all …]
|
/external/pdfium/third_party/freetype/src/type1/ |
D | t1objs.c | 7 /* Copyright 1996-2015 by */ 52 /* note that we store the global hints in the size's "internal" root */ 61 T1_Face face = (T1_Face)size->root.face; in T1_Size_Get_Globals_Funcs() 62 PSHinter_Service pshinter = (PSHinter_Service)face->pshinter; in T1_Size_Get_Globals_Funcs() 66 module = FT_Get_Module( size->root.face->driver->root.library, in T1_Size_Get_Globals_Funcs() 68 return ( module && pshinter && pshinter->get_globals_funcs ) in T1_Size_Get_Globals_Funcs() 69 ? pshinter->get_globals_funcs( module ) in T1_Size_Get_Globals_Funcs() 80 if ( size->root.internal ) in T1_Size_Done() 87 funcs->destroy( (PSH_Globals)size->root.internal ); in T1_Size_Done() 89 size->root.internal = NULL; in T1_Size_Done() [all …]
|
/external/libxml2/python/tests/ |
D | serialize.py | 1 #!/usr/bin/python -u 11 doc = libxml2.parseDoc("""<root><foo>hello</foo></root>""") 14 <root><foo>hello</foo></root> 18 str = doc.serialize("iso-8859-1") 19 if str != """<?xml version="1.0" encoding="iso-8859-1"?> 20 <root><foo>hello</foo></root> 26 <root> 28 </root> 32 str = doc.serialize("iso-8859-1", 1) 33 if str != """<?xml version="1.0" encoding="iso-8859-1"?> [all …]
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type42/ |
D | t42parse.c | 7 /* Copyright 2002-2015 by */ 106 #define T1_Add_Table( p, i, o, l ) (p)->funcs.add( (p), i, o, l ) 110 if ( (p)->funcs.release ) \ 111 (p)->funcs.release( p ); \ 114 #define T1_Skip_Spaces( p ) (p)->root.funcs.skip_spaces( &(p)->root ) 115 #define T1_Skip_PS_Token( p ) (p)->root.funcs.skip_PS_token( &(p)->root ) 118 (p)->root.funcs.to_int( &(p)->root ) 120 (p)->root.funcs.to_bytes( &(p)->root, b, m, n, d ) 123 (p)->root.funcs.to_fixed_array( &(p)->root, m, f, t ) 125 (p)->root.funcs.to_token( &(p)->root, t ) [all …]
|
/external/libcap-ng/libcap-ng-0.7/ |
D | libcap-ng.spec | 1 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_… 4 Name: libcap-ng 9 URL: http://people.redhat.com/sgrubb/libcap-ng 10 Source0: http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz 11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 12 BuildRequires: kernel-headers >= 2.6.11 13 BuildRequires: libattr-devel 16 Libcap-ng is a library that makes using posix capabilities easier 19 Summary: Header files for libcap-ng library 22 Requires: kernel-headers >= 2.6.11 [all …]
|
/external/valgrind/coregrind/ |
D | m_oset.c | 2 /*--------------------------------------------------------------------*/ 3 /*--- An ordered set implemented using an AVL tree. m_oset.c ---*/ 4 /*--------------------------------------------------------------------*/ 10 Copyright (C) 2005-2015 Nicholas Nethercote 26 02111-1307, USA. 31 //---------------------------------------------------------------------- 37 //---------------------------------------------------------------------- 42 // - First is the AVL metadata, which is three words: a left pointer, a 45 // corrupted the metadata. So the overhead is 12 bytes on 32-bit 46 // platforms and 24 bytes on 64-bit platforms. [all …]
|