/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/ |
D | SupplementalDataTest.java | 52 assertThat(fakeData.getExplicitParentLocaleOf("en_GB")).hasValue("en_001"); in testGetParent_explicit() 53 assertThat(fakeData.getExplicitParentLocaleOf("en_AU")).hasValue("en_001"); in testGetParent_explicit() 86 assertThat(fakeData.maximize("en")).hasValue("en_Latn_US"); in testMaximize() 87 assertThat(fakeData.maximize("en_GB")).hasValue("en_Latn_GB"); in testMaximize() 88 assertThat(fakeData.maximize("en_VARIANT")).hasValue("en_Latn_US_VARIANT"); in testMaximize() 90 assertThat(fakeData.maximize("pt")).hasValue("pt_Latn_BR"); in testMaximize() 91 assertThat(fakeData.maximize("pt_PT")).hasValue("pt_Latn_PT"); in testMaximize() 92 assertThat(fakeData.maximize("und")).hasValue("en_Latn_US"); in testMaximize() 152 assertThat(fakeData.getDefaultCalendar("root")).hasValue("gregorian"); in testGetDefaultCalendar() 156 assertThat(fakeData.getDefaultCalendar("uz_AF")).hasValue("persian"); in testGetDefaultCalendar() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | Optional.h | 49 if (other.hasValue()) { in OptionalStorage() 54 if (other.hasValue()) { in OptionalStorage() 70 bool hasValue() const noexcept { return hasVal; } in hasValue() function 94 if (hasValue()) { 103 if (hasValue()) { 113 if (other.hasValue()) { 114 if (hasValue()) { 127 if (other.hasValue()) { 128 if (hasValue()) { 170 bool hasValue() const noexcept { return hasVal; } in hasValue() function [all …]
|
/third_party/skia/src/sksl/ |
D | SkSLDSLParser.cpp | 435 if (!value.hasValue()) { in parseInitializer() 918 if (!test.hasValue()) { in ifStatement() 925 if (!ifTrue.hasValue()) { in ifStatement() 931 if (!ifFalse.hasValue()) { in ifStatement() 937 ifFalse.hasValue() ? std::move(ifFalse) : DSLStatement(), this->position(start)); in ifStatement() 940 ifFalse.hasValue() ? std::move(ifFalse) : DSLStatement(), this->position(start)); in ifStatement() 951 if (!statement.hasValue()) { in doStatement() 961 if (!test.hasValue()) { in doStatement() 983 if (!test.hasValue()) { in whileStatement() 990 if (!statement.hasValue()) { in whileStatement() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | StringTrieBuilder.java | 266 hasValue=true; in ValueNode() 270 assert(!hasValue); in setValue() 271 hasValue=true; in setValue() 275 hasValue=true; in setFinalValue() 281 if(hasValue) { in hashCode() 295 return hasValue==o.hasValue && (!hasValue || value==o.value); in equals() 312 protected boolean hasValue; field in StringTrieBuilder.ValueNode 383 if(hasValue) { in add() 410 if(hasValue) { in add() 414 hasValue=false; in add() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | StringTrieBuilder.java | 267 hasValue=true; in ValueNode() 271 assert(!hasValue); in setValue() 272 hasValue=true; in setValue() 276 hasValue=true; in setFinalValue() 282 if(hasValue) { in hashCode() 296 return hasValue==o.hasValue && (!hasValue || value==o.value); in equals() 313 protected boolean hasValue; field in StringTrieBuilder.ValueNode 384 if(hasValue) { in add() 411 if(hasValue) { in add() 415 hasValue=false; in add() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCSymbolWasm.h | 75 if (ImportModule.hasValue()) { in getImportModule() 82 bool hasImportName() const { return ImportName.hasValue(); } in hasImportName() 84 if (ImportName.hasValue()) { in getImportName() 91 bool hasExportName() const { return ExportName.hasValue(); } in hasExportName() 102 assert(GlobalType.hasValue()); in getGlobalType() 108 assert(EventType.hasValue()); in getEventType()
|
D | MCSymbolXCOFF.h | 28 assert((!StorageClass.hasValue() || StorageClass.getValue() == SC) && in setStorageClass() 34 assert(StorageClass.hasValue() && in getStorageClass()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/ |
D | FunctionInfo.h | 105 return OptLineTable.hasValue() || Inline.hasValue(); in hasRichInfo() 205 if (LHS.Inline.hasValue() != RHS.Inline.hasValue()) 206 return RHS.Inline.hasValue();
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/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() 157 return X.hasValue() == Y.hasValue(); 169 return X.hasValue() < Y.hasValue(); 212 return X.hasValue();
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CFLSteensAliasAnalysis.cpp | 168 if (RetInfo.hasValue()) in FunctionInfo() 177 if (ParamInfo.hasValue()) in FunctionInfo() 253 assert(Iter->second.hasValue()); in ensureCached() 260 if (FunInfo.hasValue()) in getAliasSummary() 296 assert(MaybeInfo.hasValue()); in query() 300 if (!MaybeA.hasValue()) in query() 304 if (!MaybeB.hasValue()) in query()
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | stringtriebuilder.cpp | 88 UBool hasValue=FALSE; in writeNode() local 97 hasValue=TRUE; in writeNode() 129 return writeValueAndType(hasValue, value, type); in writeNode() 212 UBool hasValue=FALSE; in makeNode() local 220 hasValue=TRUE; in makeNode() 247 if(hasValue && node!=NULL) { in makeNode() 425 return hasValue==o.hasValue && (!hasValue || value==o.value); in operator ==() 611 offset=builder.writeValueAndType(hasValue, value, length-1); in write() 614 offset=builder.writeValueAndType(hasValue, value, 0); in write()
|
/third_party/node/deps/icu-small/source/common/ |
D | stringtriebuilder.cpp | 88 UBool hasValue=FALSE; in writeNode() local 97 hasValue=TRUE; in writeNode() 129 return writeValueAndType(hasValue, value, type); in writeNode() 212 UBool hasValue=FALSE; in makeNode() local 220 hasValue=TRUE; in makeNode() 247 if(hasValue && node!=NULL) { in makeNode() 425 return hasValue==o.hasValue && (!hasValue || value==o.value); in operator ==() 611 offset=builder.writeValueAndType(hasValue, value, length-1); in write() 614 offset=builder.writeValueAndType(hasValue, value, 0); in write()
|
/third_party/icu/icu4c/source/common/ |
D | stringtriebuilder.cpp | 88 UBool hasValue=FALSE; in writeNode() local 97 hasValue=TRUE; in writeNode() 129 return writeValueAndType(hasValue, value, type); in writeNode() 212 UBool hasValue=FALSE; in makeNode() local 220 hasValue=TRUE; in makeNode() 247 if(hasValue && node!=NULL) { in makeNode() 425 return hasValue==o.hasValue && (!hasValue || value==o.value); in operator ==() 611 offset=builder.writeValueAndType(hasValue, value, length-1); in write() 614 offset=builder.writeValueAndType(hasValue, value, 0); in write()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | stringtriebuilder.cpp | 88 UBool hasValue=FALSE; in writeNode() local 97 hasValue=TRUE; in writeNode() 129 return writeValueAndType(hasValue, value, type); in writeNode() 212 UBool hasValue=FALSE; in makeNode() local 220 hasValue=TRUE; in makeNode() 247 if(hasValue && node!=NULL) { in makeNode() 425 return hasValue==o.hasValue && (!hasValue || value==o.value); in operator ==() 611 offset=builder.writeValueAndType(hasValue, value, length-1); in write() 614 offset=builder.writeValueAndType(hasValue, value, 0); in write()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MapEntry.java | 248 private boolean hasValue; field in MapEntry.Builder 254 private Builder(Metadata<K, V> metadata, K key, V value, boolean hasKey, boolean hasValue) { in Builder() argument 259 this.hasValue = hasValue; in Builder() 284 this.hasValue = true; in setValue() 290 this.hasValue = false; in clearValue() 410 return field.getNumber() == 1 ? hasKey : hasValue; in hasField() 442 return new Builder<>(metadata, key, value, hasKey, hasValue); in clone()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | MemoryLocation.h | 119 if (!hasValue() || !Other.hasValue()) in unionWith() 125 bool hasValue() const { return Value != Unknown; } in hasValue() function 127 assert(hasValue() && "Getting value from an unknown LocationSize!"); in getValue() 138 bool isZero() const { return hasValue() && getValue() == 0; } in isZero()
|
/third_party/skia/include/sksl/ |
D | DSLStatement.h | 55 bool hasValue() { return fStatement != nullptr; } in hasValue() function 58 SkASSERT(this->hasValue()); in release() 93 bool hasValue() { return fStatement != nullptr; } in hasValue() function
|
/third_party/skia/src/sksl/dsl/ |
D | DSLStatement.cpp | 40 SkASSERT(this->hasValue()); in DSLStatement() 45 SkASSERT(this->hasValue()); in DSLStatement() 53 if (stmt.hasValue()) { in DSLStatement()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | CharsTrieTest.java | 345 if(!result.hasValue() || result!=trie.current() || value!=trie.getValue()) { in Test37LargeTrie() 734 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 738 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 748 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 752 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 768 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 808 if(!result.hasValue()) { in checkNext() 861 if(resultAtState.hasValue()) { in checkNextWithState() 869 (resultAtState.hasValue() && valueAtState!=trie.getValue()) in checkNextWithState() 873 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() [all …]
|
D | BytesTrieTest.java | 605 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 610 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 625 if( !(result=trie.next(data[i].bytes, 0, stringLength)).hasValue() || in checkNext() 665 if(!result.hasValue()) { in checkNext() 715 if(resultAtState.hasValue()) { in checkNextWithState() 723 (resultAtState.hasValue() && valueAtState!=trie.getValue()) in checkNextWithState() 727 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 732 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 763 if(resultAtState.hasValue()) { in checkNextWithState64() 771 (resultAtState.hasValue() && valueAtState!=trie.getValue()) in checkNextWithState64() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CharsTrieTest.java | 342 if(!result.hasValue() || result!=trie.current() || value!=trie.getValue()) { in Test37LargeTrie() 731 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 735 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 745 firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 749 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 765 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 805 if(!result.hasValue()) { in checkNext() 858 if(resultAtState.hasValue()) { in checkNextWithState() 866 (resultAtState.hasValue() && valueAtState!=trie.getValue()) in checkNextWithState() 870 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() [all …]
|
D | BytesTrieTest.java | 639 int firstValue=firstResult.hasValue() ? trie.getValue() : -1; in checkFirst() 644 firstValue!=(firstResult.hasValue() ? trie.getValue() : -1) || in checkFirst() 659 if( !(result=trie.next(data[i].bytes, 0, stringLength)).hasValue() || in checkNext() 699 if(!result.hasValue()) { in checkNext() 749 if(resultAtState.hasValue()) { in checkNextWithState() 757 (resultAtState.hasValue() && valueAtState!=trie.getValue()) in checkNextWithState() 761 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 766 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 797 if(resultAtState.hasValue()) { in checkNextWithState64() 805 (resultAtState.hasValue() && valueAtState!=trie.getValue()) in checkNextWithState64() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | SymbolSerializer.cpp | 27 assert(!CurrentSymbol.hasValue() && "Already in a symbol mapping!"); in visitSymbolBegin() 42 assert(CurrentSymbol.hasValue() && "Not in a symbol mapping!"); in visitSymbolEnd()
|
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/model/ |
D | FormatSpecTest.java | 91 assertThat(t.getXmlPrefix()).hasValue("($NP) $FG"); in testTemplate_splitPrefix() 111 assertThat(t.getXmlPrefix()).hasValue("123 $FG"); in testTemplate_replacementNoNationalPrefix() 121 assertThat(t.getXmlPrefix()).hasValue("$NP123 $FG"); in testTemplate_replacementWithNationalPrefix()
|
/third_party/icu/icu4c/source/common/unicode/ |
D | stringtriebuilder.h | 282 ValueNode(int32_t initialHash) : Node(initialHash), hasValue(false), value(0) {} in ValueNode() 285 hasValue=true; in setValue() 290 UBool hasValue; 417 virtual int32_t writeValueAndType(UBool hasValue, int32_t value, int32_t node) = 0;
|