/external/chromium_org/third_party/leveldatabase/src/util/ |
random.h | 48 uint32_t Uniform(int n) { return Next() % n; } 58 return Uniform(1 << Uniform(max_log + 1));
|
testutil.cc | 15 (*dst)[i] = static_cast<char>(' ' + rnd->Uniform(95)); // ' ' .. '~' 28 result += kTestChars[rnd->Uniform(sizeof(kTestChars))];
|
arena_test.cc | 29 s = rnd.OneIn(4000) ? rnd.Uniform(6000) : 30 (rnd.OneIn(10) ? rnd.Uniform(100) : rnd.Uniform(20));
|
/external/chromium_org/third_party/angle/include/GLSLANG/ |
ShaderVars.h | 31 // Uniform block layout qualifier, see section 4.3.8.3 of the ESSL 3.00.4 spec 65 struct COMPILER_EXPORT Uniform : public ShaderVariable 67 Uniform(); 68 ~Uniform(); 69 Uniform(const Uniform &other); 70 Uniform &operator=(const Uniform &other);
|
/external/chromium_org/third_party/re2/util/ |
random.h | 19 int32 Uniform(int32);
|
random.cc | 30 int32 ACMRandom::Uniform(int32 n) {
|
/external/regex-re2/util/ |
random.h | 19 int32 Uniform(int32);
|
random.cc | 30 int32 ACMRandom::Uniform(int32 n) {
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
ShaderVars.cpp | 56 Uniform::Uniform() 59 Uniform::~Uniform() 62 Uniform::Uniform(const Uniform &other) 66 Uniform &Uniform::operator=(const Uniform &other [all...] |
UniformHLSL.h | 45 const Uniform *findUniformByName(const TString &name) const; 47 // Returns the uniform's register index 56 const std::vector<Uniform> &mUniforms;
|
VariableInfo.h | 23 std::vector<Uniform> *uniforms, 41 std::vector<Uniform> *mUniforms;
|
/external/ceres-solver/internal/ceres/ |
random.h | 45 inline int Uniform(int n) {
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
ShaderImpl.h | 31 const std::vector<sh::Uniform> &getUniforms() const { return mUniforms; } 37 std::vector<sh::Uniform> &getUniforms() { return mUniforms; } 46 std::vector<sh::Uniform> mUniforms;
|
/external/chromium_org/third_party/re2/re2/testing/ |
string_generator.cc | 68 int len = acm_->Uniform(maxlen_+1); 71 digits_[i] = acm_->Uniform(alphabet_.size());
|
regexp_generator.cc | 141 if (nstk == 1 && acm_->Uniform(maxatoms_ + 1 - atoms) == 0) { 153 if (ops < maxops_ && acm_->Uniform(2) == 0) { 154 const string& fmt = ops_[acm_->Uniform(ops_.size())]; 167 if (atoms < maxatoms_ && acm_->Uniform(2) == 0) { 168 post->push_back(atoms_[acm_->Uniform(atoms_.size())]);
|
/external/regex-re2/re2/testing/ |
string_generator.cc | 68 int len = acm_->Uniform(maxlen_+1); 71 digits_[i] = acm_->Uniform(alphabet_.size());
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLProgramDataManager.cpp | 27 Uniform& uniform = fUniforms[i]; local 32 uniform.fArrayCount = builderUniform.fVariable.getArrayCount(); 33 uniform.fType = builderUniform.fVariable.getType(); 35 // TODO: Move the Xoom uniform array in both FS and VS bug workaround here. 38 uniform.fVSLocation = builderUniform.fLocation; 40 uniform.fVSLocation = kUnusedUniform; 43 uniform.fFSLocation = builderUniform.fLocation; 45 uniform.fFSLocation = kUnusedUniform; 64 const Uniform& uni = fUniforms[u.toProgramDataIndex()] [all...] |
GrGLProgramDataManager.h | 28 // Opaque handle to a uniform 46 * The ref can be used to set the uniform with corresponding the GrGLProgramDataManager.*/ 76 /** Functions for uploading uniform values. The varities ending in v can be used to upload to an 77 * array of uniforms. arrayCount must be <= the array count of the uniform. 89 // arrayCount matrices into a uniform array. 95 // convenience method for uploading a SkMatrix to a 3x3 matrix uniform 107 struct Uniform { 122 SkTArray<Uniform, true> fUniforms;
|
/external/skia/src/gpu/gl/ |
GrGLUniformManager.cpp | 25 Uniform& uni = fUniforms.push_back(); 35 const Uniform& uni = fUniforms[u.toUniformIndex()]; 38 // FIXME: We still insert a single sampler uniform for every stage. If the shader does not 51 const Uniform& uni = fUniforms[u.toUniformIndex()]; 66 const Uniform& uni = fUniforms[u.toUniformIndex()]; 71 // Once the uniform manager is responsible for inserting the duplicate uniform 83 const Uniform& uni = fUniforms[u.toUniformIndex()]; 98 const Uniform& uni = fUniforms[u.toUniformIndex()]; 112 const Uniform& uni = fUniforms[u.toUniformIndex()] [all...] |
GrGLUniformManager.h | 24 // Opaque handle to a uniform 53 /** Functions for uploading uniform values. The varities ending in v can be used to upload to an 54 * array of uniforms. arrayCount must be <= the array count of the uniform. 66 // arrayCount matrices into a uniform array. 72 // convenience method for uploading a SkMatrix to a 3x3 matrix uniform 106 struct Uniform { 114 SkTArray<Uniform, true> fUniforms;
|
/external/deqp/modules/gles3/functional/ |
es3fUniformBlockTests.cpp | 21 * \brief Uniform block tests. 64 block.addUniform(Uniform("var", type, 0)); 102 block.addUniform(Uniform("s", VarType(&typeS), 0)); 135 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_LOW))); 136 block.addUniform(Uniform("s", VarType(VarType(&typeS), 3))); 137 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_MEDIUM))); 174 block.addUniform(Uniform("s", VarType(&typeS), 0)); 175 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_LOW), UNUSED_BOTH)); 176 block.addUniform(Uniform("t", VarType(&typeT), 0)); 177 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_HIGH), 0)) [all...] |
/external/chromium_org/third_party/angle/src/common/ |
blocklayout.h | 7 // Methods and classes related to uniform layout and packing in GLSL and HLSL. 23 struct Uniform; 74 // See "Standard Uniform Block Layout" in Section 2.11.6 of the OpenGL ES 3.0 specification 123 unsigned int HLSLVariableRegisterCount(const Uniform &variable, ShShaderOutput outputType);
|
/external/deqp/modules/glshared/ |
glsUniformBlockCase.hpp | 23 * \brief Uniform block tests. 40 // Uniform block details. 62 UNUSED_VERTEX = (1<<10), //!< Uniform or struct member is not read in vertex shader. 63 UNUSED_FRAGMENT = (1<<11), //!< Uniform or struct member is not read in fragment shader. 164 class Uniform 167 Uniform (const char* name, const VarType& type, deUint32 flags = 0); 182 typedef std::vector<Uniform>::iterator Iterator; 183 typedef std::vector<Uniform>::const_iterator ConstIterator; 196 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
addressmap_unittest.cc | 52 size_t Uniform(size_t max_size) { 85 size_t s = rnd.Uniform(kMaxRealSize); 103 int offs = rnd.Uniform(ptrs_and_sizes[i].size); 129 int offs = rnd.Uniform(ptrs_and_sizes[i].size); 141 int offs = rnd.Uniform(ptrs_and_sizes[i].size);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
addressmap_unittest.cc | 52 size_t Uniform(size_t max_size) { 85 size_t s = rnd.Uniform(kMaxRealSize); 103 int offs = rnd.Uniform(ptrs_and_sizes[i].size); 129 int offs = rnd.Uniform(ptrs_and_sizes[i].size); 141 int offs = rnd.Uniform(ptrs_and_sizes[i].size);
|