| /third_party/python/Lib/tkinter/test/test_tkinter/ |
| D | test_misc.py | 11 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 …]
|
| D | test_variables.py | 20 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 …]
|
| D | test_geometry_managers.py | 18 pack = tkinter.Toplevel(self.root, name='pack') 48 self.root.update() 79 self.root.update() 124 self.root.update() 166 self.root.update() 207 self.root.update() 262 self.root.update() 266 self.root.update() 284 t = tkinter.Toplevel(self.root, width=300, height=200, bd=0) 289 self.root.update() [all …]
|
| /third_party/cJSON/tests/ |
| D | cjson_add.c | 50 cJSON *root = cJSON_CreateObject(); in cjson_add_null_should_add_null() local 53 cJSON_AddNullToObject(root, "null"); in cjson_add_null_should_add_null() 55 TEST_ASSERT_NOT_NULL(null = cJSON_GetObjectItemCaseSensitive(root, "null")); in cjson_add_null_should_add_null() 58 cJSON_Delete(root); in cjson_add_null_should_add_null() 63 cJSON *root = cJSON_CreateObject(); in cjson_add_null_should_fail_with_null_pointers() local 66 TEST_ASSERT_NULL(cJSON_AddNullToObject(root, NULL)); in cjson_add_null_should_fail_with_null_pointers() 68 cJSON_Delete(root); in cjson_add_null_should_fail_with_null_pointers() 73 cJSON *root = cJSON_CreateObject(); in cjson_add_null_should_fail_on_allocation_failure() local 77 TEST_ASSERT_NULL(cJSON_AddNullToObject(root, "null")); in cjson_add_null_should_fail_on_allocation_failure() 81 cJSON_Delete(root); in cjson_add_null_should_fail_on_allocation_failure() [all …]
|
| /third_party/toybox/tests/ |
| D | chgrp.test | 7 echo "$SHOWSKIP: chgrp (not root)" 12 # We chgrp between "root" and the last group in /etc/group. 36 testing "dir" "$IN chgrp root dir $OUT" \ 37 "root $GRP $GRP $GRP $GRP $GRP $GRP\n" "" "" 38 testing "file" "$IN chgrp root dir/file $OUT" \ 39 "$GRP $GRP $GRP root $GRP $GRP $GRP\n" "" "" 40 testing "dir and file" "$IN chgrp root dir dir/file $OUT" \ 41 "root $GRP $GRP root $GRP $GRP $GRP\n" "" "" 44 testing "symlink->file" "$IN chgrp root dir2/file $OUT" \ 45 "$GRP $GRP $GRP root $GRP $GRP $GRP\n" "" "" [all …]
|
| /third_party/icu/icu4c/source/test/cintltst/ |
| D | calltest.c | 16 /* 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 …]
|
| D | cutiltst.c | 26 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 …]
|
| D | cformtst.c | 40 void addURegionTest(TestNode** root); 41 void addUListFmtTest(TestNode** root); 42 void addUNumberFormatterTest(TestNode** root); 43 void addUFormattedValueTest(TestNode** root); 45 void addFormatTest(TestNode** root); 47 void addFormatTest(TestNode** root) in addFormatTest() argument 49 addCalTest(root); in addFormatTest() 50 addDateForTest(root); in addFormatTest() 51 addDateTimePatternGeneratorTest(root); in addFormatTest() 52 addDateIntervalFormatTest(root); in addFormatTest() [all …]
|
| /third_party/node/doc/guides/ |
| D | maintaining-root-certs.md | 1 # Maintaining the Root Certificates 3 Node.js contains a compiled-in set of root certificates used as trust anchors 13 Root certificates should be updated sometime after Mozilla makes an NSS release, 18 Commands assume that the current working directory is the root of a checkout of 71 < Parsing: Visa eCommerce Root 75 < Parsing: Certplus Root CA G1 76 < Parsing: Certplus Root CA G2 77 < Parsing: OpenTrust Root CA G1 78 < Parsing: OpenTrust Root CA G2 79 < Parsing: OpenTrust Root CA G3 [all …]
|
| /third_party/openssl/test/recipes/ |
| D | 25-test_verify.t | 33 ok(verify("ee-cert", "sslserver", ["root-cert"], ["ca-cert"]), 36 # Root CA variants 37 ok(!verify("ee-cert", "sslserver", [qw(root-nonca)], [qw(ca-cert)]), 38 "fail trusted non-ca root"); 40 "fail server trust non-ca root"); 42 "fail wildcard trust non-ca root"); 43 ok(!verify("ee-cert", "sslserver", [qw(root-cert2)], [qw(ca-cert)]), 44 "fail wrong root key"); 45 ok(!verify("ee-cert", "sslserver", [qw(root-name2)], [qw(ca-cert)]), 46 "fail wrong root DN"); [all …]
|
| /third_party/libxml2/python/tests/ |
| D | serialize.py | 11 doc = libxml2.parseDoc("""<root><foo>hello</foo></root>""") 14 <root><foo>hello</foo></root> 20 <root><foo>hello</foo></root> 26 <root> 28 </root> 34 <root> 36 </root> 44 root = doc.getRootElement() variable 45 str = root.serialize() 46 if str != """<root><foo>hello</foo></root>""": [all …]
|
| /third_party/openssl/test/certs/ |
| D | setup.sh | 3 # Primary root: root-cert 4 # root cert variants: CA:false, key2, DN2 7 ./mkcert.sh genroot "Root CA" root-key root-cert 8 DAYS=-1 ./mkcert.sh genroot "Root CA" root-key root-expired 9 ./mkcert.sh genss "Root CA" root-key root-nonca 10 ./mkcert.sh genroot "Root CA" root-key2 root-cert2 11 ./mkcert.sh genroot "Root Cert 2" root-key root-name2 13 openssl x509 -in root-cert.pem -trustout \ 14 -addtrust serverAuth -out root+serverAuth.pem 15 openssl x509 -in root-cert.pem -trustout \ [all …]
|
| /third_party/cJSON/ |
| D | test.c | 43 static int print_preallocated(cJSON *root) in print_preallocated() argument 53 out = cJSON_Print(root); in print_preallocated() 75 if (!cJSON_PrintPreallocated(root, buf, (int)len, 1)) { in print_preallocated() 92 if (cJSON_PrintPreallocated(root, buf_fail, (int)len_fail, 1)) { in print_preallocated() 112 cJSON *root = NULL; in create_objects() local 168 root = cJSON_CreateObject(); in create_objects() 169 cJSON_AddItemToObject(root, "name", cJSON_CreateString("Jack (\"Bee\") Nimble")); in create_objects() 170 cJSON_AddItemToObject(root, "format", fmt = cJSON_CreateObject()); in create_objects() 178 if (print_preallocated(root) != 0) { in create_objects() 179 cJSON_Delete(root); in create_objects() [all …]
|
| /third_party/boost/boost/mpi/collectives/ |
| D | gather.hpp | 29 // We're gathering at the root for a type that has an associated MPI 34 T* out_values, int root, mpl::true_) in gather_impl() argument 39 out_values, n, type, root, comm)); in gather_impl() 42 // We're gathering from a non-root for a type that has an associated MPI 46 gather_impl(const communicator& comm, const T* in_values, int n, int root, in gather_impl() argument 49 assert(comm.rank() != root); in gather_impl() 50 gather_impl(comm, in_values, n, (T*)0, root, is_mpi_type); in gather_impl() 53 // We're gathering at the root for a type that does not have an 59 int const* nslot, int const* nskip, int root, mpl::false_) in gather_impl() argument 68 bool is_root = comm.rank() == root; in gather_impl() [all …]
|
| D | gatherv.hpp | 27 // We're gathering at the root for a type that has an associated MPI 32 T* out_values, const int* sizes, const int* displs, int root, mpl::true_) in gatherv_impl() argument 38 type, root, comm)); in gatherv_impl() 41 // We're gathering from a non-root for a type that has an associated MPI 45 gatherv_impl(const communicator& comm, const T* in_values, int in_size, int root, in gatherv_impl() argument 51 0, 0, 0, type, root, comm)); in gatherv_impl() 54 // We're gathering at the root for a type that does not have an 57 // we'll just have all of the non-root nodes send individual 58 // messages to the root. 62 T* out_values, const int* sizes, const int* displs, int root, mpl::false_) in gatherv_impl() argument [all …]
|
| D | scatter.hpp | 26 // We're scattering from the root for a type that has an associated MPI 31 int n, int root, mpl::true_) in scatter_impl() argument 36 out_values, n, type, root, comm)); in scatter_impl() 39 // We're scattering from a non-root for a type that has an associated MPI 43 scatter_impl(const communicator& comm, T* out_values, int n, int root, in scatter_impl() argument 50 root, comm)); in scatter_impl() 99 T* out_values, int n, int root) { in dispatch_scatter_sendbuf() argument 104 &myarchsize, 1, MPI_INT, root, comm)); in dispatch_scatter_sendbuf() 106 if (root == comm.rank()) { in dispatch_scatter_sendbuf() 115 root, MPI_Comm(comm))); in dispatch_scatter_sendbuf() [all …]
|
| /third_party/glib/glib/tests/ |
| D | node.c | 69 GNode *root; in traversal_test() local 174 root = g_node_new (C2P ('A')); in traversal_test() 176 g_node_append (root, node_B); in traversal_test() 182 g_node_append (root, node_F); in traversal_test() 218 …g_node_traverse (root, orders[i].traverse, orders[i].flags, orders[i].depth, node_build_string, &d… in traversal_test() 227 g_node_traverse (root, G_LEVEL_ORDER, G_TRAVERSE_ALL, -1, node_build_string, &data); in traversal_test() 235 g_node_traverse (root, G_LEVEL_ORDER, G_TRAVERSE_ALL, -1, node_build_string, &data); in traversal_test() 238 g_node_destroy (root); in traversal_test() 245 GNode *root; in construct_test() local 255 root = g_node_new (C2P ('A')); in construct_test() [all …]
|
| /third_party/flutter/skia/third_party/externals/freetype/src/type1/ |
| D | t1objs.c | 59 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 …]
|
| /third_party/freetype/src/type1/ |
| D | t1objs.c | 58 T1_Face face = (T1_Face)size->root.face; in T1_Size_Get_Globals_Funcs() 63 module = FT_Get_Module( size->root.face->driver->root.library, in T1_Size_Get_Globals_Funcs() 102 T1_Face face = (T1_Face)size->root.face; in T1_Size_Init() 105 error = funcs->create( size->root.face->memory, in T1_Size_Init() 123 FT_Request_Metrics( size->root.face, req ); in T1_Size_Request() 127 size->root.metrics.x_scale, in T1_Size_Request() 128 size->root.metrics.y_scale, in T1_Size_Request() 163 module = FT_Get_Module( slot->face->driver->root.library, in T1_GlyphSlot_Init() 209 memory = face->root.memory; in T1_Face_Done() 272 face->root.family_name = NULL; in T1_Face_Done() [all …]
|
| /third_party/boost/libs/yap/example/autodiff_library/ |
| D | autodiff.cpp | 28 void hess_forward(Node* root, unsigned int nvar, double** hess_mat) in hess_forward() argument 32 root->hess_forward(len,hess_mat); in hess_forward() 53 double eval_function(Node* root) in eval_function() argument 57 root->eval_function(); in eval_function() 63 double grad_reverse(Node* root,vector<Node*>& vnodes, vector<double>& grad) in grad_reverse() argument 73 root->grad_reverse_0(); in grad_reverse() 75 root->grad_reverse_1_init_adj(); in grad_reverse() 76 root->grad_reverse_1(); in grad_reverse() 88 //all nodes are VNode and adj == NaN_Double -- this reset adj for this expression tree by root in grad_reverse() 92 double grad_reverse(Node* root, vector<Node*>& vnodes, col_compress_matrix_row& rgrad) in grad_reverse() argument [all …]
|
| /third_party/python/Lib/idlelib/idle_test/ |
| D | test_textview.py | 20 global root 21 root = Tk() 22 root.withdraw() 25 global root 26 root.update_idletasks() 27 root.destroy() 28 del root 50 view = VW(root, 'Title', 'test text') 57 view = VW(root, 'Title', 'test text', modal=False) 64 view = VW(root, 'Title', 'test text', modal=False) [all …]
|
| /third_party/boost/libs/mpi/test/ |
| D | scatter_test.cpp | 27 const char* kind, int root = -1) in scatter_test() argument 31 if (root == -1) { in scatter_test() 32 for (root = 0; root < comm.size(); ++root) in scatter_test() 33 scatter_test(comm, generator, kind, root); in scatter_test() 39 if (comm.rank() == root) { in scatter_test() 45 std::cout << "Scattering " << kind << " from root " in scatter_test() 46 << root << "..." << std::endl; in scatter_test() 48 scatter(comm, values, value, root); in scatter_test() 50 scatter(comm, value, root); in scatter_test() 119 const char* kind, int root = -1) in scatterv_test() argument [all …]
|
| /third_party/flutter/skia/third_party/externals/freetype/src/type42/ |
| D | t42parse.c | 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 ) 128 (p)->root.funcs.load_field( &(p)->root, f, o, m, pf ) 130 (p)->root.funcs.load_field_table( &(p)->root, f, o, m, pf ) 145 psaux->ps_parser_funcs->init( &parser->root, NULL, NULL, memory ); in t42_parser_init() 207 parser->root.base = parser->base_dict; in t42_parser_init() [all …]
|
| /third_party/freetype/src/type42/ |
| D | t42parse.c | 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 ) 128 (p)->root.funcs.load_field( &(p)->root, f, o, m, pf ) 130 (p)->root.funcs.load_field_table( &(p)->root, f, o, m, pf ) 145 psaux->ps_parser_funcs->init( &parser->root, NULL, NULL, memory ); in t42_parser_init() 207 parser->root.base = parser->base_dict; in t42_parser_init() [all …]
|
| /third_party/boost/libs/mpi/src/ |
| D | broadcast.cpp | 22 int root) in broadcast() argument 24 // Only the root can broadcast the packed_oarchive in broadcast() 25 assert(comm.rank() == root); in broadcast() 37 if (dest != root) { in broadcast() 47 int root) in broadcast() argument 49 broadcast(comm, const_cast<const packed_oarchive&>(oa), root); in broadcast() 55 int root) in broadcast() argument 63 // Receive data from the root. in broadcast() 64 if (comm.rank() != root) { in broadcast() 66 detail::packed_archive_recv(comm, root, tag, ia, status); in broadcast() [all …]
|