| /third_party/spirv-tools/test/opt/ |
| D | amd_ext_to_khr.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 32 ; CHECK: OpCapability Shader in GetTest() 33 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in GetTest() 34 ; CHECK: OpFunction in GetTest() 35 ; CHECK-NEXT: OpLabel in GetTest() 36 ; CHECK-NEXT: [[undef:%\w+]] = OpUndef % in GetTest() 37 ; CHECK-NEXT: )" + new_op_code + in GetTest() 108 ; CHECK: OpCapability Shader in TEST_F() 109 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in TEST_F() 110 ; CHECK-NOT: OpExtInstImport "SPV_AMD_shader_ballot" in TEST_F() [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/test/opt/ |
| D | amd_ext_to_khr.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 31 ; CHECK: OpCapability Shader in GetTest() 32 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in GetTest() 33 ; CHECK: OpFunction in GetTest() 34 ; CHECK-NEXT: OpLabel in GetTest() 35 ; CHECK-NEXT: [[undef:%\w+]] = OpUndef %uint in GetTest() 36 ; CHECK-NEXT: )" + new_op_code + in GetTest() 103 ; CHECK: OpCapability Shader in TEST_F() 104 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in TEST_F() 105 ; CHECK-NOT: OpExtInstImport "SPV_AMD_shader_ballot" in TEST_F() [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
| D | amd_ext_to_khr.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 31 ; CHECK: OpCapability Shader in GetTest() 32 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in GetTest() 33 ; CHECK: OpFunction in GetTest() 34 ; CHECK-NEXT: OpLabel in GetTest() 35 ; CHECK-NEXT: [[undef:%\w+]] = OpUndef %uint in GetTest() 36 ; CHECK-NEXT: )" + new_op_code + in GetTest() 103 ; CHECK: OpCapability Shader in TEST_F() 104 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in TEST_F() 105 ; CHECK-NOT: OpExtInstImport "SPV_AMD_shader_ballot" in TEST_F() [all …]
|
| /third_party/libcoap/examples/ |
| D | etsi_testcases.sh | 6 …tcpdumpcmd="$tcpdump -i $INTERFACE host $SERVERADDRESS and (udp port $SERVERPORT or icmp) -s0 -n -… 16 if [ ! -e $logfile ] ; then 37 if [ -z $1 ]; then 45 echo -e "\nOutput of client:" 47 if [[ ! -z $2 ]]; then 52 …($timeoutcmd $clienttimeout cat $testfifo | if read -n 1 char; then echo "output: $char" ; fi) 2>/… 72 # client sends GET request with Type=0(CON) and Code=1(GET) 74 # check if sent request contains Type value indicating 0 and Code 77 # check if server sends response containing Code = 69(2.05 Content), 78 # the same Message ID as that of previous request, content type option [all …]
|
| /third_party/json/tests/src/ |
| D | unit-conversions.cpp | 6 // Copyright (c) 2013-2022 Niels Lohmann <http://nlohmann.me>. 7 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> 8 // SPDX-License-Identifier: MIT 33 DOCTEST_CLANG_SUPPRESS_WARNING("-Wexit-time-destructors") 51 CHECK(json(o) == j); 58 CHECK(json(o) == j); 65 CHECK(json(o) == j); 72 CHECK(json(o) == j); 79 CHECK(json(o) == j); 82 SECTION("exception in case of a non-object type") [all …]
|
| D | unit-inspection.cpp | 6 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> 7 // SPDX-License-Identifier: MIT 20 SECTION("convenience type checker") 25 CHECK(!j.is_null()); 26 CHECK(!j.is_boolean()); 27 CHECK(!j.is_number()); 28 CHECK(!j.is_number_integer()); 29 CHECK(!j.is_number_unsigned()); 30 CHECK(!j.is_number_float()); 31 CHECK(!j.is_binary()); [all …]
|
| D | unit-modifiers.cpp | 6 // Copyright (c) 2013-2022 Niels Lohmann <http://nlohmann.me>. 7 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> 8 // SPDX-License-Identifier: MIT 25 CHECK(j == json(json::value_t::boolean)); 26 CHECK(j == json(k.type())); 35 CHECK(j == json(json::value_t::string)); 36 CHECK(j == json(k.type())); 47 CHECK(j.empty()); 48 CHECK(j == json(json::value_t::array)); 49 CHECK(j == json(k.type())); [all …]
|
| D | unit-constructor1.cpp | 6 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> 7 // SPDX-License-Identifier: MIT 26 SECTION("create an empty value with a given type") 32 CHECK(j.type() == t); 39 CHECK(j.type() == t); 46 CHECK(j.type() == t); 53 CHECK(j.type() == t); 60 CHECK(j.type() == t); 61 CHECK(j == false); 68 CHECK(j.type() == t); [all …]
|
| D | unit-reference_access.cpp | 6 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> 7 // SPDX-License-Identifier: MIT 23 {"floating-point", 17.23} 36 // check if references are returned correctly 38 CHECK(&p1 == value.get_ptr<test_type*>()); 39 CHECK(p1 == value.get<test_type>()); 42 CHECK(&p2 == value.get_ptr<const test_type*>()); 43 CHECK(p2 == value.get<test_type>()); 45 // check if mismatching references throw correctly 48 ….exception.type_error.303] incompatible ReferenceType for get_ref, actual type is object", json::t… [all …]
|
| /third_party/freetype/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd. 8 http://www.apache.org/licenses/LICENSE-2.0 18 --> 19 <!-- OAT(OSS Audit Tool) configuration guide: 22 …ot dir, please define all the license files in this project in , OAT will check license files acco… 25 1. task: Define oat check thread, each task will start a new thread. 33 …items will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process. 34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilte… 35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPoli… [all …]
|
| /third_party/libpng/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd. 8 http://www.apache.org/licenses/LICENSE-2.0 18 --> 19 <!-- OAT(OSS Audit Tool) configuration guide: 22 …ot dir, please define all the license files in this project in , OAT will check license files acco… 25 1. task: Define oat check thread, each task will start a new thread. 33 …items will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process. 34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilte… 35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPoli… [all …]
|
| /third_party/mesa3d/src/amd/compiler/ |
| D | aco_validate.cpp | 42 if (program->debug.shorten_messages) { in aco_log() 51 if (program->debug.func) in aco_log() 52 program->debug.func(program->debug.private_data, level, msg); in aco_log() 54 fprintf(program->debug.output, "%s\n", msg); in aco_log() 83 auto check = [&program, &is_valid](bool success, const char* msg, in validate_ir() local 84 aco::Instruction* instr) -> void in validate_ir() 105 aco::Block* block) -> void in validate_ir() 108 aco_err(program, "%s: BB%u", msg, block->index); in validate_ir() 113 for (Block& block : program->blocks) { in validate_ir() 116 /* check base format */ in validate_ir() [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/ut/cpp/dataset/ |
| D | to_tensor_op_test.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 38 /// Description: Check type changing with ToTensor C op to int8 (string param) 44 Status s = to_tensor_op->Compute(input_tensor_, &output_tensor); in TEST_F() 45 ASSERT_TRUE(DataType("int8") == output_tensor->type()); in TEST_F() 49 /// Description: Check type changing with ToTensor C op to int8 (DataType param) 55 Status s = to_tensor_op->Compute(input_tensor_, &output_tensor); in TEST_F() 56 ASSERT_TRUE(DataType("int8") == output_tensor->type()); in TEST_F() 60 /// Description: Check type changing with ToTensor C op to int16 (string param) 66 Status s = to_tensor_op->Compute(input_tensor_, &output_tensor); in TEST_F() 67 ASSERT_TRUE(DataType("int16") == output_tensor->type()); in TEST_F() [all …]
|
| /third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
| D | test_check_spec_links.py | 3 # Copyright (c) 2018-2019 Collabora, Ltd. 5 # SPDX-License-Identifier: Apache-2.0 17 # API-specific constants 33 """Updates the checker's enable message type set, from an iterable.""" 37 def check(self, string): member in CheckerWrapper 53 … """Fixture - add an arg named ckr to your test function to automatically get one passed to you.""" 90 assert(ckr.check('with %s by' % PROTO).numDiagnostics() == 1) 94 assert(not ckr.check('<<%s' % PROTO).messages) 96 assert(not ckr.check('%s>>' % PROTO).messages) 97 assert(not ckr.check( [all …]
|
| /third_party/harfbuzz/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd. 8 http://www.apache.org/licenses/LICENSE-2.0 18 --> 19 <!-- OAT(OSS Audit Tool) configuration guide: 22 …ot dir, please define all the license files in this project in , OAT will check license files acco… 25 1. task: Define oat check thread, each task will start a new thread. 33 …items will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process. 34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilte… 35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPoli… [all …]
|
| /third_party/curl/tests/libtest/ |
| D | mk-lib1521.pl | 22 # SPDX-License-Identifier: curl 27 # perl mk-lib1521.pl < ../../include/curl/curl.h > lib1521.c 58 * SPDX-License-Identifier: curl 66 /* This source code is generated by mk-lib1521.pl ! */ 79 CURLE_NOT_BUILT_IN - means disabled at build 80 CURLE_UNKNOWN_OPTION - means no such option (anymore?) 81 CURLE_SSL_ENGINE_NOTFOUND - set unknown ssl engine 82 CURLE_UNSUPPORTED_PROTOCOL - set bad HTTP version 83 CURLE_BAD_FUNCTION_ARGUMENT - unsupported value 189 # Remove multi-line comment trail. [all …]
|
| /third_party/cares/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd. 8 http://www.apache.org/licenses/LICENSE-2.0 15 --> 16 <!-- OAT(OSS Audit Tool) configuration guide: 19 …ot dir, please define all the license files in this project in , OAT will check license files acco… 22 1. task: Define oat check thread, each task will start a new thread. 30 …items will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process. 31 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilte… 32 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPoli… [all …]
|
| /third_party/vk-gl-cts/external/openglcts/modules/common/ |
| D | glcKHRDebugTests.hpp | 3 /*------------------------------------------------------------------------- 5 * ----------------------------- 7 * Copyright (c) 2015-2018 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 29 */ /*-------------------------------------------------------------------*/ 84 * This test should be executed for DEBUG and NON-DEBUG contexts. 87 * - INVALID_ENUM when <source> is invalid; 88 * - INVALID_ENUM when <type> is invalid; 89 * - INVALID_ENUM when <severity> is invalid; [all …]
|
| /third_party/mesa3d/src/imagination/csbgen/ |
| D | rogue_cr.xml | 3 <!-- 24 --> 160 <field name="base_addr" start="4" end="39" shift="4" type="address"/> 164 <field name="base_addr" start="4" end="39" shift="4" type="address"/> 168 <field name="addr" start="4" end="39" shift="4" type="address"/> 172 <field name="addr" start="2" end="39" shift="2" type="address"/> 176 <field name="addr" start="3" end="39" shift="3" type="address"/> 180 <field name="addr" start="4" end="39" shift="4" type="address"/> 184 <field name="pds_state1" start="32" end="63" type="uint"/> 185 <field name="pds_state0" start="0" end="31" type="uint"/> [all …]
|
| /third_party/mtdev/ |
| D | README.md | 1 # mtdev - Multitouch Protocol Translation Library 3 …-alone library which transforms all variants of kernel MT events to the slotted type B protocol. T… 29 //year-proof millisecond event time 35 return ev->type == EV_ABS && mtdev_is_absmt(ev->code); 46 mstime_t evtime = ev->input_event_usec / ms + ev->input_event_sec * ms; 47 if (ev->type == EV_ABS && ev->code == ABS_MT_SLOT) 48 slot = ev->value; 50 evtime, slot, ev->type, ev->code, ev->value); 53 #define CHECK(dev, name) \ 57 //check prop [all …]
|
| /third_party/pulseaudio/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd. 8 http://www.apache.org/licenses/LICENSE-2.0 18 --> 19 <!-- OAT(OSS Audit Tool) configuration guide: 22 …ot dir, please define all the license files in this project in , OAT will check license files acco… 25 1. task: Define oat check thread, each task will start a new thread. 33 …items will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process. 34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilte… 35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPoli… [all …]
|
| /third_party/spirv-headers/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd. 8 http://www.apache.org/licenses/LICENSE-2.0 18 --> 19 <!-- OAT(OSS Audit Tool) configuration guide: 22 …ot dir, please define all the license files in this project in , OAT will check license files acco… 25 1. task: Define oat check thread, each task will start a new thread. 33 …items will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process. 34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilte… 35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPoli… [all …]
|
| /third_party/spirv-tools/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd. 8 http://www.apache.org/licenses/LICENSE-2.0 18 --> 19 <!-- OAT(OSS Audit Tool) configuration guide: 22 …ot dir, please define all the license files in this project in , OAT will check license files acco… 25 1. task: Define oat check thread, each task will start a new thread. 33 …items will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process. 34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilte… 35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPoli… [all …]
|
| /third_party/libinput/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd. 8 http://www.apache.org/licenses/LICENSE-2.0 18 --> 19 <!-- OAT(OSS Audit Tool) configuration guide: 22 …ot dir, please define all the license files in this project in , OAT will check license files acco… 25 1. task: Define oat check thread, each task will start a new thread. 33 …items will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process. 34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilte… 35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPoli… [all …]
|
| /third_party/libuv/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd. 8 http://www.apache.org/licenses/LICENSE-2.0 18 --> 19 <!-- OAT(OSS Audit Tool) configuration guide: 22 …ot dir, please define all the license files in this project in , OAT will check license files acco… 25 1. task: Define oat check thread, each task will start a new thread. 33 …items will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process. 34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilte… 35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPoli… [all …]
|