Home
last modified time | relevance | path

Searched full:grep (Results 1 – 25 of 5290) sorted by relevance

12345678910>>...212

/aosp_15_r20/external/clang/test/Frontend/
H A Ddarwin-version.c2 // RUN: grep '__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__' %t | grep '30000' | count 1
3 // RUN: not grep '__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__' %t
5 // RUN: grep '__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__' %t | grep '20000' | count 1
6 // RUN: not grep '__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__' %t
8 // RUN: grep '__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__' %t | grep '20200' | count 1
9 // RUN: not grep '__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__' %t
11 // RUN: grep '__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__' %t | grep '20301' | count 1
12 // RUN: not grep '__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__' %t
14 // RUN: grep '__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__' %t | grep '1040' | count 1
15 // RUN: not grep '__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__' %t
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/testdata/script/
Dmod_get_toolchain.txt9 grep 'go 1.23.9' go.mod
10 grep 'toolchain go1.99rc1' go.mod
16 grep 'go 1.23.9' go.mod
17 grep 'toolchain go1.99rc1' go.mod
23 grep 'go 1.22.9' go.mod
24 grep 'toolchain go1.99rc1' go.mod
30 grep 'go 1.22.9' go.mod
31 grep 'toolchain go1.99rc1' go.mod
42 grep 'go 1.24rc1' go.mod
43 grep 'toolchain go1.99rc1' go.mod
[all …]
Dmod_toolchain.txt7 grep 'toolchain go1.22.1' go.mod
12 ! grep toolchain go.mod
17 grep 'toolchain go1.22.1' go.mod
22 grep 'go 1.22.3' go.mod
26 ! grep toolchain go.mod
31 grep 'go 1.22.1' go.mod
32 grep 'toolchain go1.22.3' go.mod
37 grep 'go 1.22.3' go.mod
38 ! grep toolchain go.mod
43 grep 'go 1.22.1' go.mod
[all …]
/aosp_15_r20/external/ot-br-posix/tests/dbus/
H A Dtest-client51 sed -n "/$TEST_HELLO/,\$p" /var/log/syslog | grep 'ot-cli\|otbr'
81 grep --binary-files=text "nn=OpenThread" <<<"${service}"
86 grep --binary-files=text "vn=vendor" <<<"${service}"
91 grep --binary-files=text "vn=OpenThread" <<<"${service}"
96 grep --binary-files=text "A=abc" <<<"${service}"
97 grep --binary-files=text "B=12" <<<"${service}"
102 grep --binary-files=text "A=abc" <<<"${service}"
103 grep --binary-files=text "B=12" <<<"${service}"
108 grep --binary-files=text "A=ac" <<<"${service}"
109 grep --binary-files=text "B=12" <<<"${service}"
[all …]
/aosp_15_r20/external/toybox/tests/
H A Difconfig.test6 # Commands used: grep, grep -i, ip link, ip tuntap, wc -l
44 "ifconfig dummy0 down && ifconfig | grep dummy | wc -l" "0\n" "" ""
48 "ifconfig dummy0 up && ifconfig dummy0 | grep dummy | wc -l" "1\n" "" ""
53 "ifconfig dummy0 10.240.240.240 && ifconfig dummy0 | grep 10\.240\.240\.240 | wc -l" \
59 "ifconfig dummy0 netmask 255.255.240.0 && ifconfig dummy0 | grep 255\.255\.240\.0 | wc -l" \
65 "ifconfig dummy0 broadcast 10.240.240.255 && ifconfig dummy0 | grep 10\.240\.240\.255 | wc -l" \
72 "ifconfig dummy0 default && ifconfig dummy0 | grep 10\.240\.240\.240 | wc -l" \
79 "ifconfig dummy0 mtu 1269 && ifconfig dummy0 | grep MTU:1269 | wc -l" \
92 "ifconfig dummy0 mtu 2000 && ifconfig dummy0 | grep MTU:2000 | wc -l" \
99 "ifconfig dummy0 add ::2/126 && ifconfig dummy0 | grep \:\:2/126 | wc -l" \
[all …]
H A Duseradd.test15 # Redirecting all output to /dev/null for grep, adduser and deluser
25 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] &&
31 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] &&
37 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] &&
43 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] &&
50 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] &&
56 grep '^$user:.*dir' /etc/passwd $arg && [ -d $PWD/dir ] &&
63 grep '^$user:.*$gecos' /etc/passwd $arg && [ -d /home/$user ] &&
69 grep '^$user:.*$shl$' /etc/passwd $arg && [ -d /home/$user ] &&
74 g_id=`grep $g_name':.*:.*' /etc/group | cut -d : -f 3`
[all …]
/aosp_15_r20/external/one-true-awk/testdir/
H A DT.misc103 grep '\\' foo && echo 1>&2 "BAD: T.misc alexander fails"
110 grep "can't use function foo" foo >/dev/null || echo 1>&2 "BAD: T.misc fcn args"
115 grep "calling undefined function foo" foo >/dev/null || echo 1>&2 "BAD: T.misc undefined function"
136 grep "can.t assign to foo" foo >/dev/null || echo 1>&2 "BAD: T.misc foo bug"
143 grep "syntax error" foo >/dev/null || echo 1>&2 "BAD: T.misc syntax error !x=y fails"
153 grep bbb foo >/dev/null || echo 1>&2 "BAD: T.misc gsub failed"
168 grep 'nonterminated character class' foo >/dev/null || error 'BAD: T.misc nonterminated fails'
175 grep '<12345>' foo >/dev/null || echo 'BAD: T.misc <12345> fails'
187 $awk 'END {print NR}' foo1 | grep 4 >/dev/null || echo 'BAD: T.misc abcdef fails'
227 grep '^' foo && echo 'BAD: test constant change fails'
[all …]
/aosp_15_r20/external/AFLplusplus/test/
H A Dtest-pre.sh14 # Ensure we have: test, type, diff, grep -qE
17 GREP=`type grep > /dev/null 2>&1 && echo OK`
18 test "$GREP" = OK || { echo Error: grep command not found ; exit 1 ; }
19 echo foobar | grep -qE 'asd|oob' 2>/dev/null || { echo Error: grep command does not support -q and/…
33 # check for '-a' option of grep
34 if grep -a test test-all.sh >/dev/null 2>&1; then
42 $RUN 'LIBTOKENCAP' | grep 'your string was LIBTOKENCAP' \
43 && $RUN 'BUGMENOT' | grep 'your string was BUGMENOT' \
44 && $RUN 'BANANA' | grep 'your string started with BAN' \
45 && $RUN 'APRI' | grep 'your string was APRI' \
[all …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/netfilter/
H A Dnft_nat.sh94 cnt=$(ip netns exec $ns nft list counter inet filter ns0in | grep -q "packets 1 bytes 84")
99 cnt=$(ip netns exec $ns nft list counter inet filter ns0out | grep -q "packets 1 bytes 84")
106 cnt=$(ip netns exec $ns nft list counter inet filter ns0in6 | grep -q "$expect")
111 cnt=$(ip netns exec $ns nft list counter inet filter ns0out6 | grep -q "$expect")
125 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0in | grep -q "packets 0 bytes 0")
131 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0in6 | grep -q "packets 0 bytes 0")
137 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0out | grep -q "packets 0 bytes 0")
142 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0out6 | grep -q "packets 0 bytes 0")
150 cnt=$(ip netns exec "$ns0" nft list counter inet filter ${ns}${dir} | grep -q "$expect")
157 cnt=$(ip netns exec "$ns0" nft list counter inet filter ${ns}${dir}6 | grep -q "$expect")
[all …]
/aosp_15_r20/external/clang/test/CodeGenObjC/
H A Dblocks-1.m2 // RUN: grep "_Block_object_dispose" %t | count 6
3 // RUN: grep "__copy_helper_block_" %t | count 4
4 // RUN: grep "__destroy_helper_block_" %t | count 4
5 // RUN: grep "__Block_byref_object_copy_" %t | count 2
6 // RUN: grep "__Block_byref_object_dispose_" %t | count 2
7 // RUN: not grep "i32 135)" %t
8 // RUN: grep "_Block_object_assign" %t | count 4
9 // RUN: grep "objc_read_weak" %t | count 2
10 // RUN: grep "objc_assign_weak" %t | count 3
12 // RUN: grep "_Block_object_dispose" %t | count 6
[all …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/dynevent/
H A Dadd_remove_eprobe.tc17 grep -q "$EPROBE" dynamic_events
24 content=`grep '^ *ls-' trace | grep 'file='`
25 nocontent=`grep '^ *ls-' trace | grep 'file=' | grep -v -e '"/' -e '"."' -e '(fault)' ` || true
37 ! grep -q "$EPROBE" dynamic_events
44 grep -q "$EPROBE" dynamic_events
47 ! grep -q "$EPROBE" dynamic_events
52 grep -q "$EPROBE" dynamic_events
55 ! grep -q "$EPROBE" dynamic_events
60 grep -q "$EPROBE" dynamic_events
63 ! grep -q "$EPROBE" dynamic_events
[all …]
H A Dgeneric_clear_event.tc17 grep -q myevent1 dynamic_events
18 grep -q myevent2 dynamic_events
19 grep -q latency1 dynamic_events
20 grep -q latency2 dynamic_events
26 ! grep -q myevent1 dynamic_events
27 grep -q myevent2 dynamic_events
28 grep -q latency1 dynamic_events
29 grep -q latency2 dynamic_events
32 grep -q myevent2 dynamic_events
33 ! grep -q latency1 dynamic_events
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/re/re.const/re.matchflag/
H A Dmatch_multiline.pass.cpp45 using std::regex_constants::grep; in main()
57 search(pat, grep, target, true); in main()
64 search(pat, grep | multiline, target, true); in main()
75 search(pat, grep, target, false); in main()
82 search(pat, grep | multiline, target, false); in main()
93 search(pat, grep, target, false); in main()
100 search(pat, grep | multiline, target, false); in main()
112 search(pat, grep, target, true); in main()
119 search(pat, grep | multiline, target, true); in main()
130 search(pat, grep, target, false); in main()
[all …]
/aosp_15_r20/external/e2fsprogs/tests/u_revert_upgrade_to_64bitmcsum/
H A Dscript36 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
37 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
48 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
49 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
60 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
61 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -lt 1 ] || [ "$(echo "${features}" | grep 64…
72 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
73 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -lt 1 ] || [ "$(echo "${features}" | grep 64…
84 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
85 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -lt 1 ] || [ "$(echo "${features}" | grep 64…
[all …]
/aosp_15_r20/external/ot-br-posix/tests/scripts/
H A Dmeshcop228 # that victim, we'll GREP the log files according.
237 grep "${OTBR_AGENT}" /var/log/syslog | tee otbr-agent.log
241 grep "${OT_RCP}" /var/log/syslog | tee "${OT_RCP}.log"
243 grep "${OT_CLI}" /var/log/syslog | tee "${OT_CLI}.log"
391 …\"networkName\":\"${OT_NETWORK_NAME}\"}" "${OTBR_WEB_URL}"/form_network | grep "success" || die "W…
396 …OT_BORDER_AGENT_PORT=$(grep -GA3 '^=.\+'"${OT_SERVICE_INSTANCE}"'.\+_meshcop._udp' "${mdns_result}…
515 sudo "${OT_CTL}" state | grep "leader"
518 grep "${OT_SERVICE_INSTANCE}._meshcop\._udp" <<<"${service}"
519 grep "rv=1" <<<"${service}"
520 grep "tv=1\.3\.0" <<<"${service}"
[all …]
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/scripts/
H A Dall.sh646 "grep "*) true;;
837 clang --version|grep version|sed -E 's#.*version ([0-9]+).*#\1#'
1091 grep 'depends_on' \
1093 grep -Eo '!?MBEDTLS_[^: ]*' |
1094 grep -v -e MBEDTLS_PSA_ -e MBEDTLS_TEST_ |
1279 grep -x -F "$(sed -n 's/^ *# *define *\([A-Z_a-z][0-9A-Z_a-z]*\)..*/\1/p' "$1")"
1305 …nm library/libmbedcrypto.a | grep ' [TRrDC] ' | grep -Eo '(mbedtls_|psa_).*' | sort -u > sym_def.t…
1306 nm library/libmbedcrypto.a | grep ' U ' | grep -Eo '(mbedtls_|psa_).*' | sort -u > sym_undef.txt
1308 not grep mbedtls_ linking_errors.txt
1356 grep mbedtls_pk_get_psa_attributes library/libmbedcrypto.a
[all …]
/aosp_15_r20/system/sepolicy/tools/
H A Dsepolicy_cleanup_check.sh37 grep -r "^type " --exclude=\*.go $sedir --exclude=\*_macros | sed 's/^.*:.*type \([^,]*\)*.*$/\1/' …
39 …if [[ `find $sedir -name "*_contexts" -not -path "*prebuilts*" -exec grep $type '{}' \; |wc -l` -e…
41 grep -r $type --exclude-dir=prebuilts --exclude=\*.cil $sedir
48 grep -r "^type .*exec_type" --exclude=\*.go $sedir | sed 's/^.*:.*type \([^,]*\)*.*$/\1/' | sort | …
49 path_line=`grep -r $type --include=\*_contexts $sedir`
56 if [ -n "`$adb_cmd shell ls -lZ $path < /dev/null |& grep "No such file or directory"`" ]; then
64 find $sedir -name genfs_contexts -exec grep "^genfscon " '{}' \; | cut -d' ' -f2,3 | sort | uniq | …
72 if [ -n "`$adb_cmd shell ls -lZ $path < /dev/null |& grep "No such file or directory"`" ]; then
80 find $sedir -name file_contexts -not -path "*prebuilts*" -exec grep "^/" '{}' \; | cut -d' ' -f1 | …
91 if [ -n "`$adb_cmd shell ls -lZ "$path" < /dev/null |& grep "No such file or directory"`" ]; then
[all …]
/aosp_15_r20/external/llvm/test/CodeGen/PowerPC/
H A DFrames-small.ll2 ; RUN: not grep "stw r31, -4(r1)" %t1
3 ; RUN: grep "stwu r1, -16416(r1)" %t1
4 ; RUN: grep "addi r1, r1, 16416" %t1
6 ; RUN: not grep "lwz r31, -4(r1)"
9 ; RUN: grep "stw r31, -4(r1)" %t2
10 ; RUN: grep "stwu r1, -16416(r1)" %t2
11 ; RUN: grep "addi r1, r1, 16416" %t2
12 ; RUN: grep "lwz r31, -4(r1)" %t2
14 ; RUN: not grep "std r31, -8(r1)" %t3
15 ; RUN: grep "stdu r1, -16432(r1)" %t3
[all …]
H A DFrames-leaf.ll2 ; RUN: not grep "stw r31, 20(r1)"
4 ; RUN: not grep "stwu r1, -.*(r1)"
6 ; RUN: not grep "addi r1, r1, "
8 ; RUN: not grep "lwz r31, 20(r1)"
10 ; RUN: not grep "stw r31, 20(r1)"
12 ; RUN: not grep "stwu r1, -.*(r1)"
14 ; RUN: not grep "addi r1, r1, "
16 ; RUN: not grep "lwz r31, 20(r1)"
18 ; RUN: not grep "std r31, 40(r1)"
20 ; RUN: not grep "stdu r1, -.*(r1)"
[all …]
/aosp_15_r20/system/extras/tests/workloads/
H A Ddefs.sh67 if echo $chk1 $chk2 | grep -q processLocalOption; then
80 if ls /etc/* 2>/dev/null | grep -q android.hardware; then
89 devInfo=$(adb devices -l | grep -v ^List | head -1)
91 devInfo=$(adb devices -l | grep $deviceName)
202 s=$(grep "Binder.*tracing_mark_write.*launching" $traceout 2>/dev/null | head -1| tr [\(\)\[\]
205 s=$(grep activityPause $traceout | head -1 2>/dev/null| tr [\(\)\[\]
221 f=$(grep "surfaceflinger.*tracing_mark_write.*$_app" $traceout 2>/dev/null |
222 grep -v Starting | head -1 | tr [\(\)\[\]
228 f=$(grep " <...>-$pid.*tracing_mark_write.*$_app" $traceout 2>/dev/null |
229 grep -v Starting | head -1 | tr [\(\)\[\]
[all …]
/aosp_15_r20/external/pdfium/tools/modules/
H A Dgraph_modules.sh14 gn desc $BUILD_DIR $1 deps | grep -v '//:' | grep -v test | \
15 grep -v constants | grep -v samples | grep -v matches | \
18 gn desc $BUILD_DIR $1 allow_circular_includes_from | grep -v '//:' | \
19 grep -v test | grep -v samples | grep -v matches | \
20 grep -v 'how to display' | sed "s|\\(.*\\)| \"\\1\" -> \"$1\"|"
23 TARGETS=`gn ls $BUILD_DIR | grep -v test | grep -v v8 | grep -v third_party | \
24 grep -v build | grep -v '//:'`
/aosp_15_r20/external/bzip2/
H A Dbzgrep6 ## zgrep -- a wrapper around a grep program that decompresses files as needed
13 *egrep) grep=${EGREP-egrep} ;;
14 *fgrep) grep=${FGREP-fgrep} ;;
15 *) grep=${GREP-grep} ;;
21 if test "$grep" = grep; then # grep is buggy with -e on SVR4
22 grep=egrep
36 echo "grep through bzip2 files"
52 bzip2 -cdfq | $grep $opt "$pat"
60 bzip2 -cdfq "$i" | $grep $opt "$pat" 2>&1 > /dev/null && echo $i
63 bzip2 -cdfq "$i" | $grep $opt "$pat"
[all …]
/aosp_15_r20/external/e2fsprogs/tests/u_onefile_bad/
H A Dscript36 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
37 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
48 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
49 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
63 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
64 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
75 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
76 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
87 features="$($DUMPE2FS -h $TMPFILE 2> /dev/null | grep 'Filesystem features:')"
88 if [ "$(echo "${features}" | grep "metadata_csum" -c)" -gt 0 ] || [ "$(echo "${features}" | grep 64…
[all …]
/aosp_15_r20/external/clang/test/Preprocessor/
H A Dcuda-types.cu7 // RUN: grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)' %T/i386-host-defines | grep -v '__LDBL\|…
8 // RUN: grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)' %T/i386-device-defines | grep -v '__LDBL\|…
13 // RUN: grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF\|WIDTH\)' %T/x86_64-host-defines | grep -v '__LDB…
14 // RUN: grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF\|WIDTH\)' %T/x86_64-device-defines | grep -v '__LDB…
19 // RUN: grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF\|WIDTH\)' %T/powerpc64-host-defines | grep -v '__…
20 // RUN: grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF\|WIDTH\)' %T/powerpc64-device-defines | grep -v '__…
25 // RUN: grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF\|WIDTH\)' %T/nvptx-host-defines | grep -v '__LDBL…
26 // RUN: grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF\|WIDTH\)' %T/nvptx-device-defines | grep -v '__LDBL…
/aosp_15_r20/external/llvm/utils/lit/utils/
H A Dcheck-sdist11 grep -v '^\./.gitignore' | \
12 grep -v '^\./dist' | \
13 grep -v '^\./utils' | \
14 grep -v '^\./venv' | \
15 grep -v '^\./notes.txt' | \
16 grep -v '^\./lit.egg-info' | \
17 grep -v '^\./lit/ExampleTests' | \
18 grep -v '/Output' | \
19 grep -v '__pycache__' | \
20 grep -v '.pyc$' | grep -v '~$' | \
[all …]

12345678910>>...212