/external/chromium_org/base/json/ |
D | json_reader_unittest.cc | 22 scoped_ptr<Value> root; in TEST() local 23 root.reset(JSONReader().ReadToValue(" null ")); in TEST() 24 ASSERT_TRUE(root.get()); in TEST() 25 EXPECT_TRUE(root->IsType(Value::TYPE_NULL)); in TEST() 28 root.reset(JSONReader().ReadToValue("nu")); in TEST() 29 EXPECT_FALSE(root.get()); in TEST() 32 root.reset(JSONReader().ReadToValue("true ")); in TEST() 33 ASSERT_TRUE(root.get()); in TEST() 34 EXPECT_TRUE(root->IsType(Value::TYPE_BOOLEAN)); in TEST() 37 root.reset(JSONReader().ReadToValue("/* comment */null")); in TEST() [all …]
|
D | json_writer_unittest.cc | 15 Value* root = Value::CreateNullValue(); in TEST() local 16 EXPECT_TRUE(JSONWriter::Write(root, &output_js)); in TEST() 18 delete root; in TEST() 21 root = new DictionaryValue; in TEST() 22 EXPECT_TRUE(JSONWriter::Write(root, &output_js)); in TEST() 24 delete root; in TEST() 27 root = new ListValue; in TEST() 28 EXPECT_TRUE(JSONWriter::Write(root, &output_js)); in TEST() 30 delete root; in TEST() 33 root = new FundamentalValue(42); in TEST() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | calltest.c | 19 void addUtility(TestNode** root); 20 void addBreakIter(TestNode** root); 21 void addStandardNamesTest(TestNode **root); 22 void addFormatTest(TestNode** root); 23 void addConvert(TestNode** root); 24 void addCollTest(TestNode** root); 25 void addComplexTest(TestNode** root); 26 void addUDataTest(TestNode** root); 27 void addUTF16Test(TestNode** root); 28 void addUTF8Test(TestNode** root); [all …]
|
D | cutiltst.c | 24 void addHashtableTest(TestNode** root); 25 void addCStringTest(TestNode** root); 26 void addTrieTest(TestNode** root); 27 void addTrie2Test(TestNode** root); 28 void addEnumerationTest(TestNode** root); 29 void addPosixTest(TestNode** root); 30 void addSortTest(TestNode** root); 32 void addUtility(TestNode** root); 34 void addUtility(TestNode** root) in addUtility() argument 36 addCStringTest(root); in addUtility() [all …]
|
D | cconvtst.c | 19 void addTestConvertErrorCallBack(TestNode** root); 20 void addTestEuroRegression(TestNode** root); 21 void addTestConverterFallBack(TestNode** root); 22 void addExtraTests(TestNode** root); 26 addBOCU1Tests(TestNode** root); 28 void addConvert(TestNode** root); 30 void addConvert(TestNode** root) in addConvert() argument 32 addTestConvert(root); in addConvert() 33 addTestNewConvert(root); in addConvert() 34 addBOCU1Tests(root); in addConvert() [all …]
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | calltest.c | 19 void addUtility(TestNode** root); 20 void addBreakIter(TestNode** root); 21 void addStandardNamesTest(TestNode **root); 22 void addFormatTest(TestNode** root); 23 void addConvert(TestNode** root); 24 void addCollTest(TestNode** root); 25 void addComplexTest(TestNode** root); 26 void addUDataTest(TestNode** root); 27 void addUTF16Test(TestNode** root); 28 void addUTF8Test(TestNode** root); [all …]
|
D | cutiltst.c | 24 void addHashtableTest(TestNode** root); 25 void addCStringTest(TestNode** root); 26 void addTrieTest(TestNode** root); 27 void addTrie2Test(TestNode** root); 28 void addEnumerationTest(TestNode** root); 29 void addPosixTest(TestNode** root); 30 void addSortTest(TestNode** root); 32 void addUtility(TestNode** root); 34 void addUtility(TestNode** root) in addUtility() argument 36 addCStringTest(root); in addUtility() [all …]
|
D | cconvtst.c | 19 void addTestConvertErrorCallBack(TestNode** root); 20 void addTestEuroRegression(TestNode** root); 21 void addTestConverterFallBack(TestNode** root); 22 void addExtraTests(TestNode** root); 26 addBOCU1Tests(TestNode** root); 28 void addConvert(TestNode** root); 30 void addConvert(TestNode** root) in addConvert() argument 32 addTestConvert(root); in addConvert() 33 addTestNewConvert(root); in addConvert() 34 addBOCU1Tests(root); in addConvert() [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ViewGroupTest.java | 32 private ViewGroup root; field in ViewGroupTest 45 root = new FrameLayout(context); in setUp() 53 root.addView(child1); in setUp() 54 root.addView(child2); in setUp() 55 root.addView(child3); in setUp() 71 assertThat(root.getLayoutAnimationListener(), nullValue()); in testLayoutAnimationListener() 83 root.setLayoutAnimationListener(animationListener); in testLayoutAnimationListener() 85 assertThat(root.getLayoutAnimationListener(), sameInstance(animationListener)); in testLayoutAnimationListener() 90 root.removeViewAt(1); in testRemoveChildAt() 92 assertThat(root.getChildCount(), equalTo(2)); in testRemoveChildAt() [all …]
|
/external/libcxx/test/containers/associative/ |
D | tree_remove.pass.cpp | 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() 75 assert(root.__right_ == 0); in test1() 76 assert(root.__is_black_ == false); in test1() 78 assert(d.__parent_ == &root); in test1() [all …]
|
D | tree_balance_after_insert.pass.cpp | 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() 89 Node root; in test1() local 95 root.__left_ = &c; in test1() 97 c.__parent_ = &root; in test1() [all …]
|
/external/chromium_org/cc/trees/ |
D | damage_tracker_unittest.cc | 25 void ExecuteCalculateDrawProperties(LayerImpl* root, in ExecuteCalculateDrawProperties() argument 30 ASSERT_TRUE(root->render_surface()); in ExecuteCalculateDrawProperties() 34 root, root->bounds(), render_surface_layer_list); in ExecuteCalculateDrawProperties() 47 void EmulateDrawingOneFrame(LayerImpl* root) { in EmulateDrawingOneFrame() argument 55 ExecuteCalculateDrawProperties(root, &render_surface_layer_list); in EmulateDrawingOneFrame() 71 root->ResetAllChangeTrackingForSubtree(); in EmulateDrawingOneFrame() 79 scoped_ptr<LayerImpl> root = in CreateTestTreeWithOneSurface() local 84 root->SetPosition(gfx::PointF()); in CreateTestTreeWithOneSurface() 85 root->SetBounds(gfx::Size(500, 500)); in CreateTestTreeWithOneSurface() 86 root->SetContentBounds(gfx::Size(500, 500)); in CreateTestTreeWithOneSurface() [all …]
|
/external/chromium_org/ui/base/models/ |
D | tree_node_model_unittest.cc | 71 TestNode* root = new TestNode; in TEST_F() local 72 TreeNodeModel<TestNode > model(root); in TEST_F() 76 model.Add(root, child1, 0); in TEST_F() 84 model.Add(root, child2, 1); in TEST_F() 88 EXPECT_EQ(2, root->child_count()); in TEST_F() 96 TestNode* root = new TestNode; in TEST_F() local 97 TreeNodeModel<TestNode > model(root); in TEST_F() 101 root->Add(child1, 0); in TEST_F() 103 EXPECT_EQ(1, model.GetChildCount(root)); in TEST_F() 106 delete model.Remove(root, child1); in TEST_F() [all …]
|
/external/qemu/proxy/ |
D | proxy_http_connector.c | 33 ProxyConnection root[1]; member 39 connection_free( ProxyConnection* root ) in connection_free() argument 41 proxy_connection_done(root); in connection_free() 42 g_free(root); in connection_free() 52 HttpService* service = (HttpService*) conn->root->service; in connection_init() 53 ProxyConnection* root = conn->root; in connection_init() local 54 stralloc_t* str = root->str; in connection_init() 56 proxy_connection_rewind(root); in connection_init() 58 sock_address_to_string(&root->address)); in connection_init() 62 if (!socket_connect( root->socket, &service->server_addr )) { in connection_init() [all …]
|
D | proxy_http_rewriter.c | 348 ProxyConnection root[1]; member 368 rewrite_connection_free( ProxyConnection* root ) in rewrite_connection_free() argument 370 RewriteConnection* conn = (RewriteConnection*)root; in rewrite_connection_free() 377 proxy_connection_done(root); in rewrite_connection_free() 385 HttpService* service = (HttpService*) conn->root->service; in rewrite_connection_init() 386 ProxyConnection* root = conn->root; in rewrite_connection_init() local 391 if (socket_connect( root->socket, &service->server_addr ) < 0) { in rewrite_connection_init() 393 PROXY_LOG("%s: connecting", conn->root->name); in rewrite_connection_init() 396 PROXY_LOG("%s: cannot connect to proxy: %s", root->name, errno_str); in rewrite_connection_init() 401 PROXY_LOG("%s: immediate connection", root->name); in rewrite_connection_init() [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/ |
D | t1objs.c | 61 T1_Face face = (T1_Face)size->root.face; in T1_Size_Get_Globals_Funcs() 66 module = FT_Get_Module( size->root.face->driver->root.library, 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 = 0; in T1_Size_Done() 105 T1_Face face = (T1_Face)size->root.face; in T1_Size_Init() 108 error = funcs->create( size->root.face->memory, in T1_Size_Init() 111 size->root.internal = (FT_Size_Internal)(void*)globals; in T1_Size_Init() 126 FT_Request_Metrics( size->root.face, req ); in T1_Size_Request() 129 funcs->set_scale( (PSH_Globals)size->root.internal, in T1_Size_Request() [all …]
|
/external/chromium_org/components/policy/core/common/ |
D | mac_util_unittest.cc | 17 base::DictionaryValue root; in TEST() local 20 root.Set("null", base::Value::CreateNullValue()); in TEST() 23 root.SetBoolean("false", false); in TEST() 24 root.SetBoolean("true", true); in TEST() 27 root.SetInteger("int", 123); in TEST() 28 root.SetInteger("zero", 0); in TEST() 31 root.SetDouble("double", 123.456); in TEST() 32 root.SetDouble("zerod", 0.0); in TEST() 35 root.SetString("string", "the fox jumps over something"); in TEST() 36 root.SetString("empty", ""); in TEST() [all …]
|
/external/valgrind/main/coregrind/ |
D | m_oset.c | 121 AvlNode* root; // root node member 204 static void avl_swl ( AvlNode** root ) in avl_swl() argument 206 AvlNode* a = *root; in avl_swl() 208 *root = b; in avl_swl() 214 static void avl_swr ( AvlNode** root ) in avl_swr() argument 216 AvlNode* a = *root; in avl_swr() 218 *root = b; in avl_swr() 224 static void avl_nasty ( AvlNode* root ) in avl_nasty() argument 226 switch (root->balance) { in avl_nasty() 228 root->left->balance = 0; in avl_nasty() [all …]
|
/external/chromium_org/content/browser/frame_host/ |
D | frame_tree_browsertest.cc | 45 FrameTreeNode* root = in IN_PROC_BROWSER_TEST_F() local 47 GetFrameTree()->root(); in IN_PROC_BROWSER_TEST_F() 48 EXPECT_EQ(0U, root->child_count()); in IN_PROC_BROWSER_TEST_F() 60 ASSERT_EQ(2U, root->child_count()); in IN_PROC_BROWSER_TEST_F() 61 EXPECT_EQ(0U, root->child_at(0)->child_count()); in IN_PROC_BROWSER_TEST_F() 62 EXPECT_EQ(0U, root->child_at(1)->child_count()); in IN_PROC_BROWSER_TEST_F() 73 FrameTreeNode* root = wc->GetFrameTree()->root(); in IN_PROC_BROWSER_TEST_F() local 76 ASSERT_EQ(3UL, root->child_count()); in IN_PROC_BROWSER_TEST_F() 77 EXPECT_EQ(std::string(), root->frame_name()); in IN_PROC_BROWSER_TEST_F() 79 ASSERT_EQ(2UL, root->child_at(0)->child_count()); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | TreeNodeTest.cpp | 44 RefPtr<TestTree> root = TestTree::create(); in TEST() local 48 root->appendChild(firstChild.get()); in TEST() 49 EXPECT_EQ(root->firstChild(), firstChild.get()); in TEST() 50 EXPECT_EQ(root->lastChild(), firstChild.get()); in TEST() 51 EXPECT_EQ(firstChild->parent(), root.get()); in TEST() 53 root->appendChild(lastChild.get()); in TEST() 54 EXPECT_EQ(root->firstChild(), firstChild.get()); in TEST() 55 EXPECT_EQ(root->lastChild(), lastChild.get()); in TEST() 58 EXPECT_EQ(lastChild->parent(), root.get()); in TEST() 63 RefPtr<TestTree> root = TestTree::create(); in TEST() local [all …]
|
D | PartitionAlloc.cpp | 101 static void parititonAllocBaseInit(PartitionRootBase* root) in parititonAllocBaseInit() argument 103 ASSERT(!root->initialized); in parititonAllocBaseInit() 114 root->initialized = true; in parititonAllocBaseInit() 115 root->totalSizeOfCommittedPages = 0; in parititonAllocBaseInit() 116 root->totalSizeOfSuperPages = 0; in parititonAllocBaseInit() 117 root->nextSuperPage = 0; in parititonAllocBaseInit() 118 root->nextPartitionPage = 0; in parititonAllocBaseInit() 119 root->nextPartitionPageEnd = 0; in parititonAllocBaseInit() 120 root->firstExtent = 0; in parititonAllocBaseInit() 121 root->currentExtent = 0; in parititonAllocBaseInit() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/ |
D | ElementShadow.cpp | 151 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) in addShadowRoot() local 152 root->lazyReattachIfAttached(); in addShadowRoot() 191 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) { in attach() local 192 if (root->needsAttach()) in attach() 193 root->attach(childrenContext); in attach() 202 for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) in detach() local 203 root->detach(childrenContext); in detach() 217 ShadowRoot* root = youngestShadowRoot(); in hasSameStyles() local 219 while (root || otherRoot) { in hasSameStyles() 220 if (!root || !otherRoot) in hasSameStyles() [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cid/ |
D | cidparse.h | 63 PS_ParserRec root; member 96 (p)->root.funcs.skip_spaces( &(p)->root ) 98 (p)->root.funcs.skip_PS_token( &(p)->root ) 100 #define cid_parser_to_int( p ) (p)->root.funcs.to_int( &(p)->root ) 101 #define cid_parser_to_fixed( p, t ) (p)->root.funcs.to_fixed( &(p)->root, t ) 104 (p)->root.funcs.to_coord_array( &(p)->root, m, c ) 106 (p)->root.funcs.to_fixed_array( &(p)->root, m, f, t ) 108 (p)->root.funcs.to_token( &(p)->root, t ) 110 (p)->root.funcs.to_token_array( &(p)->root, t, m, c ) 113 (p)->root.funcs.load_field( &(p)->root, f, o, 0, 0 ) [all …]
|
/external/lldb/examples/scripting/ |
D | tree_utils.py | 23 def DFS (root, word, cur_path): argument 39 root_word_ptr = root.GetChildMemberWithName ("word") 40 left_child_ptr = root.GetChildMemberWithName ("left") 41 right_child_ptr = root.GetChildMemberWithName ("right") 78 def tree_size (root): argument 87 if (root.GetValue == None): 90 if (int (root.GetValue(), 16) == 0): 93 left_size = tree_size (root.GetChildAtIndex(1)); 94 right_size = tree_size (root.GetChildAtIndex(2)); 100 def print_tree (root): argument [all …]
|
/external/emma/ |
D | module.dirs.properties | 30 lib.dir.root: ${basedir}/${lib} 32 internal.lib.dir: ${lib.dir.root}/${internal} 33 external.lib.dir: ${lib.dir.root}/${external} 38 core.dir.root: ${basedir}/${core} 40 core.src.java12.dir: ${core.dir.root}/${java12} 41 core.src.java13.dir: ${core.dir.root}/${java13} 42 core.src.java14.dir: ${core.dir.root}/${java14} 44 core.res.dir: ${core.dir.root}/${res} 45 core.data.dir: ${core.dir.root}/${data} 50 ant.dir.root: ${basedir}/${ant} [all …]
|