/third_party/python/Lib/tkinter/test/test_tkinter/ |
D | test_misc.py | 26 t = tkinter.Toplevel(self.root, name='top') 31 t = tkinter.Toplevel(self.root) 39 root = self.root 40 root.tk_setPalette('black') 41 self.assertEqual(root['background'], 'black') 42 root.tk_setPalette('white') 43 self.assertEqual(root['background'], 'white') 46 root.tk_setPalette, 'spam') 48 root.tk_setPalette(background='black') 49 self.assertEqual(root['background'], 'black') [all …]
|
D | test_variables.py | 25 self.root = Tcl() 28 del self.root 34 return self.root.getboolean(self.root.call("info", "exists", *args)) 37 v = Variable(self.root) 42 v = Variable(self.root, "sample string", "varname") 48 v = Variable(self.root, "sample string", "varname") 56 v1 = Variable(self.root, name="name") 57 v2 = Variable(self.root, name="name") 68 v1 = Variable(self.root, name="abc") 69 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/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/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/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 …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | ImmutableMap.h | 73 TreeTy* Root; 76 /// Constructs a map from a pointer to a tree root. In general one 80 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) { in ImmutableMap() 81 if (Root) { Root->retain(); } in ImmutableMap() 84 ImmutableMap(const ImmutableMap &X) : Root(X.Root) { in ImmutableMap() 85 if (Root) { Root->retain(); } in ImmutableMap() 89 if (Root) { Root->release(); } in ~ImmutableMap() 93 if (Root != X.Root) { 94 if (X.Root) { X.Root->retain(); } 95 if (Root) { Root->release(); } [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | pathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json | 2 "======== Resolving module '/foo' from '/root/a.ts'. ========", 4 …"'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/foo'.", 8 …"Loading module as file / folder, candidate module location '/root/src/foo', target file type 'Typ… 9 "File '/root/src/foo.ts' exist - use it as a name resolution result.", 10 "======== Module name '/foo' was successfully resolved to '/root/src/foo.ts'. ========", 11 "======== Resolving module '/bar' from '/root/a.ts'. ========", 13 …"'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/bar'.", 17 …"Loading module as file / folder, candidate module location '/root/src/bar', target file type 'Typ… 18 "File '/root/src/bar.ts' does not exist.", 19 "File '/root/src/bar.tsx' does not exist.", [all …]
|
D | pathMappingBasedModuleResolution7_classic.trace.json | 2 "======== Resolving module './project/file2' from 'c:/root/src/file1.ts'. ========", 5 …"Checking if 'c:/root/src/' is the longest matching prefix for 'c:/root/src/project/file2' - 'true… 6 …"Checking if 'c:/root/generated/src/' is the longest matching prefix for 'c:/root/src/project/file… 7 "Longest matching prefix for 'c:/root/src/project/file2' is 'c:/root/src/'.", 8 …"Loading 'project/file2' from the root dir 'c:/root/src/', candidate location 'c:/root/src/project… 10 …"Loading 'project/file2' from the root dir 'c:/root/generated/src', candidate location 'c:/root/ge… 11 "File 'c:/root/generated/src/project/file2.ts' exist - use it as a name resolution result.", 12 …"======== Module name './project/file2' was successfully resolved to 'c:/root/generated/src/projec… 13 "======== Resolving module 'module3' from 'c:/root/src/file1.ts'. ========", 15 …"'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'modul… [all …]
|
D | pathMappingBasedModuleResolution6_node.trace.json | 2 "======== Resolving module './project/file3' from 'c:/root/src/file1.ts'. ========", 5 …"Checking if 'c:/root/src/' is the longest matching prefix for 'c:/root/src/project/file3' - 'true… 6 …"Checking if 'c:/root/generated/src/' is the longest matching prefix for 'c:/root/src/project/file… 7 "Longest matching prefix for 'c:/root/src/project/file3' is 'c:/root/src/'.", 8 …"Loading 'project/file3' from the root dir 'c:/root/src/', candidate location 'c:/root/src/project… 9 …"Loading module as file / folder, candidate module location 'c:/root/src/project/file3', target fi… 10 "Directory 'c:/root/src/project' does not exist, skipping all lookups in it.", 12 …"Loading 'project/file3' from the root dir 'c:/root/generated/src', candidate location 'c:/root/ge… 13 …"Loading module as file / folder, candidate module location 'c:/root/generated/src/project/file3',… 14 "File 'c:/root/generated/src/project/file3.ts' exist - use it as a name resolution result.", [all …]
|
D | pathMappingBasedModuleResolution7_node.trace.json | 2 "======== Resolving module './project/file2' from 'c:/root/src/file1.ts'. ========", 5 …"Checking if 'c:/root/src/' is the longest matching prefix for 'c:/root/src/project/file2' - 'true… 6 …"Checking if 'c:/root/generated/src/' is the longest matching prefix for 'c:/root/src/project/file… 7 "Longest matching prefix for 'c:/root/src/project/file2' is 'c:/root/src/'.", 8 …"Loading 'project/file2' from the root dir 'c:/root/src/', candidate location 'c:/root/src/project… 9 …"Loading module as file / folder, candidate module location 'c:/root/src/project/file2', target fi… 10 "Directory 'c:/root/src/project' does not exist, skipping all lookups in it.", 12 …"Loading 'project/file2' from the root dir 'c:/root/generated/src', candidate location 'c:/root/ge… 13 …"Loading module as file / folder, candidate module location 'c:/root/generated/src/project/file2',… 14 "File 'c:/root/generated/src/project/file2.ts' exist - use it as a name resolution result.", [all …]
|
D | pathMappingBasedModuleResolution6_classic.trace.json | 2 "======== Resolving module './project/file3' from 'c:/root/src/file1.ts'. ========", 5 …"Checking if 'c:/root/src/' is the longest matching prefix for 'c:/root/src/project/file3' - 'true… 6 …"Checking if 'c:/root/generated/src/' is the longest matching prefix for 'c:/root/src/project/file… 7 "Longest matching prefix for 'c:/root/src/project/file3' is 'c:/root/src/'.", 8 …"Loading 'project/file3' from the root dir 'c:/root/src/', candidate location 'c:/root/src/project… 10 …"Loading 'project/file3' from the root dir 'c:/root/generated/src', candidate location 'c:/root/ge… 11 "File 'c:/root/generated/src/project/file3.ts' exist - use it as a name resolution result.", 12 …"======== Module name './project/file3' was successfully resolved to 'c:/root/generated/src/projec… 13 "======== Resolving module '../file2' from 'c:/root/generated/src/project/file3.ts'. ========", 16 …"Checking if 'c:/root/src/' is the longest matching prefix for 'c:/root/generated/src/file2' - 'fa… [all …]
|
D | pathMappingBasedModuleResolution5_node.trace.json | 2 "======== Resolving module 'folder2/file1' from 'c:/root/folder1/file1.ts'. ========", 4 …"'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folde… 8 …"Loading module as file / folder, candidate module location 'c:/root/folder2/file1', target file t… 9 "File 'c:/root/folder2/file1.ts' exist - use it as a name resolution result.", 10 …"======== Module name 'folder2/file1' was successfully resolved to 'c:/root/folder2/file1.ts'. ===… 11 "======== Resolving module 'folder3/file2' from 'c:/root/folder1/file1.ts'. ========", 13 …"'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folde… 17 …"Loading module as file / folder, candidate module location 'c:/root/folder3/file2', target file t… 19 …"Loading module as file / folder, candidate module location 'c:/root/generated/folder3/file2', tar… 20 "File 'c:/root/generated/folder3/file2.ts' exist - use it as a name resolution result.", [all …]
|
D | pathMappingBasedModuleResolution4_classic.trace.json | 2 "======== Resolving module 'folder2/file2' from 'c:/root/folder1/file1.ts'. ========", 4 …"'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folde… 5 … "Resolving module name 'folder2/file2' relative to base url 'c:/root' - 'c:/root/folder2/file2'.", 6 "File 'c:/root/folder2/file2.ts' exist - use it as a name resolution result.", 7 …"======== Module name 'folder2/file2' was successfully resolved to 'c:/root/folder2/file2.ts'. ===… 8 "======== Resolving module './file3' from 'c:/root/folder2/file2.ts'. ========", 10 "File 'c:/root/folder2/file3.ts' exist - use it as a name resolution result.", 11 …"======== Module name './file3' was successfully resolved to 'c:/root/folder2/file3.ts'. ========", 12 "======== Resolving module 'file4' from 'c:/root/folder2/file2.ts'. ========", 14 …"'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'file4… [all …]
|
D | pathMappingBasedModuleResolution3_classic.trace.json | 2 "======== Resolving module 'folder2/file2' from 'c:/root/folder1/file1.ts'. ========", 4 …"'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folde… 5 … "Resolving module name 'folder2/file2' relative to base url 'c:/root' - 'c:/root/folder2/file2'.", 6 "File 'c:/root/folder2/file2.ts' exist - use it as a name resolution result.", 7 …"======== Module name 'folder2/file2' was successfully resolved to 'c:/root/folder2/file2.ts'. ===… 8 "======== Resolving module './file3' from 'c:/root/folder2/file2.ts'. ========", 10 "File 'c:/root/folder2/file3.ts' exist - use it as a name resolution result.", 11 …"======== Module name './file3' was successfully resolved to 'c:/root/folder2/file3.ts'. ========", 12 "======== Resolving module 'file4' from 'c:/root/folder2/file2.ts'. ========", 14 …"'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'file4… [all …]
|
D | pathMappingBasedModuleResolution5_classic.trace.json | 2 "======== Resolving module 'folder2/file1' from 'c:/root/folder1/file1.ts'. ========", 4 …"'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folde… 8 "File 'c:/root/folder2/file1.ts' exist - use it as a name resolution result.", 9 …"======== Module name 'folder2/file1' was successfully resolved to 'c:/root/folder2/file1.ts'. ===… 10 "======== Resolving module 'folder3/file2' from 'c:/root/folder1/file1.ts'. ========", 12 …"'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folde… 17 "File 'c:/root/generated/folder3/file2.ts' exist - use it as a name resolution result.", 18 …"======== Module name 'folder3/file2' was successfully resolved to 'c:/root/generated/folder3/file… 19 "======== Resolving module 'components/file3' from 'c:/root/folder1/file1.ts'. ========", 21 …"'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'compo… [all …]
|
/third_party/skia/src/ports/skia_ohos/ |
D | HmSymbolConfig_ohos.cpp | 217 int HmSymbolConfig_OHOS::checkConfigFile(const char* fname, Json::Value& root) in checkConfigFile() argument 227 bool isJson = jsonReader->parse(data, data + size, &root, &errs); in checkConfigFile() 261 Json::Value root; in parseConfigOfHmSymbol() local 262 int err = checkConfigFile(fullname, root); in parseConfigOfHmSymbol() 272 if (!root.isMember(key)) { in parseConfigOfHmSymbol() 275 if (!root[key].isArray()) { in parseConfigOfHmSymbol() 281 parseSymbolAnimations(root[key], key); in parseConfigOfHmSymbol() 283 parseSymbolLayersGrouping(root[key]); in parseConfigOfHmSymbol() 286 root.clear(); in parseConfigOfHmSymbol() 292 void HmSymbolConfig_OHOS::parseSymbolAnimations(const Json::Value& root, const char* key) in parseSymbolAnimations() argument [all …]
|
/third_party/node/deps/v8/src/torque/ |
D | instance-type-generator.cc | 59 std::unique_ptr<InstanceTypeTree> root; in BuildInstanceTypeTree() local 63 if (root != nullptr) in BuildInstanceTypeTree() 64 Error("Expected only one root class type. Found: ", root->type->name(), in BuildInstanceTypeTree() 67 root = std::move(type_tree); in BuildInstanceTypeTree() 72 return root; in BuildInstanceTypeTree() 76 void PropagateInstanceTypeConstraints(InstanceTypeTree* root) { in PropagateInstanceTypeConstraints() argument 77 for (auto& child : root->children) { in PropagateInstanceTypeConstraints() 79 if (child->start < root->start) root->start = child->start; in PropagateInstanceTypeConstraints() 80 if (child->end > root->end) root->end = child->end; in PropagateInstanceTypeConstraints() 81 root->num_values += child->num_values; in PropagateInstanceTypeConstraints() [all …]
|
/third_party/node/doc/contributing/maintaining/ |
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 The `tools/dep_updaters/update-root-certs.mjs` script automates the update of 19 the root certificates, including: 31 Commands assume that the current working directory is the root of a checkout of 84 < Parsing: Visa eCommerce Root 88 < Parsing: Certplus Root CA G1 89 < Parsing: Certplus Root CA G2 90 < Parsing: OpenTrust Root CA G1 [all …]
|
/third_party/node/test/parallel/ |
D | test-common-must-not-mutate-object-deep.mjs | 22 function testOriginal(root) { argument 23 assert.deepStrictEqual(root, backup); 24 return root.foo.bar === 'baz' && root.quux[1].corge.length === 6; 27 function definePropertyOnRoot(root) { argument 28 Object.defineProperty(root, 'xyzzy', {}); 31 function definePropertyOnFoo(root) { argument 32 Object.defineProperty(root.foo, 'xyzzy', {}); 35 function deletePropertyOnRoot(root) { argument 36 delete root.foo; 39 function deletePropertyOnFoo(root) { argument [all …]
|
/third_party/typescript/src/testRunner/unittests/ |
D | moduleResolution.ts | 959 const file1: File = { name: "/root/folder1/file1.ts" }; 960 const file2: File = { name: "/root/folder2/file2.ts" }; 961 const file3: File = { name: "/root/folder2/file3.ts" }; 964 const options: CompilerOptions = { moduleResolution, baseUrl: "/root" }; 974 … const result = resolveModuleName("/root/folder1/file1", file2.name, options, host); 987 const main: File = { name: "/root/a/b/main.ts" }; 988 const m1: File = { name: "/root/m1.ts" }; // load file as module 989 const m2: File = { name: "/root/m2/index.d.ts" }; // load folder as module 990 …const m3: File = { name: "/root/m3/package.json", content: JSON.stringify({ typings: "dist/typings… 991 const m3Typings: File = { name: "/root/m3/dist/typings.d.ts" }; [all …]
|
/third_party/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 65 cil_set_to_list(test_tree->root->cl_head, cil_l, 1); in test_cil_copy_list() 87 cil_set_to_list(test_tree->root->cl_head, cil_l, 1); in test_cil_copy_list_sublist() 111 cil_set_to_list(test_tree->root->cl_head, cil_l, 1); in test_cil_copy_list_sublist_extra() 156 test_ast_node->parent = test_db->ast->root; in test_cil_copy_block() 159 cil_gen_block(test_db, test_tree->root->cl_head->cl_head, test_ast_node, 0); in test_cil_copy_block() 200 cil_gen_perm(test_db, test_tree->root->cl_head->cl_head->next->next->cl_head, test_ast_node); in test_cil_copy_perm() 203 cil_gen_perm(test_db, test_tree->root->cl_head->cl_head->next->next->cl_head->next, test_ast_node); in test_cil_copy_perm() 206 …cil_gen_perm(test_db, test_tree->root->cl_head->cl_head->next->next->cl_head->next->next, test_ast… in test_cil_copy_perm() 224 test_ast_node->parent = test_db->ast->root; in test_cil_copy_class() 227 cil_gen_class(test_db, test_tree->root->cl_head->cl_head, test_ast_node); in test_cil_copy_class() [all …]
|
D | test_cil_resolve_ast.c | 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() 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 …]
|
/third_party/openssl/test/recipes/ |
D | 25-test_verify.t | 35 ok(verify("ee-cert", "sslserver", ["root-cert"], ["ca-cert"]), 38 # Root CA variants 39 ok(!verify("ee-cert", "sslserver", [qw(root-nonca)], [qw(ca-cert)]), 40 "fail trusted non-ca root"); 42 "fail server trust non-ca root"); 44 "fail wildcard trust non-ca root"); 45 ok(!verify("ee-cert", "sslserver", [qw(root-cert2)], [qw(ca-cert)]), 46 "fail wrong root key"); 47 ok(!verify("ee-cert", "sslserver", [qw(root-name2)], [qw(ca-cert)]), 48 "fail wrong root DN"); [all …]
|
/third_party/openssl/test/certs/ |
D | setup.sh | 3 # Primary root: root-cert 4 ./mkcert.sh genroot "Root CA" root-key root-cert 5 # root cert variants: CA:false, key2, DN2, expired 6 ./mkcert.sh genss "Root CA" root-key root-nonca 7 ./mkcert.sh genroot "Root CA" root-key2 root-cert2 8 ./mkcert.sh genroot "Root Cert 2" root-key root-name2 9 DAYS=-1 ./mkcert.sh genroot "Root CA" root-key root-expired 10 # cross root and root cross cert 11 ./mkcert.sh genroot "Cross Root" cross-key cross-root 12 ./mkcert.sh genca "Root CA" root-key root-cross-cert cross-key cross-root [all …]
|