Home
last modified time | relevance | path

Searched refs:getOptions (Results 1 – 25 of 141) sorted by relevance

123456

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DSourceCoverageViewText.cpp73 getOptions().colored_ostream(OS, raw_ostream::CYAN) << getSourceName() in renderSourceName()
90 unsigned Length = getDividerWidth(getOptions()); in renderViewDivider()
118 getOptions().Colors && Highlight, /*Bold=*/false, in renderLine()
121 if (getOptions().Debug && Highlight) in renderLine()
135 getOptions().Colors && Highlight, /*Bold=*/false, /*BG=*/true) in renderLine()
139 if (getOptions().Debug) { in renderLine()
157 Line.hasMultipleRegions() && getOptions().Colors) in renderLineCoverageColumn()
177 OS.indent(getCombinedColumnWidth(getOptions())); in renderRegionMarkers()
199 if (getOptions().Debug) in renderRegionMarkers()
211 OS.indent(getCombinedColumnWidth(getOptions()) + (ViewDepth == 0 ? 0 : 1)); in renderExpansionSite()
[all …]
DSourceCoverageViewHTML.cpp473 OS << BeginSourceNameDiv << tag("pre", escape(getSourceName(), getOptions())) in renderSourceName()
526 Snippets[I] = escape(Snippets[I], getOptions()); in renderLine()
535 if (getOptions().Debug) in renderLine()
568 if (getOptions().Debug) { in renderLine()
596 if (getOptions().Debug) in renderLine()
663 getOptions())) in renderInstantiationView()
672 if (getOptions().hasProjectTitle()) in renderTitle()
673 OS << tag(ProjectTitleTag, escape(getOptions().ProjectTitle, getOptions())); in renderTitle()
674 OS << tag(ReportTitleTag, escape(Title, getOptions())); in renderTitle()
675 if (getOptions().hasCreatedTime()) in renderTitle()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/
DSevenZMethodConfigurationTest.java29 .getOptions()); in shouldAllowNullOptions()
36 .getOptions()); in shouldAllowLZMA2OptionsForLZMA()
42 .getOptions()); in shouldAllowNumberForLZMA()
49 .getOptions()); in shouldAllowLZMA2OptionsForLZMA2()
55 .getOptions()); in shouldAllowNumberForLZMA2()
61 .getOptions()); in shouldAllowNumberForBzip2()
67 .getOptions()); in shouldAllowNumberForDeflate()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DTraceOptionsTest.java34 public void getOptions() { in getOptions() method in TraceOptionsTest
35 assertThat(TraceOptions.DEFAULT.getOptions()).isEqualTo(0); in getOptions()
36 assertThat(TraceOptions.builder().setIsSampled(false).build().getOptions()).isEqualTo(0); in getOptions()
37 assertThat(TraceOptions.builder().setIsSampled(true).build().getOptions()).isEqualTo(1); in getOptions()
38 assertThat(TraceOptions.builder().setIsSampled(true).setIsSampled(false).build().getOptions()) in getOptions()
40 assertThat(TraceOptions.fromByte(FIRST_BYTE).getOptions()).isEqualTo(-1); in getOptions()
41 assertThat(TraceOptions.fromByte(SECOND_BYTE).getOptions()).isEqualTo(1); in getOptions()
42 assertThat(TraceOptions.fromByte(THIRD_BYTE).getOptions()).isEqualTo(6); in getOptions()
78 .getOptions()) in builder_FromOptions()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPIteratorImpl.java171 protected IteratorOptions getOptions() in getOptions() method in XMPIteratorImpl
249 if (visitedNode.getOptions().isSchemaNode()) in NodeIterator()
286 if (!hasNext && visitedNode.hasQualifier() && !getOptions().isOmitQualifiers()) in hasNext()
314 (!getOptions().isJustLeafnodes() || !visitedNode.hasChildren())) in reportNode()
403 if (currNode.getParent() == null || currNode.getOptions().isSchemaNode()) in accumulatePath()
407 else if (currNode.getParent().getOptions().isArray()) in accumulatePath()
423 else if (getOptions().isJustLeafname()) in accumulatePath()
446 final Object value = node.getOptions().isSchemaNode() ? null : node.getValue(); in createPropertyInfo()
465 public PropertyOptions getOptions() in createPropertyInfo() method in XMPIteratorImpl.NodeIterator
467 return node.getOptions(); in createPropertyInfo()
[all …]
DXMPNodeUtils.java150 if (!parent.getOptions().isSchemaNode() && !parent.getOptions().isStruct()) in findChildNode()
157 else if (parent.getOptions().isArray()) in findChildNode()
164 parent.getOptions().setStruct(true); in findChildNode()
251 currNode.getOptions().setOption(xpath.getSegment(i).getAliasForm(), true); in findNode()
256 !currNode.getOptions().isCompositeProperty()) in findNode()
258 currNode.getOptions().setStruct(true); in findNode()
282 currNode.getOptions().mergeWith(leafOptions); in findNode()
283 currNode.setOptions(currNode.getOptions()); in findNode()
299 if (node.getOptions().isQualifier()) in deleteNode()
311 if (!parent.hasChildren() && parent.getOptions().isSchemaNode()) in deleteNode()
[all …]
DXMPNode.java266 qualNode.getOptions().setQualifier(true); in addQualifier()
267 getOptions().setHasQualifiers(true); in addQualifier()
298 PropertyOptions opts = getOptions(); in removeQualifier()
325 PropertyOptions opts = getOptions(); in removeQualifiers()
427 newOptions = new PropertyOptions(getOptions().getOptions());
491 if (getOptions().isSchemaNode())
541 public PropertyOptions getOptions()
676 if (!getOptions().isArray())
713 if (getOptions().isQualifier())
718 else if (getParent().getOptions().isArray())
[all …]
DParseRDF.java541 newCompound.getOptions().setArray(true); in rdf_ResourcePropertyElement()
545 newCompound.getOptions().setArray(true).setArrayOrdered(true); in rdf_ResourcePropertyElement()
549 newCompound.getOptions().setArray(true).setArrayOrdered(true) in rdf_ResourcePropertyElement()
554 newCompound.getOptions().setStruct(true); in rdf_ResourcePropertyElement()
574 else if (newCompound.getOptions().isArrayAlternate()) in rdf_ResourcePropertyElement()
701 newStruct.getOptions().setStruct(true); in rdf_ParseTypeResourcePropertyElement()
919 childNode.getOptions().setURI(true); in rdf_EmptyPropertyElement()
924 childNode.getOptions().setStruct(true); in rdf_EmptyPropertyElement()
1061 if (isTopLevel || !xmpParent.getOptions().isStruct()) in addChildNode()
1070 if (!xmpParent.getOptions().isArray()) in addChildNode()
[all …]
DXMPUtilsImpl.java110 else if (!arrayNode.getOptions().isArray() || arrayNode.getOptions().isArrayAlternate()) in catenateArrayItems()
129 if (currItem.getOptions().isCompositeProperty()) in catenateArrayItems()
360 PropertyOptions arrayForm = arrayNode.getOptions(); in separateFindCreateArray()
437 if (parent.getOptions().isSchemaNode() && !parent.hasChildren()) in removeProperties()
606 valueIsEmpty = sourceNode.getOptions().isSimple() ? in appendSubtree()
626 destXMP.setNode(destNode, sourceNode.getValue(), sourceNode.getOptions(), true); in appendSubtree()
636 PropertyOptions sourceForm = sourceNode.getOptions(); in appendSubtree()
637 PropertyOptions destForm = destNode.getOptions(); in appendSubtree()
700 sourceItem.getOptions()); in appendSubtree()
746 PropertyOptions leftForm = leftNode.getOptions(); in itemValuesMatch()
[all …]
DXMPNormalizer.java197 else if (currProp.getOptions().isSimple()) in normalizeDCArrays()
207 if (arrayForm.isArrayAltText() && !currProp.getOptions().getHasLanguage()) in normalizeDCArrays()
216 currProp.getOptions().setOption( in normalizeDCArrays()
222 currProp.getOptions().mergeWith(arrayForm); in normalizeDCArrays()
245 !arrayNode.getOptions().isArray()) in repairAltText()
252 arrayNode.getOptions().setArrayOrdered(true).setArrayAlternate(true).setArrayAltText(true); in repairAltText()
257 if (currChild.getOptions().isCompositeProperty()) in repairAltText()
262 else if (!currChild.getOptions().getHasLanguage()) in repairAltText()
420 if (baseArray.getOptions().isArrayAltText()) in transplantArrayItemAlias()
422 if (childNode.getOptions().getHasLanguage()) in transplantArrayItemAlias()
[all …]
DXMPSerializerRDF.java545 if (!node.getOptions().isCompositeProperty()) in serializeCompactRDFElementProps()
551 else if (node.getOptions().isArray()) in serializeCompactRDFElementProps()
593 if (node.getOptions().isURI()) in serializeCompactRDFSimpleProp()
634 if (node.getOptions().isArrayAltText()) in serializeCompactRDFArrayProp()
833 if (node.getOptions().isSchemaNode()) in declareUsedNamespaces()
839 else if (node.getOptions().isStruct()) in declareUsedNamespaces()
1030 if (!node.getOptions().isCompositeProperty()) in serializePrettyRDFProperty()
1034 if (node.getOptions().isURI()) in serializePrettyRDFProperty()
1055 else if (node.getOptions().isArray()) in serializePrettyRDFProperty()
1061 if (node.getOptions().isArrayAltText()) in serializePrettyRDFProperty()
[all …]
DXMPMetaImpl.java121 if (!arrayNode.getOptions().isArray()) in appendArrayItem()
180 if (arrayNode.getOptions().isArray()) in countArrayItems()
414 public PropertyOptions getOptions() in getLocalizedText() method
416 return itemNode.getOptions(); in getLocalizedText()
464 else if (!arrayNode.getOptions().isArrayAltText())
466 if (!arrayNode.hasChildren() && arrayNode.getOptions().isArrayAlternate())
468 arrayNode.getOptions().setArrayAltText(true);
673 if (valueType != VALUE_STRING && propNode.getOptions().isCompositeProperty())
689 public PropertyOptions getOptions()
691 return propNode.getOptions();
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/options/
DOptions.java69 return getOptions() == optionBits; in isExactly()
79 return (getOptions() & optionBits) == optionBits; in containsAllOptions()
89 return ((getOptions()) & optionBits) != 0; in containsOneOf()
117 public int getOptions() in getOptions() method in Options
139 return getOptions() == ((Options) obj).getOptions(); in equals()
148 return getOptions(); in hashCode()
DPropertyOptions.java311 return (getOptions() & (ARRAY | STRUCT)) > 0; in isCompositeProperty()
320 return (getOptions() & (ARRAY | STRUCT)) == 0; in isSimple()
351 setOptions(getOptions() | options.getOptions()); in mergeWith()
361 return (getOptions() & in isOnlyArrayOptions()
DSerializeOptions.java227 return (getOptions() & ENCODING_MASK) == ENCODE_UTF16BE; in getEncodeUTF16BE()
249 return (getOptions() & ENCODING_MASK) == ENCODE_UTF16LE; in getEncodeUTF16LE()
390 clone = new SerializeOptions(getOptions()); in clone()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DNativeEnumSymbol.cpp66 return bool(Record.getOptions() & in hasConstructor()
71 return bool(Record.getOptions() & in hasAssignmentOperator()
76 return bool(Record.getOptions() & in hasCastOperator()
90 return bool(Record.getOptions() & codeview::ClassOptions::Nested); in isNested()
94 return bool(Record.getOptions() & in hasOverloadedOperator()
99 return bool(Record.getOptions() & codeview::ClassOptions::Packed); in isPacked()
103 return bool(Record.getOptions() & codeview::ClassOptions::Scoped); in isScoped()
/external/llvm/tools/llvm-cov/
DSourceCoverageViewText.cpp67 getOptions().colored_ostream(OS, raw_ostream::CYAN) << getSourceName() in renderSourceName()
84 unsigned Length = getDividerWidth(getOptions()); in renderViewDivider()
109 getOptions().Colors && Highlight, /*Bold=*/false, in renderLine()
112 if (getOptions().Debug && Highlight) in renderLine()
125 getOptions().Colors && Highlight, /*Bold=*/false, /*BG=*/true) in renderLine()
129 if (getOptions().Debug) { in renderLine()
147 Line.hasMultipleRegions() && getOptions().Colors) in renderLineCoverageColumn()
166 OS.indent(getCombinedColumnWidth(getOptions())); in renderRegionMarkers()
182 if (getOptions().Debug) in renderRegionMarkers()
192 OS.indent(getCombinedColumnWidth(getOptions()) + (ViewDepth == 0 ? 0 : 1)); in renderExpansionSite()
[all …]
DSourceCoverageView.cpp101 return getOptions().ShowRegionMarkers && in shouldRenderRegionMarkers()
102 (!getOptions().ShowLineStatsOrRegionMarkers || LineHasMultipleRegions); in shouldRenderRegionMarkers()
185 if (getOptions().ShowLineStats) in print()
187 if (getOptions().ShowLineNumbers) in print()
193 getOptions().Colors) in print()
/external/llvm/lib/DebugInfo/CodeView/
DTypeTableBuilder.cpp38 Builder.writeUInt8(static_cast<uint8_t>(Record.getOptions())); in writeProcedure()
53 Builder.writeUInt8(static_cast<uint8_t>(Record.getOptions())); in writeMemberFunction()
76 uint32_t flags = static_cast<uint32_t>(Record.getOptions()) | in writePointer()
113 static_cast<uint16_t>(Record.getOptions()) | in writeClass()
123 if ((Record.getOptions() & ClassOptions::HasUniqueName) != in writeClass()
135 static_cast<uint16_t>(Record.getOptions()) | in writeUnion()
141 if ((Record.getOptions() & ClassOptions::HasUniqueName) != in writeUnion()
152 Builder.writeUInt16(static_cast<uint16_t>(Record.getOptions())); in writeEnum()
156 if ((Record.getOptions() & ClassOptions::HasUniqueName) != in writeEnum()
280 Flags |= static_cast<uint16_t>(Method.getOptions()); in writeMethodOverloadList()
/external/desugar/java/com/google/devtools/common/options/
DOptions.java56 return new Options<>(parser.getOptions(optionsClass), remainingArgs.toArray(new String[0])); in parse()
76 return new Options<>(parser.getOptions(optionsClass), remainingArgs.toArray(new String[0])); in parseAndExitUponError()
85 return parse(optionsClass, new String[0]).getOptions(); in getDefaults()
113 public O getOptions() { in getOptions() method in Options
DOptionsClassProvider.java25 public <O extends OptionsBase> O getOptions(Class<O> optionsClass) {
37 @Nullable <O extends OptionsBase> O getOptions(Class<O> optionsClass); in getOptions() method
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java97 assertEquals("UnittestProto", file.getOptions().getJavaOuterClassname()); in testFileDescriptor()
159 messageType.getOptions()); in testDescriptor()
217 primitiveField.getOptions()); in testFieldDescriptor()
236 cordField.getOptions().getCtype()); in testFieldDescriptor()
248 extension.getOptions()); in testFieldDescriptor()
301 enumType.getOptions()); in testEnumDescriptor()
359 descriptor.getOptions().hasExtension(UnittestCustomOptions.messageOpt1)); in testCustomOptions()
361 descriptor.getOptions().getExtension(UnittestCustomOptions.messageOpt1)); in testCustomOptions()
367 field.getOptions().hasExtension(UnittestCustomOptions.fieldOpt1)); in testCustomOptions()
369 field.getOptions().getExtension(UnittestCustomOptions.fieldOpt1)); in testCustomOptions()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java101 assertEquals("UnittestProto", file.getOptions().getJavaOuterClassname()); in testFileDescriptor()
156 assertEquals(DescriptorProtos.MessageOptions.getDefaultInstance(), messageType.getOptions()); in testDescriptor()
206 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), primitiveField.getOptions()); in testFieldDescriptor()
223 assertEquals(DescriptorProtos.FieldOptions.CType.CORD, cordField.getOptions().getCtype()); in testFieldDescriptor()
232 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(), extension.getOptions()); in testFieldDescriptor()
287 assertEquals(DescriptorProtos.EnumOptions.getDefaultInstance(), enumType.getOptions()); in testEnumDescriptor()
345 assertTrue(descriptor.getOptions().hasExtension(UnittestCustomOptions.messageOpt1)); in testCustomOptions()
348 descriptor.getOptions().getExtension(UnittestCustomOptions.messageOpt1)); in testCustomOptions()
353 assertTrue(field.getOptions().hasExtension(UnittestCustomOptions.fieldOpt1)); in testCustomOptions()
356 field.getOptions().getExtension(UnittestCustomOptions.fieldOpt1)); in testCustomOptions()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DLZMADecoder.java51 … return new FlushShieldFilterOutputStream(new LZMAOutputStream(out, getOptions(opts), false)); in encode()
56 final LZMA2Options options = getOptions(opts); in getOptionsAsProperties()
84 private LZMA2Options getOptions(final Object opts) throws IOException { in getOptions() method in LZMADecoder
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java121 public FileOptions getOptions() { in getOptions() method in Descriptors.FileDescriptor
122 return proto.getOptions(); in getOptions()
691 public MessageOptions getOptions() { in getOptions() method in Descriptors.Descriptor
692 return proto.getOptions(); in getOptions()
1029 if (getContainingType().getOptions().getMapEntry()) { in needsUtf8Check()
1036 return getFile().getOptions().getJavaStringCheckUtf8(); in needsUtf8Check()
1042 && getMessageType().getOptions().getMapEntry(); in isMapField()
1076 return getOptions().getPacked(); in isPacked()
1078 return !getOptions().hasPacked() || getOptions().getPacked(); in isPacked()
1106 public FieldOptions getOptions() { in getOptions() method in Descriptors.FieldDescriptor
[all …]

123456