Home
last modified time | relevance | path

Searched full:descriptors (Results 1 – 25 of 2641) sorted by relevance

12345678910>>...106

/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_descriptor_cache.py11 Class used to store a cache of the most frequently used MBIM descriptors.
12 This caching of descriptors avoids frequent access to the device for
17 def __init__(self, descriptors): argument
19 Store the the relevant descriptors from the list of descriptors.
21 @param descriptors: Raw descriptor set obtained from the device.
25 if self._check_ncm_mbim_device(descriptors):
26 self._update_ncm_mbim_cache(descriptors)
28 self._update_mbim_cache(descriptors)
32 descriptors, argument
39 Store the MBIM/NCM interface descriptors into the |device_context| and
[all …]
Dusb_descriptors.py78 subtype. Only descriptors have a bDescriptorSubtype field should specify
326 A class for extracting USB descriptors from raw descriptor data.
330 descriptors via instances derived from a subclass of Descriptor.
365 # self._data[self._index + 2]: bDescriptorSubtype for some descriptors
386 def filter_descriptors(descriptor_type, descriptors): argument
388 Filter a list of descriptors based on the target |descriptor_type|.
391 @param descriptors: The list of functional descriptors.
393 @returns A list of target descriptors.
396 if not descriptors:
399 descriptors)
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageReflection.java33 import com.google.protobuf.Descriptors.FieldDescriptor;
63 for (final Map.Entry<Descriptors.FieldDescriptor, Object> entry : fields.entrySet()) { in writeMessageTo()
64 final Descriptors.FieldDescriptor field = entry.getKey(); in writeMessageTo()
68 && field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE in writeMessageTo()
89 for (final Map.Entry<Descriptors.FieldDescriptor, Object> entry : fields.entrySet()) { in getSerializedSize()
90 final Descriptors.FieldDescriptor field = entry.getKey(); in getSerializedSize()
94 && field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE in getSerializedSize()
126 for (final Descriptors.FieldDescriptor field : message.getDescriptorForType().getFields()) { in isInitialized()
135 for (final Map.Entry<Descriptors.FieldDescriptor, Object> entry : in isInitialized()
137 final Descriptors.FieldDescriptor field = entry.getKey(); in isInitialized()
[all …]
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java50 public RubyMessage(Ruby ruby, RubyClass klazz, Descriptors.Descriptor descriptor) { in RubyMessage()
63 * type exist, as provided by the #msgclass method on Descriptors after they
73 this.repeatedFields = new HashMap<Descriptors.FieldDescriptor, RubyRepeatedField>(); in initialize()
74 this.maps = new HashMap<Descriptors.FieldDescriptor, RubyMap>(); in initialize()
75 this.fields = new HashMap<Descriptors.FieldDescriptor, IRubyObject>(); in initialize()
76 this.oneofCases = new HashMap<Descriptors.OneofDescriptor, Descriptors.FieldDescriptor>(); in initialize()
87 final Descriptors.FieldDescriptor fieldDescriptor = findField(context, key); in initialize()
104 Descriptors.OneofDescriptor oneof = fieldDescriptor.getContainingOneof(); in initialize()
109 …if (value instanceof RubyHash && fieldDescriptor.getType() == Descriptors.FieldDescriptor.Type.MES… in initialize()
132 Descriptors.FieldDescriptor fieldDescriptor = findField(context, fieldName); in indexSet()
[all …]
DUtils.java37 import com.google.protobuf.Descriptors;
50 public static Descriptors.FieldDescriptor.Type rubyToFieldType(IRubyObject typeClass) { in rubyToFieldType()
51 return Descriptors.FieldDescriptor.Type.valueOf(typeClass.asJavaString().toUpperCase()); in rubyToFieldType()
54 …public static IRubyObject fieldTypeToRuby(ThreadContext context, Descriptors.FieldDescriptor.Type … in fieldTypeToRuby()
67 …public static IRubyObject checkType(ThreadContext context, Descriptors.FieldDescriptor.Type fieldT… in checkType()
118 Descriptors.EnumDescriptor enumDescriptor = in checkType()
133 …public static IRubyObject wrapPrimaryValue(ThreadContext context, Descriptors.FieldDescriptor.Type… in wrapPrimaryValue()
190 …public static IRubyObject validateStringEncoding(ThreadContext context, Descriptors.FieldDescripto… in validateStringEncoding()
230 public static boolean isMapEntry(Descriptors.FieldDescriptor fieldDescriptor) { in isMapEntry()
231 return fieldDescriptor.getType() == Descriptors.FieldDescriptor.Type.MESSAGE && in isMapEntry()
[all …]
/external/skqp/experimental/canvaskit/htmlcanvas/
Dfont.js70 var descriptors = parseFontString(fontstr);
71 var typeface = getFromFontCache(descriptors);
72 descriptors['typeface'] = typeface;
73 return descriptors;
86 // descriptors is like https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace
88 function addToFontCache(typeface, descriptors) { argument
89 var key = (descriptors['style'] || 'normal') + '|' +
90 (descriptors['variant'] || 'normal') + '|' +
91 (descriptors['weight'] || 'normal');
92 var fam = descriptors['family'];
[all …]
/external/skia/modules/canvaskit/htmlcanvas/
Dfont.js70 var descriptors = parseFontString(fontstr);
71 var typeface = getFromFontCache(descriptors);
72 descriptors['typeface'] = typeface;
73 return descriptors;
86 // descriptors is like https://developer.mozilla.org/en-US/docs/Web/API/FontFace/FontFace
88 function addToFontCache(typeface, descriptors) { argument
89 var key = (descriptors['style'] || 'normal') + '|' +
90 (descriptors['variant'] || 'normal') + '|' +
91 (descriptors['weight'] || 'normal');
92 var fam = descriptors['family'];
[all …]
/external/crosvm/sys_util/src/
Ddescriptor_reflection.rs5 //! Provides infrastructure for de/serializing descriptors embedded in Rust data structures.
22 //! // Wraps Serialize types to collect side channel descriptors as Serialize is called.
25 //! // Use the wrapper with any serializer to serialize data is normal, grabbing descriptors
30 //! // (it contains tmp_f in this case), we can retrieve the actual descriptors
45 //! // to side channel descriptors.
72 let mut descriptors = d.borrow_mut(); in init_descriptor_dst() localVariable
73 if descriptors.is_some() { in init_descriptor_dst()
78 *descriptors = Some(Default::default()); in init_descriptor_dst()
92 /// Pushes a descriptor on the thread local destination of descriptors, returning the index in which
101 .map(|descriptors| { in push_descriptor()
[all …]
/external/grpc-grpc-java/services/src/generated/test/java/io/grpc/reflection/testing/
DReflectionTestDepthThreeProto.java17 static final com.google.protobuf.Descriptors.Descriptor
22 static final com.google.protobuf.Descriptors.Descriptor
27 static final com.google.protobuf.Descriptors.Descriptor
32 static final com.google.protobuf.Descriptors.Descriptor
37 static final com.google.protobuf.Descriptors.Descriptor
43 public static com.google.protobuf.Descriptors.FileDescriptor
47 private static com.google.protobuf.Descriptors.FileDescriptor
59 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
60 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
62 com.google.protobuf.Descriptors.FileDescriptor root) {
[all …]
DDynamicReflectionTestDepthTwoProto.java29 static final com.google.protobuf.Descriptors.Descriptor
34 static final com.google.protobuf.Descriptors.Descriptor
39 static final com.google.protobuf.Descriptors.Descriptor
45 public static com.google.protobuf.Descriptors.FileDescriptor
49 private static com.google.protobuf.Descriptors.FileDescriptor
63 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
64 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
66 com.google.protobuf.Descriptors.FileDescriptor root) {
71 com.google.protobuf.Descriptors.FileDescriptor
73 new com.google.protobuf.Descriptors.FileDescriptor[] { in internalBuildGeneratedFileFrom()
DReflectionTestDepthTwoProto.java29 static final com.google.protobuf.Descriptors.Descriptor
34 static final com.google.protobuf.Descriptors.Descriptor
40 public static com.google.protobuf.Descriptors.FileDescriptor
44 private static com.google.protobuf.Descriptors.FileDescriptor
59 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
60 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
62 com.google.protobuf.Descriptors.FileDescriptor root) {
67 com.google.protobuf.Descriptors.FileDescriptor
69 new com.google.protobuf.Descriptors.FileDescriptor[] { in internalBuildGeneratedFileFrom()
DReflectionTestDepthTwoAlternateProto.java18 public static com.google.protobuf.Descriptors.FileDescriptor
22 private static com.google.protobuf.Descriptors.FileDescriptor
33 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
34 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
36 com.google.protobuf.Descriptors.FileDescriptor root) {
41 com.google.protobuf.Descriptors.FileDescriptor
43 new com.google.protobuf.Descriptors.FileDescriptor[] { in internalBuildGeneratedFileFrom()
DDynamicReflectionTestProto.java18 public static com.google.protobuf.Descriptors.FileDescriptor
22 private static com.google.protobuf.Descriptors.FileDescriptor
38 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
39 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
41 com.google.protobuf.Descriptors.FileDescriptor root) {
46 com.google.protobuf.Descriptors.FileDescriptor
48 new com.google.protobuf.Descriptors.FileDescriptor[] { in internalBuildGeneratedFileFrom()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/reflection/v1alpha/
DServerReflectionProto.java17 static final com.google.protobuf.Descriptors.Descriptor
22 static final com.google.protobuf.Descriptors.Descriptor
27 static final com.google.protobuf.Descriptors.Descriptor
32 static final com.google.protobuf.Descriptors.Descriptor
37 static final com.google.protobuf.Descriptors.Descriptor
42 static final com.google.protobuf.Descriptors.Descriptor
47 static final com.google.protobuf.Descriptors.Descriptor
52 static final com.google.protobuf.Descriptors.Descriptor
58 public static com.google.protobuf.Descriptors.FileDescriptor
62 private static com.google.protobuf.Descriptors.FileDescriptor
[all …]
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DChannelzProto.java17 static final com.google.protobuf.Descriptors.Descriptor
22 static final com.google.protobuf.Descriptors.Descriptor
27 static final com.google.protobuf.Descriptors.Descriptor
32 static final com.google.protobuf.Descriptors.Descriptor
37 static final com.google.protobuf.Descriptors.Descriptor
42 static final com.google.protobuf.Descriptors.Descriptor
47 static final com.google.protobuf.Descriptors.Descriptor
52 static final com.google.protobuf.Descriptors.Descriptor
57 static final com.google.protobuf.Descriptors.Descriptor
62 static final com.google.protobuf.Descriptors.Descriptor
[all …]
/external/grpc-grpc-java/grpclb/src/generated/main/java/io/grpc/lb/v1/
DLoadBalancerProto.java17 static final com.google.protobuf.Descriptors.Descriptor
22 static final com.google.protobuf.Descriptors.Descriptor
27 static final com.google.protobuf.Descriptors.Descriptor
32 static final com.google.protobuf.Descriptors.Descriptor
37 static final com.google.protobuf.Descriptors.Descriptor
42 static final com.google.protobuf.Descriptors.Descriptor
47 static final com.google.protobuf.Descriptors.Descriptor
52 static final com.google.protobuf.Descriptors.Descriptor
58 public static com.google.protobuf.Descriptors.FileDescriptor
62 private static com.google.protobuf.Descriptors.FileDescriptor
[all …]
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1alpha/
DBinaryLogProto.java17 static final com.google.protobuf.Descriptors.Descriptor
22 static final com.google.protobuf.Descriptors.Descriptor
27 static final com.google.protobuf.Descriptors.Descriptor
32 static final com.google.protobuf.Descriptors.Descriptor
37 static final com.google.protobuf.Descriptors.Descriptor
42 static final com.google.protobuf.Descriptors.Descriptor
48 public static com.google.protobuf.Descriptors.FileDescriptor
52 private static com.google.protobuf.Descriptors.FileDescriptor
90 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
91 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
[all …]
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1/
DBinaryLogProto.java17 static final com.google.protobuf.Descriptors.Descriptor
22 static final com.google.protobuf.Descriptors.Descriptor
27 static final com.google.protobuf.Descriptors.Descriptor
32 static final com.google.protobuf.Descriptors.Descriptor
37 static final com.google.protobuf.Descriptors.Descriptor
42 static final com.google.protobuf.Descriptors.Descriptor
47 static final com.google.protobuf.Descriptors.Descriptor
52 static final com.google.protobuf.Descriptors.Descriptor
58 public static com.google.protobuf.Descriptors.FileDescriptor
62 private static com.google.protobuf.Descriptors.FileDescriptor
[all …]
/external/protobuf/src/google/protobuf/util/internal/
Dtype_info_test_helper.cc55 const std::vector<const Descriptor*>& descriptors) { in ResetTypeInfo() argument
58 const DescriptorPool* pool = descriptors[0]->file()->pool(); in ResetTypeInfo()
59 for (int i = 1; i < descriptors.size(); ++i) { in ResetTypeInfo()
60 GOOGLE_CHECK(pool == descriptors[i]->file()->pool()) in ResetTypeInfo()
61 << "Descriptors from different pools are not supported."; in ResetTypeInfo()
73 std::vector<const Descriptor*> descriptors; in ResetTypeInfo() local
74 descriptors.push_back(descriptor); in ResetTypeInfo()
75 ResetTypeInfo(descriptors); in ResetTypeInfo()
80 std::vector<const Descriptor*> descriptors; in ResetTypeInfo() local
81 descriptors.push_back(descriptor1); in ResetTypeInfo()
[all …]
/external/kernel-headers/original/uapi/linux/usb/
Dfunctionfs.h90 * Descriptors format:
98 * | | fs_count | LE32 | number of full-speed descriptors |
99 * | | hs_count | LE32 | number of high-speed descriptors |
100 * | | ss_count | LE32 | number of super-speed descriptors |
101 * | | os_count | LE32 | number of MS OS descriptors |
102 * | | fs_descrs | Descriptor[] | list of full-speed descriptors |
103 * | | hs_descrs | Descriptor[] | list of high-speed descriptors |
104 * | | ss_descrs | Descriptor[] | list of super-speed descriptors |
105 * | | os_descrs | OSDesc[] | list of MS OS descriptors |
111 * Legacy descriptors format (deprecated as of 3.14):
[all …]
/external/grpc-grpc-java/testing-proto/src/generated/main/java/io/grpc/testing/protobuf/
DSimpleServiceProto.java17 static final com.google.protobuf.Descriptors.Descriptor
22 static final com.google.protobuf.Descriptors.Descriptor
28 public static com.google.protobuf.Descriptors.FileDescriptor
32 private static com.google.protobuf.Descriptors.FileDescriptor
51 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
52 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
54 com.google.protobuf.Descriptors.FileDescriptor root) {
59 com.google.protobuf.Descriptors.FileDescriptor
61 new com.google.protobuf.Descriptors.FileDescriptor[] { in internalBuildGeneratedFileFrom()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/health/v1/
DHealthProto.java17 static final com.google.protobuf.Descriptors.Descriptor
22 static final com.google.protobuf.Descriptors.Descriptor
28 public static com.google.protobuf.Descriptors.FileDescriptor
32 private static com.google.protobuf.Descriptors.FileDescriptor
51 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
52 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
54 com.google.protobuf.Descriptors.FileDescriptor root) {
59 com.google.protobuf.Descriptors.FileDescriptor
61 new com.google.protobuf.Descriptors.FileDescriptor[] { in internalBuildGeneratedFileFrom()
/external/deqp-deps/amber/src/vulkan/
Dpipeline.cc50 // Command must be reset before we destroy descriptors or we get a validation in ~Pipeline()
91 // If there are no descriptors for this descriptor set we only in CreateDescriptorSetLayouts()
94 for (auto& desc : info.descriptors) { in CreateDescriptorSetLayouts()
120 for (auto& desc : info.descriptors) { in CreateDescriptorPools()
228 for (auto& desc : info.descriptors) in UpdateDescriptorSetsIfNeeded()
267 auto& descriptors = descriptor_set_info_[desc_set].descriptors; in GetDescriptorSlot() local
268 for (auto& descriptor : descriptors) { in GetDescriptorSlot()
292 auto& descriptors = descriptor_set_info_[cmd->GetDescriptorSet()].descriptors; in AddBufferDescriptor() local
325 descriptors.push_back(std::move(image_desc)); in AddBufferDescriptor()
330 descriptors.push_back(std::move(buffer_desc)); in AddBufferDescriptor()
[all …]
/external/curl/docs/libcurl/
Dcurl_multi_wait.337 \fIcurl_multi_wait(3)\fP polls all file descriptors used by the curl easy
48 total number of file descriptors on which interesting events occurred. This
49 number can include both libcurl internal descriptors as well as descriptors
52 If no extra file descriptors are provided and libcurl has no file descriptor
58 with 1024 maximum file descriptors.
100 /* 'numfds' being zero means either a timeout or no file descriptors to
102 descriptors and no file descriptors to wait for means wait for 100
/external/python/cpython2/Doc/howto/
Ddescriptor.rst13 Defines descriptors, summarizes the protocol, and shows how descriptors are
14 called. Examines a custom descriptor and several built-in python descriptors
18 Learning about descriptors not only provides access to a larger toolset, it
39 were defined. Note that descriptors are only invoked for new style objects or
43 Descriptors are a powerful, general purpose protocol. They are the mechanism
46 introduced in version 2.2. Descriptors simplify the underlying C-code and offer
64 a data descriptor. Descriptors that only define :meth:`__get__` are called
65 non-data descriptors (they are typically used for methods but other uses are
68 Data and non-data descriptors differ in how overrides are calculated with
80 Invoking Descriptors
[all …]

12345678910>>...106