| /third_party/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. 13 GRP="$(sed -n '$s/:.*//p' /etc/group)" 14 # Or if that fails, assume we're on Android and pick a well-known group. 19 rm -rf testdir && 20 mkdir -p testdir/dir/dir/dir testdir/dir2 && 22 ln -s ../dir/dir testdir/dir2/dir && 23 ln -s ../dir/file testdir/dir2/file || exit 1 [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
| D | ImmutableMap.h | 1 //===--- ImmutableMap.h - Immutable (functional) map interface --*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 23 /// ImutKeyValueInfo -Traits class used by ImmutableMap. While both the first 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() [all …]
|
| /third_party/node/deps/v8/src/torque/ |
| D | instance-type-generator.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "src/torque/implementation-visitor.h" 21 value(-1), in InstanceTypeTree() 28 int value; // Assigned value for this class itself, or -1 when unassigned. 42 const Type* type = alias->type(); in BuildInstanceTypeTree() 59 std::unique_ptr<InstanceTypeTree> root; in BuildInstanceTypeTree() local 61 const ClassType* parent = type_tree->type->GetSuperClass(); in BuildInstanceTypeTree() 63 if (root != nullptr) in BuildInstanceTypeTree() 64 Error("Expected only one root class type. Found: ", root->type->name(), in BuildInstanceTypeTree() 65 " and ", type_tree->type->name()) in BuildInstanceTypeTree() [all …]
|
| /third_party/node/deps/npm/tap-snapshots/test/lib/utils/ |
| D | sbom-spdx.js.test.cjs | 2 * This snapshot file is auto-generated, but designed for humans. 4 * Re-generate by setting TAP_SNAPSHOT=1 and running tests. 8 exports[`test/lib/utils/sbom-spdx.js TAP node - with deps > must match snapshot 1`] = ` 10 "spdxVersion": "SPDX-2.3", 11 "dataLicense": "CC0-1.0", 12 "SPDXID": "SPDXRef-DOCUMENT", 13 "name": "root@1.0.0", 16 "created": "2020-01-01T00:00:00.000Z", 18 "Tool: npm/cli-10.0.0 " 22 "SPDXRef-Package-root-1.0.0" [all …]
|
| D | sbom-cyclonedx.js.test.cjs | 2 * This snapshot file is auto-generated, but designed for humans. 4 * Re-generate by setting TAP_SNAPSHOT=1 and running tests. 8 exports[`test/lib/utils/sbom-cyclonedx.js TAP node - with deps > must match snapshot 1`] = ` 10 "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json", 13 "serialNumber": "urn:uuid:00000000-0000-0000-0000-000000000000", 16 "timestamp": "2020-01-01T00:00:00.000Z", 30 "bom-ref": "root@1.0.0", 32 "name": "root", 36 "purl": "pkg:npm/root@1.0.0", 48 "bom-ref": "dep1@0.0.1", [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: 22 * Running `tools/mk-ca-bundle.pl` to convert the certificates and generate 24 * Using `git diff-files` to determine which certificate have been added and/or 31 Commands assume that the current working directory is the root of a checkout of 48 ./mk-ca-bundle.pl -v 2>_before 49 curl -O https://hg.mozilla.org/projects/nss/raw-file/NSS_3_41_RTM/lib/ckfw/builtins/certdata.txt [all …]
|
| /third_party/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 …]
|
| /third_party/openssl/test/recipes/ |
| D | 25-test_verify.t | 2 # Copyright 2015-2023 The OpenSSL Project Authors. All Rights Reserved. 23 my @args = qw(openssl verify -auth_level 1); 24 push(@args, "-purpose", $purpose) if $purpose ne ""; 26 for (@$trusted) { push(@args, "-trusted", srctop_file(@path, "$_.pem")) } 27 for (@$untrusted) { push(@args, "-untrusted", srctop_file(@path, "$_.pem")) } 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"); 41 ok(!verify("ee-cert", "sslserver", [qw(nroot+serverAuth)], [qw(ca-cert)]), [all …]
|
| D | 80-test_ocsp.t | 2 # Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved. 25 my $ocspdir=srctop_dir("test", "ocsp-tests"); 27 my @check_time=("-attime", "1355875200"); 41 run(app(["openssl", "base64", "-d", 42 "-in", catfile($ocspdir,$inputfile), 43 "-out", $outputfile])); 45 sub { ok(run(app(["openssl", "ocsp", "-respin", $outputfile, 46 "-partial_chain", @check_time, 47 "-CAfile", catfile($ocspdir, $CAfile), 48 "-verify_other", catfile($ocspdir, $untrusted), [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 …]
|
| /third_party/cJSON/tests/ |
| D | cjson_add.c | 2 Copyright (c) 2009-2017 Dave Gamble and cJSON contributors 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() 56 TEST_ASSERT_EQUAL_INT(null->type, cJSON_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 [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 | 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 …]
|
| /third_party/mbedtls/scripts/mbedtls_dev/ |
| D | build_tree.py | 5 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 12 def looks_like_tf_psa_crypto_root(path: str) -> bool: 13 """Whether the given directory looks like the root of the PSA Crypto source tree.""" 17 def looks_like_mbedtls_root(path: str) -> bool: 18 """Whether the given directory looks like the root of the Mbed TLS source tree.""" 22 def looks_like_root(path: str) -> bool: 25 def crypto_core_directory(root: Optional[str] = None, relative: Optional[bool] = False) -> str: 28 for either TF-PSA-Crypto or Mbed TLS. 33 if root is None: 34 root = guess_project_root() [all …]
|
| /third_party/skia/third_party/externals/freetype/src/type42/ |
| D | t42parse.c | 7 * Copyright (C) 2002-2021 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 …]
|
| /third_party/skia/third_party/externals/freetype/src/type1/ |
| D | t1objs.c | 7 * Copyright (C) 1996-2021 by 58 T1_Face face = (T1_Face)size->root.face; in T1_Size_Get_Globals_Funcs() 59 PSHinter_Service pshinter = (PSHinter_Service)face->pshinter; in T1_Size_Get_Globals_Funcs() 63 module = FT_Get_Module( size->root.face->driver->root.library, in T1_Size_Get_Globals_Funcs() 65 return ( module && pshinter && pshinter->get_globals_funcs ) in T1_Size_Get_Globals_Funcs() 66 ? pshinter->get_globals_funcs( module ) in T1_Size_Get_Globals_Funcs() 77 if ( t1size->internal->module_data ) in T1_Size_Done() 84 funcs->destroy( (PSH_Globals)t1size->internal->module_data ); in T1_Size_Done() 86 t1size->internal->module_data = NULL; in T1_Size_Done() 102 T1_Face face = (T1_Face)size->root.face; in T1_Size_Init() [all …]
|
| /third_party/ltp/lib/ |
| D | tst_cgroup.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2020-2021 SUSE LLC <rpalethorpe@suse.com> 27 * This is actually a single-linked list not a tree. We only need to 28 * traverse from leaf towards root. 34 /* Shortcut to root */ 39 * this field. So it may be different from root->css_field. 51 /* The root of a CGroup hierarchy/tree */ 57 * controllers found while scanning this root. 61 /* CGroup hierarchy: mnt -> ltp -> {drain, test -> ??? } We 80 /* Controller sub-systems */ [all …]
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
| D | TranslatorMetalDirect.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 91 const TIntermSequence &sequence = *(node->getSequence()); in visitDeclaration() 92 TIntermTyped *declarator = sequence.front()->getAsTyped(); in visitDeclaration() 93 const TType &type = declarator->getType(); in visitDeclaration() 100 ASSERT(structure->symbolType() != SymbolType::Empty); in visitDeclaration() 101 // outputMSL->writeStructType(structure); in visitDeclaration() 103 TIntermSymbol *symbolNode = declarator->getAsSymbolNode(); in visitDeclaration() 104 if (symbolNode && symbolNode->variable().symbolType() == SymbolType::Empty) in visitDeclaration() 108 mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), node, in visitDeclaration() 137 const TIntermSequence &sequence = *(node->getSequence()); in visitDeclaration() [all …]
|
| /third_party/skia/third_party/externals/freetype/src/cff/ |
| D | cffgload.c | 7 * Copyright (C) 1996-2021 by 52 if ( face->root.internal->incremental_interface ) in cff_get_glyph_data() 56 face->root.internal->incremental_interface->funcs->get_glyph_data( in cff_get_glyph_data() 57 face->root.internal->incremental_interface->object, in cff_get_glyph_data() 70 CFF_Font cff = (CFF_Font)(face->extra.data); in cff_get_glyph_data() 73 return cff_index_access_element( &cff->charstrings_index, glyph_index, in cff_get_glyph_data() 91 if ( face->root.internal->incremental_interface ) in cff_free_glyph_data() 99 face->root.internal->incremental_interface->funcs->free_glyph_data( in cff_free_glyph_data() 100 face->root.internal->incremental_interface->object, &data ); in cff_free_glyph_data() 106 CFF_Font cff = (CFF_Font)(face->extra.data); in cff_free_glyph_data() [all …]
|
| /third_party/typescript/tests/baselines/reference/tsserver/configFileSearch/ |
| D | when-projectRootPath-is-not-present.js | 4 /// <reference no-default-lib="true"/> 16 //// [/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js] 26 Info 1 [00:00:24.000] Search path: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-work… 27 Info 2 [00:00:25.000] For info: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspa… 28 …: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.json 2000 undefined … 29 …: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/jsconfig.json 2000 undefined … 30 … WatchInfo: /root/teams/VSCode68/Shared Documents/General/tsconfig.json 2000 undefined WatchType: … 31 … WatchInfo: /root/teams/VSCode68/Shared Documents/General/jsconfig.json 2000 undefined WatchType: … 32 …ed:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.json 2000 undefined WatchType: Conf… 33 …ed:: WatchInfo: /root/teams/VSCode68/Shared Documents/jsconfig.json 2000 undefined WatchType: Conf… [all …]
|
| D | when-projectRootPath-is-present-but-file-is-not-from-project-root.js | 4 /// <reference no-default-lib="true"/> 16 //// [/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js] 26 Info 1 [00:00:24.000] Search path: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-work… 27 Info 2 [00:00:25.000] For info: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspa… 28 …: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.json 2000 undefined … 29 …: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/jsconfig.json 2000 undefined … 30 … WatchInfo: /root/teams/VSCode68/Shared Documents/General/tsconfig.json 2000 undefined WatchType: … 31 … WatchInfo: /root/teams/VSCode68/Shared Documents/General/jsconfig.json 2000 undefined WatchType: … 32 …ed:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.json 2000 undefined WatchType: Conf… 33 …ed:: WatchInfo: /root/teams/VSCode68/Shared Documents/jsconfig.json 2000 undefined WatchType: Conf… [all …]
|
| /third_party/python/Lib/tkinter/test/test_tkinter/ |
| 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 …]
|