Lines Matching refs:replacementIndexes
422 int replacementIndexes[MAX_REPLACEABLES]) const { in expandString()
424 s = stringReplace(s, "#1", mReplaceables[0][replacementIndexes[0]]); in expandString()
427 s = stringReplace(s, "#2", mReplaceables[1][replacementIndexes[1]]); in expandString()
430 s = stringReplace(s, "#3", mReplaceables[2][replacementIndexes[2]]); in expandString()
433 s = stringReplace(s, "#4", mReplaceables[3][replacementIndexes[3]]); in expandString()
439 int replacementIndexes[MAX_REPLACEABLES], in expandStringVector()
443 out->push_back(expandString(*iter, replacementIndexes)); in expandStringVector()
459 int replacementIndexes[MAX_REPLACEABLES]; in createPermutations() local
461 for (replacementIndexes[3] = start[3]; replacementIndexes[3] < end[3]; in createPermutations()
462 replacementIndexes[3]++) { in createPermutations()
463 for (replacementIndexes[2] = start[2]; replacementIndexes[2] < end[2]; in createPermutations()
464 replacementIndexes[2]++) { in createPermutations()
465 for (replacementIndexes[1] = start[1]; replacementIndexes[1] < end[1]; in createPermutations()
466 replacementIndexes[1]++) { in createPermutations()
467 for (replacementIndexes[0] = start[0]; replacementIndexes[0] < end[0]; in createPermutations()
468 replacementIndexes[0]++) { in createPermutations()
469 auto p = new FunctionPermutation(function, this, replacementIndexes, scanner); in createPermutations()
477 string FunctionSpecification::getName(int replacementIndexes[MAX_REPLACEABLES]) const { in getName()
478 return expandString(mUnexpandedName, replacementIndexes); in getName()
481 void FunctionSpecification::getReturn(int replacementIndexes[MAX_REPLACEABLES], in getReturn()
483 *retType = expandString(mReturn->type, replacementIndexes); in getReturn()
487 void FunctionSpecification::getParam(size_t index, int replacementIndexes[MAX_REPLACEABLES], in getParam()
491 *type = expandString(p->type, replacementIndexes); in getParam()
493 *testOption = expandString(p->testOption, replacementIndexes); in getParam()
497 void FunctionSpecification::getInlines(int replacementIndexes[MAX_REPLACEABLES], in getInlines()
499 expandStringVector(mInline, replacementIndexes, inlines); in getInlines()
615 int replacementIndexes[MAX_REPLACEABLES], Scanner* scanner) in FunctionPermutation()
620 mName = spec->getName(replacementIndexes); in FunctionPermutation()
624 spec->getInlines(replacementIndexes, &mInline); in FunctionPermutation()
630 spec->getParam(i, replacementIndexes, &type, &name, &testOption, &lineNumber); in FunctionPermutation()
652 spec->getReturn(replacementIndexes, &retType, &lineNumber); in FunctionPermutation()