/external/curl/lib/ |
netrc.h | 25 /* returns -1 on failure, 0 if the host is found, 1 is the host isn't found */ 26 int Curl_parsenetrc(const char *host, 30 /* Assume: (*passwordp)[0]=0, host[0] != 0.
|
/external/libnl/src/ |
nl-util-addr.c | 17 char host[256]; local 26 err = nl_addr_resolve(a, host, sizeof(host)); 31 printf("%s\n", host);
|
/external/tensorflow/tensorflow/stream_executor/host/ |
host_platform_id.h | 23 namespace host { namespace in namespace:perftools::gputools 25 // Opaque and unique identifier for the host platform. 32 } // namespace host
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
inet_makeaddr.c | 35 * Formulate an Internet address from network + host. Used in 39 inet_makeaddr(in_addr_t net, in_addr_t host) 44 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); 46 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); 48 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); 50 addr = net | host;
|
/external/autotest/server/site_tests/power_DarkResumeShutdownServer/ |
power_DarkResumeShutdownServer.py | 26 def initialize(self, host, power_method=None): 29 self.orig_boot_id = host.get_boot_id() 31 host.run('mkdir -p %s' % TMP_POWER_DIR) 35 host.run('echo %s %d > %s/dark_resume_suspend_durations' % 41 host.run('echo %s > %s/dark_resume_sources' % 46 host.run('echo 0 > %s/disable_dark_resume' % TMP_POWER_DIR) 49 host.run('mount --bind %s %s' % (TMP_POWER_DIR, POWER_DIR)) 53 host.run('restart powerd') 65 def run_once(self, host=None): 78 @param host: The machine to run the tests o [all...] |
/system/core/base/ |
parsenetaddress_test.cpp | 24 std::string canonical, host, error; local 28 ParseNetAddress("www.google.com", &host, &port, &canonical, &error)); 30 EXPECT_EQ("www.google.com", host); 34 ParseNetAddress("www.google.com:666", &host, &port, &canonical, &error)); 36 EXPECT_EQ("www.google.com", host); 41 std::string canonical, host, error; local 44 EXPECT_TRUE(ParseNetAddress("1.2.3.4", &host, &port, &canonical, &error)); 46 EXPECT_EQ("1.2.3.4", host); 49 EXPECT_TRUE(ParseNetAddress("1.2.3.4:666", &host, &port, &canonical, &error)); 51 EXPECT_EQ("1.2.3.4", host); 56 std::string canonical, host, error; local 83 std::string canonical, host; local 121 std::string host, error; local [all...] |
/external/autotest/server/site_tests/brillo_WebservdSanity/ |
brillo_WebservdSanity.py | 19 def run_once(self, host=None): 23 host.run('stop %s' % _WEBSERVD_TEST_CLIENT) 24 process_utils.pkill_process(_WEBSERVD_TEST_CLIENT, host=host) 26 host.run('start %s' % _WEBSERVD_TEST_CLIENT) 27 pid = int(host.run('pgrep %s' % _WEBSERVD_TEST_CLIENT).stdout.strip()) 32 '.*Webserver is online.*', process_id=pid, host=host) 35 host.adb_run('forward tcp:8998 tcp:80')
|
/external/autotest/server/site_tests/buffet_WebServerSanity/ |
buffet_WebServerSanity.py | 14 def warmup(self, host): 16 config.restart_with_config(host=host) 19 def cleanup(self, host): 20 buffet_config.naive_restart(host=host) 23 def run_once(self, host): 24 helper = privet_helper.PrivetHelper(host=host)
|
/external/autotest/server/site_tests/platform_InstallFW/ |
platform_InstallFW.py | 12 def run_once(self, host=None, fw_type=None, fw_path=None, fw_name=None): 15 @param host: host to run on 31 host.send_file(fw_src, fw_dst) 36 host.run("sudo /bin/sh %s --mode recovery --update_main " 39 host.run("sudo /usr/sbin/flashrom -p host -w %s" 43 host.run("sudo /bin/sh %s --mode recovery --update_ec " 46 host.run("sudo /usr/sbin/flashrom -p ec -w %s" 49 host.reboot( [all...] |
/frameworks/support/compat/src/main/java/androidx/core/view/ |
AccessibilityDelegateCompat.java | 38 * host methods. This prevents certain properties such as class name from 41 * as any changes will be overwritten by the host class. 44 * methods are called <i>after</i> host methods, which all properties to be 45 * modified without being overwritten by the host class. 57 public boolean dispatchPopulateAccessibilityEvent(View host, 59 return mCompat.dispatchPopulateAccessibilityEvent(host, event); 63 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { 64 mCompat.onInitializeAccessibilityEvent(host, event); 69 View host, AccessibilityNodeInfo info) { 70 mCompat.onInitializeAccessibilityNodeInfo(host, [all...] |
/external/autotest/server/brillo/ |
host_utils.py | 27 def run_in_background(host, cmd): 30 @param host: A host object representing the DUT. 36 return int(host.run_output(background_cmd).strip()) 39 def wait_for_process(host, pid, timeout=-1): 42 @param host: A host object representing the DUT. 49 return host.run(wait_cmd, ignore_status=True).exit_status == 0 53 def connect_to_ssid(host, ssid, passphrase): 56 @param host: A host object representing the DUT [all...] |
/external/syslinux/utils/ |
gethostip.c | 55 struct hostent *host; local 90 host = gethostbyname(argv[i]); 91 if (!host) { 97 if (host->h_addrtype != AF_INET || host->h_length != 4) { 105 printf("%s%s", sep, host->h_name); 111 ((unsigned char *)host->h_addr)[0], 112 ((unsigned char *)host->h_addr)[1], 113 ((unsigned char *)host->h_addr)[2], 114 ((unsigned char *)host->h_addr)[3]) [all...] |
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
KeepAliveHttpsTransportSE.java | 27 private final String host; field in class:KeepAliveHttpsTransportSE 33 public KeepAliveHttpsTransportSE(String host, int port, String file, int timeout) { 34 super(host, port, file, timeout); 35 this.host = host; 51 serviceConnection = new HttpsServiceConnectionSEIgnoringConnectionClose(host, port,
|
/external/autotest/server/hosts/ |
servo_repair.py | 16 Verifier to trigger a servo host update, if necessary. 23 def verify(self, host): 24 # First, only run this verifier if the host is in the physical lab. 27 if host.is_in_lab() and host.job and host.job.in_lab: 28 host.update_image(wait_for_update=False) 32 return 'servo host software is up-to-date' 44 def _get_config_val(host, config_file, attr): 46 Get the `attr` for `host` from `config_file` [all...] |
/external/autotest/contrib/ |
move_cq_hosts.sh | 15 ./cli/atest host list --web=$FROM_HOST --parse $1 | awk -F '|' '{ print $5 }' | sed 's/Labels=//' | sed 's/, /,/g' 19 ./cli/atest host list --web=$FROM_HOST $1 | sed 1d | awk '{ print $4; }' 23 ./cli/atest host mod --web=$FROM_HOST -l $1 35 ./cli/atest host create --web=$TO_HOST -b $2 $1 39 ./cli/atest host delete --web=$FROM_HOST $1 42 HOSTS_TO_MOVE=$(./cli/atest host list --web=$FROM_HOST -b $POOL | sed 1d | awk '{ print $1 }') 44 for host in $HOSTS_TO_MOVE 46 # if ! silent lock_host $host; then echo $host already handled; continue; fi 47 LABELS=$(host_labels $host) [all...] |
/external/autotest/server/site_tests/power_BrightnessResetAfterReboot/ |
power_BrightnessResetAfterReboot.py | 17 def run_once(self, host, client_autotest): 21 if host.has_internal_display() is None: 24 autotest_client = autotest.Autotest(host) 25 host.reboot() 30 host) 37 self.backlight_control('%s=0' % (self.SET_BRIGHTNESS_FLAG), host) 38 if not self.backlight_control(self.GET_BRIGHTNESS_FLAG, host) == 0: 41 self.backlight_control('%s=100' % (self.SET_BRIGHTNESS_FLAG), host) 42 if not self.backlight_control(self.GET_BRIGHTNESS_FLAG, host) == 100: 46 host.reboot( [all...] |
/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...] |
/external/apache-http/android/src/android/net/http/ |
RequestFeeder.java | 28 Request getRequest(HttpHost host); 31 * @return true if a request for this host is available 33 boolean haveRequest(HttpHost host);
|
/external/autotest/client/common_lib/cros/tendo/ |
webservd_helper.py | 8 def run_and_check_result(host, command): 9 """Run a command on |host| and return whether it succeeded. 11 @param host: Host object if we're interested in a remote host. 12 @param cmd: string command to run on |host|. 17 if host is not None: 18 run = host.run 22 def webservd_is_installed(host=None): 25 @param host: Host object if we're interested in a remote host [all...] |
/external/autotest/server/cros/atrus/ |
atrus_base_test.py | 15 def initialize(self, host): 19 @param host: a host object representing the DUT. 22 self._host = host
|
/external/autotest/server/site_tests/generic_RebootTest/ |
generic_RebootTest.py | 13 def run_once(self, host): 14 host.reboot()
|
/external/autotest/server/site_tests/platform_CryptohomeMigrateChapsToken/ |
platform_CryptohomeMigrateChapsToken.py | 17 def run_once(self, host, baseline_version=None): 20 info = host.host_info_store.get() 25 board_name = host.get_board().split(':')[1] 29 self.job.run_test('provision_AutoUpdate', host=host, 31 client_at = autotest.Autotest(host) 35 self.job.run_test('provision_AutoUpdate', host=host,
|
/external/autotest/server/site_tests/platform_InstallTestImage/ |
platform_InstallTestImage.py | 11 def run_once(self, host, image_url): 12 """Install image from URL `image_url` on `host`. 14 @param host Host object representing DUT to be re-imaged. 18 host.servo_install(image_url=image_url)
|
/external/chromium-libpac/test/js-unittest/ |
return_object.js | 1 function FindProxyForURL(url, host) {
|
/external/jcommander/src/test/resources/ |
MessageBundle_en_US.properties | 19 host = Host
|