Home
last modified time | relevance | path

Searched refs:anchors (Results 1 – 25 of 75) sorted by relevance

123

/external/conscrypt/common/src/main/java/org/conscrypt/
DTrustedCertificateIndex.java45 public TrustedCertificateIndex(Set<TrustAnchor> anchors) { in TrustedCertificateIndex() argument
46 index(anchors); in TrustedCertificateIndex()
49 private void index(Set<TrustAnchor> anchors) { in index() argument
50 for (TrustAnchor anchor : anchors) { in index()
71 List<TrustAnchor> anchors = subjectToTrustAnchors.get(subject); in index() local
72 if (anchors == null) { in index()
73 anchors = new ArrayList<TrustAnchor>(1); in index()
74 subjectToTrustAnchors.put(subject, anchors); in index()
78 for (TrustAnchor entry : anchors) { in index()
85 anchors.add(anchor); in index()
[all …]
DTrustManagerImpl.java546 Set<TrustAnchor> anchors = findAllTrustAnchorsByIssuerAndSignature(current); in checkTrustedRecursive() local
548 for (TrustAnchor anchor : sortPotentialAnchors(anchors)) { in checkTrustedRecursive()
786 private static Collection<TrustAnchor> sortPotentialAnchors(Set<TrustAnchor> anchors) { in sortPotentialAnchors() argument
787 if (anchors.size() <= 1) { in sortPotentialAnchors()
788 return anchors; in sortPotentialAnchors()
790 List<TrustAnchor> sortedAnchors = new ArrayList<TrustAnchor>(anchors); in sortPotentialAnchors()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DTrustedCertificateIndex.java49 public TrustedCertificateIndex(Set<TrustAnchor> anchors) { in TrustedCertificateIndex() argument
50 index(anchors); in TrustedCertificateIndex()
53 private void index(Set<TrustAnchor> anchors) { in index() argument
54 for (TrustAnchor anchor : anchors) { in index()
76 List<TrustAnchor> anchors = subjectToTrustAnchors.get(subject); in index() local
77 if (anchors == null) { in index()
78 anchors = new ArrayList<TrustAnchor>(1); in index()
79 subjectToTrustAnchors.put(subject, anchors); in index()
83 for (TrustAnchor entry : anchors) { in index()
90 anchors.add(anchor); in index()
[all …]
DTrustManagerImpl.java560 Set<TrustAnchor> anchors = findAllTrustAnchorsByIssuerAndSignature(current); in checkTrustedRecursive() local
562 for (TrustAnchor anchor : sortPotentialAnchors(anchors)) { in checkTrustedRecursive()
800 private static Collection<TrustAnchor> sortPotentialAnchors(Set<TrustAnchor> anchors) { in sortPotentialAnchors() argument
801 if (anchors.size() <= 1) { in sortPotentialAnchors()
802 return anchors; in sortPotentialAnchors()
804 List<TrustAnchor> sortedAnchors = new ArrayList<TrustAnchor>(anchors); in sortPotentialAnchors()
/external/harfbuzz_ng/src/
Dhb-aat-layout-ankr-table.hh71 const GlyphAnchors &anchors = StructAtOffset<GlyphAnchors> (&(this+anchorData), *offset); in get_anchor() local
73 if (unlikely ((const char *) &anchors + anchors.get_size () > end)) in get_anchor()
75 return anchors[i]; in get_anchor()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/composer/
DComposer.java51 private final Map<String, Node> anchors; field in Composer
57 this.anchors = new HashMap<String, Node>(); in Composer()
125 this.anchors.clear(); in composeDocument()
135 if (!anchors.containsKey(anchor)) { in composeNode()
139 Node result = anchors.get(anchor); in composeNode()
176 anchors.put(anchor, node); in composeScalarNode()
196 anchors.put(anchor, node); in composeSequenceNode()
222 anchors.put(anchor, node); in composeMappingNode()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/serializer/
DSerializer.java59 private Map<Node, String> anchors; field in Serializer
74 this.anchors = new HashMap<Node, String>(); in Serializer()
115 this.anchors.clear(); in serialize()
122 if (this.anchors.containsKey(node)) { in anchorNode()
123 String anchor = this.anchors.get(node); in anchorNode()
126 this.anchors.put(node, anchor); in anchorNode()
129 this.anchors.put(node, null); in anchorNode()
156 String tAlias = this.anchors.get(node); in serializeNode()
/external/u-boot/test/py/
Dconftest.py340 anchors = {} variable
386 anchor = anchors.get(test, None)
391 anchor = anchors.get(test, None)
396 anchor = anchors.get(test, None)
401 anchor = anchors.get(test, None)
406 anchor = anchors.get(test, None)
411 anchor = anchors.get(test, None)
494 anchors[item.name] = log.start_section(item.name)
537 if not item.name in anchors:
/external/cldr/tools/java/org/unicode/cldr/tool/
DFormattedFileWriter.java30 private Set<String[]> anchors = new TreeSet<String[]>(PC); field in FormattedFileWriter.Anchors
43 ArrayList<String[]> anchorList = new ArrayList<>(anchors); // flatten in toString()
84 anchors.add(new String[] { title, fileName, explanation }); in add()
106 … public FormattedFileWriter(String baseFileName, String title, String explanation, Anchors anchors) in FormattedFileWriter() argument
116 this.localeAnchors = anchors; in FormattedFileWriter()
DChartDelta.java149 FormattedFileWriter.Anchors anchors = new FormattedFileWriter.Anchors(); in writeContents() local
153 writeNonLdmlPlain(anchors); in writeContents()
154 writeLdml(anchors); in writeContents()
156 pw.write(anchors.toString()); in writeContents()
235 public void writeSubcharts(Anchors anchors) throws IOException { in writeSubcharts() argument
239 writeNonLdmlPlain(anchors); in writeSubcharts()
240 writeLdml(anchors); in writeSubcharts()
243 private void writeLdml(Anchors anchors) throws IOException { in writeLdml() argument
401 writeDiffs(anchors, base, diff, tsvFile, counts); in writeLdml()
404 writeDiffs(anchors, diffAll); in writeLdml()
[all …]
DChartSubdivisionNames.java67 FormattedFileWriter.Anchors anchors = new FormattedFileWriter.Anchors(); in writeContents() local
68 writeSubcharts(anchors); in writeContents()
70 pw.write(anchors.toString()); in writeContents()
73 public void writeSubcharts(Anchors anchors) throws IOException { in writeSubcharts() argument
163 …hart(name + " Subdivision Names", FileUtilities.anchorize(name), tablePrinter).writeChart(anchors); in writeSubcharts()
DChartAnnotations.java78 FormattedFileWriter.Anchors anchors = new FormattedFileWriter.Anchors(); in writeContents() local
79 writeSubcharts(anchors); in writeContents()
81 pw.write(anchors.toString()); in writeContents()
102 public void writeSubcharts(Anchors anchors) throws IOException { in writeSubcharts() argument
222 …w Subchart(name + " Annotations", FileUtilities.anchorize(name), tablePrinter).writeChart(anchors); in writeSubcharts()
DChartCollation.java106 FormattedFileWriter.Anchors anchors = new FormattedFileWriter.Anchors(); in writeContents() local
107 writeSubcharts(anchors); in writeContents()
109 pw.write(anchors.toString()); in writeContents()
117 public void writeSubcharts(Anchors anchors) throws IOException { in writeSubcharts() argument
216 …new Subchart(ENGLISH.getName(locale, true, CLDRFile.SHORT_ALTS), locale, data).writeChart(anchors); in writeSubcharts()
DChart.java96 public final void writeChart(Anchors anchors) { in writeChart() argument
98 …tedFileWriter x = new FormattedFileWriter(getFileName(), getTitle(), getExplanation(), anchors);) { in writeChart() argument
DGenerateChangeChart.java314 …leWriter(PrintWriter indexFile, String dir, String title, String explanation, List<String> anchors) in FormattedFileWriter() argument
320 if (anchors != null) { in FormattedFileWriter()
321 anchors.add("<a name='" + anchor + "' href='" + getFilename() + "'>" in FormattedFileWriter()
/external/fonttools/Lib/fontTools/otlLib/
Dbuilder.py132 anchors = [b.get(markClass) for markClass in range(numMarkClasses)]
133 self.BaseRecord.append(buildBaseRecord(anchors))
138 def buildBaseRecord(anchors): argument
141 self.BaseAnchor = anchors
145 def buildComponentRecord(anchors): argument
147 if not anchors:
150 self.LigatureAnchor = anchors
200 anchors = []
202 anchors.append([component.get(mc) for mc in range(numMarkClasses)])
203 self.LigatureAttach.append(buildLigatureAttach(anchors))
[all …]
/external/skia/platform_tools/android/apps/arcore/src/main/cpp/
Dhello_ar_application.cc548 std::vector<ArAnchor*> anchors = planeAnchors->second; in OnTouchedFirst() local
550 LOGI("Size of anchor list: %d", (int) anchors.size()); in OnTouchedFirst()
551 for(ArAnchor* const& anchor: anchors) { in OnTouchedFirst()
644 std::vector<ArAnchor*> anchors = planeAnchors->second; in AddAnchor() local
645 anchors.push_back(anchor); in AddAnchor()
646 plane_anchors_map_[containingPlane] = anchors; in AddAnchor()
650 std::vector<ArAnchor*> anchors; in AddAnchor() local
651 anchors.push_back(anchor); in AddAnchor()
652 plane_anchors_map_.insert({containingPlane, anchors}); in AddAnchor()
806 std::vector<ArAnchor*> anchors = planeAnchors->second; in RemoveAnchor() local
[all …]
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Dhello_ar_application.cc548 std::vector<ArAnchor*> anchors = planeAnchors->second; in OnTouchedFirst() local
550 LOGI("Size of anchor list: %d", (int) anchors.size()); in OnTouchedFirst()
551 for(ArAnchor* const& anchor: anchors) { in OnTouchedFirst()
644 std::vector<ArAnchor*> anchors = planeAnchors->second; in AddAnchor() local
645 anchors.push_back(anchor); in AddAnchor()
646 plane_anchors_map_[containingPlane] = anchors; in AddAnchor()
650 std::vector<ArAnchor*> anchors; in AddAnchor() local
651 anchors.push_back(anchor); in AddAnchor()
652 plane_anchors_map_.insert({containingPlane, anchors}); in AddAnchor()
806 std::vector<ArAnchor*> anchors = planeAnchors->second; in RemoveAnchor() local
[all …]
/external/fonttools/Lib/fontTools/ufoLib/
DglifLib.py602 anchors = getattr(glyphObject, "anchors", None)
603 if formatVersion >= 2 and anchors:
610 if formatVersion == 1 and anchors:
611 _writeAnchorsFormat1(pen, anchors, validate)
750 def _writeAnchorsFormat1(pen, anchors, validate): argument
751 if validate and not anchorsValidator(anchors):
753 for anchor in anchors:
767 anchors = getattr(glyphObject, "anchors", [])
768 if validate and not anchorsValidator(anchors):
770 for anchor in anchors:
[all …]
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/
DHelloCanvasAR.java114 private final ArrayList<Anchor> anchors = new ArrayList<>(); field in HelloCanvasAR
424 if (anchors.size() >= MAX_NUMBER_DRAWABLES) { in handleSingleTaps()
425 anchors.get(0).detach(); in handleSingleTaps()
426 anchors.remove(0); in handleSingleTaps()
428 anchors.add(hit.createAnchor()); in handleSingleTaps()
488 for (Anchor anchor : anchors) { in drawModels()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/
DHelloCanvasAR.java114 private final ArrayList<Anchor> anchors = new ArrayList<>(); field in HelloCanvasAR
424 if (anchors.size() >= MAX_NUMBER_DRAWABLES) { in handleSingleTaps()
425 anchors.get(0).detach(); in handleSingleTaps()
426 anchors.remove(0); in handleSingleTaps()
428 anchors.add(hit.createAnchor()); in handleSingleTaps()
488 for (Anchor anchor : anchors) { in drawModels()
/external/scapy/scapy/layers/tls/
Dcert.py823 def verify(self, anchors): argument
825 for a in anchors:
882 def verifyChain(self, anchors, untrusted=None): argument
891 for a in anchors:
921 anchors = [Cert(c) for c in split_pem(ca_certs)]
933 return self.verifyChain(anchors, untrusted)
944 anchors = []
946 anchors.append(Cert(open(cafile).read()))
960 return self.verifyChain(anchors, untrusted)
/external/tensorflow/tensorflow/python/ops/
Dimage_grad_test.py361 def _randomUniformAvoidAnchors(self, low, high, anchors, radius, num_samples): argument
380 num_anchors = len(anchors)
383 anchors = np.reshape(anchors, num_anchors)
387 if np.all(np.fabs(sample - anchors) > radius):
/external/fonttools/Tests/ufoLib/
DtestSupport.py36 self.anchors = None
86 if self.anchors is not None:
87 text.append("glyph.anchors = %s" % _listToString(self.anchors))
/external/fonttools/Lib/fontTools/mtiLib/
D__init__.py391 anchors = [None] * classCount
392 setattr(record, c.BaseAnchor, anchors)
396 anchors = getattr(record, c.BaseAnchor)
397 assert anchors[klass] is None, (glyph, klass)
398 anchors[klass] = anchor
415 anchors = record.ComponentRecord[compIdx - 1].LigatureAnchor
416 assert anchors[klass] is None, (glyph, compIdx, klass)
417 anchors[klass] = anchor

123