| /third_party/typescript/tests/baselines/reference/user/ |
| D | npm.log | 3 lib/arborist-cmd.js(22,17): error TS2339: Property 'exec' does not exist on type 'ArboristCmd'. 4 lib/auth/legacy.js(40,11): error TS2571: Object is of type 'unknown'. 5 lib/auth/legacy.js(59,9): error TS2571: Object is of type 'unknown'. 6 lib/auth/legacy.js(84,7): error TS2339: Property 'info' does not exist on type '{}'. 7 lib/auth/sso.js(17,7): error TS2339: Property 'info' does not exist on type '{}'. 8 lib/auth/sso.js(70,7): error TS2339: Property 'info' does not exist on type '{}'. 9 lib/base-command.js(21,29): error TS2339: Property 'description' does not exist on type 'Function'. 10 lib/base-command.js(25,29): error TS2339: Property 'ignoreImplicitWorkspace' does not exist on type… 11 lib/base-command.js(30,27): error TS2339: Property 'description' does not exist on type 'Function'. 12 lib/base-command.js(35,27): error TS2339: Property 'usage' does not exist on type 'Function'. [all …]
|
| /third_party/vk-gl-cts/external/openglcts/modules/gl/ |
| D | gl4cEnhancedLayoutsTests.cpp | 1 /*------------------------------------------------------------------------- 3 * ----------------------------- 5 * Copyright (c) 2015-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 27 */ /*-------------------------------------------------------------------*/ 72 namespace Utils namespace 104 const GLint rand = GetRandUint() - s_rand_max_half; in GetRandInt() 138 /** Type constants **/ 139 const Type Type::_double = Type::GetType(Type::Double, 1, 1); [all …]
|
| D | gl4cEnhancedLayoutsTests.hpp | 3 /*------------------------------------------------------------------------- 5 * ----------------------------- 7 * Copyright (c) 2015-2016 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 29 */ /*-------------------------------------------------------------------*/ 44 namespace Utils namespace 46 /** Represents data type 49 struct Type struct 79 static bool DoesTypeSupportMatrix(TYPES type); [all …]
|
| D | gl4cGPUShaderFP64Tests.cpp | 1 /*------------------------------------------------------------------------- 3 * ----------------------------- 5 * Copyright (c) 2014-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 27 */ /*-------------------------------------------------------------------*/ 50 const glw::GLenum Utils::programInfo::ARB_COMPUTE_SHADER = 0x91B9; 56 Utils::programInfo::programInfo(deqp::Context& context) in programInfo() 72 Utils::programInfo::~programInfo() in ~programInfo() 136 void Utils::programInfo::build(const glw::GLchar* compute_shader_code, const glw::GLchar* fragment_… in build() [all …]
|
| D | gl4cShaderSubroutineTests.hpp | 3 /*------------------------------------------------------------------------- 5 * ----------------------------- 7 * Copyright (c) 2014-2016 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 29 */ /*-------------------------------------------------------------------*/ 41 class Utils class 44 /* Public type definitions */ 135 void get(glw::GLenum format, glw::GLenum type, glw::GLvoid* out_data); 137 …void update(glw::GLuint width, glw::GLuint height, glw::GLenum format, glw::GLenum type, glw::GLvo… [all …]
|
| D | gl4cStencilTexturingTests.cpp | 1 /*------------------------------------------------------------------------- 3 * ----------------------------- 5 * Copyright (c) 2015-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 45 class Utils class 52 …static GLuint createAndCompileShader(deqp::Context& context, const GLenum type, const GLchar* code… 55 GLenum format, GLenum type, const GLvoid* data); 77 GLuint Utils::createAndBuildProgram(deqp::Context& context, const GLchar* cs_code, const GLchar* fs… in createAndBuildProgram() 196 * @param type Type of shader [all …]
|
| D | gl4cShadingLanguage420PackTests.hpp | 3 /*------------------------------------------------------------------------- 5 * ----------------------------- 7 * Copyright (c) 2014-2016 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 29 */ /*-------------------------------------------------------------------*/ 44 class Utils class 294 …void uniform(const glw::GLchar* uniform_name, TYPES type, glw::GLuint n_columns, glw::GLuint n_row… 330 void get(glw::GLenum format, glw::GLenum type, glw::GLvoid* out_data) const; 334 …ate(glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format, glw::GLenum type, [all …]
|
| D | gl4cCopyImageTests.cpp | 1 /*------------------------------------------------------------------------- 3 * ----------------------------- 5 * Copyright (c) 2015-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 44 * By default everything is disabled - which still gives 14560 test cases. 46 * ALL_FORMAT - selects all internal formats, 61 x 61 47 * ALL_TARGETS - selects all valid targets, 10 x 10 48 * ALL_IMG_DIM - selects all image dimmensions, 9 x 9 49 * ALL_REG_DIM - selects all region dimmensions, 7 x 7 [all …]
|
| D | gl4cShadingLanguage420PackTests.cpp | 1 /*------------------------------------------------------------------------- 3 * ----------------------------- 5 * Copyright (c) 2014-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 27 */ /*-------------------------------------------------------------------*/ 61 bool Utils::checkUniformBinding(Utils::program& program, const glw::GLchar* name, glw::GLint expect… in checkUniformBinding() 64 if (-1 == uniform_location) in checkUniformBinding() 82 bool Utils::checkUniformArrayBinding(Utils::program& program, const glw::GLchar* name, glw::GLuint … in checkUniformArrayBinding() 89 if (-1 == uniform_location) in checkUniformArrayBinding() [all …]
|
| /third_party/typescript/src/linter/ArkTSLinter_1_1/ |
| D | TypeScriptLinter.ts | 2 * Copyright (c) 2022-2023 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 42 type: string; property 220 const [startOffset, endOffset] = Utils.getHighlightRange(node, faultId); 238 type: faultType, constant 307 … if (node.parent && Utils.isStructDeclaration(node.parent) && ts.isConstructorDeclaration(node)) { 322 type: TypeNode | undefined 324 if (type) { 325 const methodType = type.getText(); 343 if (!!symbol && Utils.symbolHasDuplicateName(symbol, tsDeclKind ?? tsDeclNode.kind)) { [all …]
|
| D | InteropTypescriptLinter.ts | 2 * Copyright (c) 2022-2023 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 31 export type KitSymbols = Record<string, KitSymbol>; 113 const [startOffset, endOffset] = Utils.getHighlightRange(node, faultId); 131 type: faultType, constant 244 Utils.isInImportWhiteList(resolvedModule) 262 if (fileName === '' || fileName.endsWith(Utils.D_TS)) { 267 const decl = Utils.getDeclarationNode(element.name); 272 if (fileName !== Utils.ARKTS_COLLECTIONS_D_ETS && fileName !== Utils.ARKTS_LANG_D_ETS) { 275 } else if (!Utils.isSendableClassOrInterfaceEntity(element.name)) { [all …]
|
| /third_party/skia/third_party/externals/tint/src/reader/spirv/ |
| D | parser_type.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 22 #include "src/utils/map.h" 23 #include "src/utils/hash.h" 25 TINT_INSTANTIATE_TYPEINFO(tint::reader::spirv::Type); 54 return utils::Hash(t.type, t.storage_class); in operator ()() 60 return utils::Hash(t.type, t.storage_class); in operator ()() 66 return utils::Hash(t.type, t.size); in operator ()() 72 return utils::Hash(t.type, t.columns, t.rows); in operator ()() 78 return utils::Hash(t.type, t.size, t.stride); in operator ()() 84 return utils::Hash(t.dims, t.type); in operator ()() [all …]
|
| /third_party/typescript/src/linter/ArkTSLinter_1_0/ |
| D | TypeScriptLinter.ts | 2 * Copyright (c) 2022-2023 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 19 //import Utils = Utils; 51 type: string; property 208 const startPos = Utils.getStartPos(node); 209 const endPos = Utils.getEndPos(node); 222 let severity = Utils.ProblemSeverity.ERROR; 224 severity = Utils.ProblemSeverity.WARNING; 231 type: faultType, constant 306 type: TypeNode | undefined [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/adapter/acl/common/ |
| D | utils.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 #include "tools/converter/adapter/acl/common/utils.h" 25 #include "include/common/utils/utils.h" 41 MS_CHECK_TRUE_MSG(tuple_get_item->size() == mindspore::kTupleGetItemInputSize, kInvalidSize, in GetTupleGetItemOutIndex() 43 …auto output_index_value_node = tuple_get_item->input(mindspore::kInputNodeOutputIndexInTupleGetIte… in GetTupleGetItemOutIndex() 45 auto value_node = output_index_value_node->cast<mindspore::ValueNodePtr>(); in GetTupleGetItemOutIndex() 47 auto values = opt::CastToInt(value_node->value()); in GetTupleGetItemOutIndex() 54 if (node->isa<mindspore::CNode>()) { in CheckPrimitiveType() 55 auto cnode = node->cast<mindspore::CNodePtr>(); in CheckPrimitiveType() 57 return IsPrimitive(cnode->input(0), primitive_type); in CheckPrimitiveType() [all …]
|
| /third_party/typescript/src/testRunner/unittests/tsbuild/ |
| D | moduleSpecifiers.ts | 8 "/src/solution/common/nominal.ts": Utils.dedent` 9 export declare type Nominal<T, Name extends string> = T & { 13 "/src/solution/common/tsconfig.json": Utils.dedent` 21 "/src/solution/sub-project/index.ts": Utils.dedent` 24 export type MyNominal = Nominal<string, 'MyNominal'>; 26 "/src/solution/sub-project/tsconfig.json": Utils.dedent` 37 "/src/solution/sub-project-2/index.ts": Utils.dedent` 38 import { MyNominal } from '../sub-project/index'; 48 "/src/solution/sub-project-2/tsconfig.json": Utils.dedent` 55 { "path": "../sub-project" } [all …]
|
| D | javascriptProjectEmit.ts | 5 subScenario: `loads js-based projects and emits them correctly`, 7 "/src/common/nominal.js": Utils.dedent` 14 "/src/common/tsconfig.json": Utils.dedent` 22 "/src/sub-project/index.js": Utils.dedent` 29 "/src/sub-project/tsconfig.json": Utils.dedent` 40 "/src/sub-project-2/index.js": Utils.dedent` 41 import { MyNominal } from '../sub-project/index'; 44 key: /** @type {MyNominal} */('value'), 54 "/src/sub-project-2/tsconfig.json": Utils.dedent` 61 { "path": "../sub-project" } [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/backend/common/optimizer/ |
| D | pattern_engine.cc | 2 * Copyright 2019-2023 Huawei Technologies Co., Ltd 8 * http://www.apache.org/licenses/LICENSE-2.0 20 #include "utils/convert_utils_base.h" 38 if (lhs->isa<CondVar>() && rhs->isa<CondVar>()) { in operator ==() 44 if (lhs->isa<SeqVar>() && rhs->isa<SeqVar>()) { in operator ==() 54 buffer << "SeqVar(" << tag() << ", " << subvar_->ToString() << ")"; in ToString() 62 os << var->ToString(); in operator <<() 75 if (utils::isa<AnfNodePtr>(x)) { 76 auto node = utils::cast<AnfNodePtr>(x); 77 os << "TypeString[" << node->type_name() << "]"; [all …]
|
| D | visitor.cc | 2 * Copyright 2019-2023 Huawei Technologies Co., Ltd 8 * http://www.apache.org/licenses/LICENSE-2.0 23 #include "utils/any.h" 26 #include "utils/log_adapter.h" 30 …return std::any_of(list.begin(), list.end(), [](const BaseRef &any) { return utils::isa<Seq>(any);… in CheckIfNeedExpand() 36 if (utils::isa<Seq>(item)) { in ExpandList() 37 const Seq &seq = utils::cast<Seq>(item); in ExpandList() 38 new_list->insert(new_list->end(), seq.begin(), seq.end()); in ExpandList() 40 new_list->push_back(item); in ExpandList() 47 if (utils::isa<AnfNodePtr>(x)) { in GetVar() [all …]
|
| /third_party/protobuf/js/binary/ |
| D | utils.js | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 39 goog.provide('jspb.utils'); 49 * Javascript can't natively handle 64-bit data types, so to manipulate them we 50 * have to split them into two 32-bit halves and do the math manually. 54 * bits of a split value - for example, if the original value was a 64-bit 58 * @type {number} 60 jspb.utils.split64Low = 0; 66 * @type {number} 68 jspb.utils.split64High = 0; [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/common/ |
| D | node_util.cc | 2 * Copyright 2020-2021 Huawei Technologies Co., Ltd 8 * http://www.apache.org/licenses/LICENSE-2.0 44 for (const auto &input : cnode->inputs()) { in GetInputCNode() 45 if (input == nullptr || !utils::isa<CNodePtr>(input)) { in GetInputCNode() 48 inputs.emplace_back(utils::cast<CNodePtr>(input)); in GetInputCNode() 96 dst_dims->push_back(nchw_dim[NCHW_N]); in ConvertDims() 97 dst_dims->push_back(nchw_dim[NCHW_H]); in ConvertDims() 98 dst_dims->push_back(nchw_dim[NCHW_W]); in ConvertDims() 99 dst_dims->push_back(nchw_dim[NCHW_C]); in ConvertDims() 109 static bool IsKCHWSource(kTransFilterType type) { in IsKCHWSource() argument [all …]
|
| /third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
| D | SubresourceRenderAttachmentTests.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 18 #include "utils/ComboRenderPipelineDescriptor.h" 19 #include "utils/WGPUHelpers.h" 26 enum class Type { Color, Depth, Stencil }; enum in SubresourceRenderAttachmentTest 28 void DoSingleTest(Type type, in DoSingleTest() argument 45 utils::ComboRenderPassDescriptor renderPass = [&]() { in DoSingleTest() 46 switch (type) { in DoSingleTest() 47 case Type::Color: { in DoSingleTest() 48 utils::ComboRenderPassDescriptor renderPass({renderTargetView}); in DoSingleTest() 57 case Type::Depth: { in DoSingleTest() [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/optimizer/ge/ |
| D | fused_cast_add.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 #include "include/common/utils/anfalgo.h" 23 #include "include/common/utils/utils.h" 25 #include "utils/ms_context.h" 44 return ms_context->get_param<bool>(MS_CTX_ENABLE_FUSED_CAST_ADD_OPT); in CheckMatchedDAG() 53 auto cast_cnode = cast_node->cast<CNodePtr>(); in SelectAddInput() 54 auto add_cnode = add_node->cast<CNodePtr>(); in SelectAddInput() 57 const auto selected_input = cast_cnode->input(selected_cast_input_index); in SelectAddInput() 58 add_cnode->set_input(replaced_add_input_index, selected_input); in SelectAddInput() 63 if (!utils::isa<AnfNodePtr>(node)) { in checking_type_16() [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/source/opt/ |
| D | const_folding_rules.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 25 // Returns true if |type| is Float or a vector of Float. 26 bool HasFloatingPoint(const analysis::Type* type) { in HasFloatingPoint() argument 27 if (type->AsFloat()) { in HasFloatingPoint() 29 } else if (const analysis::Vector* vec_type = type->AsVector()) { in HasFloatingPoint() 30 return vec_type->element_type()->AsFloat() != nullptr; in HasFloatingPoint() 40 -> const analysis::Constant* { in FoldExtractWithConstants() 46 for (uint32_t i = 1; i < inst->NumInOperands(); ++i) { in FoldExtractWithConstants() 47 uint32_t element_index = inst->GetSingleWordInOperand(i); in FoldExtractWithConstants() 48 if (c->AsNullConstant()) { in FoldExtractWithConstants() [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/utils/ |
| D | convert_utils.cc | 2 * Copyright 2019-2023 Huawei Technologies Co., Ltd 8 * http://www.apache.org/licenses/LICENSE-2.0 17 #include "include/common/utils/convert_utils.h" 26 #include "include/common/utils/utils.h" 30 #include "utils/anf_utils.h" 31 #include "utils/ms_context.h" 32 #include "utils/hashing.h" 37 if (v->isa<BoolImm>()) { in ValueToBool() 38 *value = v->cast<BoolImmPtr>()->value(); in ValueToBool() 39 } else if (v->isa<Int32Imm>()) { in ValueToBool() [all …]
|
| /third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
| D | RubyMessage.java | 2 * Protocol Buffers - Google's data interchange format 4 * https://developers.google.com/protocol-buffers/ 56 * call-seq: 63 * type exist, as provided by the #msgclass method on Descriptors after they 91 if (Utils.isMapEntry(fieldDescriptor)) { in initialize() 109 …lue instanceof RubyHash && fieldDescriptor.getType() == Descriptors.FieldDescriptor.Type.MESSAGE) { in initialize() 124 * call-seq: 137 * call-seq: 150 * call-seq: 153 * Returns a human-readable string representing this message. It will be [all …]
|