/external/chromium_org/third_party/re2/util/ |
random.cc | 30 int32 ACMRandom::Uniform(int32 n) {
|
/external/ceres-solver/internal/ceres/ |
random.h | 45 inline int Uniform(int 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...] |
/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));
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
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/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);
|
tcmalloc_unittest.cc | 232 int Uniform(int n) { 268 int v = Uniform(total_weight_); 295 memalign_fraction_ = (Uniform(10000)/10000.0 * delta + 304 if (Uniform(100) < memalign_fraction_ * 100) { 307 size_t alignment = 1 << Uniform(FLAGS_lg_max_memalign); 433 const int index = rnd_.Uniform(heap_.size()); 442 const int index = rnd_.Uniform(heap_.size()); 470 const int index = rnd_.Uniform(heap_.size()); 475 const int tid = rnd_.Uniform(FLAGS_numthreads); 557 for (size_t i = 0; i < 70000; i += rnd->Uniform(20)) [all...] |
/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);
|
tcmalloc_unittest.cc | 232 int Uniform(int n) { 268 int v = Uniform(total_weight_); 295 memalign_fraction_ = (Uniform(10000)/10000.0 * delta + 304 if (Uniform(100) < memalign_fraction_ * 100) { 307 size_t alignment = 1 << Uniform(FLAGS_lg_max_memalign); 433 const int index = rnd_.Uniform(heap_.size()); 442 const int index = rnd_.Uniform(heap_.size()); 470 const int index = rnd_.Uniform(heap_.size()); 475 const int tid = rnd_.Uniform(FLAGS_numthreads); 557 for (size_t i = 0; i < 70000; i += rnd->Uniform(20)) [all...] |
/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/deqp/framework/opengl/simplereference/ |
sglrShaderProgram.hpp | 96 struct Uniform 98 Uniform (const std::string& name_, glu::DataType type_) : name(name_), type(type_) { } 154 ShaderProgramDeclaration& operator<< (const Uniform&); 176 std::vector<Uniform> m_uniforms; 253 friend class ReferenceContext; // for uniform access
|
/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...] |
glsUniformBlockCase.cpp | 21 * \brief Uniform block case. 186 // Uniform implementation. 188 Uniform::Uniform (const char* name, const VarType& type, deUint32 flags) 594 const Uniform& uniform = *uniformIter; local 595 computeStd140Layout(layout, curOffset, activeBlockNdx, blockPrefix + uniform.getName(), uniform.getType(), mergeLayoutFlags(block.getFlags(), uniform.getFlags())); 612 // Compute active uniform set for block 1081 const Uniform& uniform = *uniformIter; local 1795 const UniformLayoutEntry& uniform = layout.uniforms[uniformNdx]; local 1830 const UniformLayoutEntry& uniform = layout.uniforms[uniformNdx]; local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fProgramUniformTests.cpp | 23 * \todo [2013-02-26 nuutti] Much duplication between ES2&3 uniform api 306 struct Uniform 311 Uniform (const char* const name_, const glu::VarType& type_) : name(name_), type(type_) {} 320 Uniform& getUniform (const int ndx) { return m_uniforms[ndx]; } 321 const Uniform& getUniform (const int ndx) const { return m_uniforms[ndx]; } 323 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); } 379 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec))); 387 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec), 3))) 1280 const BasicUniform& uniform = basicUniforms[unifNdx]; local 1361 const BasicUniform& uniform = basicUniforms[unifNdx]; local 1560 const BasicUniform& uniform = basicUniforms[unifNdx]; local [all...] |