Home
last modified time | relevance | path

Searched refs:descriptors (Results 1 – 25 of 573) sorted by relevance

12345678910>>...23

/external/skqp/experimental/canvaskit/htmlcanvas/
Dfont.js70 var descriptors = parseFontString(fontstr);
71 var typeface = getFromFontCache(descriptors);
72 descriptors['typeface'] = typeface;
73 return descriptors;
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'];
102 function getFromFontCache(descriptors) { argument
[all …]
/external/skia/modules/canvaskit/htmlcanvas/
Dfont.js70 var descriptors = parseFontString(fontstr);
71 var typeface = getFromFontCache(descriptors);
72 descriptors['typeface'] = typeface;
73 return descriptors;
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'];
102 function getFromFontCache(descriptors) { argument
[all …]
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_descriptor_cache.py17 def __init__(self, descriptors): argument
25 if self._check_ncm_mbim_device(descriptors):
26 self._update_ncm_mbim_cache(descriptors)
28 self._update_mbim_cache(descriptors)
32 descriptors, argument
60 descriptors, mbim_communication_interface))
81 descriptors, mbim_data_interface))
107 def _update_mbim_cache(self, descriptors): argument
116 usb_descriptors.InterfaceDescriptor, descriptors)
146 self._store_in_cache(descriptors,
[all …]
Dusb_descriptors.py386 def filter_descriptors(descriptor_type, descriptors): argument
396 if not descriptors:
399 descriptors)
402 def has_distinct_descriptors(descriptors): argument
411 return not all(descriptor == descriptors[0] for descriptor in descriptors)
414 def get_descriptor_bundle(descriptors, descriptor): argument
427 while (index < len(descriptors) and
428 type(descriptor) != type(descriptors[index])):
430 return descriptors[descriptor.index: index]
433 def filter_interface_descriptors(descriptors, interface_type): argument
[all …]
/external/protobuf/src/google/protobuf/util/internal/
Dtype_info_test_helper.cc58 const vector<const Descriptor*>& descriptors) { in ResetTypeInfo() argument
61 const DescriptorPool* pool = descriptors[0]->file()->pool(); in ResetTypeInfo()
62 for (int i = 1; i < descriptors.size(); ++i) { in ResetTypeInfo()
63 GOOGLE_CHECK(pool == descriptors[i]->file()->pool()) in ResetTypeInfo()
76 vector<const Descriptor*> descriptors; in ResetTypeInfo() local
77 descriptors.push_back(descriptor); in ResetTypeInfo()
78 ResetTypeInfo(descriptors); in ResetTypeInfo()
83 vector<const Descriptor*> descriptors; in ResetTypeInfo() local
84 descriptors.push_back(descriptor1); in ResetTypeInfo()
85 descriptors.push_back(descriptor2); in ResetTypeInfo()
[all …]
Dprotostream_objectwriter_test.cc113 vector<const Descriptor*> descriptors; in BaseProtoStreamObjectWriterTest() local
114 descriptors.push_back(descriptor); in BaseProtoStreamObjectWriterTest()
115 ResetTypeInfo(descriptors); in BaseProtoStreamObjectWriterTest()
119 vector<const Descriptor*> descriptors) in BaseProtoStreamObjectWriterTest() argument
124 ResetTypeInfo(descriptors); in BaseProtoStreamObjectWriterTest()
127 void ResetTypeInfo(vector<const Descriptor*> descriptors) { in ResetTypeInfo() argument
128 GOOGLE_CHECK(!descriptors.empty()) << "Must have at least one descriptor!"; in ResetTypeInfo()
129 helper_.ResetTypeInfo(descriptors); in ResetTypeInfo()
130 ow_.reset(helper_.NewProtoWriter(GetTypeUrl(descriptors[0]), output_.get(), in ResetTypeInfo()
135 vector<const Descriptor*> descriptors; in ResetTypeInfo() local
[all …]
/external/v8/src/inspector/
Dinjected-script-source.js303 …var descriptors = this._propertyDescriptors(object, addPropertyIfNeeded, ownProperties, accessorPr…
304 for (var i = 0; i < descriptors.length; ++i) {
305 var descriptor = descriptors[i];
319 return descriptors;
326 function addPropertyIfNeeded(descriptors, descriptor) { argument
327 push(descriptors, descriptor);
357 var descriptors = [];
358 InjectedScriptHost.nullifyPrototype(descriptors);
437 if (!addPropertyIfNeeded(descriptors, descriptor))
450 return descriptors;
[all …]
/external/libchrome/mojo/public/cpp/platform/
Dsocket_utils_posix.cc106 const std::vector<base::ScopedFD>& descriptors) { in SendmsgWithHandles() argument
109 DCHECK(!descriptors.empty()); in SendmsgWithHandles()
110 DCHECK_LE(descriptors.size(), kMaxSendmsgHandles); in SendmsgWithHandles()
117 msg.msg_controllen = CMSG_LEN(descriptors.size() * sizeof(int)); in SendmsgWithHandles()
121 cmsg->cmsg_len = CMSG_LEN(descriptors.size() * sizeof(int)); in SendmsgWithHandles()
122 for (size_t i = 0; i < descriptors.size(); ++i) { in SendmsgWithHandles()
123 DCHECK_GE(descriptors[i].get(), 0); in SendmsgWithHandles()
124 reinterpret_cast<int*>(CMSG_DATA(cmsg))[i] = descriptors[i].get(); in SendmsgWithHandles()
132 std::vector<base::ScopedFD>* descriptors, in SocketRecvmsg() argument
151 descriptors->clear(); in SocketRecvmsg()
[all …]
/external/e2fsprogs/tests/m_no_opt/
Dexpect.148 Primary superblock at 1, Group descriptors at 2-2
55 Backup superblock at 8193, Group descriptors at 8194-8194
62 Backup superblock at 16385, Group descriptors at 16386-16386
69 Backup superblock at 24577, Group descriptors at 24578-24578
76 Backup superblock at 32769, Group descriptors at 32770-32770
83 Backup superblock at 40961, Group descriptors at 40962-40962
90 Backup superblock at 49153, Group descriptors at 49154-49154
97 Backup superblock at 57345, Group descriptors at 57346-57346
/external/harfbuzz_ng/src/
Dhb-aat-fdsc-table.hh101 { return descriptors.lsearch (style); } in get_descriptor()
107 descriptors.sanitize (c)); in sanitize()
114 descriptors; /* List of tagged-coordinate pairs style descriptors member
120 DEFINE_SIZE_ARRAY (8, descriptors);
/external/avb/libavb/
Davb_descriptor.c128 const AvbDescriptor** descriptors; member
133 data->descriptors[data->descriptor_number++] = descriptor; in set_descriptors()
147 data.descriptors = in avb_descriptor_get_all()
149 if (data.descriptors == NULL) { in avb_descriptor_get_all()
159 return data.descriptors; in avb_descriptor_get_all()
/external/u-boot/lib/libavb/
Davb_descriptor.c109 const AvbDescriptor** descriptors; member
114 data->descriptors[data->descriptor_number++] = descriptor; in set_descriptors()
128 data.descriptors = in avb_descriptor_get_all()
130 if (data.descriptors == NULL) { in avb_descriptor_get_all()
140 return data.descriptors; in avb_descriptor_get_all()
/external/avb/test/
Davbtool_unittest.cc380 std::vector<const AvbDescriptor*>* descriptors = in collect_descriptors() local
382 descriptors->push_back(descriptor); in collect_descriptors()
576 std::vector<const AvbDescriptor*> descriptors; in AddHashFooterTest() local
578 vbmeta_data, f.vbmeta_size, collect_descriptors, &descriptors); in AddHashFooterTest()
582 EXPECT_EQ(1UL, descriptors.size()); in AddHashFooterTest()
583 EXPECT_EQ(AVB_DESCRIPTOR_TAG_HASH, avb_be64toh(descriptors[0]->tag)); in AddHashFooterTest()
588 reinterpret_cast<const AvbHashDescriptor*>(descriptors[0]), &d)); in AddHashFooterTest()
593 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashFooterTest()
1064 std::vector<const AvbDescriptor*> descriptors; in AddHashtreeFooterTest() local
1066 vbmeta_data, f.vbmeta_size, collect_descriptors, &descriptors); in AddHashtreeFooterTest()
[all …]
/external/autotest/client/site_tests/cellular_MbimComplianceDescriptor/
Dcellular_MbimComplianceDES01.py30 descriptors = get_descriptors_sequence.GetDescriptorsSequence(
36 usb_descriptors.InterfaceDescriptor, descriptors)
83 descriptors, ncm_communication_interface))
138 descriptors, no_data_data_interface)
162 usb_descriptors.get_descriptor_bundle(descriptors,
187 usb_descriptors.get_descriptor_bundle(descriptors,
Dcellular_MbimComplianceDES02.py30 descriptors = get_descriptors_sequence.GetDescriptorsSequence(
36 usb_descriptors.InterfaceDescriptor, descriptors)
60 descriptors, mbim_communication_interface))
117 descriptors, no_data_data_interface)
145 descriptors, mbim_data_interface)
289 descriptors))
/external/v8/src/
Dlayout-descriptor.cc17 Isolate* isolate, Handle<Map> map, Handle<DescriptorArray> descriptors, in New() argument
22 CalculateCapacity(*map, *descriptors, num_descriptors); in New()
35 *layout_descriptor_handle, *map, *descriptors, num_descriptors); in New()
235 DescriptorArray* descriptors, in Trim() argument
243 CalculateCapacity(map, descriptors, num_descriptors); in Trim()
259 Initialize(this, map, descriptors, num_descriptors); in Trim()
267 DescriptorArray* descriptors = map->instance_descriptors(); in IsConsistentWithMap() local
271 PropertyDetails details = descriptors->GetDetails(i); in IsConsistentWithMap()
DOWNERS6 per-file objects-body-descriptors*=hpayer@chromium.org
7 per-file objects-body-descriptors*=mlippautz@chromium.org
8 per-file objects-body-descriptors*=ulan@chromium.org
Dlayout-descriptor.h55 Handle<DescriptorArray> descriptors,
81 LayoutDescriptor* Trim(Heap* heap, Map* map, DescriptorArray* descriptors,
117 V8_INLINE static int CalculateCapacity(Map* map, DescriptorArray* descriptors,
128 DescriptorArray* descriptors, int num_descriptors);
/external/autotest/client/cros/cellular/mbim_compliance/tests/
Ddes_01.py29 descriptors = get_descriptors_sequence.GetDescriptorsSequence(
36 usb_descriptors.InterfaceDescriptor, descriptors)
77 descriptors, ncm_communication_interface))
132 descriptors, no_data_data_interface)
156 usb_descriptors.get_descriptor_bundle(descriptors,
181 usb_descriptors.get_descriptor_bundle(descriptors,
/external/u-boot/drivers/usb/gadget/
Dcomposite.c55 if (!config->fullspeed && function->descriptors) in usb_add_function()
166 struct usb_descriptor_header **descriptors; in config_buf() local
183 if (config->descriptors) { in config_buf()
185 config->descriptors); in config_buf()
195 descriptors = f->hs_descriptors; in config_buf()
197 descriptors = f->descriptors; in config_buf()
198 if (!descriptors) in config_buf()
201 (const struct usb_descriptor_header **) descriptors); in config_buf()
310 struct usb_descriptor_header **descriptors; in set_config() local
370 descriptors = f->hs_descriptors; in set_config()
[all …]
/external/tensorflow/tensorflow/core/util/proto/
DBUILD19 name = "descriptors",
20 srcs = ["descriptors.cc"],
21 hdrs = ["descriptors.h"],
53 # descriptors linked into the code will be searched.
/external/v8/src/builtins/
Dbuiltins-function-gen.cc48 TNode<DescriptorArray> descriptors = LoadMapDescriptors(receiver_map); in TF_BUILTIN() local
52 TNode<Smi> descriptors_length = LoadWeakFixedArrayLength(descriptors); in TF_BUILTIN()
64 descriptors, DescriptorArray::ToKeyIndex(length_index))); in TF_BUILTIN()
69 descriptors, DescriptorArray::ToValueIndex(length_index))); in TF_BUILTIN()
76 descriptors, DescriptorArray::ToKeyIndex(name_index))); in TF_BUILTIN()
81 descriptors, DescriptorArray::ToValueIndex(name_index))); in TF_BUILTIN()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAudioEffectTest.java19 AudioEffect.Descriptor[] descriptors = AudioEffect.queryEffects(); in queryEffects() local
21 assertThat(descriptors).asList().hasSize(1); in queryEffects()
22 assertThat(descriptors[0].type).isEqualTo(AudioEffect.EFFECT_TYPE_AEC); in queryEffects()
/external/python/cpython3/Doc/library/
Dpyclbr.rst26 descriptors. If possible, descriptors for imported base classes are
36 descriptors for each function and class defined in the module with a
38 module-level function and class names to their descriptors. Nested
49 The descriptors returned by these functions are instances of
91 A dictionary mapping names to descriptors for nested functions and
134 A dictionary mapping names to descriptors for nested functions and
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DServiceDescriptorTest.java68 List<MethodDescriptor<?, ?>> descriptors = Collections.<MethodDescriptor<?, ?>>singletonList( in failsOnNonMatchingNames() local
79 new ServiceDescriptor("name", descriptors); in failsOnNonMatchingNames()
84 List<MethodDescriptor<?, ?>> descriptors = Arrays.<MethodDescriptor<?, ?>>asList( in failsOnNonDuplicateNames() local
101 new ServiceDescriptor("name", descriptors); in failsOnNonDuplicateNames()

12345678910>>...23