/external/autotest/client/common_lib/hosts/ |
__init__.py | 6 You should 'import hosts' instead of importing every available host module. 12 Host = utils.import_site_class( 14 base_classes.Host)
|
base_classes_unittest.py | 21 host = base_classes.Host() 22 self.assertRaises(NotImplementedError, host.run_output, "fake command") 26 self.god.stub_function(base_classes.Host, 'run') 27 host = base_classes.Host() 28 host.hostname = 'unittest-host' 32 host.run.expect_call('df -PB 1000000 /foo | tail -1').and_return( 35 host.check_diskspace, '/foo', 0.2 [all...] |
/external/autotest/frontend/client/src/autotest/afe/models/ |
Host.java | 7 public class Host extends JSONObject { 8 public static Host fromJsonObject(JSONObject object) { 10 Host host = new Host(); local 11 Utils.updateObject(host, object); 12 return host; 17 if (!(other instanceof Host)) { 21 Host otherHost = (Host) other [all...] |
/external/jcommander/src/test/resources/ |
MessageBundle_en_US.properties | 19 host = Host
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Host.java | 35 * The performance-informing properties of the host on which a benchmark is run. 39 public final class Host { 40 static final Host DEFAULT = new Host(); 41 private static final Logger logger = Logger.getLogger(Host.class.getName()); 47 private Host() { 51 private Host(Builder builder) { 64 } else if (obj instanceof Host) { 65 Host that = (Host) obj [all...] |
Scenario.java | 24 import com.google.caliper.model.Host.HostFunnel; 38 private Host host; field in class:Scenario 45 this.host = Host.DEFAULT; 51 this.host = builder.host; 56 public Host host() { method in class:Scenario 57 return host; 106 private Host host; field in class:Scenario.Builder 110 public Builder host(Host.Builder hostBuilder) { method in class:Scenario.Builder 114 public Builder host(Host host) { method in class:Scenario.Builder [all...] |
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
MCJITTestAPICommon.h | 22 #include "llvm/Support/Host.h" 55 /// Returns true if the host architecture is known to support MCJIT 57 Triple Host(HostTriple); 59 if (std::find(SupportedArchs.begin(), SupportedArchs.end(), Host.getArch()) 64 if (std::find(HasSubArchs.begin(), HasSubArchs.end(), Host.getArch()) 71 if (Host.getArchName().startswith(I->c_str())) 77 /// Returns true if the host OS is known to support MCJIT 79 Triple Host(HostTriple); 82 Host.getEnvironment()) != UnsupportedEnvironments.end()) 85 if (std::find(UnsupportedOSs.begin(), UnsupportedOSs.end(), Host.getOS() [all...] |
/external/autotest/server/hosts/ |
base_classes.py | 5 This module defines the base classes for the server Host hierarchy. 8 You should import the "hosts" package instead of importing each type of host. 10 Host: a machine on which you can run programs 27 class Host(hosts.Host): 41 to super. When overriding methods that are a NOP in Host, the subclass 49 then the method should raise NotImplementedError in Host, and 58 super(Host, self).__init__(*args, **dargs) 67 super(Host, self)._initialize(*args, **dargs) 77 super(Host, self).close( [all...] |
base_classes_unittest.py | 32 host = base_classes.Host.__new__(base_classes.Host) 41 bootloader.Bootloader.expect_new(host) 43 host.__init__() 48 host = base_classes.Host() 51 def install(self, host): 55 installableObj.install.expect_call(host) 57 host.install(installableObj [all...] |
__init__.py | 7 You should 'import hosts' instead of importing every available host module. 11 # host abstract classes 12 from base_classes import Host 15 # host implementation classes
|
/external/chromium-trace/catapult/third_party/typ/typ/fakes/tests/ |
test_result_server_fake_test.py | 18 from typ import Host 23 host = Host() 30 resp = host.fetch(url, 'foo=bar')
|
/external/nist-sip/java/gov/nist/core/ |
HostPort.java | 47 // host / ipv4/ ipv6/ 48 /** host field 50 protected Host host; field in class:HostPort 61 host = null; 76 host.encode(buffer); 92 return port == that.port && host.equals(that.host); 95 /** get the Host field 96 * @return host fiel [all...] |
Host.java | 55 public class Host extends GenericObject { 85 public Host() { 92 /** Constructor given host name or IP address. 94 public Host(String hostName) throws IllegalArgumentException { 96 throw new IllegalArgumentException("null host name"); 108 public Host(String name, int addrType) { 116 * Return the host name in encoded form. 134 * Host names are compared by textual equality. No dns lookup 144 Host otherHost = (Host) obj [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
MessageProcessor.java | 28 import gov.nist.core.Host; 135 this.sentByHostPort.setHost(new Host(ipAddress.getHostAddress())); 171 Host host = new Host(); local 172 host.setHostname(this.getIpAddress().getHostAddress()); 173 via.setHost(host); 226 this.sentByHostPort.setHost( new Host(ipAddress.getHostAddress())); 241 this.sentByHostPort.setHost(new Host(sentBy)); 244 this.sentByHostPort.setHost(new Host(sentBy.substring(0, ind))) [all...] |
/external/autotest/frontend/client/src/autotest/afe/ |
HostDataSource.java | 3 import autotest.afe.models.Host; 33 Host host = Host.fromJsonObject(row); local 34 processHost(host); 35 hosts.add(host); 40 protected void processHost(JSONObject host) { 41 host.put(LOCKED_TEXT, AfeUtils.getLockedText(host)); 43 JSONString jsonPlatform = host.get("platform").isString() [all...] |
/external/chromium-trace/catapult/third_party/typ/typ/tests/ |
pool_test.py | 19 from typ.host import Host 23 def _pre(host, worker_num, context): # pylint: disable=W0613 52 host = Host() 54 pool = make_pool(host, jobs, _echo, context, _pre, _post) 71 host = pool.host 73 host = Host() [all...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/stubs/ |
platform_macros.h | 61 #error Host architecture was not detected as supported by protobuf
|
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/stubs/ |
platform_macros.h | 61 #error Host architecture was not detected as supported by protobuf
|
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/stubs/ |
platform_macros.h | 61 #error Host architecture was not detected as supported by protobuf
|
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/stubs/ |
platform_macros.h | 61 #error Host architecture was not detected as supported by protobuf
|
/libnativehelper/tests/ |
Android.mk | 14 # Host unit test.
|
/external/llvm/unittests/Support/ |
ThreadPool.cpp | 15 #include "llvm/Support/Host.h" 25 Triple Host; 32 Triple Host(Triple::normalize(sys::getProcessTriple())); 35 Host.getEnvironment()) != UnsupportedEnvironments.end()) 38 if (std::find(UnsupportedOSs.begin(), UnsupportedOSs.end(), Host.getOS()) 42 if (std::find(UnsupportedArchs.begin(), UnsupportedArchs.end(), Host.getArch())
|
/external/autotest/scheduler/ |
prejob_task.py | 8 repair will run anytime the host needs a repair, which could be pre or post 12 All prejob tasks must have a host, though they may not have an HQE. If a 15 host=C1, unlocked, is_active=0, is_complete=0, type=Verify 17 of type=Verify, against the C1 host. While the special task is running 22 Host, HQE -> Pending, Starting 28 repair the host 31 set Host, HQE status 37 set Host, HQE status 39 Failing a prejob task effects both the Host and the HQE, as follows: 41 - Host: PreJob failure will result in a Repair job getting queued agains [all...] |
scheduler_models_unittest.py | 104 host = scheduler_models.Host(id=1) 105 fields = list(host._fields) 106 row_data = [getattr(host, fieldname) for fieldname in fields] 107 self.assertEqual({}, host._compare_fields_in_row(row_data)) 110 host._compare_fields_in_row(row_data)) 113 host._compare_fields_in_row(row_data)) 127 host_a = scheduler_models.Host(id=2) 131 host_b = scheduler_models.Host(id=2, always_query=True) 139 host_c = scheduler_models.Host(id=2, always_query=False [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Via.java | 31 import gov.nist.core.Host; 152 * Get the host, port and transport as a Hop. This is 217 /** set the Host of the Via Header 218 * @param host String to set 220 public void setHost(Host host) { 224 sentBy.setHost(host); 275 * Set the host part of this ViaHeader to the newly supplied <code>host</code> 279 * unexpectedly while parsing the host value 301 Host host = sentBy.getHost(); local 472 Host host = new Host(); local [all...] |