Home
last modified time | relevance | path

Searched +full:capture +full:- +full:exit (Results 1 – 25 of 815) sorted by relevance

12345678910>>...33

/external/clang/test/OpenMP/
Datomic_capture_codegen.cpp1 // RUN: %clang_cc1 -verify -triple x86_64-apple-darwin10 -fopenmp -x c -emit-llvm %s -o - | FileChe…
2 // RUN: %clang_cc1 -fopenmp -x c -triple x86_64-apple-darwin10 -emit-pch -o %t %s
3 // RUN: %clang_cc1 -fopenmp -x c -triple x86_64-apple-darwin10 -include-pch %t -verify %s -emit-llv…
4 // expected-no-diagnostics
5 // REQUIRES: x86-registered-target
83 #pragma omp atomic capture in main()
88 #pragma omp atomic capture in main()
92 #pragma omp atomic capture in main()
93 ucv = ucx--; in main()
97 #pragma omp atomic capture in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/net/mptcp/
Dsimult_flows.sh2 # SPDX-License-Identifier: GPL-2.0
4 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX)
5 ns1="ns1-$rndh"
6 ns2="ns2-$rndh"
7 ns3="ns3-$rndh"
8 capture=false
18 echo "Usage: $0 [ -b ] [ -c ] [ -d ]"
19 echo -e "\t-b: bail out after first error, otherwise runs al testcases"
20 echo -e "\t-c: capture packets for each test using tcpdump (default: no capture)"
21 echo -e "\t-d: debug this script"
[all …]
Duserspace_pm.sh2 # SPDX-License-Identifier: GPL-2.0
4 ip -Version > /dev/null 2>&1
5 if [ $? -ne 0 ];then
7 exit 1
36 rndh=$(stdbuf -o0 -e0 printf %x "$sec")-$(mktemp -u XXXXXX)
37 ns1="ns1-$rndh"
38 ns2="ns2-$rndh"
50 rm -rf $file
53 if [ $client4_pid -ne 0 ]; then
54 kill -SIGUSR1 $client4_pid > /dev/null 2>&1
[all …]
Dmptcp_connect.sh2 # SPDX-License-Identifier: GPL-2.0
14 capture=false
30 if [ $tc_loss -eq 100 ];then
32 elif [ $tc_loss -ge 10 ]; then
34 elif [ $tc_loss -ge 1 ]; then
41 echo "Usage: $0 [ -a ]"
42 echo -e "\t-d: tc/netem delay in milliseconds, e.g. \"-d 10\" (default random)"
43 echo -e "\t-l: tc/netem loss percentage, e.g. \"-l 0.02\" (default random)"
44 …echo -e "\t-r: tc/netem reorder mode, e.g. \"-r 25% 50% gap 5\", use "-r 0" to disable reordering …
45 …echo -e "\t-e: ethtool features to disable, e.g.: \"-e tso -e gso\" (default: randomly disable any…
[all …]
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/doc/spec/
Dx1904.htm1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd…
80 >Some video capture devices can sample a subsection of the
116 >Scaling requires a source and a target. On a video capture
155 >All capture and output device must support the
174 NAME="CROP-SCALE"
178 >Figure 1-1. Image Cropping, Insertion and Scaling</B
188 >For capture devices the coordinates of the top left
195 HREF="r7771.htm#V4L2-CROPCAP"
205 HREF="x7013.htm#VBI-HSYNC"
206 >Figure 4-1</A
[all …]
Dcapture-example.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd…
5 >Video Capture Example</TITLE
72 NAME="CAPTURE-EXAMPLE"
74 >Appendix B. Video Capture Example</H1
78 * V4L2 video capture example
90 #include &lt;fcntl.h&gt; /* low-level i/o */
119 static int fd = -1;
129 exit (EXIT_FAILURE);
140 while (-1 == r &amp;&amp; EINTR == errno);
156 HREF="x5953.htm#V4L2-BUFFER"
[all …]
Da16706.htm1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd…
5 >Video Capture Example</TITLE
72 NAME="CAPTURE-EXAMPLE"
74 >Appendix B. Video Capture Example</H1
78 * V4L2 video capture example
90 #include &lt;fcntl.h&gt; /* low-level i/o */
119 static int fd = -1;
129 exit (EXIT_FAILURE);
140 while (-1 == r &amp;&amp; EINTR == errno);
156 HREF="x5953.htm#V4L2-BUFFER"
[all …]
/external/autotest/client/common_lib/cros/network/
Dtcpdump_analyzer.py2 # Use of this source code is governed by a BSD-style license that can be
17 RADIOTAP_LOW_SIGNAL_REJECTOR = ('radiotap.dbm_antsignal > -85')
29 """A frame from a packet capture."""
130 capture = pyshark.FileCapture(
132 capture.load_packets(timeout=PYSHARK_LOAD_TIMEOUT)
133 return capture
141 we'll see packets from the external environment in the packet capture
142 and tests that assert if the packet capture has certain properties
146 in these chambers. A signal strength of < -85 dBm in an incoming packet
148 default and external packets are part of the capture by default.
[all …]
/external/jetpack-camera-app/app/src/androidTest/java/com/google/jetpackcamera/
DBackgroundDeviceTest.kt8 * http://www.apache.org/licenses/LICENSE-2.0
73 // Wait for the capture button to be displayed in <lambda>()
83 // Wait for the capture button to be displayed in <lambda>()
98 // Exit quick settings in <lambda>()
108 // Wait for the capture button to be displayed in <lambda>()
128 // Exit quick settings in <lambda>()
137 // The GMD emulators with API <=28 do not support single-stream configs. in assumeSupportsSingleStream()
146 // Wait for the capture button to be displayed in <lambda>()
161 // Exit quick settings in <lambda>()
DFlashDeviceTest.kt8 * http://www.apache.org/licenses/LICENSE-2.0
61 // Wait for the capture button to be displayed in <lambda>()
85 // Wait for the capture button to be displayed in <lambda>()
108 // Wait for the capture button to be displayed in <lambda>()
135 // The GMD emulators with API <=31 will often crash the HAL when taking an image capture. in assumeHalStableOnImageCapture()
145 // Wait for the capture button to be displayed in <lambda>()
168 // Exit quick settings in <lambda>()
185 // Wait for the capture button to be displayed in set_screen_flash_and_capture_with_screen_change_overlay_shown()
208 // Exit quick settings in set_screen_flash_and_capture_with_screen_change_overlay_shown()
213 // Perform a capture to enable screen flash in set_screen_flash_and_capture_with_screen_change_overlay_shown()
/external/libpcap/doc/
DREADME.hpux1 For HP-UX 11i (11.11) and later, there are no known issues with
2 promiscuous mode under HP-UX. If you are using a earlier version of
3 HP-UX and cannot upgrade, please continue reading.
5 HP-UX patches to fix packet capture problems
7 Note that packet-capture programs such as tcpdump may, on HP-UX, not be
11 https://groups.google.com/groups?selm=82ld3v%2480i%241%40mamenchi.zrz.TU-Berlin.DE
18 From: Lutz Jaenicke <jaenicke@emserv1.ee.TU-Berlin.DE>
35 echo 'lanc_outbound_promisc_flag/W1' | /usr/bin/adb -w /stand/vmunix /dev/kmem
54 > compiled libpcap-0.4 an tcpdump-3.4 and it seems to work. But at a
56 > outgoing. I have tried tcpflow-0.12 which also uses libpcap and the
[all …]
/external/mesa3d/src/vulkan/overlay-layer/
Dmesa-overlay-control.py13 VERSION_HEADER = bytearray('MesaOverlayControlVersion', 'utf-8')
14 DEVICE_NAME_HEADER = bytearray('DeviceName', 'utf-8')
15 MESA_VERSION_HEADER = bytearray('MesaVersion', 'utf-8')
27 sys.exit(1)
40 - None on error or disconnection
41 - bytes() (empty) on timeout
69 MSGBEGIN = bytes(':', 'utf-8')[0]
70 MSGEND = bytes(';', 'utf-8')[0]
71 MSGSEP = bytes('=', 'utf-8')[0]
88 - None on error or disconnection
[all …]
/external/armnn/tests/profiling/gatordmock/
DGatordMockMain.cpp3 // SPDX-License-Identifier: MIT
18 // Used to capture ctrl-c so we can close any remaining sockets before exit
54 // We need to capture ctrl-c so we can close any remaining sockets before exit in main()
67 // make the socket non-blocking so we can exit the loop in main()
/external/mesa3d/src/intel/tools/
Dintel_dump_gpu.in2 # -*- mode: sh -*-
6 Usage: intel_dump_gpu [OPTION]... [--] COMMAND ARGUMENTS
11 -g, --gdb Launch GDB
13 -o, --output=FILE Name of AUB file. Defaults to COMMAND.aub
15 --device=ID Override PCI ID of the reported device
17 -p, --platform=NAME Override PCI ID using a platform name
19 -c, --only-capture Only write objects flagged with EXEC_OBJECT_CAPTURE into
23 -f, --frame=ID Only dump objects for frame ID
25 -v Enable verbose output
27 -vv Enable extra verbosity - dumps gtt mappings
[all …]
/external/libpcap/testprogs/
Dthreadsignaltest.c77 * Generate a string for a Win32-specific error (i.e. an error generated when
97 errbuf[errlen - 1] = '\0'; in win32_strerror()
98 errbuf[errlen - 2] = '\0'; in win32_strerror()
99 errlen -= 2; in win32_strerror()
143 if (sigaction(SIGUSR1, &action, NULL) == -1) in capture_thread_func()
150 status = pcap_dispatch(pd, -1, countme, in capture_thread_func()
203 while ((op = getopt(argc, argv, "i:n")) != -1) { in main()
221 if (pcap_findalldevs(&devlist, ebuf) == -1) in main()
224 error("no interfaces available for capture"); in main()
225 device = strdup(devlist->name); in main()
[all …]
/external/clang/tools/scan-build-py/libscanbuild/
Danalyze.py1 # -*- coding: utf-8 -*-
6 """ This module implements the 'scan-build' command API.
10 -- Intercept: capture the compilation command during the build,
11 -- Analyze: run the analyzer against the captured commands,
12 -- Report: create a cover report from the analyzer outputs. """
25 from libscanbuild.intercept import capture
32 COMPILER_WRAPPER_CC = 'analyze-cc'
33 COMPILER_WRAPPER_CXX = 'analyze-c++'
38 """ Entry point for 'analyze-build' and 'scan-build'. """
55 # run build command and capture compiler executions
[all …]
/external/mbedtls/scripts/
Dlcov.sh5 Usage: $0 [-r]
9 1. Build the library with CFLAGS="--coverage -O0 -g3" and link the test
10 programs with LDFLAGS="--coverage".
11 This can be an out-of-tree build.
12 For example (in-tree):
13 make CFLAGS="--coverage -O0 -g3" LDFLAGS="--coverage"
14 Or (out-of-tree):
15 mkdir build-coverage && cd build-coverage &&
16 cmake -D CMAKE_BUILD_TYPE=Coverage .. && make
21 5. After rework, run "$0 -r", then re-test and run "$0" to get a fresh report.
[all …]
/external/openthread/third_party/mbedtls/repo/scripts/
Dlcov.sh5 Usage: $0 [-r]
9 1. Build the library with CFLAGS="--coverage -O0 -g3" and link the test
10 programs with LDFLAGS="--coverage".
11 This can be an out-of-tree build.
12 For example (in-tree):
13 make CFLAGS="--coverage -O0 -g3" LDFLAGS="--coverage"
14 Or (out-of-tree):
15 mkdir build-coverage && cd build-coverage &&
16 cmake -D CMAKE_BUILD_TYPE=Coverage .. && make
21 5. After rework, run "$0 -r", then re-test and run "$0" to get a fresh report.
[all …]
/external/bazelbuild-rules_rust/util/process_wrapper/
Dprocess_wrapper.bat9 :: Strip out the leading `--` argument.
15 if "!arg:~-9!"=="rustc.exe" (
27 :: Capture the exit code of rustc.exe
30 :: Exit with the same exit code
31 EXIT /b %exit_code%
/external/mesa3d/.gitlab-ci/common/
Dinit-stage2.sh7 # Second-stage init, used to set up devices and our job environment before
10 shopt -s extglob
32 kill -9 "$pid" 2>/dev/null || true
36 set -x
38 trap cleanup INT TERM EXIT
45 for path in '/dut-env-vars.sh' '/set-job-env-vars.sh' './set-job-env-vars.sh'; do
46 [ -f "$path" ] && source "$path"
48 . "$SCRIPTS_DIR"/setup-test-env.sh
50 set -ex
53 [ -z "$HWCI_KERNEL_MODULES" ] || {
[all …]
/external/webrtc/tools_webrtc/cpu/
Dcpu_mon.py5 # Use of this source code is governed by a BSD-style license
23 def Capture(self, sample_count): member in CpuSnapshot
25 ((sample_count - len(self.samples)), self.label)))
46 snapshot.Capture(sample_count)
52 print('How many seconds to capture per snapshot (enter for 60)?')
69 return -1
83 sys.exit(main())
/external/skia/experimental/tools/
Dweb_to_skp4 # Use of this source code is governed by a BSD-style license that can be
15 if [ $# -lt 3 ] || ! [ -x "$1" ]; then
19 …CHROMIUM_BINARY SOURCE_URL DESTINATION_DIRECTORY OPTIONAL_WAIT_TIME # 5 second sleep before capture
24 exit 1
30 SLP=${4:-0} # sleep in seconds before capture. 4th param iff provided, else 0.
33 mkdir -p "$CRASH" "$DST"
36 "$EXE" --headless --disable-gpu --repl -crash-dumps-dir="$CRASH" \
37 --no-sandbox --enable-gpu-benchmarking "$URL"
Dweb_to_mskp4 # Use of this source code is governed by a BSD-style license that can be
15 if [ $# -lt 3 ] || ! [ -x "$1" ]; then
19 $0 CHROMIUM_BINARY SOURCE_URL DESTINATION_PATH OPTIONAL_WAIT_TIME # 5 second sleep before capture
24 exit 1
30 SLP=${4:-0} # sleep in seconds before capture. 4th param iff provided, else 0.
33 mkdir -p "$CRASH"
36 "$EXE" --headless --disable-gpu --repl -crash-dumps-dir="$CRASH" \
37 --no-sandbox --enable-gpu-benchmarking "$URL"
/external/armnn/python/pyarmnn/examples/common/
Dcv_utils.py1 # Copyright © 2020-2022 Arm Ltd and Contributors. All rights reserved.
2 # SPDX-License-Identifier: MIT
71 b_padding, r_padding = model_height - new_height, 0
74 b_padding, r_padding = 0, model_width - new_width
88 video: Video capture object, contains information about data source.
89 video_path: User-specified video file path.
115 Creates a video capture object from a video file.
118 video_path: User-specified video file path.
122 Video capture object to capture frames, video writer object to write processed
129 raise RuntimeError(f'Failed to open video capture from file: {video_path}')
[all …]
/external/vboot_reference/tests/
Dtest_using_qemu.sh4 # Use of this source code is governed by a BSD-style license that can be
13 # BUILD_RUN - path to build directory inside chroot
14 # HOME - home directory inside chroot
15 # QEMU_RUN - path to QEMU binary inside chroot
16 # SYSROOT - path to root for target platform, outside chroot
18 set -e
21 sudo mkdir -p "${SYSROOT}/proc" "${SYSROOT}/dev"
22 sudo mount --bind /proc "${SYSROOT}/proc"
23 sudo mount --bind /dev "${SYSROOT}/dev"
25 # Don't exit on error, so we can capture the error code
[all …]

12345678910>>...33