/external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/ |
D | conditional_features.py | 16 def _IsEnabled(definition, enabled_features): argument 22 if not hasattr(definition, "attribute_list"): 24 if not definition.attribute_list: 28 for a in definition.attribute_list: 31 raise EnableIfError(definition.filename, 33 definition.lineno) 36 for attribute in definition.attribute_list: 53 def _FilterDefinition(definition, enabled_features): argument 55 if isinstance(definition, ast.Enum): 56 _FilterDisabledFromNodeList(definition.enum_value_list, enabled_features) [all …]
|
/external/llvm-project/lldb/source/Interpreter/ |
D | Property.cpp | 23 Property::Property(const PropertyDefinition &definition) in Property() argument 24 : m_name(definition.name), m_description(definition.description), in Property() 25 m_value_sp(), m_is_global(definition.global) { in Property() 26 switch (definition.type) { in Property() 35 std::make_shared<OptionValueArch>(definition.default_cstr_value); in Property() 47 (OptionValue::Type)definition.default_uint_value)); in Property() 55 if (definition.default_cstr_value) in Property() 58 llvm::StringRef(definition.default_cstr_value), false, nullptr)); in Property() 61 definition.default_uint_value != 0); in Property() 65 llvm::StringRef s(definition.default_cstr_value ? definition.default_cstr_value : ""); in Property() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/ |
D | elementwise.cc | 185 const OperationDef& definition, const OperationType& op_type, in CreateElementwiseOneRuntimeOneScalar() argument 187 GPUOperation op(definition); in CreateElementwiseOneRuntimeOneScalar() 189 if (definition.precision == CalculationsPrecision::F32) { in CreateElementwiseOneRuntimeOneScalar() 203 const GpuInfo& gpu_info, const OperationDef& definition, in CreateElementwiseTwoInput() argument 209 SelectBestStorageType(gpu_info, shape, definition.GetPrimaryStorageType(), in CreateElementwiseTwoInput() 210 definition.GetDataType(), Layout::HWC); in CreateElementwiseTwoInput() 211 TensorDescriptor desc{definition.GetDataType(), storage_type, Layout::HWC}; in CreateElementwiseTwoInput() 214 GPUOperation result(definition); in CreateElementwiseTwoInput() 234 const GpuInfo& gpu_info, const OperationDef& definition, in CreateElementwiseTwoInput() argument 241 SelectBestStorageType(gpu_info, shape, definition.GetPrimaryStorageType(), in CreateElementwiseTwoInput() [all …]
|
D | winograd.h | 50 Winograd4x4To36(const OperationDef& definition, const Padding2D& padding) in Winograd4x4To36() argument 51 : GPUOperation(definition), padding_(padding) {} in Winograd4x4To36() 52 friend Winograd4x4To36 CreateWinograd4x4To36(const OperationDef& definition, 58 Winograd4x4To36 CreateWinograd4x4To36(const OperationDef& definition, 64 Winograd4x4To36TileX6(const OperationDef& definition, 81 const GpuInfo& gpu_info, const OperationDef& definition, 95 const GpuInfo& gpu_info, const OperationDef& definition, 116 explicit Winograd36To4x4(const OperationDef& definition) in Winograd36To4x4() argument 117 : GPUOperation(definition) {} in Winograd36To4x4() 119 const OperationDef& definition, [all …]
|
D | conv_buffer_1x1.cc | 81 const OperationDef& definition, in GetBestParams() argument 91 definition.precision != CalculationsPrecision::F32; in GetBestParams() 97 if (definition.precision == CalculationsPrecision::F16 || !can_use_flt8) { in GetBestParams() 105 GetRecommendedBlockSizeForConv(gpu_info, definition.precision, task_size); in GetBestParams() 117 if (definition.precision == CalculationsPrecision::F32 && dst_depth < 32) { in GetBestParams() 134 const OperationDef& definition, in GetBestParams() argument 139 if (gpu_info.IsMali() && definition.precision == CalculationsPrecision::F16 && in GetBestParams() 148 ConvBuffer1x1::ConvBuffer1x1(const OperationDef& definition, in ConvBuffer1x1() argument 150 : GPUOperation(definition), conv_params_(conv_params) { in ConvBuffer1x1() 321 bool IsConvBuffer1x1Supported(const OperationDef& definition, in IsConvBuffer1x1Supported() argument [all …]
|
D | softmax.cc | 66 GPUOperation CreateSoftmax(const OperationDef& definition) { in CreateSoftmax() argument 67 GPUOperation op(definition); in CreateSoftmax() 68 auto src_desc = definition.src_tensors[0]; in CreateSoftmax() 69 if (definition.IsBatchSupported()) { in CreateSoftmax() 73 auto dst_desc = definition.dst_tensors[0]; in CreateSoftmax() 74 if (definition.IsBatchSupported()) { in CreateSoftmax() 78 op.code_ = GetSoftmaxKernelCode(definition); in CreateSoftmax()
|
D | concat_z.cc | 122 GPUOperation CreateConcatZ(const OperationDef& definition, in CreateConcatZ() argument 125 GPUOperation op(definition); in CreateConcatZ() 126 for (int i = 0; i < definition.src_tensors.size(); ++i) { in CreateConcatZ() 128 auto src_desc = definition.src_tensors[i]; in CreateConcatZ() 129 if (definition.IsBatchSupported()) { in CreateConcatZ() 134 auto dst_desc = definition.dst_tensors[0]; in CreateConcatZ() 135 if (definition.IsBatchSupported()) { in CreateConcatZ() 139 op.code_ = GetConcatKernelCode(definition, channels); in CreateConcatZ() 141 definition.precision == CalculationsPrecision::F32 && in CreateConcatZ() 146 if (gpu_info.IsAMD() && definition.precision != CalculationsPrecision::F32 && in CreateConcatZ() [all …]
|
D | lstm.cc | 88 GPUOperation CreateLSTM(const OperationDef& definition, in CreateLSTM() argument 90 GPUOperation op(definition); in CreateLSTM() 91 op.AddSrcTensor("intermediate", definition.src_tensors[0]); in CreateLSTM() 92 op.AddSrcTensor("prev_state", definition.src_tensors[1]); in CreateLSTM() 93 op.AddDstTensor("new_state", definition.dst_tensors[0]); in CreateLSTM() 94 op.AddDstTensor("activation", definition.dst_tensors[1]); in CreateLSTM() 95 op.code_ = GetLSTMCode(definition, gpu_info); in CreateLSTM()
|
D | prelu.cc | 27 const OperationDef& definition, in CreatePReLU() argument 29 GPUOperation result(definition); in CreatePReLU() 38 DeduceLinearStorageType(definition.GetPrimaryStorageType()); in CreatePReLU() 39 desc.element_type = definition.GetPrimaryDataType(); in CreatePReLU() 52 gpu_info, shape, definition.GetPrimaryStorageType(), in CreatePReLU() 53 definition.GetDataType(), Layout::HWC); in CreatePReLU() 54 TensorDescriptor desc{definition.GetDataType(), storage_type, Layout::HWC}; in CreatePReLU() 71 if (definition.precision == CalculationsPrecision::F32) { in CreatePReLU()
|
D | conv_powervr.h | 110 ConvPowerVR(const OperationDef& definition, 113 ConvPowerVR(const OperationDef& definition, 116 ConvPowerVR(const OperationDef& definition, 119 explicit ConvPowerVR(const OperationDef& definition); 120 ConvPowerVR(const OperationDef& definition, 143 const OperationDef& definition, 148 const OperationDef& definition, 153 const GpuInfo& gpu_info, const OperationDef& definition, 158 const GpuInfo& gpu_info, const OperationDef& definition, 162 const OperationDef& definition, [all …]
|
D | depthwise_conv.cc | 237 const GpuInfo& gpu_info, const OperationDef& definition, in CreateDepthwiseConvolution2D() argument 241 GPUOperation op(definition); in CreateDepthwiseConvolution2D() 254 definition.IsBatchSupported() && attr.strides.w != 1; in CreateDepthwiseConvolution2D() 255 op.code_ = GenerateDepthwiseConvolutionCode(definition, stride_correction, in CreateDepthwiseConvolution2D() 259 definition.precision, &op); in CreateDepthwiseConvolution2D() 265 desc.element_type = definition.GetDataType(); in CreateDepthwiseConvolution2D() 273 const GpuInfo& gpu_info, const OperationDef& definition, in CreateDepthwiseConvolution2DDynamicWeights() argument 275 GPUOperation op(definition); in CreateDepthwiseConvolution2DDynamicWeights() 283 definition.IsBatchSupported() && attr.strides.w != 1; in CreateDepthwiseConvolution2DDynamicWeights() 284 op.code_ = GenerateDepthwiseConvolutionCode(definition, stride_correction, 1, in CreateDepthwiseConvolution2DDynamicWeights() [all …]
|
/external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/ |
D | CustomElements.js | 701 …var definition = scope.getRegisteredDefinition(node.localName) || scope.getRegisteredDefinition(is… 702 if (definition) { 703 if (is && definition.tag == node.localName || !is && !definition.extends) { 704 return upgradeWithDefinition(node, definition, isAttached); 709 function upgradeWithDefinition(element, definition, isAttached) { argument 711 if (definition.is) { 712 element.setAttribute("is", definition.is); 714 implementPrototype(element, definition); 724 function implementPrototype(element, definition) { argument 726 element.__proto__ = definition.prototype; [all …]
|
/external/skqp/tools/bookmaker/ |
D | bmhParser.cpp | 123 Definition* definition = nullptr; in addDefinition() local 154 definition = fRoot; in addDefinition() 164 definition = fParent; in addDefinition() 183 definition = fRoot; in addDefinition() 185 definition = &fRoot->fLeaves[name]; in addDefinition() 192 for (auto child : definition->fChildren) { in addDefinition() 209 if (fCheckMethods && !definition->checkMethod()) { in addDefinition() 214 if (!this->checkEndMarker(markType, definition->fName)) { in addDefinition() 218 if (!this->popParentStack(definition)) { in addDefinition() 221 if (fRoot == definition) { in addDefinition() [all …]
|
D | textParser.cpp | 15 TextParser::TextParser(const Definition* definition) : in TextParser() argument 16 TextParser(definition->fFileName, definition->fContentStart, definition->fContentEnd, in TextParser() 17 definition->fLineCount) { in TextParser() 67 void TextParser::setForErrorReporting(const Definition* definition, const char* str) { in setForErrorReporting() argument 68 fFileName = definition->fFileName; in setForErrorReporting() 69 fStart = definition->fContentStart; in setForErrorReporting() 75 fEnd = definition->fContentEnd; in setForErrorReporting() 76 fLineCount = definition->fLineCount; in setForErrorReporting()
|
/external/clang/test/SemaObjC/ |
D | check-dup-objc-decls-1.m | 3 @interface Foo // expected-note {{previous definition is here}} 8 @class Bar; // expected-note {{previous definition is here}} 16 typedef int OBJECT; // expected-note {{previous definition is here}} 21 typedef int Gorf; // expected-note {{previous definition is here}} 23 …{redefinition of 'Gorf' as different kind of symbol}} expected-note {{previous definition is here}} 32 @interface A<P> @end // expected-note {{previous definition is here}} 33 @interface A<Q> @end // expected-error {{duplicate interface definition for class 'A'}} 35 @protocol PP<P> @end // expected-note {{previous definition is here}} 36 @protocol PP<Q> @end // expected-warning {{duplicate protocol definition of 'PP'}} 38 @interface A(Cat)<P> @end // expected-note {{previous definition is here}} [all …]
|
D | category-1.m | 5 @protocol p1,p2,p3; // expected-note {{protocol 'p1' has no definition}} \ 6 // expected-note {{protocol 'p2' has no definition}} 8 …<p1> // expected-warning {{cannot find protocol definition for 'p1'}} expected-note {{previous def… 11 @interface MyClass1 (Category1) // expected-warning {{duplicate definition of category 'Category1'… 17 @interface MyClass1 (Category4) @end // expected-note {{previous definition is here}} 20 @interface MyClass1 (Category7) @end // expected-note {{previous definition is here}} 21 @interface MyClass1 (Category8) @end // expected-note {{previous definition is here}} 24 @interface MyClass1 (Category4) @end // expected-warning {{duplicate definition of category 'Catego… 25 @interface MyClass1 (Category7) @end // expected-warning {{duplicate definition of category 'Catego… 26 @interface MyClass1 (Category8) @end // expected-warning {{duplicate definition of category 'Catego… [all …]
|
/external/llvm-project/clang/test/SemaObjC/ |
D | check-dup-objc-decls-1.m | 3 @interface Foo // expected-note {{previous definition is here}} 8 @class Bar; // expected-note {{previous definition is here}} 16 typedef int OBJECT; // expected-note {{previous definition is here}} 21 typedef int Gorf; // expected-note {{previous definition is here}} 23 …{redefinition of 'Gorf' as different kind of symbol}} expected-note {{previous definition is here}} 32 @interface A<P> @end // expected-note {{previous definition is here}} 33 @interface A<Q> @end // expected-error {{duplicate interface definition for class 'A'}} 35 @protocol PP<P> @end // expected-note {{previous definition is here}} 36 @protocol PP<Q> @end // expected-warning {{duplicate protocol definition of 'PP'}} 44 @interface A(Cat)<P> @end // expected-note {{previous definition is here}} [all …]
|
D | category-1.m | 5 @protocol p1,p2,p3; // expected-note {{protocol 'p1' has no definition}} \ 6 // expected-note {{protocol 'p2' has no definition}} 8 …<p1> // expected-warning {{cannot find protocol definition for 'p1'}} expected-note {{previous def… 11 @interface MyClass1 (Category1) // expected-warning {{duplicate definition of category 'Category1'… 17 @interface MyClass1 (Category4) @end // expected-note {{previous definition is here}} 20 @interface MyClass1 (Category7) @end // expected-note {{previous definition is here}} 21 @interface MyClass1 (Category8) @end // expected-note {{previous definition is here}} 24 @interface MyClass1 (Category4) @end // expected-warning {{duplicate definition of category 'Catego… 25 @interface MyClass1 (Category7) @end // expected-warning {{duplicate definition of category 'Catego… 26 @interface MyClass1 (Category8) @end // expected-warning {{duplicate definition of category 'Catego… [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | TrackSelectionUtil.java | 57 Definition definition = definitions[i]; in createTrackSelectionsForDefinitions() local 58 if (definition == null) { in createTrackSelectionsForDefinitions() 61 if (definition.tracks.length > 1 && !createdAdaptiveTrackSelection) { in createTrackSelectionsForDefinitions() 63 selections[i] = adaptiveTrackSelectionFactory.createAdaptiveTrackSelection(definition); in createTrackSelectionsForDefinitions() 67 definition.group, definition.tracks[0], definition.reason, definition.data); in createTrackSelectionsForDefinitions()
|
/external/llvm-project/llvm/utils/vscode/llvm/src/ |
D | litTaskProvider.ts | 36 const task = _task.definition.task; 39 const definition: LITTaskDefinition = <any>_task.definition; constant 40 if (definition.task === 'llvm-lit file') { 42 } else if (definition.task === 'llvm-lit directory') { 47 definition, 48 definition.task,
|
/external/llvm-project/clang-tools-extra/clangd/test/ |
D | background-index.test | 5 # RUN: sed -e "s|DIRECTORY|%/t|" %/t/definition.jsonrpc.tmpl > %/t/definition.jsonrpc.1 9 # RUN: sed -E -e 's|"file://([A-Z]):/|"file:///\1:/|g' %/t/definition.jsonrpc.1 > %/t/definition.js… 13 # The background index should allow us to go-to-definition on foo(). 15 # RUN: clangd -background-index -lit-test < %/t/definition.jsonrpc | FileCheck %/t/definition.jsonr… 23 # RUN: clangd -background-index -lit-test < %/t/definition.jsonrpc | FileCheck %/t/definition.jsonr…
|
/external/llvm-project/lld/test/ELF/ |
D | trace-symbols.s | 18 # PREEMPT: trace-symbols.s.tmp1: definition of foo 19 # PREEMPT-NEXT: trace-symbols.s.tmp1.so: shared definition of foo 27 # OBJECTDCOMMON: trace-symbols.s.tmp1: common definition of common 32 # OBJECTD1FOO: trace-symbols.s.tmp1: common definition of common 33 # OBJECTD1FOO: trace-symbols.s.tmp1: definition of foo 34 # OBJECTD1FOO: trace-symbols.s.tmp2: definition of foo 37 # REFLAST: trace-symbols.s.tmp1: definition of foo 38 # REFLAST: trace-symbols.s.tmp2: definition of foo 47 # OBJECTD2FOO: trace-symbols.s.tmp2: definition of foo 52 # FOO_AND_COMMON: trace-symbols.s.tmp2: definition of foo [all …]
|
/external/fonttools/Tests/mtiLib/data/mti/ |
D | contextcoverage.txt | 8 coverage definition begin 0 19 coverage definition end 21 coverage definition begin 1 23 coverage definition end 25 coverage definition begin 2 36 coverage definition end
|
D | chainedcoverage.txt | 8 backtrackcoverage definition begin 19 coverage definition end 21 inputcoverage definition begin 23 coverage definition end 25 lookaheadcoverage definition begin 36 coverage definition end
|
D | gsubreversechanined.txt | 9 backtrackcoverage definition begin 18 coverage definition end 27 backtrackcoverage definition begin 36 coverage definition end 45 lookaheadcoverage definition begin 50 coverage definition end
|