| /external/deqp/external/openglcts/modules/gl/ |
| 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 */ /*-------------------------------------------------------------------*/ 36 class MessageBuilder; 44 class Utils class 229 class shaderCompilationException : public std::exception 244 class programLinkageException : public std::exception [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 */ /*-------------------------------------------------------------------*/ 36 class MessageBuilder; 44 namespace Utils namespace 137 class Buffer 239 class Framebuffer [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 287 class APITest1 : public deqp::TestCase 306 class APITest2 : public deqp::TestCase 343 class FunctionalTest1_2 : public deqp::TestCase [all …]
|
| /external/tensorflow/tensorflow/core/grappler/optimizers/ |
| D | generic_layout_optimizer_transposer.h | 7 http://www.apache.org/licenses/LICENSE-2.0 30 #include "tensorflow/core/grappler/utils.h" 31 #include "tensorflow/core/grappler/utils/frame.h" 32 #include "tensorflow/core/grappler/utils/graph_view.h" 77 std::unique_ptr<utils::MutableGraphView> graph_view; 90 class Transposer { 107 const utils::MutableNodeView& node) const; 113 utils::MutableNodeView* node) = 0; 122 utils::MutationNewNode* added_node); 132 absl::string_view control_node_name, utils::MutationNewNode* added_node, [all …]
|
| /external/autotest/client/common_lib/ |
| D | utils_unittest.py | 3 # pylint: disable=missing-docstring 18 # mock 1.0.0 (in site-packages/chromite/third_party/mock.py) 27 from autotest_lib.client.common_lib import autotemp, utils 30 metrics = utils.metrics_mock 33 class test_read_one_line(unittest.TestCase): 36 self.god.stub_function(utils, "open") 44 self.assertEqual(utils.ip_to_long('0.0.0.0'), 0) 45 self.assertEqual(utils.ip_to_long('255.255.255.255'), 4294967295) 46 self.assertEqual(utils.ip_to_long('192.168.0.1'), 3232235521) 47 self.assertEqual(utils.ip_to_long('1.2.4.8'), 16909320) [all …]
|
| D | software_manager.py | 9 implement the given backend class. 15 @copyright: IBM 2008-2009 16 @copyright: Red Hat 2009-2010 25 from autotest_lib.client.bin import os_dep, utils 42 length -= 1 46 class SoftwareManagerLoggingConfig(logging_config.LoggingConfig): 57 class SystemInspector(object): 59 System inspector class. 68 self.distro = utils.get_os_vendor() 69 self.high_level_pms = ['apt-get', 'yum', 'zypper'] [all …]
|
| /external/opencensus-java/api/src/test/java/io/opencensus/internal/ |
| D | UtilsTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 29 /** Tests for {@link Utils}. */ 30 @RunWith(JUnit4.class) 31 public final class UtilsTest { 42 Utils.checkArgument(true, TEST_MESSAGE); in checkArgument() 43 thrown.expect(IllegalArgumentException.class); in checkArgument() 45 Utils.checkArgument(false, TEST_MESSAGE); in checkArgument() 50 thrown.expect(IllegalArgumentException.class); in checkArgument_NullErrorMessage() 52 Utils.checkArgument(false, null); in checkArgument_NullErrorMessage() 57 thrown.expect(IllegalArgumentException.class); in checkArgument_WithSimpleFormat() [all …]
|
| /external/autotest/docs/ |
| D | faft-code.md | 3 _Self-link: [go/faft-code](https://goto.google.com/faft-code)_ 8 …odules that simplifies writing of firmware tests. The [design doc](faft-design-doc.md) was writte… 13 - ### [Client](#client-code-details) 14 …ts from the server side, and a set of [utility classes](/client/cros/faft/utils) that are able to … 16 - ### [Server](#server-code-details) 19 - ### [Tests](#test-code-details) 20 …ontrol file(s) and a test class. The control file documents the test and invokes a job to run the… 23 - [rpc_server](/client/cros/faft/rpc_server.py): Listens for RPC requests from the server and route… 24 - [rpc_functions](/client/cros/faft/rpc_functions.py): Delegates requested actions to servicers in … 25 - Servicers in [utils](/client/cros/faft/utils) [all …]
|
| /external/replicaisland/src/com/replica/replicaisland/ |
| D | GameObjectFactory.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 28 /** A class for generating game objects at runtime. 29 * This should really be replaced with something that is data-driven, but it is hard to do data 30 * parsing quickly at runtime. For the moment this class is full of large functions that just 34 public class GameObjectFactory extends BaseObject { 57 INVALID(-1), 135 // Special Objects -- Not spawnable normally 136 SMOKE_BIG(-1), 137 SMOKE_SMALL(-1), 139 CRUSH_FLASH(-1), [all …]
|
| /external/autotest/server/cros/servo/ |
| D | pd_device.py | 3 # Use of this source code is governed by a BSD-style license that can be 19 class PDDevice(object): 22 This class provides a set of APIs for expected Type C PD required actions 23 in TypeC FAFT tests. The base class is specific for Type C devices that 33 'is_src should be implemented in derived class') 41 'is_snk should be implemented in derived class') 55 'is_disconnected should be implemented in derived class') 62 'is_ufp should be implemented in derived class') 69 'is_dfp should be implemented in derived class') 76 'is_drp should be implemented in derived class') [all …]
|
| /external/oss-fuzz/infra/ |
| D | utils_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 14 """Tests the functionality of the utils module's functions""" 21 import utils 27 'cifuzz', 'test_data', 'build-out') 30 class IsFuzzTargetLocalTest(unittest.TestCase): 35 is_local = utils.is_fuzz_target_local('not/a/real/file') 37 is_local = utils.is_fuzz_target_local('') 39 is_local = utils.is_fuzz_target_local(' ') 45 is_local = utils.is_fuzz_target_local( 48 is_local = utils.is_fuzz_target_local(TEST_OUT_DIR) [all …]
|
| /external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/testing/ |
| D | AbstractFakeProfileConnectorTest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 39 @RunWith(RobolectricTestRunner.class) 41 public class AbstractFakeProfileConnectorTest { 42 static class FakeProfileConnector extends AbstractFakeProfileConnector { 102 fakeProfileConnector.setConnectionHandler(() -> false); in addConnectionHolder_doesNotConnectIfConnectionHandlerReturnsFalse() 188 assertThrows(UnavailableProfileException.class, fakeProfileConnector::connect); in connect_connectionIsNotAvailable_throwsUnavailableProfileException() 196 assertThrows(UnavailableProfileException.class, fakeProfileConnector::connect); in connect_doesNotHavePermission_throwsUnavailableProfileException() 202 fakeProfileConnector.setConnectionHandler(() -> false); in connect_doesNotConnectIfHandlerReturnsFalse() 214 fakeProfileConnector.setExecutor(task -> {}); in connect_doesNotUsePassedExecutor() 315 ConnectedAppsUtils utils = fakeProfileConnector.utils(); in getCurrentProfile_getOtherProfile_areDifferent() local [all …]
|
| /external/opencensus-java/api/src/main/java/io/opencensus/tags/ |
| D | NoopTags.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 21 import io.opencensus.internal.Utils; 37 /** No-op implementations of tagging classes. */ 38 final class NoopTags { 43 * Returns a {@code TagsComponent} that has a no-op implementation for {@link Tagger}. 45 * @return a {@code TagsComponent} that has a no-op implementation for {@code Tagger}. 78 /** Returns a {@code TagPropagationComponent} that contains no-op serializers. */ 100 private static final class NoopTagsComponent extends TagsComponent { 123 Utils.checkNotNull(state, "state"); in setState() 124 Utils.checkState(!isRead, "State was already read, cannot set state."); in setState() [all …]
|
| /external/ComputeLibrary/tests/framework/command_line/ |
| D | CommonOptions.h | 4 * SPDX-License-Identifier: MIT 29 #include "utils/command_line/CommandLineOptions.h" 30 #include "utils/command_line/CommandLineParser.h" 40 class Printer; 41 enum class LogFormat; 42 enum class LogLevel; 52 * if(options.log_level->value() > LogLevel::NONE) --> Use the options values 54 class CommonOptions 61 CommonOptions(arm_compute::utils::CommandLineParser &parser); 62 /** Prevent instances of this class from being copy constructed */ [all …]
|
| /external/deqp/external/openglcts/modules/common/ |
| D | glcViewportArrayTests.hpp | 3 /*------------------------------------------------------------------------- 5 * ----------------------------- 7 * Copyright (c) 2014-2016 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 29 */ /*-------------------------------------------------------------------*/ 38 class MessageBuilder; 46 class Utils class 105 class shaderCompilationException : public std::exception 120 class programLinkageException : public std::exception [all …]
|
| /external/junit-params/apidocs/junitparams/internal/class-use/ |
| D | Utils.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt… 2 <!-- NewPage --> 5 <!-- Generated by javadoc (1.8.0) on Mon Jul 28 12:08:59 CEST 2014 --> 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7 <title>Uses of Class junitparams.internal.Utils (JUnitParams 1.0.3-SNAPSHOT API)</title> 8 <meta name="date" content="2014-07-28"> 13 <script type="text/javascript"><!-- 15 if (location.href.indexOf('is-external=true') == -1) { 16 … parent.document.title="Uses of Class junitparams.internal.Utils (JUnitParams 1.0.3-SNAPSHOT API)"; 21 //--> [all …]
|
| /external/junit-params/apidocs/junitparams/internal/ |
| D | Utils.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt… 2 <!-- NewPage --> 5 <!-- Generated by javadoc (1.8.0) on Mon Jul 28 12:08:59 CEST 2014 --> 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7 <title>Utils (JUnitParams 1.0.3-SNAPSHOT API)</title> 8 <meta name="date" content="2014-07-28"> 13 <script type="text/javascript"><!-- 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="Utils (JUnitParams 1.0.3-SNAPSHOT API)"; 21 //--> [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]: 63 class UnaryOutcome(Protocol, Generic[_T_co]): 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] [all …]
|
| /external/angle/third_party/spirv-tools/src/source/opt/ |
| D | instruction_list.h | 8 // http://www.apache.org/licenses/LICENSE-2.0 29 #include "spirv-tools/libspirv.h" 34 // This class is intended to be the container for Instructions. This container 40 // Because of that I have not made the ownership passing in this class fully 44 class InstructionList : public utils::IntrusiveList<Instruction> { 48 : utils::IntrusiveList<Instruction>(std::move(that)) {} in InstructionList() 50 auto p = static_cast<utils::IntrusiveList<Instruction>*>(this); 58 class iterator : public utils::IntrusiveList<Instruction>::iterator { 60 iterator(const utils::IntrusiveList<Instruction>::iterator& i) in iterator() 61 : utils::IntrusiveList<Instruction>::iterator(i) {} in iterator() [all …]
|
| /external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
| D | instruction_list.h | 8 // http://www.apache.org/licenses/LICENSE-2.0 29 #include "spirv-tools/libspirv.h" 34 // This class is intended to be the container for Instructions. This container 40 // Because of that I have not made the ownership passing in this class fully 44 class InstructionList : public utils::IntrusiveList<Instruction> { 48 : utils::IntrusiveList<Instruction>(std::move(that)) {} in InstructionList() 50 auto p = static_cast<utils::IntrusiveList<Instruction>*>(this); 58 class iterator : public utils::IntrusiveList<Instruction>::iterator { 60 iterator(const utils::IntrusiveList<Instruction>::iterator& i) in iterator() 61 : utils::IntrusiveList<Instruction>::iterator(i) {} in iterator() [all …]
|
| /external/deqp-deps/SPIRV-Tools/source/opt/ |
| D | instruction_list.h | 8 // http://www.apache.org/licenses/LICENSE-2.0 29 #include "spirv-tools/libspirv.h" 34 // This class is intended to be the container for Instructions. This container 40 // Because of that I have not made the ownership passing in this class fully 44 class InstructionList : public utils::IntrusiveList<Instruction> { 48 : utils::IntrusiveList<Instruction>(std::move(that)) {} in InstructionList() 50 auto p = static_cast<utils::IntrusiveList<Instruction>*>(this); 58 class iterator : public utils::IntrusiveList<Instruction>::iterator { 60 iterator(const utils::IntrusiveList<Instruction>::iterator& i) in iterator() 61 : utils::IntrusiveList<Instruction>::iterator(i) {} in iterator() [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" 65 class CommonGemmExampleOptions 73 …CommonGemmExampleOptions(arm_compute::utils::CommandLineParser &parser, arm_compute::DataType defa… 74 /** Prevent instances of this class from being copied (As this class contains pointers) */ 76 /** Prevent instances of this class from being copied (As this class contains pointers) */ [all …]
|
| /external/autotest/client/cros/multimedia/ |
| D | system_facade.py | 3 # Use of this source code is governed by a BSD-style license that can be 6 """Facade to access the system-related functionality.""" 13 from autotest_lib.client.bin import utils 16 class SystemFacadeLocalError(Exception): 21 class SystemFacadeLocal(object): 22 """Facede to access the system-related functionality. 24 The methods inside this class only accept Python native types. 62 original_mode = utils.read_one_line(governor_path) 63 utils.open_write_close(governor_path, mode) 81 return utils.get_cpu_usage() [all …]
|
| /external/python/cpython3/Lib/test/test_email/ |
| D | test_utils.py | 2 from email import utils 9 class DateTimeTests(unittest.TestCase): 13 offsetstring = ' -0700' 14 utcoffset = datetime.timedelta(hours=-7) 20 self.assertEqual(utils.format_datetime(self.naive_dt), 21 self.datestring + ' -0000') 24 self.assertEqual(utils.format_datetime(self.aware_dt), 30 self.assertEqual(utils.format_datetime(utc_dt, usegmt=True), 35 utils.format_datetime(self.naive_dt, usegmt=True) 39 utils.format_datetime(self.aware_dt, usegmt=True) [all …]
|
| /external/autotest/client/cros/power/ |
| D | power_utils.py | 3 # Use of this source code is governed by a BSD-style license that can be 12 from autotest_lib.client.bin import utils 40 http://www.intel.com/content/www/us/en/processors/processor-numbers.html 46 cpuinfo = utils.read_file('/proc/cpuinfo') 48 if re.search(r'AMD.*[AE][269]-9[0-9][0-9][0-9].*RADEON.*R[245]', cpuinfo): 52 if re.search(r'Intel.*Atom.*[NZ][2-6]', cpuinfo): 54 if re.search(r'Intel.*Celeron.*N2[89][0-9][0-9]', cpuinfo): 56 if re.search(r'Intel.*Celeron.*N3[0-9][0-9][0-9]', cpuinfo): 58 if re.search(r'Intel.*Celeron.*[0-9]{3,4}', cpuinfo): 60 # https://ark.intel.com/products/series/94028/5th-Generation-Intel-Core-M-Processors [all …]
|