Home
last modified time | relevance | path

Searched refs:checkState (Results 1 - 25 of 43) sorted by relevance

12

/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
H A DIcuDataDumper.java9 import static com.google.common.base.Preconditions.checkState;
92 checkState(allPaths.get(k).equals(values), "inconsistent data for path: ", k); in walkDirectory()
152 checkState(lastType == LineType.GROUP_END); in parse()
153 checkState(!inBlockComment); in parse()
154 checkState(name != null); in parse()
155 checkState(pathStack.isEmpty() && inFinalGroup); in parse()
156 checkState(wrappedValue.isEmpty() && currentValue.isEmpty()); in parse()
180 checkState(match.getType().isValidTransitionFrom(lastType), in processLine()
195 checkState(line.indexOf("*/") == line.length() - 2, in processLine()
208 checkState(currentValu in processLine()
[all...]
H A DDebugWriter.java4 import static com.google.common.base.Preconditions.checkState;
69 checkState(cldrPath != null, in writeMultipleForDebugging()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
H A DDistanceTable.java6 import static com.google.common.base.Preconditions.checkState;
98 checkState(defLangNode != null, "missing default language mapping: %s", rootNode); in build()
100 checkState(defScriptNode != null, "missing default script mapping: %s", rootNode); in build()
102 checkState(defRegionNode != null, "missing default region mapping: %s", rootNode); in build()
134 checkState(defRegionNode != null, in pruneDefaultDistances()
149 checkState(defScriptNode != null, in pruneDefaultDistances()
164 checkState(rootNode.getAnyNode().subtables.isEmpty(), in pruneDefaultDistances()
304 checkState(wildcardMatch != null, "missing <ANY,ANY> mapping: %s", this); in getIntermediateNode()
317 checkState(subtables.isEmpty()); in copySubtablesFrom()
348 checkState(nod in writeSupported()
[all...]
H A DTrie.java6 import static com.google.common.base.Preconditions.checkState;
62 checkState(!prefix.isEmpty(), "invalid subtag: %s", prefix); in Span()
63 checkState(index + prefix.length() <= spanBytes.length, "span too long"); in Span()
95 checkState(index > 0, "missing prefix for value: %s", value); in putPrefixAndValue()
H A DPartitionInfo.java6 import static com.google.common.base.Preconditions.checkState;
81 checkState(variable.startsWith("$") && !variable.startsWith("$!"), in addVariableExpression()
83 checkState(!isKnownVariableOrWildcard(variable), in addVariableExpression()
271 checkState(partitionChar < 0x7f, "too many partitions: %s", i); in mapLeafRegionsToPartitionIds()
348 checkState(i <= 0x7f, "too many partition groups: %s", i); in writePartitionLookupTable()
374 checkState(partitionLookupArray[0] == 0); in writePartitionLookupTable()
H A DLocaleDistanceMapper.java7 import static com.google.common.base.Preconditions.checkState;
377 checkState(rules.stream().distinct().count() == rules.size(), "duplicated rule in: %s", rules); in buildDistanceData()
404 checkState(cldrValue != null, in getParadigmLsrs()
407 checkState(localesList != null, in getParadigmLsrs()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/
H A DRegexGenerator.java65 Preconditions.checkState(!this.useDotMatch, "Dot-matching already enabled"); in withDotMatch()
75 Preconditions.checkState(!this.factorizeDfa, "Length based factorizing already enabled"); in withDfaFactorization()
86 Preconditions.checkState(!this.optimizeSubgroups, "Subgroup optimization already enabled"); in withSubgroupOptimization()
96 Preconditions.checkState(!this.optimizeTail, "Tail optimization already enabled"); in withTailOptimization()
H A DEdgeWriter.java20 import static com.google.common.base.Preconditions.checkState;
176 checkState(path != null, "path should never be null at start of recursion"); in visit()
186 checkState(path != null, "path should never be null at start of recursion"); in visitSequence()
202 checkState(path != null, "path should never be null at start of recursion"); in visitGroup()
210 checkState(isOptional, "single edge disjunctions should be optional"); in visitGroup()
H A DRangeTreeConverter.java19 import static com.google.common.base.Preconditions.checkState;
93 checkState(target.equals(Node.TERMINAL) && epsilon.equals(Edge.epsilon()), in visit()
H A DEdge.java126 Preconditions.checkState(!allEdges.contains(EPSILON)); in disjunction()
160 Preconditions.checkState(digitMask != 0, "cannot make epsilon optional"); in optional()
161 Preconditions.checkState(!isOptional, "edge already optional"); in optional()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArrayFBOIncompleteness.cpp67 glw::GLboolean TextureCubeMapArrayFBOIncompleteness::checkState(glw::GLint expected_state, const char* message) in checkState() function in glcts::TextureCubeMapArrayFBOIncompleteness
193 result = checkState(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment of an invalid texture layer "); in iterate()
252 checkState(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment of too many layers to a layered framebuffer "); in iterate()
276 result = checkState(m_glExtTokens.FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS, in iterate()
H A DesextcTextureCubeMapArrayFBOIncompleteness.hpp77 glw::GLboolean checkState(glw::GLint expectedState, const char* message);
/third_party/protobuf/js/experimental/runtime/kernel/
H A Dbuffer_decoder.js9 const {POLYFILL_TEXT_ENCODING, checkCriticalPositionIndex, checkCriticalState, checkState} = goog.require('protobuf.internal.checks');
298 checkState(
302 checkState(length >= 0, `Length: ${length}`);
303 checkState(
H A Dreader.js9 const {checkState} = goog.require('protobuf.internal.checks');
334 checkState(bufferDecoder.cursor() > 0);
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
H A DFakeResult.java5 import static com.google.common.base.Preconditions.checkState;
86 checkState(signum != 0 || this == other, in compareTo()
98 checkState(!isEqual || this == other, in equals()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
H A DPluralsMapper.java5 import static com.google.common.base.Preconditions.checkState;
99 checkState(!rules.isEmpty(), "missing rule data for plurals"); in addRules()
125 checkState(!locales.isEmpty(), "missing locale data for plurals: %s", prefix); in Rules()
H A DLocaleMapper.java6 import static com.google.common.base.Preconditions.checkState;
88 checkState(!parent.isAnonymous(), "anonymous paths must not be nested: %s", rbPath); in collectResultPath()
122 checkState(valuesToHack.size() == 12, in doDateTimeHack()
H A DAbstractPathValueMapper.java7 import static com.google.common.base.Preconditions.checkState;
69 checkState(resultsByRbPath.isEmpty(), in addIcuData()
221 checkState(src != null, "recursive alias resolution is not supported"); in parse()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/i18n/
H A DPhoneRegion.java19 import static com.google.common.base.Preconditions.checkState;
90 checkState(!equals(getWorld()), "cannot ask for display name of 'world' region"); in getEnglishNameForXmlComments()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/
H A DCleanOutputDirectoryTask.java6 import static com.google.common.base.Preconditions.checkState;
77 checkState(Iterables.getLast(headerLines).equals(WAS_GENERATED_LABEL), in CleanOutputDirectoryTask()
80 checkState(MAX_HEADER_CHECK_LINES >= headerLines.size() + 5, in CleanOutputDirectoryTask()
198 checkState(forceDelete, "unexpected flag state (forceDelete should be true here)"); in execute()
/third_party/lzma/CPP/Windows/Control/
H A DDialog.h97 bool CheckButton(unsigned buttonID, UINT checkState) in CheckButton() argument
98 { return BOOLToBool(CheckDlgButton(_window, (int)buttonID, checkState)); } in CheckButton()
99 bool CheckButton(unsigned buttonID, bool checkState) in CheckButton() argument
100 { return CheckButton(buttonID, UINT(checkState ? BST_CHECKED : BST_UNCHECKED)); } in CheckButton()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
H A DTypes.java20 import static com.google.common.base.Preconditions.checkState;
83 checkState(type.name().startsWith("XML_"), "Bad type: %s", type); in toXmlName()
89 checkState(type.name().startsWith("SC_"), "Bad type: %s", type); in toXmlName()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/
H A DVarString.java6 import static com.google.common.base.Preconditions.checkState;
83 checkState(varMap.keySet().equals(requiredChars), "unresolved variable string: %s", this); in get()
H A DResultSpec.java9 import static com.google.common.base.Preconditions.checkState;
363 checkState(pathMatcher.find(), in maybeRewriteFallbackSpec()
377 checkState(groupIds.size() < 10, in maybeRewriteFallbackSpec()
388 checkState(newPlaceholderIndex != -1, in maybeRewriteFallbackSpec()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDepthStencilStateTests.cpp482 wgpu::DepthStencilState checkState; in TEST_P() local
483 checkState.depthWriteEnabled = false; in TEST_P()
484 checkState.depthCompare = wgpu::CompareFunction::Equal; in TEST_P()
485 checkState.stencilBack = stencilFace; in TEST_P()
486 checkState.stencilFront = stencilFace; in TEST_P()
487 checkState.stencilReadMask = 0xff; in TEST_P()
488 checkState.stencilWriteMask = 0xff; in TEST_P()
496 {checkState, RGBA8(0, 255, 0, 255), 1.f, in TEST_P()

Completed in 15 milliseconds

12