Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/regexp/
H A Dregexp-ast.cc47 return ListCaptureRegisters(alternatives()); in CaptureRegisters()
108 ZoneList<RegExpTree*>* alternatives = this->alternatives(); in IsAnchoredAtStart() local
109 for (int i = 0; i < alternatives->length(); i++) { in IsAnchoredAtStart()
110 if (!alternatives->at(i)->IsAnchoredAtStart()) return false; in IsAnchoredAtStart()
117 ZoneList<RegExpTree*>* alternatives = this->alternatives(); in IsAnchoredAtEnd() local
118 for (int i = 0; i < alternatives->length(); i++) { in IsAnchoredAtEnd()
119 if (!alternatives->at(i)->IsAnchoredAtEnd()) return false; in IsAnchoredAtEnd()
158 for (int i = 0; i < that->alternatives() in VisitDisjunction()
306 RegExpDisjunction(ZoneList<RegExpTree*>* alternatives) RegExpDisjunction() argument
[all...]
H A Dregexp-compiler-tonode.cc239 // The generated alternatives are grouped by the leading surrogate to avoid in AddNonBmpSurrogatePairs()
605 ZoneList<RegExpTree*>* alternatives = this->alternatives(); in SortConsecutiveAtoms() local
606 int length = alternatives->length(); in SortConsecutiveAtoms()
610 RegExpTree* alternative = alternatives->at(i); in SortConsecutiveAtoms()
619 RegExpTree* alternative = alternatives->at(i); in SortConsecutiveAtoms()
629 DCHECK_LT(first_atom, alternatives->length()); in SortConsecutiveAtoms()
630 DCHECK_LE(i, alternatives->length()); in SortConsecutiveAtoms()
634 alternatives->StableSort(CompareFirstCharCaseInsensitive, first_atom, in SortConsecutiveAtoms()
643 alternatives in SortConsecutiveAtoms()
656 ZoneList<RegExpTree*>* alternatives = this->alternatives(); RationalizeConsecutiveAtoms() local
754 ZoneList<RegExpTree*>* alternatives = this->alternatives(); RationalizeConsecutiveAtoms() local
822 ZoneList<RegExpTree*>* alternatives = this->alternatives(); RationalizeConsecutiveAtoms() local
[all...]
H A Dregexp-dotprinter.cc105 for (int i = 0; i < that->alternatives()->length(); i++) { in VisitChoice()
106 GuardedAlternative alt = that->alternatives()->at(i); in VisitChoice()
109 for (int i = 0; i < that->alternatives()->length(); i++) { in VisitChoice()
110 GuardedAlternative alt = that->alternatives()->at(i); in VisitChoice()
H A Dregexp-nodes.h613 alternatives()->Add(node, zone()); in AddAlternative()
615 ZoneList<GuardedAlternative>* alternatives() { return alternatives_; } in alternatives() function in v8::internal::ChoiceNode
688 return alternatives()->at(kLookaroundIndex).node(); in lookaround_node()
691 return alternatives()->at(kContinueIndex).node(); in continue_node()
738 // AddAlternative is made private for loop nodes because alternatives
H A Dregexp-ast.h187 explicit RegExpDisjunction(ZoneList<RegExpTree*>* alternatives);
196 ZoneList<RegExpTree*>* alternatives() const { return alternatives_; } in alternatives() function in v8::internal::final
H A Dregexp-compiler.cc1973 // alternatives list. in FilterOneByte()
2656 // This class is used when generating the alternatives in a choice node. It
3116 // At this point we need to generate slow checks for the alternatives where in Emit()
3538 that->info()->AddFromFollowing(that->alternatives()->at(i).node()->info()); in VisitChoice()
3620 *that->alternatives()->at(i).node()->eats_at_least_info()); in VisitChoice()
3729 for (int i = 0; i < that->alternatives()->length(); i++) {
3730 EnsureAnalyzed(that->alternatives()->at(i).node());
3737 DCHECK_EQ(that->alternatives()->length(), 2); // Just loop and continue.
3753 DCHECK_EQ(that->alternatives()->length(), 2); // Lookaround and continue.
3813 ZoneList<GuardedAlternative>* alts = alternatives(); in FillInBMInfo()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DdiscriminantsAndPrimitives.js65 alternatives: string[]
76 n.alternatives.slice()
119 n.alternatives.slice();
/third_party/python/Lib/lib2to3/
H A Dbtm_utils.py27 self.alternatives = []
41 node.alternatives.append(subp)
42 if len(node.alternatives) == len(node.children):
44 subp = [tuple(node.alternatives)]
45 node.alternatives = []
123 #real alternatives
/third_party/vk-gl-cts/framework/opengl/
H A DgluShaderLibrary.hpp133 std::vector<std::string> alternatives; // One or more extensions, at least one (but not all) must be supported member
138 : alternatives (alternatives_) in RequiredExtension()
147 alternatives.push_back(extension); in RequiredExtension()
H A DgluShaderLibrary.cpp1722 extensions[ndx].alternatives.size() == 1); in generateExtensionStatements()
1725 buf << "#extension " << extensions[ndx].alternatives[0] << " : require\n"; in generateExtensionStatements()
/third_party/python/Lib/
H A Dwebbrowser.py45 alternatives = [using]
47 alternatives = _tryorder
48 for browser in alternatives:
/third_party/glfw/src/
H A Dcontext.c184 const _GLFWfbconfig* alternatives, in _glfwChooseFBConfig()
196 current = alternatives + i; in _glfwChooseFBConfig()
183 _glfwChooseFBConfig(const _GLFWfbconfig* desired, const _GLFWfbconfig* alternatives, unsigned int count) _glfwChooseFBConfig() argument
H A Dinternal.h966 const _GLFWfbconfig* alternatives,
/third_party/node/deps/v8/src/regexp/experimental/
H A Dexperimental-compiler.cc49 for (RegExpTree* alt : *node->alternatives()) {
370 ZoneList<RegExpTree*>& alts = *node->alternatives();
/third_party/vk-gl-cts/modules/glshared/
H A DglsShaderLibraryCase.cpp82 for (size_t alternativeNdx = 0; alternativeNdx < extension.alternatives.size(); ++alternativeNdx) in checkAndSpecializeExtensions()
84 if (ctxInfo.isExtensionSupported(extension.alternatives[alternativeNdx].c_str())) in checkAndSpecializeExtensions()
93 specialized.push_back(RequiredExtension(extension.alternatives[supportedAltNdx], extension.effectiveStages)); in checkAndSpecializeExtensions()
100 for (size_t ndx = 0; ndx < extension.alternatives.size(); ++ndx) in checkAndSpecializeExtensions()
104 extensionList << extension.alternatives[ndx]; in checkAndSpecializeExtensions()
107 if (extension.alternatives.size() == 1) in checkAndSpecializeExtensions()
H A DglsBuiltinPrecisionTests.cpp1347 virtual string getName (void) const { return "alternatives"; } in getName()
1409 ExprP<T> alternatives (const ExprP<T>& arg0, in alternatives() function
2531 DEFINE_DERIVED_FLOAT1(ACosh, acosh, x, log(x + sqrt(alternatives((x + constant(1.0f)) * (x - constant(1.0f)),
2995 res = alternatives(res, alt); in doExpand()
3151 return i - alternatives((n * dotNI) * constant(2.0f), in apply()
3163 return i - alternatives(alternatives((n * (n*i)) * constant(2.0f), in apply()
3227 const ExprP<float> k = bindExpression("k", ctx, alternatives(k1, k2)); in doExpand()
3458 DEFINE_DERIVED_FLOAT3(Mix, mix, x, y, a, alternatives((x * (constant(1.0f) - a)) + y * a,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderBuiltinPrecisionTests.cpp1882 virtual string getName (void) const { return "alternatives"; } in getName()
1944 ExprP<T> alternatives (const ExprP<T>& arg0, in alternatives() function
3300 DEFINE_DERIVED_FLOAT1(ACosh, acosh, x, log(x + sqrt(alternatives((x + constant(1.0f)) * (x - constant(1.0f)),
3308 DEFINE_DERIVED_FLOAT1_16BIT(ACosh16Bit, acosh, x, log(x + sqrt(alternatives((x + constant((deFloat16)FLOAT16_1_0)) * (x - constant((deFloat16)FLOAT16_1_0)),
3316 DEFINE_DERIVED_DOUBLE1(ACosh64Bit, acosh, x, log(x + sqrt(alternatives((x + constant(1.0)) * (x - constant(1.0)),
3860 res = alternatives(res, alt); in doExpand()
4096 return i - alternatives((n * dotNI) * getConstTwo<T>(), in doExpand()
4097 alternatives( n * (dotNI * getConstTwo<T>()), in doExpand()
4098 alternatives(n * dot(i * getConstTwo<T>(), n), in doExpand()
4128 return i - alternatives(( in doExpand()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderBuiltinPrecisionTests.cpp1909 virtual string getName (void) const { return "alternatives"; } in getName()
1971 ExprP<T> alternatives (const ExprP<T>& arg0, in alternatives() function
3319 DEFINE_DERIVED_FLOAT1(ACosh, acosh, x, log(x + sqrt(alternatives((x + constant(1.0f)) * (x - constant(1.0f)),
3327 DEFINE_DERIVED_FLOAT1_16BIT(ACosh16Bit, acosh, x, log(x + sqrt(alternatives((x + constant((deFloat16)FLOAT16_1_0)) * (x - constant((deFloat16)FLOAT16_1_0)),
3871 res = alternatives(res, alt); in doExpand()
4107 return i - alternatives((n * dotNI) * getConstTwo<T>(), in doExpand()
4108 alternatives( n * (dotNI * getConstTwo<T>()), in doExpand()
4109 alternatives(n * dot(i * getConstTwo<T>(), n), in doExpand()
4139 return i - alternatives((n * dotNI) * getConstTwo<T>(), in doExpand()
4140 alternatives( in doExpand()
[all...]
/third_party/typescript/lib/
H A DtypingsInstaller.js3411 var alternatives = [];
3431 alternatives.push(comparators);
3433 return alternatives;
3515 function testDisjunction(version, alternatives) {
3517 if (alternatives.length === 0)
3519 for (var _i = 0, alternatives_1 = alternatives; _i < alternatives_1.length; _i++) {
3545 function formatDisjunction(alternatives) {
3546 return ts.map(alternatives, formatAlternative).join(" || ") || "*";
[all...]
H A Dtsc.js2892 var alternatives = [];
2912 alternatives.push(comparators);
2914 return alternatives;
2995 function testDisjunction(version, alternatives) {
2996 if (alternatives.length === 0)
2998 for (var _i = 0, alternatives_1 = alternatives; _i < alternatives_1.length; _i++) {
3024 function formatDisjunction(alternatives) {
3025 return ts.map(alternatives, formatAlternative).join(" || ") || "*";
[all...]
H A Dtsserverlibrary.js3430 var alternatives = [];
3450 alternatives.push(comparators);
3452 return alternatives;
3534 function testDisjunction(version, alternatives) {
3536 if (alternatives.length === 0)
3538 for (var _i = 0, alternatives_1 = alternatives; _i < alternatives_1.length; _i++) {
3564 function formatDisjunction(alternatives) {
3565 return ts.map(alternatives, formatAlternative).join(" || ") || "*";
[all...]
H A Dtypescript.js3421 var alternatives = [];
3441 alternatives.push(comparators);
3443 return alternatives;
3525 function testDisjunction(version, alternatives) {
3527 if (alternatives.length === 0)
3529 for (var _i = 0, alternatives_1 = alternatives; _i < alternatives_1.length; _i++) {
3555 function formatDisjunction(alternatives) {
3556 return ts.map(alternatives, formatAlternative).join(" || ") || "*";
[all...]
H A DtypescriptServices.js3421 var alternatives = [];
3441 alternatives.push(comparators);
3443 return alternatives;
3525 function testDisjunction(version, alternatives) {
3527 if (alternatives.length === 0)
3529 for (var _i = 0, alternatives_1 = alternatives; _i < alternatives_1.length; _i++) {
3555 function formatDisjunction(alternatives) {
3556 return ts.map(alternatives, formatAlternative).join(" || ") || "*";
[all...]
H A Dtsserver.js3431 var alternatives = [];
3451 alternatives.push(comparators);
3453 return alternatives;
3535 function testDisjunction(version, alternatives) {
3537 if (alternatives.length === 0)
3539 for (var _i = 0, alternatives_1 = alternatives; _i < alternatives_1.length; _i++) {
3565 function formatDisjunction(alternatives) {
3566 return ts.map(alternatives, formatAlternative).join(" || ") || "*";
[all...]
/third_party/node/test/fixtures/snapshot/
H A Dtypescript.js3474 var alternatives = [];
3494 alternatives.push(comparators);
3496 return alternatives;
3577 function testDisjunction(version, alternatives) {
3579 if (alternatives.length === 0)
3581 for (var _i = 0, alternatives_1 = alternatives; _i < alternatives_1.length; _i++) {
3607 function formatDisjunction(alternatives) {
3608 return ts.map(alternatives, formatAlternative).join(" || ") || "*";
[all...]

Completed in 263 milliseconds