Searched refs:Utils (Results 1 - 25 of 575) sorted by relevance

1234567891011>>

/external/bart/bart/common/
H A D__init__.py19 from bart.common import Utils namespace
/external/tensorflow/tensorflow/core/platform/s3/
H A Daws_logging.cc28 AWSLogSystem::AWSLogSystem(Aws::Utils::Logging::LogLevel log_level)
31 void AWSLogSystem::Log(Aws::Utils::Logging::LogLevel log_level, const char* tag,
43 void AWSLogSystem::LogStream(Aws::Utils::Logging::LogLevel log_level,
49 void AWSLogSystem::LogMessage(Aws::Utils::Logging::LogLevel log_level,
53 case Aws::Utils::Logging::LogLevel::Info:
56 case Aws::Utils::Logging::LogLevel::Warn:
59 case Aws::Utils::Logging::LogLevel::Error:
62 case Aws::Utils::Logging::LogLevel::Fatal:
74 Aws::Utils::Logging::LogLevel ParseLogLevelFromEnv() {
75 Aws::Utils
[all...]
H A Ds3_crypto.cc24 class S3Sha256HMACOpenSSLImpl : public Aws::Utils::Crypto::HMAC {
30 virtual Aws::Utils::Crypto::HashResult Calculate(
31 const Aws::Utils::ByteBuffer& toSign,
32 const Aws::Utils::ByteBuffer& secret) override {
34 Aws::Utils::ByteBuffer digest(length);
46 return Aws::Utils::Crypto::HashResult(std::move(digest));
50 class S3Sha256OpenSSLImpl : public Aws::Utils::Crypto::Hash {
56 virtual Aws::Utils::Crypto::HashResult Calculate(
62 Aws::Utils::ByteBuffer hash(SHA256_DIGEST_LENGTH);
65 return Aws::Utils
[all...]
H A 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 {
42 void SetLogLevel(Aws::Utils::Logging::LogLevel log_level) {
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_;
H A Ds3_crypto.h23 class S3SHA256Factory : public Aws::Utils::Crypto::HashFactory {
25 std::shared_ptr<Aws::Utils::Crypto::Hash> CreateImplementation()
29 class S3SHA256HmacFactory : public Aws::Utils::Crypto::HMACFactory {
31 std::shared_ptr<Aws::Utils::Crypto::HMAC> CreateImplementation()
/external/deqp/external/openglcts/modules/gl/
H A Dgl4cShadingLanguage420PackTests.hpp44 class Utils class in namespace:gl4cts::GLSL420Pack
360 typedef std::vector<Utils::QUALIFIERS> qualifierSet;
398 static std::string getBlockVariableDefinition(const Utils::qualifierSet& qualifiers, const glw::GLchar* type_name,
404 static std::string getVariableDefinition(VARIABLE_FLAVOUR flavour, const Utils::qualifierSet& qualifiers,
407 static VARIABLE_FLAVOUR getVariableFlavour(Utils::SHADER_STAGES stage, Utils::VARIABLE_STORAGE storage,
408 const Utils::qualifierSet& qualifiers);
410 static std::string getVariableName(Utils::SHADER_STAGES stage, Utils::VARIABLE_STORAGE storage,
415 static void prepareBlockVariableStrings(Utils
[all...]
H A Dgl3cGPUShader5Tests.cpp53 Utils::programInfo::programInfo(deqp::Context& context)
62 Utils::programInfo::~programInfo()
98 void Utils::programInfo::build(const glw::GLchar* fragment_shader_code, const glw::GLchar* vertex_shader_code)
133 void Utils::programInfo::compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const
182 void Utils::programInfo::link() const
241 void Utils::programInfo::setUniform(Utils::_variable_type type, const glw::GLchar* name, const glw::GLvoid* data)
261 case Utils::VARIABLE_TYPE_FLOAT:
264 case Utils::VARIABLE_TYPE_INT:
267 case Utils
[all...]
H A Dgl4cShadingLanguage420PackTests.cpp61 bool Utils::checkUniformBinding(Utils::program& program, const glw::GLchar* name, glw::GLint expected_binding)
82 bool Utils::checkUniformArrayBinding(Utils::program& program, const glw::GLchar* name, glw::GLuint index,
106 bool Utils::doesContainQualifier(Utils::QUALIFIERS qualifier, const Utils::qualifierSet& qualifiers)
127 bool Utils::doesStageSupportQualifier(Utils::SHADER_STAGES stage, Utils
1876 prepareVertexBuffer(const Utils::program&, Utils::buffer&, Utils::vertexArray& vao) argument
[all...]
H A Dgl4cEnhancedLayoutsTests.cpp70 namespace Utils namespace in namespace:gl4cts::EnhancedLayouts
1017 const std::string& name = Utils::Variable::GetReference(parent_name, desc, Utils::Variable::BASIC, 0);
1066 Utils::Interface* interface = variable.m_descriptor.m_interface;
1091 Utils::Interface* interface = variable.m_descriptor.m_interface;
1145 bool checkUniform(Program& program, const Utils::Variable& variable, std::stringstream& stream)
1155 Utils::Interface* interface = variable.m_descriptor.m_interface;
1175 Utils::Variable::GetReference(interface->m_name, interface->m_members[i], Utils::Variable::BASIC, 0);
1177 if (Utils
[all...]
H A Dgl4cEnhancedLayoutsTests.hpp44 namespace Utils namespace in namespace:gl4cts::EnhancedLayouts
994 } /* 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>& out_data) const;
1021 glw::GLint getLastInputLocation(Utils::Shader::STAGES stage, const Utils::Type& type, glw::GLuint array_lenth);
1023 glw::GLint getLastOutputLocation(Utils::Shader::STAGES stage, const Utils::Type& type, glw::GLuint array_lenth);
1025 Utils::Type getType(glw::GLuint index) const;
1029 bool isFlatRequired(Utils
[all...]
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
H A DUtils.java19 * $Id: Utils.java 468654 2006-10-28 07:09:23Z minchau $
31 public final class Utils class
/external/swiftshader/third_party/LLVM/unittests/Transforms/
H A DMakefile12 PARALLEL_DIRS = Utils
/external/autotest/frontend/client/src/autotest/tko/
H A DLabelField.java3 import autotest.common.Utils;
9 if (value.equals(Utils.JSON_NULL)) {
H A DConditionTestSet.java3 import autotest.common.Utils;
28 return Utils.copyJSONObject(initialCondition);
33 return Utils.joinStrings(" AND ", conditionParts);
/external/testng/src/test/java/org/testng/internal/
H A DUtilsTest.java10 import static org.testng.internal.Utils.join;
13 * Unit tests for {@link Utils}.
23 assertEquals(Utils.escapeUnicode("test"), "test");
24 assertEquals(Utils.escapeUnicode(String.valueOf(INVALID_CHAR)),
38 assertEquals("one,two", Utils.join(twoStrings, ","));
44 assertEquals("", Utils.join(emptyList, ","));
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
H A DUtilsTest.java35 assertThat(Utils.median(arr), is(0d));
42 assertThat(Utils.median(arr), is(2.5d));
49 assertThat(Utils.median(arr), is(3d));
54 assertThat(Utils.mean(new double[]{-1,1,2,3}), is(1.25d));
59 assertThat(Utils.mean(new double[]{0}), is(0d));
64 assertThat(Utils.mean(new double[]{}), is(NaN));
69 assertThat(Utils.mean(new double[]{5,5,5,5}), is(5d));
74 assertThat(Utils.interp(new double[]{5,6,16,17}, new double[]{0, 10, 12, 18},
80 assertThat(Utils.interp(new double[]{5}, new double[]{0, 10},
86 assertThat(Utils
[all...]
/external/autotest/frontend/client/src/autotest/afe/models/
H A DHost.java3 import autotest.common.Utils;
11 Utils.updateObject(host, object);
31 return Utils.jsonToString(get("hostname"));
/external/bart/tests/
H A Dtest_common_utils.py16 from bart.common import Utils namespace
29 """Test Utils Function: interval_sum"""
40 self.assertEqual(Utils.interval_sum(series, 1, step="post"), 8)
41 self.assertEqual(Utils.interval_sum(series, 1, step="pre"), 7)
47 self.assertEqual(Utils.interval_sum(series, 1, step="post"), 2)
48 self.assertEqual(Utils.interval_sum(series, 1, step="pre"), 1)
54 self.assertEqual(Utils.interval_sum(series, 1, step="post"), 1)
55 self.assertEqual(Utils.interval_sum(series, 1, step="pre"), 2)
59 self.assertEqual(Utils.interval_sum(series), 4)
62 """Test Utils functio
[all...]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/changes/
H A DChange.java6 import com.github.javaparser.utils.Utils;
18 return !Utils.valueIsNullOrEmpty(getValue(csmConditional.getProperty(), node));
20 return Utils.valueIsNullOrEmpty(getValue(csmConditional.getProperty(), node));
22 return !Utils.valueIsNullOrEmpty(getValue(csmConditional.getProperty(), node));
/external/junit-params/src/test/java/junitparams/internal/
H A DUtilsTest.java15 Object[] result = Utils.safelyCastParamsToArray(paramSet);
27 Object[] result = Utils.safelyCastParamsToArray(paramSet);
39 Object[] result = Utils.safelyCastParamsToArray(paramSet);
51 Object[] result = Utils.safelyCastParamsToArray(paramSet);
/external/swiftshader/third_party/LLVM/unittests/Transforms/Utils/
H A DMakefile1 ##===- unittests/Transforms/Utils/Makefile -----------------*- Makefile -*-===##
11 TESTNAME = Utils
/external/deqp/external/openglcts/modules/common/
H A DglcViewportArrayTests.hpp46 class Utils class in namespace:glcts::ViewportArray
320 void depthRangeArrayHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& test_result,
324 void depthRangeIndexedHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& test_result,
328 void getDepthHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& test_result,
369 void depthRangeInitialValuesHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& test_result,
495 void getDepthRanges(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, std::vector<T>& out_data);
590 virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_call_index);
601 virtual void prepareTextures(Utils::texture& texture_0, Utils
[all...]
/external/junit-params/src/main/java/junitparams/custom/combined/
H A DCombinedParametersProvider.java7 import junitparams.internal.Utils;
22 list.add(Utils.splitAtCommaOrPipe(parameterArray));
/external/nist-sip/java/gov/nist/javax/sip/
H A DUtils.java45 public class Utils implements UtilsExt { class in inherits:UtilsExt
57 private static Utils instance = new Utils();
77 public static Utils getInstance() {
141 String cidString = Utils.toHexString(cid);
173 long num = rand.nextLong() + Utils.counter++ + System.currentTimeMillis();
177 return SIPConstants.BRANCH_MAGIC_COOKIE + Utils.toHexString(bid) + this.signature;
195 String bid = Utils.getInstance().generateBranchId();
/external/testng/src/main/java/org/testng/junit/
H A DJUnit3TestMethod.java5 import org.testng.internal.Utils;
24 Utils.log("JUnit3TestMethod", 2,

Completed in 701 milliseconds

1234567891011>>