Home
last modified time | relevance | path

Searched +full:is +full:- +full:data +full:- +full:descriptor (Results 1 – 25 of 1279) sorted by relevance

12345678910>>...52

/external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/posix/
Dbasic_stream_descriptor.hpp5 // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
19 #include <boost/asio/posix/descriptor.hpp>
30 /// Provides stream-oriented descriptor functionality.
33 * blocking stream-oriented descriptor functionality.
41 * thread safe. This means that it is permitted to perform concurrent calls to
42 * these synchronous operations on a single descriptor object. Other synchronous
56 /// Rebinds the descriptor type to another executor.
60 /// The descriptor type when rebound to the specified executor.
64 /// The native representation of a descriptor.
68 /// Construct a stream descriptor without opening it.
[all …]
/external/autotest/client/cros/cellular/mbim_compliance/
Dusb_descriptors.py3 # Use of this source code is governed by a BSD-style license that can be
75 Metaclass for creating a USB descriptor class.
77 A derived descriptor class takes raw descriptor data as an array of unsigned
78 bytes via its constructor and parses the data into individual fields stored
79 as instance attributes. A derived class of |Descriptor| should specify the
82 DESCRIPTOR_TYPE: An unsigned 8-bit number specifying the descriptor
86 DESCRIPTOR_SUBTYPE: An unsigned 8-bit number specifying the descriptor
92 in the USB descriptor. Each inner tuple is a field definition and
95 field from the raw descriptor data. The second element specifies the
96 field name, which is also the attribute name used by an instance of the
[all …]
Dusb_descriptors_unittest.py3 # Use of this source code is governed by a BSD-style license that can be
15 class TestDescriptor(Descriptor):
16 """ Descriptor for unit testing. """
25 """ Test cases for verifying Descriptor classes and DescriptorParser. """
30 Verifies that an excepion is raised when constructing a Descriptor
36 class DescriptorFieldsNotDefined(Descriptor):
37 """ Descriptor without _FIELDS attribute. """
43 Verifies that it is OK to construct a Descriptor subclass that does not
46 class DescriptorTypeNotDefined(Descriptor):
47 """ Descriptor without DESCRIPTOR_TYPE attribute. """
[all …]
Dmbim_descriptor_cache.py2 # Use of this source code is governed by a BSD-style license that can be
21 @param descriptors: Raw descriptor set obtained from the device.
22 Type: Array of |usb_descriptors.Descriptor| objects.
40 also fetch the MBIM funnction descriptor, interrrupt endpoint
41 descriptor and bulk endpoint descriptors.
43 @param descriptors: Raw descriptor set obtained from the device.
44 Type: Array of |usb_descriptors.Descriptor| objects.
46 descriptor object.
48 descriptor object if the device supports NCM/MBIM.
49 @param no_data_data_interface: MBIM/NCM data interface object. To be set
[all …]
Dmbim_errors.py2 # Use of this source code is governed by a BSD-style license that can be
21 These errors are raised by code that is not part of a test / sequence /
39 """ Errors raised in the MBIM data transfer module. """
81 'Interface of an NCM/MBIM function is selected, '
85 'Interface of an NCM/MBIM function is selected, '
88 'mbim1.0:3.2.2.1#1': 'If an Interface Association Descriptor is '
95 'three alternate settings for the Data '
97 'mbim1.0:3.2.2.4#2': 'For an NCM/MBIM function, the Data Interface '
101 'mbim1.0:3.2.2.4#3': 'For an NCM/MBIM function, the Data Interface '
102 'descriptor for alternate setting 2 must have '
[all …]
/external/avb/rust/src/descriptor/
Dutil.rs7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
15 //! Descriptor utilities.
20 /// Splits `size` bytes off the front of `data`.
22 /// This is a thin wrapper around `slice::split_at()` but it:
23 /// 1. Returns a `DescriptorError` rather than panicking if `data` is too small.
27 /// * `data`: descriptor data.
32 /// `DescriptorError` if we couldn't get `size` bytes out of `data`.
33 pub(super) fn split_slice<T>(data: &[u8], size: T) -> DescriptorResult<(&[u8], &[u8])> in split_slice()
38 if size > data.len() { in split_slice()
[all …]
Dmod.rs7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
15 //! Descriptor extraction and handling.
18 //! extracted from the resulting data after performing verification.
47 /// A single descriptor.
49 pub enum Descriptor<'a> { enum
60 /// Unknown descriptor type.
67 /// libavb rejected the descriptor header.
69 /// A value in the descriptor was invalid.
71 /// The descriptor claimed to be larger than the available data.
[all …]
/external/python/cpython2/Doc/howto/
Ddescriptor.rst2 Descriptor HowTo Guide
11 --------
14 called. Examines a custom descriptor and several built-in python descriptors
24 ---------------------------
26 In general, a descriptor is an object attribute with "binding behavior", one
27 whose attribute access has been overridden by methods in the descriptor
29 :meth:`__delete__`. If any of those methods are defined for an object, it is
30 said to be a descriptor.
32 The default behavior for attribute access is to get, set, or delete the
36 looked-up value is an object defining one of the descriptor methods, then Python
[all …]
/external/armnn/delegate/classic/src/
DConvolution.hpp2 // Copyright © 2022-2023 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
26 auto numInputs = tfLiteNode->inputs->size; in VisitConv2dOperator()
36 armnn::Convolution2dDescriptor descriptor; in VisitConv2dOperator() local
37 const auto params = reinterpret_cast<TfLiteConvParams*>(tfLiteNode->builtin_data); in VisitConv2dOperator()
40 descriptor.m_BiasEnabled = biasEnabled; in VisitConv2dOperator()
41 descriptor.m_StrideX = NonNegative(params->stride_width, nodeIndex); in VisitConv2dOperator()
42 descriptor.m_StrideY = NonNegative(params->stride_height, nodeIndex); in VisitConv2dOperator()
43 descriptor.m_DataLayout = armnn::DataLayout::NHWC; in VisitConv2dOperator()
44 descriptor.m_DilationX = NonNegative(params->dilation_width_factor, nodeIndex); in VisitConv2dOperator()
[all …]
/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/features/
DGenericCustomSerializerTest.kt2 …* Copyright 2017-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… in <lambda>()
16 class CheckedData<T : Any>(val data: T, val checkSum: ByteArray) { in <lambda>() constant in kotlinx.serialization.features.CheckedData
23 if (data != other.data) return false in <lambda>()
30 var result = data.hashCode() in <lambda>()
37 … override val descriptor: SerialDescriptor = buildClassSerialDescriptor("CheckedDataSerializer") { in <lambda>() constant in kotlinx.serialization.features.CheckedDataSerializer
38 val dataDescriptor = dataSerializer.descriptor in <lambda>()
39 element("data", dataDescriptor) in <lambda>()
40 element("checkSum", ByteArraySerializer().descriptor) in <lambda>()
44 val out = encoder.beginStructure(descriptor) in serialize()
45 out.encodeSerializableElement(descriptor, 0, dataSerializer, value.data) in serialize()
[all …]
/external/rust/crates/virtio-vsock/src/
Dpacket.rs3 // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
9 //! - [`VsockPacket`](struct.VsockPacket.html) which handles the parsing of the vsock packet from
10 //! either a TX descriptor chain via
12 //! RX descriptor chain via
14 //! The virtio vsock packet is defined in the standard as having a header of type `virtio_vsock_hdr`
15 //! and an optional `data` array of bytes. The methods mentioned above assume that both packet
16 //! elements are on the same descriptor, or each of the packet elements occupies exactly one
17 //! descriptor. For the usual drivers, this assumption stands,
19 //! regarding the number of descriptors that correspond to the header/data. The buffers associated
20 //! to the TX virtio queue are device-readable, and the ones associated to the RX virtio queue are
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Drtp_generic_frame_descriptor_extension.cc4 * Use of this source code is governed by a BSD-style license
34 // +-+-+-+-+-+-+-+-+
36 // +-+-+-+-+-+-+-+-+
38 // +-+-+-+-+-+-+-+-+
42 // +-+-+-+-+-+-+-+-+
46 // and +-+-+-+-+-+-+-+-+
50 // +-+-+-+-+-+-+-+-+
52 // +---------------+
54 // +-+-+-+-+-+-+-+-+
56 // +---------------+
[all …]
/external/vulkan-validation-layers/docs/
Dgpu_validation.md1 <!-- markdownlint-disable MD041 -->
2 <!-- Copyright 2015-2019 LunarG, Inc. -->
8 # GPU-Assisted Validation
12 [3]: https://i.creativecommons.org/l/by-nd/4.0/88x31.png "Creative Commons License"
13 [4]: https://creativecommons.org/licenses/by-nd/4.0/
15 GPU-Assisted validation is implemented in the SPIR-V Tools optimizer and the `VK_LAYER_KHRONOS_vali…
16 soon-to-be-deprecated `VK_LAYER_LUNARG_core_validation` layer). This document covers the design of …
21 The basic operation of GPU-Assisted validation is comprised of instrumenting shader code to perform…
25 The layer instruments the shaders by passing the shader's SPIR-V bytecode to the SPIR-V optimizer c…
26 …erform an instrumentation pass to add the additional instructions to perform the run-time checking.
[all …]
/external/libusb/include/libusb/
Dlibusb.h4 * Copyright © 2007-2008 Daniel Drake <dsd@gentoo.org>
6 * Copyright © 2012-2023 Nathan Hjelm <hjelmn@cs.unm.edu>
7 * Copyright © 2014-2020 Chris Dickens <christopher.a.dickens@gmail.com>
10 * This library is free software; you can redistribute it and/or
15 * This library is distributed in the hope that it will be useful,
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
30 /* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */
32 /* on MS environments, the inline keyword is available in C++ only */
36 /* ssize_t is also not available */
53 #define LIBUSB_FLEXIBLE_ARRAY /* [] - valid C99 code */
[all …]
/external/libusb/libusb/
Dlibusb.h4 * Copyright © 2007-2008 Daniel Drake <dsd@gentoo.org>
6 * Copyright © 2012-2023 Nathan Hjelm <hjelmn@cs.unm.edu>
7 * Copyright © 2014-2020 Chris Dickens <christopher.a.dickens@gmail.com>
10 * This library is free software; you can redistribute it and/or
15 * This library is distributed in the hope that it will be useful,
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
30 /* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */
32 /* on MS environments, the inline keyword is available in C++ only */
36 /* ssize_t is also not available */
53 #define LIBUSB_FLEXIBLE_ARRAY /* [] - valid C99 code */
[all …]
/external/kotlinx.serialization/core/commonMain/src/kotlinx/serialization/descriptors/
DSerialDescriptor.kt2 …* Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
12 …* Serial descriptor is an inherent property of [KSerializer] that describes the structure of the s…
13 …* The structure of the serializable type is not only the characteristic of the type itself, but al…
18 …* Representations are determined by serializers and each such serializer has its own descriptor th…
19 * each structure in a distinguishable and format-agnostic manner.
22 …* Serial descriptor is identified by its [name][serialName] and consists of kind, potentially empt…
25 …* * [serialName] uniquely identifies the descriptor (and the corresponding serializer) for non-gen…
26 …* For generic types, the actual type substitution is omitted from the string representation and …
27 …s the family of the serializers without type substitutions. However, type substitution is accounted
30 …* [serialName] is typically used to specify the type of the target class during serialization of…
[all …]
/external/python/cpython3/Doc/howto/
Ddescriptor.rst4 Descriptor HowTo Guide
13 :term:`Descriptors <descriptor>` let objects customize attribute lookup,
21 2) The second section shows a complete, practical descriptor example. If you
28 4) The last section has pure Python equivalents for built-in descriptors that
42 Simple example: A descriptor that returns a constant
43 ----------------------------------------------------
45 The :class:`Ten` class is a descriptor whose :meth:`__get__` method always
54 To use the descriptor, it must be stored as a class variable in another class:
60 y = Ten() # Descriptor instance
63 and descriptor lookup:
[all …]
/external/kotlinx.serialization/core/commonMain/src/kotlinx/serialization/encoding/
DDecoding.kt2 …* Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
13 * Decoder is a core deserialization primitive that encapsulates the knowledge of the underlying
15 …* format-agnostic. Deserialization process takes a decoder and asks him for a sequence of primitiv…
19 * Decoder provides high-level API that operates with basic primitive types, collections
21 * and lower level format-specific details.
24 …* a double, give me a list of strings and give me another object that is a nested int", while deco…
25 …* transforms this sequence into a format-specific commands such as "parse the part of the string u…
28 * The symmetric interface for the serialization process is [Encoder].
32 * If a class is represented as a single [primitive][PrimitiveKind] value in its serialized form,
37 * If a class is represented as a structure or has multiple values in its serialized form,
[all …]
/external/sg3_utils/doc/
Dsg_copy_results.81 .TH SG_COPY_RESULTS "8" "September 2014" "sg3_utils\-1.40" SG3_UTILS
3 sg_copy_results \- send SCSI RECEIVE COPY RESULTS command (XCOPY related)
6 [\fI\-\-failed\fR|\fI\-\-params\fR|\fI\-\-receive\fR|\fI\-\-status\fR]
7 [\fI\-\-help\fR] [\fI\-\-hex\fR] [\fI\-\-list_id=ID\fR] [\fI\-\-readonly\fR]
8 [\fI\-\-verbose\fR] [\fI\-\-version\fR] [\fI\-\-xfer_len=BTL\fR] \fIDEVICE\fR
12 This utility is designed to query the status of the SCSI Extended
13 Copy (XCOPY) facility (see SPC\-3 revision 23 sections 6.3 and 6.17), present
17 During the draft stages of SPC\-4 the T10 committee has expanded the XCOPY
20 This utility supports the older, LID1 variant which is also found in SPC\-3
21 and earlier. While the LID1 variant in SPC\-4 is command level (binary)
[all …]
/external/armnn/python/pyarmnn/src/pyarmnn/swig/modules/
Darmnn_descriptors.i3 // SPDX-License-Identifier: MIT
23 auto len = arg1->GetNumViews();
74 A descriptor for the ArgMinMax layer. See `INetwork.AddArgMinMaxLayer()`.
77 …m_Function (int): Specify if the function is to find Min or Max with `ArgMinMaxFunction_Min` or `A…
79 m_Axis (int): Axis to reduce across the input tensor. Default: -1.
94 A descriptor for the BatchNormalization layer. See `INetwork.AddBatchNormalizationLayer()`.
98 …m_DataLayout (int): The data layout to be used (`DataLayout_NCHW`, `DataLayout_NHWC`). Default: `D…
113 A descriptor for the BatchToSpaceNd layer. See `INetwork.AddBatchToSpaceNdLayer()`.
116 …m_BlockShape (list of int): Block shape values. Default: (1, 1). Underlying C++ type is unsigned i…
118 …m_DataLayout (int): The data layout to be used (`DataLayout_NCHW`, `DataLayout_NHWC`). Default: `D…
[all …]
/external/rust/crates/epoll/src/
Dlib.rs3 // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
30 /// Sets the Edge Triggered behavior for the associated file descriptor.
32 /// The default behavior for epoll is Level Triggered.
34 /// The associated file is available for read operations.
36 /// Error condition happened on the associated file descriptor.
38 /// `wait` will always wait for this event; is not necessary to set it in events.
40 /// Hang up happened on the associated file descriptor.
42 /// `wait` will always wait for this event; it is not necessary to set it in events.
45 /// the channel will return 0 (end of file) only after all outstanding data in the
48 /// The associated file is available for write operations.
[all …]
/external/cronet/testing/libfuzzer/fuzzers/mach/
Dmach_message_converter.cc2 // Use of this source code is governed by a BSD-style license that can be
69 const Descriptor& descriptor_proto, in ConvertDescriptor()
72 case Descriptor::kPort: { in ConvertDescriptor()
73 auto* descriptor = iterator->MutableObject<mach_msg_port_descriptor_t>(); in ConvertDescriptor() local
75 descriptor->name = port.name; in ConvertDescriptor()
76 descriptor->pad1 = 0; in ConvertDescriptor()
77 descriptor->pad2 = 0; in ConvertDescriptor()
78 descriptor->disposition = port.disposition; in ConvertDescriptor()
79 descriptor->type = MACH_MSG_PORT_DESCRIPTOR; in ConvertDescriptor()
83 case Descriptor::kOol: { in ConvertDescriptor()
[all …]
/external/armnn/src/backends/backendsCommon/test/layerTests/
DPooling3dTestImpl.cpp3 // SPDX-License-Identifier: MIT
37 armnnUtils::Permute(srcInfo.GetShape(), NCDHWToNDHWC, src.data(), tmp.data(), sizeof(T)); in PermuteNCDHWToNDHWC()
46 armnn::Pooling3dDescriptor descriptor, in SimplePooling3dTestImpl() argument
55 const armnn::DataLayout dataLayout = descriptor.m_DataLayout; in SimplePooling3dTestImpl()
80 // Set quantization parameters if the requested type is a quantized type. in SimplePooling3dTestImpl()
96 queueDescriptor.m_Parameters = descriptor; in SimplePooling3dTestImpl()
103 // Don't execute if Pooling is not supported, as an exception will be raised. in SimplePooling3dTestImpl()
120 inputHandle->Allocate(); in SimplePooling3dTestImpl()
121 outputHandle->Allocate(); in SimplePooling3dTestImpl()
123 CopyDataToITensorHandle(inputHandle.get(), input.data()); in SimplePooling3dTestImpl()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DExtensionSchemaLite.java1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
19 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
82 if (extension.descriptor.isRepeated() && extension.descriptor.isPacked()) { in parseExtension()
185 extension.descriptor.getEnumType(), in parseExtension()
193 "Type cannot be packed: " + extension.descriptor.getLiteType()); in parseExtension()
195 extensions.setField(extension.descriptor, value); in parseExtension()
198 // Enum is a special case because unknown enum values will be put into UnknownFieldSetLite. in parseExtension()
[all …]
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DExtensionSchemaLite.java1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
19 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
82 if (extension.descriptor.isRepeated() && extension.descriptor.isPacked()) { in parseExtension()
185 extension.descriptor.getEnumType(), in parseExtension()
193 "Type cannot be packed: " + extension.descriptor.getLiteType()); in parseExtension()
195 extensions.setField(extension.descriptor, value); in parseExtension()
198 // Enum is a special case because unknown enum values will be put into UnknownFieldSetLite. in parseExtension()
[all …]

12345678910>>...52