Home
last modified time | relevance | path

Searched +full:write +full:- +full:host (Results 1 – 25 of 1117) sorted by relevance

12345678910>>...45

/external/autotest/site_utils/deployment/
Dinstall.py3 # Use of this source code is governed by a BSD-style license that can be
30 * For the full deployment case, install dev-signed RO firmware
39 * Every servo host is up and running, and accessible via SSH.
85 _LOG_FORMAT = '%(asctime)s | %(levelname)-10s | %(message)s'
91 _LOG_BUCKET_NAME = 'chromeos-install-logs'
93 _OMAHA_STATUS = 'gs://chromeos-build-release-console/omaha_status.json'
96 # host's prior state.
97 _LOCK_REASON_EXISTING = 'Repairing or deploying an existing host'
98 _LOCK_REASON_NEW_HOST = 'Repairing or deploying a new host'
122 def write(self, s): member in _MultiFileWriter
[all …]
Dcmdvalidate.py2 # Use of this source code is governed by a BSD-style license that can be
8 can readily be done by `ArgumentParser.parse_args()`. The post-parsing
41 _BUILD_URI_FORMAT = 'gs://chromeos-image-archive/%s-release/%s'
50 # _BUILD_PATTERNS describe the recognized syntaxes for user-supplied
54 # For user-supplied build versions, the following forms are supported:
55 # #### - Indicates a canary; equivalent to ####.0.0.
56 # ####.#.# - A full build version without the leading R##- prefix.
57 # R##-###.#.# - Canonical form of a build version.
60 (re.compile(r'^R\d+-\d+\.\d+\.\d+$'), None),
61 (re.compile(r'^\d+\.\d+\.\d+$'), 'LATEST-%s'),
[all …]
/external/autotest/server/site_tests/power_DeferForFlashrom/
Dpower_DeferForFlashrom.py2 # Use of this source code is governed by a BSD-style license that can be
12 # Timeout for commands run on the host.
19 # Time in seconds to perform a flashrom write and to wait for the system to
25 # Time in seconds to perform a flashrom write and to wait for the system to
36 def initialize(self, host): argument
40 @param host: Host/DUT object to use for test.
42 self.host = host
47 Create a temporary file on the host and returns its path.
52 @param size: Number of bytes to write to the file.
54 logging.info('Creating %d-byte temp file from %s', size, source_path)
[all …]
/external/python/cpython2/Lib/
Dxmlrpclib.py2 # XML-RPC CLIENT LIBRARY
5 # an XML-RPC client interface for Python.
8 # implement XML-RPC servers.
14 # 1999-01-14 fl Created
15 # 1999-01-15 fl Changed dateTime to use localtime
16 # 1999-01-16 fl Added Binary/base64 element, default to RPC2 service
17 # 1999-01-19 fl Fixed array data element (from Skip Montanaro)
18 # 1999-01-21 fl Fixed dateTime constructor, etc.
19 # 1999-02-02 fl Added fault handling, handle empty sequences, etc.
20 # 1999-02-10 fl Fixed problem with empty responses (from Skip Montanaro)
[all …]
/external/python/cpython3/Lib/xmlrpc/
Dclient.py2 # XML-RPC CLIENT LIBRARY
5 # an XML-RPC client interface for Python.
8 # implement XML-RPC servers.
14 # 1999-01-14 fl Created
15 # 1999-01-15 fl Changed dateTime to use localtime
16 # 1999-01-16 fl Added Binary/base64 element, default to RPC2 service
17 # 1999-01-19 fl Fixed array data element (from Skip Montanaro)
18 # 1999-01-21 fl Fixed dateTime constructor, etc.
19 # 1999-02-02 fl Added fault handling, handle empty sequences, etc.
20 # 1999-02-10 fl Fixed problem with empty responses (from Skip Montanaro)
[all …]
/external/u-boot/test/fs/
Dfs-test.sh2 # SPDX-License-Identifier: GPL-2.0+
6 # Invoke this test script from U-Boot base directory as ./test/fs/fs-test.sh
10 # fs-test.sb.ext4.out: Summary: PASS: 24 FAIL: 0
11 # fs-test.ext4.out: Summary: PASS: 24 FAIL: 0
12 # fs-test.fs.ext4.out: Summary: PASS: 24 FAIL: 0
14 # fs-test.sb.fat16.out: Summary: PASS: 24 FAIL: 0
15 # fs-test.fat16.out: Summary: PASS: 21 FAIL: 3
16 # fs-test.fs.fat16.out: Summary: PASS: 21 FAIL: 3
18 # fs-test.sb.fat32.out: Summary: PASS: 24 FAIL: 0
19 # fs-test.fat32.out: Summary: PASS: 21 FAIL: 3
[all …]
/external/python/cpython2/Demo/sockets/
Dtelnet.py6 # telnet commands, but can still be used to connect in line-by-line mode.
10 # Usage: telnet host [port]
30 host = sys.argv[1]
32 hostaddr = gethostbyname(host)
34 sys.stderr.write(sys.argv[1] + ': bad host name\n')
48 sys.stderr.write(servname + ': bad tcp service name\n')
54 s.connect((host, port))
56 sys.stderr.write('connect failed: ' + repr(msg) + '\n')
62 # child -- read stdin, write socket
67 # parent -- read socket, write stdout
[all …]
Dgopher.py5 # Usage: gopher [ [selector] host [port] ]
12 # Default selector, host and port
36 # Oft-used characters and strings
40 # Open a TCP connection to a given host and port
41 def open_socket(host, port): argument
47 s.connect((host, port))
50 # Send a selector to a given host and port, return a file with the reply
51 def send_request(selector, host, port): argument
52 s = open_socket(host, port)
58 def get_menu(selector, host, port): argument
[all …]
/external/python/cpython2/Demo/threads/
Dtelnet.py6 # telnet commands, but can still be used to connect in line-by-line mode.
10 # Usage: telnet host [port]
32 sys.stderr.write('usage: telnet hostname [port]\n')
34 host = sys.argv[1]
36 hostaddr = gethostbyname(host)
38 sys.stderr.write(sys.argv[1] + ': bad host name\n')
52 sys.stderr.write(servname + ': bad tcp service name\n')
58 s.connect((host, port))
60 sys.stderr.write('connect failed: %r\n' % (msg,))
67 # read socket, write stdout
[all …]
/external/autotest/server/site_tests/brillo_StorageWriteSpeedTest/
Dbrillo_StorageWriteSpeedTest.py2 # Use of this source code is governed by a BSD-style license that can be
23 def run_once(self, host=None, block_size=_DEFAULT_BLOCK_SIZE, argument
27 @param host: A host object representing the DUT.
28 @param block_size: The size of blocks to write in bytes.
29 @param num_blocks: The number of blocks to write.
30 @param min_speed: Minimum required write speed in bytes/sec.
36 tmp_file = os.path.join(host.get_tmp_dir(), 'testfile')
37 result = host.run_output(
42 match = re.match('.*\(([0-9]+) bytes/sec\)$', line)
47 raise error.TestError('Error finding storage write speed')
[all …]
/external/dng_sdk/source/
Ddng_validate.cpp2 // Copyright 2006-2012 Adobe Systems Incorporated
15 // ------------------
21 // DNG SDK error code - 100000 + 100
69 static int32 gMosaicPlane = -1;
99 dng_host host; in dng_validate() local
101 host.SetPreferredSize (gPreferredSize); in dng_validate()
102 host.SetMinimumSize (gMinimumSize ); in dng_validate()
103 host.SetMaximumSize (gMaximumSize ); in dng_validate()
105 host.ValidateSizes (); in dng_validate()
107 if (host.MinimumSize ()) in dng_validate()
[all …]
/external/python/cpython3/Tools/scripts/
Dget-remote-certificate.py5 # args are HOST:PORT [, HOST:PORT...]
15 def fetch_server_certificate (host, port): argument
25 m = re.search(br"^([-]+BEGIN CERTIFICATE[-]+[\r]*\n"
26 br".*[\r]*^[-]+END CERTIFICATE[-]+)$",
33 fp.write(m.group(1) + b"\n")
37 status, output = subproc(r'openssl x509 -in "%s" -out "%s"' %
53 fp.write("quit\n")
57 'openssl s_client -connect "%s:%s" -showcerts < "%s"' %
58 (host, port, tfile))
63 'openssl s_client -connect "%s:%s" -showcerts < /dev/null' %
[all …]
/external/python/cpython2/Tools/ssl/
Dget-remote-certificate.py5 # args are HOST:PORT [, HOST:PORT...]
11 def fetch_server_certificate (host, port): argument
23 m = re.search(r"^([-]+BEGIN CERTIFICATE[-]+[\r]*\n"
24 r".*[\r]*^[-]+END CERTIFICATE[-]+)$",
31 fp.write(m.group(1) + "\n")
35 status, output = subproc(r'openssl x509 -in "%s" -out "%s"' %
50 fp.write("quit\n")
54 'openssl s_client -connect "%s:%s" -showcerts < "%s"' %
55 (host, port, tfile))
60 'openssl s_client -connect "%s:%s" -showcerts < /dev/null' %
[all …]
/external/u-boot/test/py/tests/
Dtest_gpt.py1 # SPDX-License-Identifier: GPL-2.0
23 u_boot_console: A U-Boot console.
43 cmd = ('sgdisk', '-U', '375a56f7-d6c9-4e81-b5f0-09d41ca89efe',
47 cmd = ('sgdisk', '--new=1:2048:4095', '-c 1:part1', persistent)
50 cmd = ('sgdisk', '--new=2:4096:7167', '-c 2:part2', persistent)
52 cmd = ('sgdisk', '-l', persistent)
62 This is function-scoped because it uses u_boot_console, which is also
63 function-scoped. However, we don't need to actually do any function-scope
78 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
79 output = u_boot_console.run_command('gpt read host 0')
[all …]
/external/ltp/testcases/kernel/fs/doio/include/
Dwrite_log.h20 * with this program; if not, write the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
47 * User view of a write log record. Note that this is not necessiliary
49 * don't expect to od the write log file and see things formatted this way.
53 int w_pid; /* pid doing the write */
56 int w_oflags; /* low-order open() flags */
58 int w_async; /* 1 if async write (writea) */
60 char w_host[WLOG_MAX_HOST+1]; /* host doing write - */
62 int w_hostlen; /* host name length */
63 char w_path[WLOG_MAX_PATH+1]; /* file written to - */
[all …]
/external/python/cpython3/.azure-pipelines/
Dwindows-steps.yml2 - checkout: self
6 - powershell: |
8 Write-Host '##vso[task.setvariable variable=Py_IntDir]$(Build.BinariesDirectory)\obj'
10 Write-Host '##vso[task.setvariable variable=Py_OutDir]$(Build.SourcesDirectory)\PCbuild'
11 #Write-Host '##vso[task.setvariable variable=Py_OutDir]$(Build.BinariesDirectory)\bin'
12 Write-Host '##vso[task.setvariable variable=EXTERNALS_DIR]$(Build.BinariesDirectory)\externals'
15 - script: PCbuild\build.bat -e $(buildOpt)
20 - script: python.bat -m test.pythoninfo
23 - script: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.Bin…
28 - task: PublishTestResults@2
[all …]
/external/autotest/server/site_tests/firmware_Fingerprint/
Dcontrol.sw_write_protect2 # Use of this source code is governed by a BSD-style license that can be
10 Verify that software write protect cannot be disabled when hardware write
14 Fails if we can disable software write protect from RO or RW."
25 Reboots to RO, attempts to disable software write protect while hardware write
27 disable software write protect while hardware write protect is enabled and
35 host = hosts.create_host(machine, servo_args=servo_args)
36 job.run_test("firmware_Fingerprint", host=host,
/external/autotest/server/cros/faft/
Dfirmware_test.py2 # Use of this source code is governed by a BSD-style license that can be
37 def initialize(self, host): argument
39 self.servo = host.servo
41 self._client = host
42 self.faft_client = RPCProxy(host)
114 def initialize(self, host, cmdline_args, ec_wp=None): argument
115 super(FirmwareTest, self).initialize(host)
120 self.power_control = host.POWER_CONTROL_RPM
127 if self.power_control not in host.POWER_CONTROL_VALID_ARGS:
128 raise error.TestError('Valid values for --args=power_control '
[all …]
/external/autotest/server/site_tests/firmware_ECWriteProtect/
Dcontrol2 # Use of this source code is governed by a BSD-style license that can be
9 PURPOSE = "Servo based EC write protect test"
10 CRITERIA = "This test will fail if EC write protect misbehaved"
20 This test starts with RO normal mode and enables EC write protect. Software sync
21 supposed to write protect the entire EC flash, so we expect the following
22 write protect flags:
23 - wp_gpio_asserted
24 - ro_at_boot
25 - ro_now
26 - all_now
[all …]
Dcontrol.dev2 # Use of this source code is governed by a BSD-style license that can be
9 PURPOSE = "Servo based EC write protect test"
10 CRITERIA = "This test will fail if EC write protect misbehaved"
20 This test starts with RO normal mode and enables EC write protect. Software sync
21 supposed to write protect the entire EC flash, so we expect the following
22 write protect flags:
23 - wp_gpio_asserted
24 - ro_at_boot
25 - ro_now
26 - all_now
[all …]
/external/v8/src/heap/
Dheap-write-barrier.h2 // Use of this source code is governed by a BSD-style license that can be
20 // object-macros.h.
22 // Write barrier for FixedArray elements.
29 // Combined write barriers.
30 void WriteBarrierForCode(Code* host, RelocInfo* rinfo, Object* value);
31 void WriteBarrierForCode(Code* host);
33 // Generational write barrier.
39 void GenerationalBarrierForCode(Code* host, RelocInfo* rinfo,
42 // Marking write barrier.
46 void MarkingBarrierForCode(Code* host, RelocInfo* rinfo, HeapObject* object);
/external/libunwind/doc/
Dunw_create_addr_space.man16 \-\- create address space for remote unwinding
35 address\-space and initializes it based on the call\-back routines
38 The call\-back routines are described in detail below. The
40 can be set to 0 to request the default byte\-order of
41 the unwind target. To request a particular byte\-order,
47 request little\-endian byte\-order and __BIG_ENDIAN
49 request big\-endian byte\-order. Whether or not a particular byte\-order
52 .SH CALL\-BACK ROUTINES
56 uses a set of call\-back routines to access the
57 information it needs to unwind a chain of stack\-frames. These
[all …]
/external/u-boot/board/bticino/mamoj/
DREADME10 This will generate the SPL image called SPL and the u-boot-dtb.img.
21 ---------------
23 - Build imx_usb_loader
29 - Build the BSP and copy SPL, u-boot-dtb.img in imx_usb_loader directory
31 - Put the board in "Serial Download Mode"
33 - Plug-in USB-to-Serial, Open minicom 1152008N1 and USB OTG cables to Host
35 - Turn-on board
37 - Identify VID/PID using lsusb
41 - Update the conf files
54 u-boot-dtb.img:jump header2
[all …]
/external/clang/utils/CIndex/
Dcompletion_logger_server.py12 host = sys.argv[1]
15 addr = (host,port)
21 print "Listing on {0}:{1} and logging to '{2}'".format(host, port, sys.argv[3])
32 f.write("{ ");
33 f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
34 f.write(", \"sender\": \"{0}\" ".format(addr[0]))
35 f.write(", \"data\": ")
36 f.write(data)
37 f.write(" }\n")
/external/autotest/client/common_lib/cros/tendo/
Dwebserver_config.py2 # Use of this source code is governed by a BSD-style license that can be
44 host=None): argument
52 @param host: Host object if we want to control webservd on a remote
53 host.
59 self._run = utils.run if host is None else host.run
63 """Write a config file at |path| for |protocol_handlers|.
65 @param path: file system path to write config dict to.
76 # Write out the actual file and give webservd permissions.
78 f.write(json.dumps(config, indent=True))

12345678910>>...45