Home
last modified time | relevance | path

Searched refs:Utils (Results 1 – 25 of 862) sorted by relevance

12345678910>>...35

/external/deqp/external/openglcts/modules/gl/
Dgl4cShadingLanguage420PackTests.hpp44 class Utils class
360 typedef std::vector<Utils::QUALIFIERS> qualifierSet;
398 …static std::string getBlockVariableDefinition(const Utils::qualifierSet& qualifiers, const glw::GL…
404 …static std::string getVariableDefinition(VARIABLE_FLAVOUR flavour, const Utils::qualifierSet& qual…
407 …static VARIABLE_FLAVOUR getVariableFlavour(Utils::SHADER_STAGES stage, Utils::VARIABLE_STORAGE sto…
408 const Utils::qualifierSet& qualifiers);
410 static std::string getVariableName(Utils::SHADER_STAGES stage, Utils::VARIABLE_STORAGE storage,
415 …static void prepareBlockVariableStrings(Utils::SHADER_STAGES in_stage, Utils::VARIABLE_STORAGE in_…
416 const Utils::qualifierSet& in_qualifiers, const glw::GLchar* in_type_name,
420 …static void prepareVariableStrings(Utils::SHADER_STAGES in_stage, Utils::VARIABLE_STORAGE in_stora…
[all …]
Dgl4cShadingLanguage420PackTests.cpp61 bool Utils::checkUniformBinding(Utils::program& program, const glw::GLchar* name, glw::GLint expect… in checkUniformBinding()
82 bool Utils::checkUniformArrayBinding(Utils::program& program, const glw::GLchar* name, glw::GLuint … in checkUniformArrayBinding()
106 bool Utils::doesContainQualifier(Utils::QUALIFIERS qualifier, const Utils::qualifierSet& qualifiers) in doesContainQualifier()
127 bool Utils::doesStageSupportQualifier(Utils::SHADER_STAGES stage, Utils::VARIABLE_STORAGE storage, in doesStageSupportQualifier()
128 Utils::QUALIFIERS qualifier) in doesStageSupportQualifier()
204 const GLchar* Utils::getQualifierString(Utils::QUALIFIERS qualifier) in getQualifierString()
276 std::string Utils::getQualifiersListString(const qualifierSet& qualifiers) in getQualifiersListString()
292 Utils::replaceToken(token_qual_list, position, qualifier_list, list); in getQualifiersListString()
297 Utils::replaceToken(token_qualifier, position, qualifier_str, list); in getQualifiersListString()
300 Utils::replaceToken(token_qual_list, position, "", list); in getQualifiersListString()
[all …]
Dgl3cGPUShader5Tests.cpp53 Utils::programInfo::programInfo(deqp::Context& context) in programInfo()
62 Utils::programInfo::~programInfo() in ~programInfo()
98 void Utils::programInfo::build(const glw::GLchar* fragment_shader_code, const glw::GLchar* vertex_s… in build()
133 void Utils::programInfo::compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const in compile()
182 void Utils::programInfo::link() const in link()
241 void Utils::programInfo::setUniform(Utils::_variable_type type, const glw::GLchar* name, const glw:… in setUniform()
261 case Utils::VARIABLE_TYPE_FLOAT: in setUniform()
264 case Utils::VARIABLE_TYPE_INT: in setUniform()
267 case Utils::VARIABLE_TYPE_IVEC2: in setUniform()
270 case Utils::VARIABLE_TYPE_IVEC3: in setUniform()
[all …]
Dgl4cEnhancedLayoutsTests.cpp70 namespace Utils namespace
1017 …const std::string& name = Utils::Variable::GetReference(parent_name, desc, Utils::Variable::BASIC,… in verifyVarying()
1066 Utils::Interface* interface = variable.m_descriptor.m_interface; in checkVarying()
1091 Utils::Interface* interface = variable.m_descriptor.m_interface; in checkVarying()
1156 bool checkUniform(Program& program, const Utils::Variable& variable, std::stringstream& stream) in checkUniform()
1166 Utils::Interface* interface = variable.m_descriptor.m_interface; in checkUniform()
1186Utils::Variable::GetReference(interface->m_name, interface->m_members[i], Utils::Variable::BASIC, … in checkUniform()
1188 if (Utils::Variable::INTERFACE == interface->m_members[i].m_type) in checkUniform()
1190 const std::string& member_name = Utils::Variable::GetReference( in checkUniform()
1191 name, interface->m_members[i].m_interface->m_members[0], Utils::Variable::BASIC, 0); in checkUniform()
[all …]
Dgl4cEnhancedLayoutsTests.hpp44 namespace Utils namespace
1018 glw::GLuint calculateStride(const Utils::Interface& interface) const;
1019 …void generateData(const Utils::Interface& interface, glw::GLuint offset, std::vector<glw::GLubyte>…
1021 …glw::GLint getLastInputLocation(Utils::Shader::STAGES stage, const Utils::Type& type, glw::GLuint …
1023 …glw::GLint getLastOutputLocation(Utils::Shader::STAGES stage, const Utils::Type& type, glw::GLuint…
1025 Utils::Type getType(glw::GLuint index) const;
1029 …bool isFlatRequired(Utils::Shader::STAGES stage, const Utils::Type& type, Utils::Variable::STORAGE…
1058 Utils::Buffer::BUFFERS m_target;
1069 Utils::Buffer* m_buffer;
1084 …virtual void getCapturedVaryings(glw::GLuint test_case_index, Utils::Program::NameVector& captured…
[all …]
Dgl4cGPUShaderFP64Tests.cpp50 const glw::GLenum Utils::programInfo::ARB_COMPUTE_SHADER = 0x91B9;
56 Utils::programInfo::programInfo(deqp::Context& context) in programInfo()
72 Utils::programInfo::~programInfo() in ~programInfo()
136 void Utils::programInfo::build(const glw::GLchar* compute_shader_code, const glw::GLchar* fragment_… in build()
215 void Utils::programInfo::compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const in compile()
264 void Utils::programInfo::link() const in link()
348 Utils::_variable_type Utils::getBaseVariableType(_variable_type type) in getBaseVariableType()
434 unsigned int Utils::getBaseVariableTypeComponentSize(_variable_type type) in getBaseVariableTypeComponentSize()
473 unsigned char Utils::getComponentAtIndex(unsigned int index) in getComponentAtIndex()
508 Utils::_variable_type Utils::getDoubleVariableType(glw::GLuint n_columns, glw::GLuint n_rows) in getDoubleVariableType()
[all …]
Dgl4cShaderSubroutineTests.cpp48 Utils::buffer::buffer(deqp::Context& context) : m_id(0), m_context(context) in buffer()
55 Utils::buffer::~buffer() in ~buffer()
73 void Utils::buffer::bindRange(glw::GLenum target, glw::GLuint index, glw::GLintptr offset, glw::GLs… in bindRange()
84 void Utils::buffer::generate() in generate()
99 void Utils::buffer::update(glw::GLenum target, glw::GLsizeiptr size, glw::GLvoid* data, glw::GLenum… in update()
114 Utils::framebuffer::framebuffer(deqp::Context& context) : m_id(0), m_context(context) in framebuffer()
122 Utils::framebuffer::~framebuffer() in ~framebuffer()
140 void Utils::framebuffer::attachTexture(glw::GLenum attachment, glw::GLuint texture_id, glw::GLuint … in attachTexture()
161 void Utils::framebuffer::bind() in bind()
173 void Utils::framebuffer::clear(glw::GLenum mask) in clear()
[all …]
Dgl4cShaderSubroutineTests.hpp41 class Utils class
357 Utils::_variable_type variable_type;
367 …std::string getVertexShaderBody(const Utils::_variable_type& variable_type, unsigned int array_siz…
371 bool verifyXFBData(const void* xfb_data, const Utils::_variable_type& variable_type);
464 const glw::GLchar** uniform_names, const Utils::vec4<glw::GLfloat> data[5],
493 …const Utils::vec4<glw::GLfloat> input_data[3], const Utils::vec4<glw::GLfloat>& first_routine_resu…
494 const Utils::vec4<glw::GLfloat>& second_routine_result,
495 const Utils::vec4<glw::GLfloat>& third_routine_result,
496 const Utils::vec4<glw::GLuint>& fourth_routine_result,
497 const Utils::vec4<glw::GLfloat>& first_routine_expected_result,
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/
DMetricRegistry.java22 import io.opencensus.internal.Utils;
111 Utils.checkListElementNotNull( in addLongGauge()
112 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addLongGauge()
114 Utils.checkNotNull(name, "name"), in addLongGauge()
115 Utils.checkNotNull(description, "description"), in addLongGauge()
116 Utils.checkNotNull(unit, "unit"), in addLongGauge()
123 Utils.checkListElementNotNull( in addDoubleGauge()
124 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in addDoubleGauge()
126 Utils.checkNotNull(name, "name"), in addDoubleGauge()
127 Utils.checkNotNull(description, "description"), in addDoubleGauge()
[all …]
DDerivedDoubleGauge.java20 import io.opencensus.internal.Utils;
125 Utils.checkNotNull(name, "name"); in NoopDerivedDoubleGauge()
126 Utils.checkNotNull(description, "description"); in NoopDerivedDoubleGauge()
127 Utils.checkNotNull(unit, "unit"); in NoopDerivedDoubleGauge()
128 Utils.checkListElementNotNull( in NoopDerivedDoubleGauge()
129 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in NoopDerivedDoubleGauge()
138 Utils.checkListElementNotNull( in createTimeSeries()
139 Utils.checkNotNull(labelValues, "labelValues"), "labelValue element should not be null."); in createTimeSeries()
140 Utils.checkArgument(labelKeysSize == labelValues.size(), "Incorrect number of labels."); in createTimeSeries()
141 Utils.checkNotNull(function, "function"); in createTimeSeries()
[all …]
DDerivedLongGauge.java20 import io.opencensus.internal.Utils;
123 Utils.checkNotNull(name, "name"); in NoopDerivedLongGauge()
124 Utils.checkNotNull(description, "description"); in NoopDerivedLongGauge()
125 Utils.checkNotNull(unit, "unit"); in NoopDerivedLongGauge()
126 Utils.checkListElementNotNull( in NoopDerivedLongGauge()
127 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in NoopDerivedLongGauge()
136 Utils.checkListElementNotNull( in createTimeSeries()
137 Utils.checkNotNull(labelValues, "labelValues"), "labelValue element should not be null."); in createTimeSeries()
138 Utils.checkArgument(labelKeysSize == labelValues.size(), "Incorrect number of labels."); in createTimeSeries()
139 Utils.checkNotNull(function, "function"); in createTimeSeries()
[all …]
DDoubleGauge.java19 import io.opencensus.internal.Utils;
171 Utils.checkNotNull(name, "name"); in NoopDoubleGauge()
172 Utils.checkNotNull(description, "description"); in NoopDoubleGauge()
173 Utils.checkNotNull(unit, "unit"); in NoopDoubleGauge()
174 Utils.checkListElementNotNull( in NoopDoubleGauge()
175 Utils.checkNotNull(labelKeys, "labelKeys"), "labelKey element should not be null."); in NoopDoubleGauge()
181 Utils.checkListElementNotNull( in getOrCreateTimeSeries()
182 Utils.checkNotNull(labelValues, "labelValues"), "labelValue element should not be null."); in getOrCreateTimeSeries()
183 Utils.checkArgument(labelKeysSize == labelValues.size(), "Incorrect number of labels."); in getOrCreateTimeSeries()
194 Utils.checkNotNull(labelValues, "labelValues"); in removeTimeSeries()
/external/opencensus-java/api/src/test/java/io/opencensus/internal/
DUtilsTest.java42 Utils.checkArgument(true, TEST_MESSAGE); in checkArgument()
45 Utils.checkArgument(false, TEST_MESSAGE); in checkArgument()
52 Utils.checkArgument(false, null); in checkArgument_NullErrorMessage()
59 Utils.checkArgument(false, TEST_MESSAGE_TEMPLATE, TEST_MESSAGE_VALUE); in checkArgument_WithSimpleFormat()
66 Utils.checkArgument(false, TEST_MESSAGE_TEMPLATE, TEST_MESSAGE_VALUE, TEST_MESSAGE_VALUE); in checkArgument_WithComplexFormat()
71 Utils.checkNotNull(true, TEST_MESSAGE); in checkState()
74 Utils.checkState(false, TEST_MESSAGE); in checkState()
81 Utils.checkState(false, null); in checkState_NullErrorMessage()
86 Utils.checkNotNull(new Object(), TEST_MESSAGE); in checkNotNull()
89 Utils.checkNotNull(null, TEST_MESSAGE); in checkNotNull()
[all …]
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
DUtilsTest.java35 assertThat(Utils.median(arr), is(0d)); in testMedian_singleNumber()
42 assertThat(Utils.median(arr), is(2.5d)); in testMedian_evenSize()
49 assertThat(Utils.median(arr), is(3d)); in testMedian_oddSize()
54 assertThat(Utils.mean(new double[]{-1,1,2,3}), is(1.25d)); in testMean()
59 assertThat(Utils.mean(new double[]{0}), is(0d)); in testMean_singleNumber()
64 assertThat(Utils.mean(new double[]{}), is(NaN)); in testMean_empty()
69 assertThat(Utils.mean(new double[]{5,5,5,5}), is(5d)); in testMean_repeatedNumbers()
74 assertThat(Utils.interp(new double[]{5,6,16,17}, new double[]{0, 10, 12, 18}, in testInterp()
80 assertThat(Utils.interp(new double[]{5}, new double[]{0, 10}, in testInterp_singleNumber()
86 assertThat(Utils.interp(new double[]{0}, new double[]{0, 10}, in testInterp_twoNumbers()
[all …]
/external/tensorflow/tensorflow/core/platform/s3/
Daws_logging.cc28 AWSLogSystem::AWSLogSystem(Aws::Utils::Logging::LogLevel log_level) in AWSLogSystem()
31 void AWSLogSystem::Log(Aws::Utils::Logging::LogLevel log_level, const char* tag, in Log()
43 void AWSLogSystem::LogStream(Aws::Utils::Logging::LogLevel log_level, in LogStream()
49 void AWSLogSystem::LogMessage(Aws::Utils::Logging::LogLevel log_level, in LogMessage()
53 case Aws::Utils::Logging::LogLevel::Info: in LogMessage()
56 case Aws::Utils::Logging::LogLevel::Warn: in LogMessage()
59 case Aws::Utils::Logging::LogLevel::Error: in LogMessage()
62 case Aws::Utils::Logging::LogLevel::Fatal: in LogMessage()
92 Aws::Utils::Logging::LogLevel ParseLogLevelFromEnv() { in ParseLogLevelFromEnv()
93 Aws::Utils::Logging::LogLevel log_level = Aws::Utils::Logging::LogLevel::Info; in ParseLogLevelFromEnv()
[all …]
Daws_crypto.cc24 class AWSSha256HMACOpenSSLImpl : public Aws::Utils::Crypto::HMAC {
30 virtual Aws::Utils::Crypto::HashResult Calculate( in Calculate()
31 const Aws::Utils::ByteBuffer& toSign, in Calculate()
32 const Aws::Utils::ByteBuffer& secret) override { in Calculate()
34 Aws::Utils::ByteBuffer digest(length); in Calculate()
46 return Aws::Utils::Crypto::HashResult(std::move(digest)); in Calculate()
50 class AWSSha256OpenSSLImpl : public Aws::Utils::Crypto::Hash {
56 virtual Aws::Utils::Crypto::HashResult Calculate( in Calculate()
62 Aws::Utils::ByteBuffer hash(SHA256_DIGEST_LENGTH); in Calculate()
65 return Aws::Utils::Crypto::HashResult(std::move(hash)); in Calculate()
[all …]
Daws_logging.h28 class AWSLogSystem : public Aws::Utils::Logging::LogSystemInterface {
33 explicit AWSLogSystem(Aws::Utils::Logging::LogLevel log_level);
37 virtual Aws::Utils::Logging::LogLevel GetLogLevel(void) const override { in GetLogLevel()
42 void SetLogLevel(Aws::Utils::Logging::LogLevel log_level) { in SetLogLevel()
50 virtual void Log(Aws::Utils::Logging::LogLevel log_level, const char* tag,
54 virtual void LogStream(Aws::Utils::Logging::LogLevel log_level,
59 void LogMessage(Aws::Utils::Logging::LogLevel log_level,
61 std::atomic<Aws::Utils::Logging::LogLevel> log_level_;
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/
DDistribution.java23 import io.opencensus.internal.Utils;
63 Utils.checkArgument(count >= 0, "count should be non-negative."); in create()
64 Utils.checkArgument( in create()
67 Utils.checkArgument(sum == 0, "sum should be 0 if count is 0."); in create()
68 Utils.checkArgument( in create()
71 Utils.checkNotNull(bucketOptions, "bucketOptions"); in create()
73 Collections.unmodifiableList(new ArrayList<Bucket>(Utils.checkNotNull(buckets, "buckets"))); in create()
74 Utils.checkListElementNotNull(bucketsCopy, "bucket"); in create()
202 Utils.checkNotNull(bucketBoundaries, "bucketBoundaries"); in create()
211 double previous = Utils.checkNotNull(bucketBoundaries.get(0), "bucketBoundary"); in checkBucketBoundsAreSorted()
[all …]
DSummary.java21 import io.opencensus.internal.Utils;
52 Utils.checkNotNull(snapshot, "snapshot"); in create()
128 Utils.checkNotNull(valueAtPercentiles, "valueAtPercentiles"); in create()
129 Utils.checkListElementNotNull(valueAtPercentiles, "value in valueAtPercentiles"); in create()
171 Utils.checkArgument( in create()
174 Utils.checkArgument(value >= 0, "value must be non-negative"); in create()
181 Utils.checkArgument(count == null || count >= 0, "count must be non-negative."); in checkCountAndSum()
182 Utils.checkArgument(sum == null || sum >= 0, "sum must be non-negative."); in checkCountAndSum()
184 Utils.checkArgument(sum == null || sum == 0, "sum must be 0 if count is 0."); in checkCountAndSum()
/external/deqp/external/openglcts/modules/common/
DglcViewportArrayTests.hpp46 class Utils class
320 …void depthRangeArrayHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& tes…
324 …void depthRangeIndexedHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& t…
328 …void getDepthHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& test_resul…
369 …void depthRangeInitialValuesHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, b…
495 …void getDepthRanges(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, std::vector<T>& …
590 …virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_c…
601 virtual void prepareTextures(Utils::texture& texture_0, Utils::texture& texture_1);
603 virtual void prepareUniforms(Utils::program& program, glw::GLuint draw_call_index);
605 virtual void setupFramebuffer(Utils::framebuffer& framebuffer, Utils::texture& texture_0,
[all …]
/external/v8/src/
Dapi.cc281 i::Handle<i::Context> env = Utils::OpenHandle(*context); in CallDepthScope()
337 Utils::ToLocal(scriptName), in GetScriptOriginForScript()
342 Utils::ToLocal(source_map_url), in GetScriptOriginForScript()
346 Utils::ToLocal(host_defined_options)); in GetScriptOriginForScript()
448 Utils::ReportOOMFailure(isolate, location, is_heap_oom); in FatalProcessOutOfMemory()
454 void Utils::ReportApiFailure(const char* location, const char* message) { in ReportApiFailure()
470 void Utils::ReportOOMFailure(i::Isolate* isolate, const char* location, in ReportOOMFailure()
654 i::Handle<i::Context> ctx = Utils::OpenHandle(*context); in AddData()
673 i::Handle<i::Context> ctx = Utils::OpenHandle(*context); in ConvertSerializedObjectsToFixedArray()
725 v8::Utils::OpenHandle(*data->contexts_.Get(i)); in CreateBlob()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DBlankSpan.java19 import io.opencensus.internal.Utils;
47 Utils.checkNotNull(key, "key"); in putAttribute()
48 Utils.checkNotNull(value, "value"); in putAttribute()
54 Utils.checkNotNull(attributes, "attributes"); in putAttributes()
60 Utils.checkNotNull(description, "description"); in addAnnotation()
61 Utils.checkNotNull(attributes, "attributes"); in addAnnotation()
67 Utils.checkNotNull(annotation, "annotation"); in addAnnotation()
78 Utils.checkNotNull(messageEvent, "messageEvent"); in addMessageEvent()
84 Utils.checkNotNull(link, "link"); in addLink()
89 Utils.checkNotNull(status, "status"); in setStatus()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DNoopSpan.java19 import io.opencensus.internal.Utils;
33 super(Utils.checkNotNull(context, "context"), options); in NoopSpan()
38 Utils.checkNotNull(attributes, "attributes"); in putAttributes()
43 Utils.checkNotNull(description, "description"); in addAnnotation()
44 Utils.checkNotNull(attributes, "attributes"); in addAnnotation()
49 Utils.checkNotNull(annotation, "annotation"); in addAnnotation()
57 Utils.checkNotNull(messageEvent, "messageEvent"); in addMessageEvent()
62 Utils.checkNotNull(link, "link"); in addLink()
67 Utils.checkNotNull(options, "options"); in end()
/external/testng/src/main/java/org/testng/reporters/
DTextReporter.java3 import static org.testng.internal.Utils.isStringNotBlank;
9 import org.testng.internal.Utils;
56 stackTrace= Utils.stackTrace(ex, false)[0]; in logResults()
61 Utils.detailedMethodName(tr.getMethod(), false), in logResults()
72 Utils.detailedMethodName(tr.getMethod(), false), in logResults()
91 stackTrace= Utils.stackTrace(ex, false)[0]; in logResults()
101 logResult("SKIPPED", tr, throwable != null ? Utils.stackTrace(throwable, false)[0] : null); in logResults()
107 logBuf.append(" Tests run: ").append(Utils.calculateInvokedMethodCount(getAllTestMethods())) in logResults()
108 .append(", Failures: ").append(Utils.calculateInvokedMethodCount(ft)) in logResults()
109 ….append(", Skips: ").append(Utils.calculateInvokedMethodCount(resultsToMethods(getSkippedTests()))… in logResults()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/tags/
DNoopTags.java21 import io.opencensus.internal.Utils;
106 Utils.checkNotNull(state, "state"); in setState()
107 Utils.checkState(!isRead, "State was already read, cannot set state."); in setState()
132 Utils.checkNotNull(tags, "tags"); in toBuilder()
143 Utils.checkNotNull(tags, "tags"); in withTagContext()
154 Utils.checkNotNull(key, "key"); in put()
155 Utils.checkNotNull(value, "value"); in put()
161 Utils.checkNotNull(key, "key"); in remove()
204 Utils.checkNotNull(tags, "tags"); in toByteArray()
210 Utils.checkNotNull(bytes, "bytes"); in fromByteArray()

12345678910>>...35