Home
last modified time | relevance | path

Searched refs:checkState (Results 1 – 25 of 38) sorted by relevance

12

/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
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(currentValue.isEmpty()); in processLine()
[all …]
DDebugWriter.java4 import static com.google.common.base.Preconditions.checkState;
69 checkState(cldrPath != null, in writeMultipleForDebugging()
DRbPath.java7 import static com.google.common.base.Preconditions.checkState;
180 checkState(length() > 0, "cannot get parent of the empty path"); in getParent()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
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(node != null && supportedNodes.size() == 1, in writeSupported()
[all …]
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);
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()
DLocaleDistanceMapper.java7 import static com.google.common.base.Preconditions.checkState;
377checkState(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/protobuf/js/experimental/runtime/kernel/
Dfield.js9 const {checkDefAndNotNull, checkState} = goog.require('protobuf.internal.checks');
91 checkState(
152 checkState(this.decodedValue_ !== undefined);
184 checkState(
Dbuffer_decoder.js9 const {POLYFILL_TEXT_ENCODING, checkCriticalPositionIndex, checkCriticalState, checkState} = goog.r…
298 checkState(
302 checkState(length >= 0, `Length: ${length}`);
303 checkState(
Dreader.js9 const {checkState} = goog.require('protobuf.internal.checks');
334 checkState(bufferDecoder.cursor() > 0);
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayFBOIncompleteness.cpp67 glw::GLboolean TextureCubeMapArrayFBOIncompleteness::checkState(glw::GLint expected_state, const ch… in checkState() function in glcts::TextureCubeMapArrayFBOIncompleteness
193 …result = checkState(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment of an invalid texture layer … in iterate()
252checkState(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment of too many layers to a layered frame… in iterate()
276 result = checkState(m_glExtTokens.FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS, in iterate()
DesextcTextureCubeMapArrayFBOIncompleteness.hpp77 glw::GLboolean checkState(glw::GLint expectedState, const char* message);
/third_party/skia/third_party/externals/angle2/third_party/bazel/desugar/
Dstateful-lambdas.patch7checkState(this.originalInternalName == null, "not intended for reuse but reused for %s", name);
27 - checkState(
32 checkState(
55 checkState(capturedTypes.length == 0);
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
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/
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()
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()
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/lzma/CPP/Windows/Control/
DDialog.h96 bool CheckButton(int buttonID, UINT checkState) in CheckButton() argument
97 { return BOOLToBool(CheckDlgButton(_window, buttonID, checkState)); } in CheckButton()
98 bool CheckButton(int buttonID, bool checkState) in CheckButton() argument
99 { return CheckButton(buttonID, UINT(checkState ? BST_CHECKED : BST_UNCHECKED)); } in CheckButton()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/i18n/
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/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
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/ant/
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/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/
DVarString.java6 import static com.google.common.base.Preconditions.checkState;
83 checkState(varMap.keySet().equals(requiredChars), "unresolved variable string: %s", this); in get()
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/
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()
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DTrieTest.java5 import static com.google.common.base.Preconditions.checkState;
157 checkState(sb.length() > 0 && sb.charAt(sb.length() - 1) == '-'); in getRawTrieTable()

12