| /third_party/backends/testsuite/tools/data/ |
| D | db.ref | 2 # by sane-desc 3.6 from sane-backends 1.0.29-241-g1f9590ab 10 # 0xVVVV<tab>0xPPPP<tab>root:scanner<tab>0664<tab>[/usr/local/bin/foo.sh] 24 # If the scanner is supported by sane-backends, please mail the entry to 25 # the sane-devel mailing list (sane-devel@alioth-lists.debian.net). 27 # Hewlett-Packard ScanJet 4100C 28 0x03f0 0x0101 root:scanner 0664 29 # Hewlett-Packard ScanJet 4200C | Hewlett-Packard ScanJet 4200Cxi | Hewlett-Packard ScanJet 4200Cse 30 0x03f0 0x0105 root:scanner 0664 31 # Hewlett-Packard ScanJet 6200C | Hewlett-Packard ScanJet 6250C 32 0x03f0 0x0201 root:scanner 0664 [all …]
|
| /third_party/cups/packaging/ |
| D | cups.list.in | 4 # Copyright © 2020-2023 by OpenPrinting 5 # Copyright © 2007-2019 by Apple Inc. 6 # Copyright © 1997-2007 by Easy Software Products, all rights reserved. 14 %copyright 2020 by Michael R Sweet, 2007-2019 by Apple Inc. 24 %description CUPS is the standards-based, open source printing system developed 26 %description UNIX®-like operating systems. 35 %requires cups-libs 1:@CUPS_VERSION@ 38 %replaces cups-da 39 %replaces cups-de 40 %replaces cups-es [all …]
|
| /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/openhitls/bsl/err/src/ |
| D | avl.c | 11 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 42 return node->height; in GetAvlTreeHeight() 49 uint32_t leftHeight = GetAvlTreeHeight(node->leftNode); in UpdateAvlTreeHeight() 50 uint32_t rightHeight = GetAvlTreeHeight(node->rightNode); in UpdateAvlTreeHeight() 51 if (node->height >= AVL_MAX_HEIGHT) { in UpdateAvlTreeHeight() 56 node->height = GetMaxHeight(leftHeight, rightHeight) + 1u; in UpdateAvlTreeHeight() 69 curNode->height = 1; in BSL_AVL_MakeLeafNode() 70 curNode->rightNode = NULL; in BSL_AVL_MakeLeafNode() 71 curNode->leftNode = NULL; in BSL_AVL_MakeLeafNode() 72 curNode->data = data; in BSL_AVL_MakeLeafNode() [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/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/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/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/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/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/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 …]
|
| 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 …]
|
| /third_party/mindspore/mindspore-src/source/tests/ut/cpp/dataset/ |
| D | skip_pushdown_optimization_pass_test.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 41 int64_t dataset_size = root_original->GetDatasetSize(); in prepare_trees() 44 RETURN_IF_NOT_OK(ir_tree->Compile(root_original->IRNode(), 1, step, dataset_size)); in prepare_trees() 48 RETURN_IF_NOT_OK(ir_tree_target->Compile(root_target->IRNode(), 1, in prepare_trees() 52 RETURN_IF_NOT_OK(compare_pass(ir_tree_target->RootIRNode(), ir_tree->RootIRNode())); in prepare_trees() 60 /// \param[in] root Root node tree for compare 62 Status compare_pass(std::shared_ptr<DatasetNode> expect, std::shared_ptr<DatasetNode> root) { in compare_pass() argument 63 if (expect->Children().size() == root->Children().size() && expect->Children().size() == 0) { in compare_pass() 66 if (expect->Children().size() == root->Children().size() && expect->Children().size() != 0) { in compare_pass() 67 for (int i = 0; i < expect->Children().size(); i++) { in compare_pass() [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/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/openhitls/testcode/sdv/testcase/bsl/err/ |
| D | test_suite_sdv_err.c | 11 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 95 times--; in PushErrorFixTimes() 113 * @title Error code test in single-thread mode 274 * 3. Obtains the push-stack information, Expected result 3 and 4 is obtained. 434 ASSERT_TRUE(BSL_ERR_AddErrStringBatch((void *)-1, 0) == BSL_NULL_INPUT); in SDV_BSL_ERR_STRING_FUNC_TC001() 466 * 1. root node is 100 467 * 2. root node is 100 468 * 3. root node is 100 469 * 4. root node is 100 470 * 5. root node is 100 [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/python/Lib/tkinter/test/test_tkinter/ |
| D | test_misc.py | 27 t = tkinter.Toplevel(self.root, name='top') 32 t = tkinter.Toplevel(self.root) 40 root = self.root 41 root.tk_setPalette('black') 42 self.assertEqual(root['background'], 'black') 43 root.tk_setPalette('white') 44 self.assertEqual(root['background'], 'white') 47 root.tk_setPalette, 'spam') 49 root.tk_setPalette(background='black') 50 self.assertEqual(root['background'], 'black') [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/frontend/parallel/graph_util/ |
| D | fold_pipeline_split_utils.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 53 int64_t GetSegmentMax(const FuncGraphPtr &root, const std::vector<AnfNodePtr> &forward_end) { in GetSegmentMax() argument 58 auto forward_end_cnode = forward_end.back()->cast<CNodePtr>(); in GetSegmentMax() 59 auto seg_size = forward_end_cnode->GetPrimalAttr(SEGMENT); in GetSegmentMax() 85 if (parallel_context->enable_fold_pipeline()) { in CompFuncBySegAscending() 88 auto cnode = node->cast<CNodePtr>(); in CompFuncBySegAscending() 90 auto seg = cnode->GetPrimalAttr(SEGMENT); in CompFuncBySegAscending() 104 if (parallel_context->enable_fold_pipeline()) { in CompFuncBySegDescending() 107 auto cnode = node->cast<CNodePtr>(); in CompFuncBySegDescending() 109 auto seg = cnode->GetPrimalAttr(SEGMENT); in CompFuncBySegDescending() [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 …]
|