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

1234

/external/deqp/modules/glshared/
H A DglsInteractionTestUtil.cpp47 float r = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components));
48 float g = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components));
49 float b = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components));
50 float a = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components));
174 state.stencil[ndx].function = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs));
177 state.stencil[ndx].stencilFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps));
178 state.stencil[ndx].depthFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps));
179 state.stencil[ndx].depthPassOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps));
186 state.depthFunc = rnd.choose<deUint32>(DE_ARRAY_BEGIN(compareFuncs), DE_ARRAY_END(compareFuncs));
194 state.blendRGBState.equation = rnd.choose<deUint3
[all...]
H A DglsRandomUniformBlockCase.cpp107 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end());
112 layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(matrixCandidates)]);
233 glu::DataType type = rnd.choose<glu::DataType>(typeCandidates.begin(), typeCandidates.end());
240 flags |= rnd.choose<deUint32>(&precisionCandidates[0], &precisionCandidates[DE_LENGTH_OF_ARRAY(precisionCandidates)]);
/external/deqp/framework/delibs/decpp/
H A DdeRandom.hpp58 void choose (InputIter first, InputIter last, OutputIter result, int numItems);
61 T choose (InputIter first, InputIter last);
103 void Random::choose (InputIter first, InputIter last, OutputIter result, int numItems) function in class:de::Random
126 T Random::choose (InputIter first, InputIter last) function in class:de::Random
130 choose(first, last, &val, 1);
H A DdeRandom.cpp107 // choose(first, last, resultOut, num)
130 rnd.choose(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items), &itemsDst[0], numItemsPicked);
136 // choose(first, last)
144 DE_TEST_ASSERT(expected[i] == rnd.choose<int>(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items)));
H A DdeSpinBarrier.cpp230 return rnd.choose<SpinBarrier::WaitMode>(DE_ARRAY_BEGIN(s_allModes), DE_ARRAY_BEGIN(s_allModes) + numModes);
/external/skia/src/core/
H A DSkAutoBlitterChoose.h31 void choose(const SkPixmap& dst, const SkMatrix& matrix, function in class:SkAutoBlitterChoose
/external/skqp/src/core/
H A DSkAutoBlitterChoose.h31 void choose(const SkPixmap& dst, const SkMatrix& matrix, function in class:SkAutoBlitterChoose
/external/python/cpython2/Lib/test/
H A Dtest_pkgimport.py10 self.package_name += random.choose(string.letters)
62 var += random.choose(string.letters)
/external/python/cpython3/Lib/test/
H A Dtest_pkgimport.py17 self.package_name += random.choose(string.ascii_letters)
63 var += random.choose(string.ascii_letters)
/external/deqp/external/vulkancts/modules/vulkan/ubo/
H A DvktRandomUniformBlockCase.cpp116 layoutFlags |= rnd.choose<deUint32>(layoutFlagCandidates.begin(), layoutFlagCandidates.end());
121 layoutFlags |= rnd.choose<deUint32>(&matrixCandidates[0], &matrixCandidates[DE_LENGTH_OF_ARRAY(matrixCandidates)]);
226 glu::DataType type = rnd.choose<glu::DataType>(typeCandidates.begin(), typeCandidates.end());
233 flags |= rnd.choose<deUint32>(&precisionCandidates[0], &precisionCandidates[DE_LENGTH_OF_ARRAY(precisionCandidates)]);
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrConversionTests.cpp1150 const glu::ShaderType shaderType (rng.choose<glu::ShaderType>(DE_ARRAY_BEGIN(shaderTypes), DE_ARRAY_END(shaderTypes)));
1151 const vk::VkSamplerYcbcrRange colorRange (rng.choose<RangeNamePair, const RangeNamePair*>(DE_ARRAY_BEGIN(colorRanges), DE_ARRAY_END(colorRanges)).value);
1152 const vk::VkChromaLocation chromaLocation (rng.choose<ChromaLocationNamePair, const ChromaLocationNamePair*>(DE_ARRAY_BEGIN(chromaLocations), DE_ARRAY_END(chromaLocations)).value);
1189 const glu::ShaderType shaderType (rng.choose<glu::ShaderType>(DE_ARRAY_BEGIN(shaderTypes), DE_ARRAY_END(shaderTypes)));
1190 const vk::VkChromaLocation chromaLocation (rng.choose<ChromaLocationNamePair, const ChromaLocationNamePair*>(DE_ARRAY_BEGIN(chromaLocations), DE_ARRAY_END(chromaLocations)).value);
1240 const vk::VkSamplerYcbcrRange colorRange (rng.choose<RangeNamePair, const RangeNamePair*>(DE_ARRAY_BEGIN(colorRanges), DE_ARRAY_END(colorRanges)).value);
1241 const glu::ShaderType shaderType (rng.choose<glu::ShaderType>(DE_ARRAY_BEGIN(shaderTypes), DE_ARRAY_END(shaderTypes)));
1242 const vk::VkChromaLocation yChromaOffset (rng.choose<ChromaLocationNamePair, const ChromaLocationNamePair*>(DE_ARRAY_BEGIN(chromaLocations), DE_ARRAY_END(chromaLocations)).value);
1270 const glu::ShaderType shaderType (rng.choose<glu::ShaderType>(DE_ARRAY_BEGIN(shaderTypes), DE_ARRAY_END(shaderTypes)));
1271 const vk::VkChromaLocation yChromaOffset (rng.choose<ChromaLocationNamePai
[all...]
/external/syslinux/com32/lua/test/
H A Dautomenu.lua104 local function choose (params) function
145 choose (params)
150 choose = choose,
/external/walt/docs/
H A DPrivacyPolicy.md10 If you choose to opt-in to uploading the logs, please note that the logs can (and likely will) become publicly available to all.
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassTests.cpp4738 const VkFormat format = rng.choose<VkFormat>(DE_ARRAY_BEGIN(s_coreColorFormats), DE_ARRAY_END(s_coreColorFormats));
4739 const VkAttachmentLoadOp loadOp = rng.choose<VkAttachmentLoadOp>(DE_ARRAY_BEGIN(loadOps), DE_ARRAY_END(loadOps));
4740 const VkAttachmentStoreOp storeOp = rng.choose<VkAttachmentStoreOp>(DE_ARRAY_BEGIN(storeOps), DE_ARRAY_END(storeOps));
4742 const VkImageLayout initialLayout = rng.choose<VkImageLayout>(DE_ARRAY_BEGIN(initialAndFinalColorLayouts), DE_ARRAY_END(initialAndFinalColorLayouts));
4743 const VkImageLayout finalizeLayout = rng.choose<VkImageLayout>(DE_ARRAY_BEGIN(initialAndFinalColorLayouts), DE_ARRAY_END(initialAndFinalColorLayouts));
4744 const VkImageLayout subpassLayout = rng.choose<VkImageLayout>(DE_ARRAY_BEGIN(subpassLayouts), DE_ARRAY_END(subpassLayouts));
4746 const VkAttachmentLoadOp stencilLoadOp = rng.choose<VkAttachmentLoadOp>(DE_ARRAY_BEGIN(loadOps), DE_ARRAY_END(loadOps));
4747 const VkAttachmentStoreOp stencilStoreOp = rng.choose<VkAttachmentStoreOp>(DE_ARRAY_BEGIN(storeOps), DE_ARRAY_END(storeOps));
4756 const VkFormat format = rng.choose<VkFormat>(DE_ARRAY_BEGIN(s_coreDepthStencilFormats), DE_ARRAY_END(s_coreDepthStencilFormats));
4757 const VkAttachmentLoadOp loadOp = rng.choose<VkAttachmentLoadO
[all...]
/external/clang/utils/
H A Dmodfuzz.py125 def choose(options): function
134 for opt in choose(options):
/external/curl/docs/cmdline-opts/
H A Dremote-name.d14 server to be able to choose the file name refer to --remote-header-name which
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorMeta.h18 const T1& choose(Cond<true>, const T1& first, const T2&) { function in namespace:Eigen
23 const T2& choose(Cond<false>, const T1&, const T2& second) { function in namespace:Eigen
/external/tensorflow/tensorflow/compiler/xla/tests/
H A Dclient_library_test_base.cc199 std::function<tensorflow::Status(int64)> choose; local
200 choose = [&, this](int64 index) -> tensorflow::Status {
210 TF_RETURN_IF_ERROR(choose(index + 1));
226 TF_RETURN_IF_ERROR(choose(index + 1));
249 return choose(0);
/external/deqp/modules/egl/
H A DteglMemoryStressTests.cpp159 ObjectType type = m_rnd.choose<ObjectType>(types.begin(), types.end());
218 EGLContext context = m_rnd.choose<EGLContext>(m_contexts.begin(), m_contexts.end());
282 EGLSurface surface = m_rnd.choose<EGLSurface>(m_pbuffers.begin(), m_pbuffers.end());
H A DteglChooseConfigTests.cpp381 return rnd.choose<EGLint>(types, types+DE_LENGTH_OF_ARRAY(types));
387 return rnd.choose<EGLint>(caveats, caveats+DE_LENGTH_OF_ARRAY(caveats));
462 AttribSpec spec = rnd.choose<AttribSpec>(candidates.begin(), candidates.end());
/external/deqp/modules/gles3/stress/
H A Des3sLongShaderTests.cpp249 m_rnd.choose(m_varNames.begin(), m_varNames.end(), inNames.begin(), (int)numVars);
269 return m_rnd.choose<std::string>(m_varNames.begin(), m_varNames.end());
288 const std::string op = std::string("") + m_rnd.choose<char>(operators.begin(), operators.end());
/external/deqp/modules/gles2/functional/
H A Des2fDebugMarkerTests.cpp82 dst[ndx] = rnd.choose<char>(DE_ARRAY_BEGIN(s_chars), DE_ARRAY_END(s_chars));
/external/deqp/framework/randomshaders/
H A DrsgExpression.cpp714 VariableType::Type inType = state.getRandom().choose<VariableType::Type>(&inTypes[0], &inTypes[0] + numInTypes);
836 const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin<IsWritableEntry>(), state.getVariableManager().getEnd<IsWritableEntry>());
872 ConstValueRangeAccess selectedRange = state.getRandom().choose<const ValueEntry*>(first, end)->getValueRange();
1102 m_variable = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(filter), state.getVariableManager().getEnd(filter))->getVariable();
1186 const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(first, end);
1293 int inElemNdx = state.getRandom().choose<int>(availableElements.begin(), availableElements.end());
1433 m_type = state.getRandom().choose<Type>(typeCandidates.begin(), typeCandidates.end());
1468 m_sampler = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamplerEntry(samplerType)),
/external/python/cpython2/Lib/
H A Dtempfile.py138 choose = self.rng.choice
142 letters = [choose(c) for dummy in "123456"]
/external/deqp/modules/gles31/functional/
H A Des31fAdvancedBlendTests.cpp376 const float a = rnd->choose<float>(DE_ARRAY_BEGIN(alphaValues), DE_ARRAY_END(alphaValues));
377 const float r = a * rnd->choose<float>(DE_ARRAY_BEGIN(rgbValues), DE_ARRAY_END(rgbValues));
378 const float g = a * rnd->choose<float>(DE_ARRAY_BEGIN(rgbValues), DE_ARRAY_END(rgbValues));
379 const float b = a * rnd->choose<float>(DE_ARRAY_BEGIN(rgbValues), DE_ARRAY_END(rgbValues));

Completed in 1787 milliseconds

1234