| /external/mesa3d/.gitlab-ci/windows/ |
| D | mesa_deps_build.ps1 | 2 $MyPath = $MyInvocation.MyCommand.Path | Split-Path -Parent 7 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -bor [Net.SecurityP… 9 Remove-Item -Recurse -Force -ErrorAction SilentlyContinue "deps" | Out-Null 11 $depsInstallPath="C:\mesa-deps" 13 Get-Date 14 Write-Host "Cloning DirectX-Headers" 15 git clone -b v1.611.0 --depth=1 https://github.com/microsoft/DirectX-Headers deps/DirectX-Headers 17 Write-Host "Failed to clone DirectX-Headers repository" 20 Write-Host "Building DirectX-Headers" 21 $dxheaders_build = New-Item -ItemType Directory -Path ".\deps\DirectX-Headers" -Name "build" [all …]
|
| D | mesa_deps_choco.ps1 | 2 Write-Host "Updating TLS certificate store at:" 3 Get-Date 4 Remove-Item -Recurse -Force -ErrorAction SilentlyContinue "_tlscerts" | Out-Null 5 $certdir = (New-Item -ItemType Directory -Name "_tlscerts") 6 certutil -syncwithWU "$certdir" 7 Foreach ($file in (Get-ChildItem -Path "$certdir\*" -Include "*.crt")) { 8 Import-Certificate -FilePath $file -CertStoreLocation Cert:\LocalMachine\Root | Out-Null 10 Remove-Item -Recurse -Path $certdir 12 Write-Host "Installing graphics tools (DirectX debug layer) at:" 13 Get-Date [all …]
|
| D | mesa_deps_test_piglit.ps1 | 4 $MyPath = $MyInvocation.MyCommand.Path | Split-Path -Parent 7 $source_dir = Join-Path -Path "$PWD" -ChildPath "src" 8 $waffle_source = Join-Path -Path "$source_dir" -ChildPath "waffle" 9 $waffle_install = Join-Path -Path "$PWD" -ChildPath "waffle" 10 $piglit_source = Join-Path -Path "$PWD" -ChildPath "Piglit" 12 Write-Host "Cloning Waffle at:" 13 Get-Date 14 New-Item -ItemType Directory -Path "$waffle_source" | Out-Null 15 Push-Location -Path $waffle_source 18 git fetch --depth 1 origin 950a1f35a718bc2a8e1dda75845e52651bb331a7 # of branch master [all …]
|
| D | mesa_deps_vulkan_sdk.ps1 | 12 …unarg.com/sdk/download/$env:VULKAN_SDK_VERSION/windows/VulkanSDK-$env:VULKAN_SDK_VERSION-Installer… 13 Write-Host "Downloading Vulkan-SDK $VULKAN_SDK_URL at:" 14 Get-Date 15 Invoke-WebRequest -Uri "$VULKAN_SDK_URL" -OutFile "${env:TMP}\vulkan_sdk.exe" | Out-Null 16 Write-Host "Installing Vulkan-SDK at:" 17 Get-Date 18 Start-Process -NoNewWindow -Wait "${env:TMP}\vulkan_sdk.exe" -ArgumentList "--am --al -c in" 20 Write-Host "Failed to install Vulkan SDK" 23 Remove-Item "${env:TMP}\vulkan_sdk.exe" -Force 25 …lunarg.com/sdk/download/$env:VULKAN_SDK_VERSION/windows/VulkanRT-$env:VULKAN_SDK_VERSION-Installer… [all …]
|
| D | mesa_container.ps1 | 1 # Implements the equivalent of ci-templates container-ifnot-exists, using 3 # Windows, nor can we execute Docker-in-Docker 12 Set-Location -Path ".\.gitlab-ci\windows" 14 docker --config "windows-docker.conf" login -u "$registry_username" -p "$registry_password" "$regis… 16 Write-Host "docker login failed to $registry_uri" 21 docker --config "windows-docker.conf" pull "$registry_user_image" 23 Write-Host "User image $registry_user_image already exists; not rebuilding" 24 docker --config "windows-docker.conf" logout "$registry_uri" 29 docker --config "windows-docker.conf" pull "$registry_central_image" 31 Write-Host "Copying central image $registry_central_image to user image $registry_user_image" [all …]
|
| D | mesa_deps_test_deqp.ps1 | 4 $MyPath = $MyInvocation.MyCommand.Path | Split-Path -Parent 7 $source_dir = Join-Path -Path "$PWD" -ChildPath "src" 8 $deqp_source = Join-Path -Path "$source_dir" -ChildPath "VK-GL-CTS" 9 $deqp_build = Join-Path -Path "$PWD" -ChildPath "deqp" 11 Write-Host "Cloning Vulkan and GL Conformance Tests at:" 12 Get-Date 13 New-Item -ItemType Directory -Path "$deqp_source" | Out-Null 14 Push-Location -Path $deqp_source 16 git remote add origin https://github.com/KhronosGroup/VK-GL-CTS.git 17 git fetch --depth 1 origin 56114106d860c121cd6ff0c3b926ddc50c4c11fd # of branch vulkan-cts-1.3.4 [all …]
|
| D | mesa_deps_rust.ps1 | 7 Write-Host "Installing rust at:" 8 Get-Date 9 $url = 'https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe'; 10 Write-Host ('Downloading {0} ...' -f $url); 11 Invoke-WebRequest -Uri $url -OutFile 'rustup-init.exe'; 12 Write-Host "Installing rust toolchain" 13 .\rustup-init.exe -y; 14 Remove-Item rustup-init.exe; 16 Write-Host "Installing rust finished at:" 17 Get-Date
|
| D | mesa_deps_d3d.ps1 | 7 $depsInstallPath="C:\mesa-deps" 9 Write-Host "Downloading DirectX 12 Agility SDK at:" 10 Get-Date 11 Invoke-WebRequest -Uri https://www.nuget.org/api/v2/package/Microsoft.Direct3D.D3D12/1.610.2 -OutFi… 12 Expand-Archive -Path 'agility.zip' -DestinationPath 'C:\agility' 13 # Copy Agility SDK into mesa-deps\bin\D3D12 14 New-Item -ErrorAction SilentlyContinue -ItemType Directory -Path $depsInstallPath\bin -Name 'D3D12' 15 Copy-Item 'C:\agility\build\native\bin\x64\*.dll' -Destination $depsInstallPath\bin\D3D12 16 Remove-Item 'agility.zip' 17 Remove-Item -Recurse 'C:\agility' [all …]
|
| D | mesa_deps_test.ps1 | 4 $MyPath = $MyInvocation.MyCommand.Path | Split-Path -Parent 7 $spirv_samples_source = Join-Path -Path "$PWD" -ChildPath "spirv-samples" 9 Write-Host "Cloning spirv-samples at:" 10 Get-Date 11 New-Item -ItemType Directory -Path "$spirv_samples_source" | Out-Null 12 Push-Location -Path $spirv_samples_source 14 git remote add origin https://github.com/dneto0/spirv-samples.git 15 git fetch --depth 1 origin 36372636df06a24c4e2de1551beee055db01b91d # of branch main 17 Write-Host "Failed to fetch spirv-samples repository" 18 Pop-Location [all …]
|
| /external/python/cpython2/Lib/ |
| D | xmlrpclib.py | 2 # 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/ |
| D | client.py | 2 # 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/autotest/site_utils/deployment/ |
| D | install.py | 3 # 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. 84 _LOG_FORMAT = '%(asctime)s | %(levelname)-10s | %(message)s' 92 _LOG_BUCKET_NAME = 'chromeos-install-logs' 94 _OMAHA_STATUS = 'gs://chromeos-build-release-console/omaha_status.json' 97 # host's prior state. 98 _LOCK_REASON_EXISTING = 'Repairing or deploying an existing host' 99 _LOCK_REASON_NEW_HOST = 'Repairing or deploying a new host' 125 def write(self, s): member in _MultiFileWriter [all …]
|
| /external/autotest/server/site_tests/firmware_SysfsVPD/ |
| D | firmware_SysfsVPD.py | 2 # Use of this source code is governed by a BSD-style license that can be 33 # Length of test string to generate and write to VPD 36 # Character set to use when generating string to write to VPD 39 # Name of key to write to RO section of VPD 42 # Name of key to write to RW section of VPD 45 def initialize(self, host, cmdline_args, dev_mode=False): argument 47 super(firmware_SysfsVPD, self).initialize(host, cmdline_args) 66 self.host = host 84 self.host.run("vpd -i RO_VPD -l") 85 self.host.run("vpd -i RW_VPD -l") [all …]
|
| /external/python/cpython3/.azure-pipelines/windows-release/ |
| D | build-steps.yml | 5 - template: ./checkout.yml 7 - powershell: | 8 …$d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches… 9 Write-Host "##vso[task.setvariable variable=VersionText]$($d.PythonVersion)" 10 Write-Host "##vso[task.setvariable variable=VersionNumber]$($d.PythonVersionNumber)" 11 Write-Host "##vso[task.setvariable variable=VersionHex]$($d.PythonVersionHex)" 12 Write-Host "##vso[task.setvariable variable=VersionUnique]$($d.PythonVersionUnique)" 13 Write-Host "##vso[build.addbuildtag]$($d.PythonVersion)" 14 Write-Host "##vso[build.addbuildtag]$($d.PythonVersion)-$(Name)" 17 - ${{ if eq(parameters.ShouldPGO, 'false') }}: [all …]
|
| /external/mesa3d/src/gfxstream/guest/GoldfishAddressSpace/include/ |
| D | address_space_graphics_types.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 34 // collection of ring buffers and a common write buffer. 58 // guest-side mapping. 62 // 7. Now the guest and host share asg_context pts and can communicate. 65 // so that the host side (which is usually a separate thread that we don't want 90 // Set by the address space graphics device to notify the guest that the host 94 // The host renderthread is asleep and needs to be woken up. 97 // The host renderthread is active and can consume new data 107 // Host is rendering 114 // to and from the host. There is another ring buffer for large xfers [all …]
|
| /external/python/cpython2/Demo/threads/ |
| D | telnet.py | 6 # 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/python/cpython2/Demo/sockets/ |
| D | telnet.py | 6 # 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 …]
|
| D | gopher.py | 5 # 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/dng_sdk/source/ |
| D | dng_validate.cpp | 2 // 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/cpython2/Tools/ssl/ |
| D | get-remote-certificate.py | 5 # 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/pigweed/pw_bluetooth_sapphire/host/l2cap/ |
| D | a2dp_offload_manager.cc | 7 // https://www.apache.org/licenses/LICENSE-2.0 15 #include "pw_bluetooth_sapphire/internal/host/l2cap/a2dp_offload_manager.h" 22 #include "pw_bluetooth_sapphire/internal/host/common/host_error.h" 23 #include "pw_bluetooth_sapphire/internal/host/hci-spec/constants.h" 24 #include "pw_bluetooth_sapphire/internal/host/hci-spec/protocol.h" 25 #include "pw_bluetooth_sapphire/internal/host/hci-spec/vendor_protocol.h" 26 #include "pw_bluetooth_sapphire/internal/host/l2cap/channel.h" 27 #include "pw_bluetooth_sapphire/internal/host/l2cap/l2cap_defs.h" 28 #include "pw_bluetooth_sapphire/internal/host/transport/control_packets.h" 29 #include "pw_bluetooth_sapphire/internal/host/transport/emboss_control_packets.h" [all …]
|
| /external/cronet/third_party/protobuf/kokoro/release/python/windows/ |
| D | install_python_interpreters.ps1 | 5 Set-StrictMode -Version 2 10 Write-Error $_ 17 function Install-Python { in Install-Python() 28 Write-Host "Downloading the Python installer: $PythonInstallerUrl => $PythonInstallerPath" in Install-Python() 29 Invoke-WebRequest -Uri $PythonInstallerUrl -OutFile $PythonInstallerPath in Install-Python() 32 $HashFromDownload = Get-FileHash -Path $PythonInstallerPath -Algorithm MD5 in Install-Python() 33 if ($HashFromDownload.Hash -ne $PythonInstallerHash) { in Install-Python() 36 Write-Host "Python installer $PythonInstallerPath validated." in Install-Python() 40 if (-Not $?) { in Install-Python() 51 Wait-Process -Name $PythonInstaller -Timeout 300 in Install-Python() [all …]
|
| /external/protobuf/kokoro/release/python/windows/ |
| D | install_python_interpreters.ps1 | 5 Set-StrictMode -Version 2 10 Write-Error $_ 17 function Install-Python { in Install-Python() 28 Write-Host "Downloading the Python installer: $PythonInstallerUrl => $PythonInstallerPath" in Install-Python() 29 Invoke-WebRequest -Uri $PythonInstallerUrl -OutFile $PythonInstallerPath in Install-Python() 32 $HashFromDownload = Get-FileHash -Path $PythonInstallerPath -Algorithm MD5 in Install-Python() 33 if ($HashFromDownload.Hash -ne $PythonInstallerHash) { in Install-Python() 36 Write-Host "Python installer $PythonInstallerPath validated." in Install-Python() 40 if (-Not $?) { in Install-Python() 51 Wait-Process -Name $PythonInstaller -Timeout 300 in Install-Python() [all …]
|
| /external/python/cpython3/.azure-pipelines/ |
| D | find-tools.yml | 4 - template: windows-release/find-sdk.yml 8 - powershell: | 10 -prerelease ` 11 -latest ` 12 -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ` 13 -find VC\Auxiliary\Build\vcvarsall.bat) 14 Write-Host "Found vcvarsall at $vcvarsall" 15 Write-Host "##vso[task.setVariable variable=vcvarsall]$vcvarsall" 18 - powershell: | 20 -prerelease ` [all …]
|
| /external/ltp/testcases/kernel/fs/doio/include/ |
| D | write_log.h | 20 * 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 …]
|