| /external/deqp/external/openglcts/modules/gl/ |
| D | gl4cEnhancedLayoutsTests.cpp | 1 /*------------------------------------------------------------------------- 3 * ----------------------------- 5 * Copyright (c) 2015-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 27 */ /*-------------------------------------------------------------------*/ 72 namespace Utils namespace 104 const GLint rand = GetRandUint() - s_rand_max_half; in GetRandInt() 138 /** Type constants **/ 139 const Type Type::_double = Type::GetType(Type::Double, 1, 1); [all …]
|
| D | gl4cEnhancedLayoutsTests.hpp | 3 /*------------------------------------------------------------------------- 5 * ----------------------------- 7 * Copyright (c) 2015-2016 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 29 */ /*-------------------------------------------------------------------*/ 44 namespace Utils namespace 46 /** Represents data type 49 struct Type struct 79 static bool DoesTypeSupportMatrix(TYPES type); [all …]
|
| D | gl4cGPUShaderFP64Tests.cpp | 1 /*------------------------------------------------------------------------- 3 * ----------------------------- 5 * Copyright (c) 2014-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 27 */ /*-------------------------------------------------------------------*/ 50 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() [all …]
|
| D | gl4cShaderSubroutineTests.hpp | 3 /*------------------------------------------------------------------------- 5 * ----------------------------- 7 * Copyright (c) 2014-2016 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 29 */ /*-------------------------------------------------------------------*/ 41 class Utils class 44 /* Public type definitions */ 135 void get(glw::GLenum format, glw::GLenum type, glw::GLvoid *out_data); 137 …void update(glw::GLuint width, glw::GLuint height, glw::GLenum format, glw::GLenum type, glw::GLvo… [all …]
|
| D | gl4cShadingLanguage420PackTests.hpp | 3 /*------------------------------------------------------------------------- 5 * ----------------------------- 7 * Copyright (c) 2014-2016 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 29 */ /*-------------------------------------------------------------------*/ 44 class Utils class 294 …void uniform(const glw::GLchar *uniform_name, TYPES type, glw::GLuint n_columns, glw::GLuint n_row… 330 void get(glw::GLenum format, glw::GLenum type, glw::GLvoid *out_data) const; 334 …ate(glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format, glw::GLenum type, [all …]
|
| D | gl4cStencilTexturingTests.cpp | 1 /*------------------------------------------------------------------------- 3 * ----------------------------- 5 * Copyright (c) 2015-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 45 class Utils class 52 …static GLuint createAndCompileShader(deqp::Context &context, const GLenum type, const GLchar *code… 55 GLenum format, GLenum type, const GLvoid *data); 77 GLuint Utils::createAndBuildProgram(deqp::Context &context, const GLchar *cs_code, const GLchar *fs… in createAndBuildProgram() 195 * @param type Type of shader [all …]
|
| D | gl4cCopyImageTests.cpp | 1 /*------------------------------------------------------------------------- 3 * ----------------------------- 5 * Copyright (c) 2015-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 44 * By default everything is disabled - which still gives 14560 test cases. 46 * ALL_FORMAT - selects all internal formats, 61 x 61 47 * ALL_TARGETS - selects all valid targets, 10 x 10 48 * ALL_IMG_DIM - selects all image dimmensions, 9 x 9 49 * ALL_REG_DIM - selects all region dimmensions, 7 x 7 [all …]
|
| D | gl4cShadingLanguage420PackTests.cpp | 1 /*------------------------------------------------------------------------- 3 * ----------------------------- 5 * Copyright (c) 2014-2016 The Khronos Group Inc. 11 * http://www.apache.org/licenses/LICENSE-2.0 22 */ /*-------------------------------------------------------------------*/ 27 */ /*-------------------------------------------------------------------*/ 61 bool Utils::checkUniformBinding(Utils::program &program, const glw::GLchar *name, glw::GLint expect… in checkUniformBinding() 64 if (-1 == uniform_location) in checkUniformBinding() 82 bool Utils::checkUniformArrayBinding(Utils::program &program, const glw::GLchar *name, glw::GLuint … in checkUniformArrayBinding() 89 if (-1 == uniform_location) in checkUniformArrayBinding() [all …]
|
| /external/python/google-auth-library-python/tests/oauth2/ |
| D | test_utils.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 20 from google.oauth2 import utils 31 class AuthHandler(utils.OAuthClientAuthHandler): 46 return utils.ClientAuthentication( 47 utils.ClientAuthType.basic, CLIENT_ID, client_secret 53 assert client_auth.client_auth_type == utils.ClientAuthType.basic 60 assert client_auth.client_auth_type == utils.ClientAuthType.basic 66 CLIENT_AUTH_BASIC = utils.ClientAuthentication( 67 utils.ClientAuthType.basic, CLIENT_ID, CLIENT_SECRET 69 CLIENT_AUTH_BASIC_SECRETLESS = utils.ClientAuthentication( [all …]
|
| /external/pandora/avatar/avatar/metrics/ |
| D | interceptors.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 22 from pandora import _utils as utils unknown 55 def interceptors(device: PandoraClient) -> Sequence[ClientInterceptor]: 59 def aio_interceptors(device: PandoraClient) -> Sequence[grpc.aio.ClientInterceptor]: 64 def result(self) -> _T_co: 68 class UnaryUnaryInterceptor(grpc.UnaryUnaryClientInterceptor): # type: ignore[misc] 69 def __init__(self, device: PandoraClient) -> None: 77 ) -> UnaryOutcome[_U]: 84 class UnaryStreamInterceptor(grpc.UnaryStreamClientInterceptor): # type: ignore[misc] 85 def __init__(self, device: PandoraClient) -> None: [all …]
|
| /external/rust/crates/sharded-slab/ |
| D | flake.lock | 3 "flake-utils": { 9 "narHash": "sha256-3eihraek4qL744EvQXsK1Ha6C3CR7nnT8X2qWap4RNk=", 11 "repo": "flake-utils", 13 "type": "github" 17 "repo": "flake-utils", 18 "type": "github" 24 "narHash": "sha256-aRTTXkYvhXosGx535iAFUaoFboUrZSYb1Ooih/auGp0=", 28 "type": "github" 32 "ref": "nixos-unstable", 34 "type": "github" [all …]
|
| /external/autotest/client/bin/ |
| D | package.py | 15 from autotest_lib.client.bin import os_dep, utils 26 - type: Package management program that handles the file 27 - system_support: If the package management program is installed on the 29 - source: If it is a source (True) our binary (False) package 30 - version: The package version (or name), that is used to check against the 32 - arch: The architecture for which a binary package was built 33 - installed: Whether the package is installed (True) on the system or not 38 file_result = utils.system_output('file ' + rpm_package) 40 package_info['type'] = 'rpm' 44 # s_cmd - Command to determine if package is a source package [all …]
|
| D | package_unittest.py | 7 from autotest_lib.client.bin import package, os_dep, utils 21 self.god.stub_function(utils, "system_output") 22 self.god.stub_function(utils, "system") 26 utils.system_output.expect_call( 28 utils.system_output.expect_call( 43 package_info['type'] = 'rpm' 45 s_cmd = 'rpm -qp --qf %{SOURCE} ' + input_package + ' 2>/dev/null' 46 a_cmd = 'rpm -qp --qf %{ARCH} ' + input_package + ' 2>/dev/null' 47 v_cmd = 'rpm -qp ' + input_package + ' 2>/dev/null' 49 utils.system_output.expect_call(v_cmd).and_return(ver) [all …]
|
| /external/perfetto/src/trace_processor/perfetto_sql/intrinsics/operators/ |
| D | interval_intersect_operator.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 86 switch (v.type) { in HashSqlValue() 87 case SqlValue::Type::kString: in HashSqlValue() 90 case SqlValue::Type::kDouble: in HashSqlValue() 93 case SqlValue::Type::kLong: in HashSqlValue() 96 case SqlValue::Type::kBytes: in HashSqlValue() 97 PERFETTO_FATAL("Wrong type"); in HashSqlValue() 99 case SqlValue::Type::kNull: in HashSqlValue() 109 auto x = t->ColumnIdxFromName(col_name); in ColIdForName() 137 for (Table::Iterator it = t->IterateRows(); it; ++it) { in CreateIntervalTrees() [all …]
|
| /external/cronet/third_party/protobuf/js/binary/ |
| D | utils.js | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 39 goog.provide('jspb.utils'); 49 * Javascript can't natively handle 64-bit data types, so to manipulate them we 50 * have to split them into two 32-bit halves and do the math manually. 54 * bits of a split value - for example, if the original value was a 64-bit 58 * @type {number} 60 jspb.utils.split64Low = 0; 66 * @type {number} 68 jspb.utils.split64High = 0; [all …]
|
| /external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/ |
| D | Metric.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 21 import io.opencensus.internal.Utils; 52 Utils.checkListElementNotNull( in create() 53 Utils.checkNotNull(timeSeriesList, "timeSeriesList"), "timeSeries"); in create() 69 metricDescriptor, Collections.singletonList(Utils.checkNotNull(timeSeries, "timeSeries"))); in createWithOneTimeSeries() 82 Utils.checkNotNull(metricDescriptor, "metricDescriptor"); in createInternal() 98 * <p>The type of the {@link TimeSeries#getPoints()} must match {@link MetricDescriptor.Type}. 105 private static void checkTypeMatch(MetricDescriptor.Type type, List<TimeSeries> timeSeriesList) { in checkTypeMatch() argument 114 switch (type) { in checkTypeMatch() 117 Utils.checkArgument( in checkTypeMatch() [all …]
|
| /external/libtextclassifier/native/utils/grammar/semantics/ |
| D | composer.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 #include "utils/grammar/semantics/composer.h" 19 #include "utils/base/status_macros.h" 20 #include "utils/grammar/semantics/evaluators/arithmetic-eval.h" 21 #include "utils/grammar/semantics/evaluators/compose-eval.h" 22 #include "utils/grammar/semantics/evaluators/const-eval.h" 23 #include "utils/grammar/semantics/evaluators/constituent-eval.h" 24 #include "utils/grammar/semantics/evaluators/merge-values-eval.h" 25 #include "utils/grammar/semantics/evaluators/parse-number-eval.h" 26 #include "utils/grammar/semantics/evaluators/span-eval.h" [all …]
|
| /external/libtextclassifier/native/utils/grammar/semantics/evaluators/ |
| D | parse-number-eval.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 22 #include "utils/base/arena.h" 23 #include "utils/base/statusor.h" 24 #include "utils/grammar/semantics/eval-context.h" 25 #include "utils/grammar/semantics/evaluator.h" 26 #include "utils/grammar/semantics/expression_generated.h" 27 #include "utils/grammar/semantics/value.h" 28 #include "utils/strings/numbers.h" 41 TC3_DCHECK_EQ(expression->expression_type(), in Apply() 44 expression->expression_as_ParseNumberExpression(); in Apply() [all …]
|
| D | compose-eval_test.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 #include "utils/grammar/semantics/evaluators/compose-eval.h" 21 #include "utils/base/statusor.h" 22 #include "utils/flatbuffers/flatbuffers.h" 23 #include "utils/flatbuffers/reflection.h" 24 #include "utils/flatbuffers/test-utils.h" 25 #include "utils/grammar/semantics/evaluator.h" 26 #include "utils/grammar/semantics/evaluators/const-eval.h" 27 #include "utils/grammar/semantics/expression_generated.h" 28 #include "utils/grammar/testing/utils.h" [all …]
|
| /external/bazelbuild-rules_rust/nix/ |
| D | flake.lock | 3 "flake-utils": { 9 "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", 11 "repo": "flake-utils", 13 "type": "github" 17 "repo": "flake-utils", 18 "type": "github" 24 "narHash": "sha256-s/+tgT+Iz0LZO+nBvSms+xsMqvHt2LqYniG9r+CYyJc=", 28 "type": "github" 32 "ref": "nixpkgs-unstable", 34 "type": "github" [all …]
|
| /external/bazelbuild-rules_rust/examples/nix_cross_compiling/nix/ |
| D | flake.lock | 3 "android-nixpkgs": { 6 "flake-utils": "flake-utils", 13 "narHash": "sha256-hiBAShY1YAztW01Qx846pgomyFZpBzsZ8DUY8LFhtX4=", 15 "repo": "android-nixpkgs", 17 "type": "github" 21 "repo": "android-nixpkgs", 22 "type": "github" 28 "android-nixpkgs", 35 "narHash": "sha256-JtKZEQUzosrCwDsLgm+g6aqbP1aseUl1334OShEAS3s=", 39 "type": "github" [all …]
|
| /external/chromium-trace/catapult/devil/devil/utils/ |
| D | lsusb_test.py | 3 # Use of this source code is governed by a BSD-style license that can be 10 from devil.utils import lsusb 11 from devil.utils import mock_calls 14 import mock # pylint: disable=import-error 58 Transfer Type Bulk 59 Synch Type None 60 Usage Type Data 68 Transfer Type Bulk 69 Synch Type None 70 Usage Type Data [all …]
|
| /external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/robotests/ |
| D | StaticTest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 51 * they will be used to also test that static methods can be used without instantiating the type. 67 private final ProfileNonInstantiableTestCrossProfileType type = field in StaticTest 97 assertThat(type.other().staticIdentityStringMethod(STRING)).isEqualTo(STRING); in staticCrossProfileMethod_blocking_other_works() 102 assertThat(type.current().staticIdentityStringMethod(STRING)).isEqualTo(STRING); in staticCrossProfileMethod_blocking_current_works() 107 Map<Profile, String> result = type.both().staticIdentityStringMethod(STRING); in staticCrossProfileMethod_blocking_both_works() 109 assertThat(result).containsKey(testProfileConnector.utils().getCurrentProfile()); in staticCrossProfileMethod_blocking_both_works() 110 assertThat(result).containsKey(testProfileConnector.utils().getOtherProfile()); in staticCrossProfileMethod_blocking_both_works() 133 assertThat(result).containsKey(testProfileConnector.utils().getCurrentProfile()); in staticCrossProfileMethod_fake_blocking_both_works() 134 assertThat(result).containsKey(testProfileConnector.utils().getOtherProfile()); in staticCrossProfileMethod_fake_blocking_both_works() [all …]
|
| /external/ComputeLibrary/examples/gemm_tuner/ |
| D | CommonGemmExampleOptions.h | 2 * Copyright (c) 2019-2021 Arm Limited. 4 * SPDX-License-Identifier: MIT 28 #include "arm_compute/core/Utils.h" 30 #include "utils/TypePrinter.h" 31 #include "utils/command_line/CommandLineOptions.h" 32 #include "utils/command_line/CommandLineParser.h" 43 arm_compute::DataType data_type{ arm_compute::DataType::F32 }; /**< Data type */ 47 /** Formatted output of the CommonGemmExampleParams type 71 * @param[in] default_data_type Default data type if unspecified. 73 …CommonGemmExampleOptions(arm_compute::utils::CommandLineParser &parser, arm_compute::DataType defa… [all …]
|
| /external/libtextclassifier/native/utils/grammar/parsing/ |
| D | lexer.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 29 // "there" [16, 44) <-- note "16" NOT "39" 30 // "world" [44, ?) <-- note "44" NOT "52" 40 #include "utils/grammar/parsing/parse-tree.h" 41 #include "utils/grammar/types.h" 42 #include "utils/strings/stringpiece.h" 43 #include "utils/utf8/unicodetext.h" 44 #include "utils/utf8/unilib.h" 52 // The type of the lexical symbol. 53 enum class Type { enum [all …]
|