Home
last modified time | relevance | path

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

12345678910>>...31

/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 …]
Dhtmlcanvas.js25 this.loadFont = function(buffer, descriptors) { argument
28 Debug('font could not be processed', descriptors);
32 addToFontCache(newFont, descriptors);
/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.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()
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()
82 descriptors.push_back(descriptor2); in ResetTypeInfo()
[all …]
Dprotostream_objectwriter_test.cc113 std::vector<const Descriptor*> descriptors; in BaseProtoStreamObjectWriterTest() local
114 descriptors.push_back(descriptor); in BaseProtoStreamObjectWriterTest()
115 ResetTypeInfo(descriptors); in BaseProtoStreamObjectWriterTest()
119 std::vector<const Descriptor*> descriptors) in BaseProtoStreamObjectWriterTest() argument
124 ResetTypeInfo(descriptors); in BaseProtoStreamObjectWriterTest()
127 void ResetTypeInfo(std::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 std::vector<const Descriptor*> descriptors; in ResetTypeInfo() local
[all …]
/external/crosvm/sys_util/src/
Ddescriptor_reflection.rs72 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()
101 .map(|descriptors| { in push_descriptor()
102 let index = descriptors.len(); in push_descriptor()
103 descriptors.push(rd); in push_descriptor()
187 fn set_descriptor_src(descriptors: Vec<Option<SafeDescriptor>>) -> Result<(), &'static str> { in set_descriptor_src()
193 *src = Some(descriptors); in set_descriptor_src()
298 descriptors: &mut Vec<Option<SafeDescriptor>>, in deserialize_with_descriptors()
304 let swap_descriptors = std::mem::take(descriptors); in deserialize_with_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/deqp-deps/amber/src/vulkan/
Dpipeline.cc94 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()
332 desc = descriptors.back().get(); in AddBufferDescriptor()
378 auto& descriptors = descriptor_set_info_[cmd->GetDescriptorSet()].descriptors; in AddSamplerDescriptor() local
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dscc.h50 std::vector<const Descriptor*> descriptors; member
53 const Descriptor* GetRepresentative() const { return descriptors[0]; } in GetRepresentative()
56 const FileDescriptor* GetFile() const { return descriptors[0]->file(); } in GetFile()
120 scc->descriptors.push_back(scc_desc); in DFS()
130 std::sort(scc->descriptors.begin(), scc->descriptors.end(), in DFS()
142 for (auto descriptor : scc->descriptors) { in AddChildren()
/external/dagger2/java/dagger/hilt/processor/internal/
DComponentTree.java40 public static ComponentTree from(Set<ComponentDescriptor> descriptors) { in from() argument
44 descriptors.forEach( in from()
61 Map<ClassName, ComponentDescriptor> descriptors = new HashMap<>(); in ComponentTree() local
63 if (descriptors.containsKey(descriptor.component())) { in ComponentTree()
64 ComponentDescriptor prevDescriptor = descriptors.get(descriptor.component()); in ComponentTree()
75 descriptors.put(descriptor.component(), descriptor); in ComponentTree()
/external/cpuinfo/src/x86/cache/
Dinit.c44 union cpuinfo_x86_cache_descriptors descriptors; in cpuinfo_x86_detect_cache() local
45 descriptors.regs = cpuid(2); in cpuinfo_x86_detect_cache()
46 uint32_t iterations = (uint8_t) descriptors.as_bytes[0]; in cpuinfo_x86_detect_cache()
50 const uint8_t descriptor = descriptors.as_bytes[i]; in cpuinfo_x86_detect_cache()
63 descriptors.regs = cpuid(2); in cpuinfo_x86_detect_cache()
/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/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/perfetto/src/trace_processor/util/
DBUILD.gn38 ":descriptors",
48 source_set("descriptors") {
50 "descriptors.cc",
51 "descriptors.h",
79 ":descriptors",
96 ":descriptors",
/external/avb/libavb/
Davb_descriptor.c167 const AvbDescriptor** descriptors; member
172 data->descriptors[data->descriptor_number++] = descriptor; in set_descriptors()
186 data.descriptors = in avb_descriptor_get_all()
188 if (data.descriptors == NULL) { in avb_descriptor_get_all()
198 return data.descriptors; in avb_descriptor_get_all()
/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/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/tensorflow/tensorflow/core/util/proto/
DBUILD19 name = "descriptors",
20 srcs = ["descriptors.cc"],
21 hdrs = ["descriptors.h"],
54 # descriptors linked into the code will be searched.
/external/avb/test/
Davbtool_unittest.cc422 std::vector<const AvbDescriptor*>* descriptors = in collect_descriptors() local
424 descriptors->push_back(descriptor); in collect_descriptors()
622 std::vector<const AvbDescriptor*> descriptors; in AddHashFooterTest() local
624 vbmeta_data, f.vbmeta_size, collect_descriptors, &descriptors); in AddHashFooterTest()
628 EXPECT_EQ(1UL, descriptors.size()); in AddHashFooterTest()
629 EXPECT_EQ(AVB_DESCRIPTOR_TAG_HASH, avb_be64toh(descriptors[0]->tag)); in AddHashFooterTest()
634 reinterpret_cast<const AvbHashDescriptor*>(descriptors[0]), &d)); in AddHashFooterTest()
639 const uint8_t* desc_end = reinterpret_cast<const uint8_t*>(descriptors[0]) + in AddHashFooterTest()
1167 std::vector<const AvbDescriptor*> descriptors; in AddHashtreeFooterTest() local
1169 vbmeta_data, f.vbmeta_size, collect_descriptors, &descriptors); in AddHashtreeFooterTest()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/
DDESIGN.md20 - layered, so the core is small and doesn't require descriptors.
27 descriptors. We need some way of knowing what fields are in each message and
28 where they live, but instead of descriptors, we keep a small/lightweight summary
39 support for text format, JSON, or descriptors. μpb is unique in that it has a
44 Without descriptors, the core doesn't have access to field names, so it cannot
46 lives in separate modules that depend on the module implementing descriptors.
47 With the descriptor module we can parse/serialize binary descriptors 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>>...31