Home
last modified time | relevance | path

Searched refs:permutation (Results 1 – 6 of 6) sorted by relevance

/frameworks/rs/script_api/
DGenerateStubsWhiteList.cpp326 static bool addFunctionManglingToSet(const FunctionPermutation& permutation, in addFunctionManglingToSet() argument
329 const string& functionName = permutation.getName(); in addFunctionManglingToSet()
334 if (!writeParameters(&stream, permutation.getParams(), apiLevel, intSize)) { in addFunctionManglingToSet()
371 for (auto permutation : spec.getPermutations()) { in addManglingsForSpecification() local
373 if (!addFunctionManglingToSet(*permutation, overloadable, in addManglingsForSpecification()
379 if (!addFunctionManglingToSet(*permutation, overloadable, in addManglingsForSpecification()
444 const FunctionPermutation& permutation) { in generateTestCall() argument
448 const auto ret = permutation.getReturn(); in generateTestCall()
453 *calls << permutation.getName() << "("; in generateTestCall()
457 for (auto p : permutation.getParams()) { in generateTestCall()
[all …]
DGenerateHeaderFiles.cpp202 const FunctionPermutation& permutation) { in writeFunctionPermutation() argument
207 const auto inlineCodeLines = permutation.getInline(); in writeFunctionPermutation()
215 auto ret = permutation.getReturn(); in writeFunctionPermutation()
227 *file << " " << permutation.getName() << "("; in writeFunctionPermutation()
228 const int offset = 4 + permutation.getName().size() + 1; // Size of above in writeFunctionPermutation()
233 for (auto p : permutation.getParams()) { in writeFunctionPermutation()
311 for (auto permutation : spec.getPermutations()) { in writeFunctionSpecification() local
312 writeFunctionPermutation(file, spec, *permutation); in writeFunctionSpecification()
DGenerateTestFiles.cpp167 PermutationWriter(FunctionPermutation& permutation, GeneratedFile* rsFile,
177 PermutationWriter::PermutationWriter(FunctionPermutation& permutation, GeneratedFile* rsFile, in PermutationWriter() argument
179 : mPermutation(permutation), in PermutationWriter()
184 mRsKernelName = "test" + capitalize(permutation.getName()); in PermutationWriter()
188 const string trunk = capitalize(permutation.getNameTrunk()); in PermutationWriter()
192 for (auto p : permutation.getParams()) { in PermutationWriter()
198 mReturnParam = permutation.getReturn(); in PermutationWriter()
1143 for (auto permutation : spec->getPermutations()) { in writeTestFilesForFunction() local
1144 PermutationWriter w(*permutation, &rsFile, &javaFile); in writeTestFilesForFunction()
DGenerateDocumentation.cpp122 static string getDetailedHtmlDeclaration(const FunctionPermutation& permutation) { in getDetailedHtmlDeclaration() argument
124 auto ret = permutation.getReturn(); in getDetailedHtmlDeclaration()
130 stream << " " << permutation.getName() << "("; in getDetailedHtmlDeclaration()
132 for (auto p : permutation.getParams()) { in getDetailedHtmlDeclaration()
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DReshape.cpp358 std::vector<int32_t> permutation(rank); in transposeConstructor() local
359 std::iota(permutation.begin(), permutation.end(), 0); in transposeConstructor()
360 randomShuffle(&permutation); in transposeConstructor()
362 std::copy(permutation.begin(), permutation.end(), in transposeConstructor()
369 op->outputs[0]->dimensions[i] = op->inputs[0]->dimensions[permutation[i]]; in transposeConstructor()
/frameworks/base/core/java/android/view/
DViewGroup.java3547 int[] permutation = new int[childrenCount]; in dispatchProvideStructure()
3551 permutation[j] = getChildDrawingOrder(childrenCount, j); in dispatchProvideStructure()
3552 usedIndices.put(permutation[j], true); in dispatchProvideStructure()
3561 permutation[j] = nextIndex; in dispatchProvideStructure()
3567 final int index = permutation[j]; in dispatchProvideStructure()