/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | StringTrieBuilder.java | 263 hasValue=true; in ValueNode() 267 assert(!hasValue); in setValue() 268 hasValue=true; in setValue() 272 hasValue=true; in setFinalValue() 278 if(hasValue) { in hashCode() 292 return hasValue==o.hasValue && (!hasValue || value==o.value); in equals() 309 protected boolean hasValue; field in StringTrieBuilder.ValueNode 380 if(hasValue) { in add() 407 if(hasValue) { in add() 411 hasValue=false; in add() [all …]
|
D | CharsTrieBuilder.java | 223 protected int writeValueAndType(boolean hasValue, int value, int node) { in writeValueAndType() argument 224 if(!hasValue) { in writeValueAndType()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | StringTrieBuilder.java | 265 hasValue=true; in ValueNode() 269 assert(!hasValue); in setValue() 270 hasValue=true; in setValue() 274 hasValue=true; in setFinalValue() 280 if(hasValue) { in hashCode() 294 return hasValue==o.hasValue && (!hasValue || value==o.value); in equals() 311 protected boolean hasValue; field in StringTrieBuilder.ValueNode 382 if(hasValue) { in add() 409 if(hasValue) { in add() 413 hasValue=false; in add() [all …]
|
D | CharsTrieBuilder.java | 227 protected int writeValueAndType(boolean hasValue, int value, int node) { in writeValueAndType() argument 228 if(!hasValue) { in writeValueAndType()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | AnalyzerOptions.cpp | 145 if (!V.hasValue()) in getBooleanOption() 260 if (!AlwaysInlineSize.hasValue()) in getAlwaysInlineSize() 266 if (!MaxInlinableSize.hasValue()) { in getMaxInlinableSize() 287 if (!GraphTrimInterval.hasValue()) in getGraphTrimInterval() 293 if (!MaxTimesInlineLarge.hasValue()) in getMaxTimesInlineLarge() 299 if (!MinCFGSizeTreatFunctionsAsLarge.hasValue()) in getMinCFGSizeTreatFunctionsAsLarge() 306 if (!MaxNodesPerTopLevelFunction.hasValue()) { in getMaxNodesPerTopLevelFunction() 337 if (!InlineLambdas.hasValue()) in shouldInlineLambdas() 343 if (!WidenLoops.hasValue()) in shouldWidenLoops()
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | VariantValueTest.cpp | 29 EXPECT_TRUE(Value.hasValue()); in TEST() 42 EXPECT_TRUE(Value.hasValue()); in TEST() 50 EXPECT_TRUE(Value.hasValue()); in TEST() 80 EXPECT_TRUE(Value.hasValue()); in TEST() 86 EXPECT_TRUE(Value.hasValue()); in TEST() 97 EXPECT_TRUE(Value.hasValue()); in TEST() 102 EXPECT_FALSE(Value.hasValue()); in TEST()
|
/external/llvm/unittests/Support/ |
D | ProcessTest.cpp | 37 EXPECT_TRUE(val.hasValue()); in TEST() 44 EXPECT_FALSE(val.hasValue()); in TEST() 52 EXPECT_TRUE(val.hasValue()); in TEST()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | ConstraintManager.h | 42 return Val.hasValue() && Val.getValue(); in isConstrainedTrue() 47 return Val.hasValue() && !Val.getValue(); in isConstrainedFalse() 52 return Val.hasValue(); in isConstrained() 58 return !Val.hasValue(); in isUnderconstrained()
|
/external/icu/icu4c/source/common/ |
D | stringtriebuilder.cpp | 86 UBool hasValue=FALSE; in writeNode() local 95 hasValue=TRUE; in writeNode() 127 return writeValueAndType(hasValue, value, type); in writeNode() 210 UBool hasValue=FALSE; in makeNode() local 218 hasValue=TRUE; in makeNode() 245 if(hasValue && node!=NULL) { in makeNode() 423 return hasValue==o.hasValue && (!hasValue || value==o.value); in operator ==() 609 offset=builder.writeValueAndType(hasValue, value, length-1); in write() 612 offset=builder.writeValueAndType(hasValue, value, 0); in write()
|
/external/hamcrest/library/src/org/hamcrest/collection/ |
D | IsMapContaining.java | 62 public static <K,V> Matcher<Map<K,V>> hasValue(Matcher<V> valueMatcher) { in hasValue() method in IsMapContaining 67 public static <K,V> Matcher<Map<K,V>> hasValue(V value) { in hasValue() method in IsMapContaining 68 return hasValue(equalTo(value)); in hasValue()
|
/external/llvm/lib/Analysis/ |
D | CFLAliasAnalysis.cpp | 299 if (!MaybeInfo.hasValue()) in tryInterproceduralAnalysis() 314 if (!MaybeInfo.hasValue()) in tryInterproceduralAnalysis() 328 if (!MaybeInfo.hasValue()) in tryInterproceduralAnalysis() 336 if (MaybeRelation.hasValue()) { in tryInterproceduralAnalysis() 366 if (!MaybeRelation.hasValue()) in tryInterproceduralAnalysis() 840 assert(MaybeVal.hasValue()); in addInstructionToGraph() 985 if (Attrs.hasValue()) in buildSetsFrom() 1014 assert(Iter->second.hasValue()); in ensureCached() 1027 if (!MaybeFnA.hasValue() && !MaybeFnB.hasValue()) { in query() 1034 if (MaybeFnA.hasValue()) { in query() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | Optional.h | 125 bool hasValue() const { return hasVal; } in hasValue() function 133 return hasValue() ? getValue() : std::forward<U>(value); in getValueOr() 142 return hasValue() ? std::move(getValue()) : std::forward<U>(value); in getValueOr() 164 return !X.hasValue();
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CharsTrieTest.java | 325 if(!result.hasValue() || result!=trie.current() || value!=trie.getValue()) { in Test37LargeTrie() 684 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 688 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 698 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 702 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 718 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 758 if(!result.hasValue()) { in checkNext() 811 if(resultAtState.hasValue()) { in checkNextWithState() 819 (resultAtState.hasValue() && valueAtState!=trie.getValue()) in checkNextWithState() 823 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() [all …]
|
D | BytesTrieTest.java | 558 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 563 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 578 if( !(result=trie.next(data[i].bytes, 0, stringLength)).hasValue() || in checkNext() 618 if(!result.hasValue()) { in checkNext() 668 if(resultAtState.hasValue()) { in checkNextWithState() 676 (resultAtState.hasValue() && valueAtState!=trie.getValue()) in checkNextWithState() 680 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 685 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
|
D | TrieMap.java | 125 return bytesTrie.current().hasValue() ? intToValue[bytesTrie.getValue()] : null; in get() 136 return result.hasValue() ? intToValue[bytesTrie.getValue()] : null; in get() 241 if (result.hasValue()) { in next() 341 return result.hasValue() ? intToValue[charsTrie.getValue()] : null; in get() 422 if (result.hasValue()) { in next()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CharsTrieTest.java | 329 if(!result.hasValue() || result!=trie.current() || value!=trie.getValue()) { in Test37LargeTrie() 688 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 692 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 702 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 706 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 722 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 762 if(!result.hasValue()) { in checkNext() 815 if(resultAtState.hasValue()) { in checkNextWithState() 823 (resultAtState.hasValue() && valueAtState!=trie.getValue()) in checkNextWithState() 827 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() [all …]
|
D | BytesTrieTest.java | 562 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 567 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 582 if( !(result=trie.next(data[i].bytes, 0, stringLength)).hasValue() || in checkNext() 622 if(!result.hasValue()) { in checkNext() 672 if(resultAtState.hasValue()) { in checkNextWithState() 680 (resultAtState.hasValue() && valueAtState!=trie.getValue()) in checkNextWithState() 684 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 689 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
|
/external/clang/lib/Analysis/ |
D | FormatStringParsing.h | 63 bool hasValue() const { return Start != nullptr; } in hasValue() function 65 assert(hasValue()); in getValue()
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugInfoEntry.cpp | 166 if (Ref.hasValue()) { in dumpAttribute() 265 return Result.hasValue() ? Result.getValue() : FailValue; in getAttributeValueAsString() 274 return Result.hasValue() ? Result.getValue() : FailValue; in getAttributeValueAsAddress() 283 return Result.hasValue() ? Result.getValue() : FailValue; in getAttributeValueAsUnsignedConstant() 292 return Result.hasValue() ? Result.getValue() : FailValue; in getAttributeValueAsReference() 301 return Result.hasValue() ? Result.getValue() : FailValue; in getAttributeValueAsSectionOffset()
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
D | VariantValue.h | 178 return Value->getTypedMatcher(TypedMatcherOps<T>()).hasValue(); in hasTypedMatcher() 261 explicit operator bool() const { return hasValue(); } 262 bool hasValue() const { return Type != VT_Nothing; } in hasValue() function
|
/external/icu/icu4c/source/common/unicode/ |
D | stringtriebuilder.h | 267 ValueNode(int32_t initialHash) : Node(initialHash), hasValue(FALSE), value(0) {} in ValueNode() 270 hasValue=TRUE; in setValue() 275 UBool hasValue; 395 virtual int32_t writeValueAndType(UBool hasValue, int32_t value, int32_t node) = 0;
|
/external/llvm/unittests/ADT/ |
D | SmallVectorTest.cpp | 748 bool hasValue; member 749 MovedFrom() : hasValue(true) { in MovedFrom() 751 MovedFrom(MovedFrom&& m) : hasValue(m.hasValue) { in MovedFrom() 752 m.hasValue = false; in MovedFrom() 755 hasValue = m.hasValue; in operator =() 756 m.hasValue = false; in operator =() 766 EXPECT_TRUE(m.hasValue); in TEST()
|
/external/clang/lib/Lex/ |
D | MacroInfo.cpp | 183 !isPublic.hasValue() || isPublic.getValue()); in getDefinition() 191 if (!isPublic.hasValue()) in getDefinition() 196 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
|
/external/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 1188 if (!MaybeSR.hasValue()) { in run() 1206 Increasing ? SR.LowLimit.hasValue() : SR.HighLimit.hasValue(); in run() 1208 Increasing ? SR.HighLimit.hasValue() : SR.LowLimit.hasValue(); in run() 1379 if (!R1.hasValue()) in IntersectRange() 1438 if (!MaybeLoopStructure.hasValue()) { in runOnLoop() 1458 if (Result.hasValue()) { in runOnLoop() 1461 if (MaybeSafeIterRange.hasValue()) { in runOnLoop() 1468 if (!SafeIterRange.hasValue()) in runOnLoop()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | StatepointLowering.cpp | 154 if (!SpillSlot.hasValue()) in findPreviousSpillSlot() 157 if (MergedResult.hasValue() && *MergedResult != *SpillSlot) in findPreviousSpillSlot() 220 if (!Index.hasValue()) in reservePreviousStackSlotForValue() 513 if (Opt.hasValue()) { in lowerStatepointMetaArgs() 520 if (Opt.hasValue()) { in lowerStatepointMetaArgs() 527 if (Opt.hasValue()) { in lowerStatepointMetaArgs()
|