Home
last modified time | relevance | path

Searched refs:grep (Results 26 - 50 of 347) sorted by relevance

12345678910>>...14

/third_party/ffmpeg/compat/windows/
H A Dmakedef68 echo "${line}" | grep -q '^ \+global:'
73 echo "${line}" | grep -q '^ \+local:'
106 grep -v : |
107 grep -v ^$ |
124 grep "^${exp}" |
/third_party/ltp/testcases/kernel/syscalls/syslog/
H A Dsyslog-lib.sh78 if grep -qri '^[^#]*modload.*imjournal' /etc/rsyslog.conf /etc/rsyslog.d/; then
79 RSYSLOG_CONFIG=$(grep -Ehoi "^[^#].*(imjournal|workdirectory).*" -r /etc/rsyslog.conf /etc/rsyslog.d/;
82 elif grep -qri '^[^#]*module.*load="imjournal"' /etc/rsyslog.conf /etc/rsyslog.d/; then
83 RSYSLOG_CONFIG=$(grep -Ehoi "^[^#].*workdirectory.*" -r /etc/rsyslog.conf /etc/rsyslog.d/; \
90 grep -ho "^\$SystemLogSocketName .*" -r /etc/rsyslog.conf /etc/rsyslog.d/ | head -1)
H A Dsyslog1061 allow1=`grep -c "syslogtst:10 error level is logged" /var/log/messages`
62 donot_allow1=`grep -c "syslogtst:10 warning level not to be logged" /var/log/messages`
80 allow2=`grep -c "syslogtst:10 error level is logged" /var/log/messages`
81 donot_allow2=`grep -c "syslogtst:10 warning level not to be logged" /var/log/messages`
H A Dsyslog0960 allow1=`grep -c "syslogtst: error level is logged" /var/log/messages`
61 donot_allow1=`grep -c "syslogtst: warning level not to be logged" /var/log/messages`
78 allow2=`grep -c "syslogtst: error level is logged" /var/log/messages`
79 donot_allow2=`grep -c "syslogtst: warning level not to be logged" /var/log/messages`
H A Dsyslog0834 # o Send the message and grep for the entry in log file. #
73 oldvalue=`grep -c "syslogtst: $facility info test." /var/log/messages`
79 old_mail_check=`grep -c "syslogtst: $facility info test." /var/log/maillog`
100 new_mail_check=`grep -c "syslogtst: $facility info test." /var/log/maillog`
101 newvalue=`grep -c "syslogtst: $facility info test." /var/log/messages`
128 tst_resm TINFO " o Send the message and grep for the entry in log file."
/third_party/jerryscript/tools/
H A Drun-mem-stats-test.sh45 "$1" --mem-stats $tmpfile 2>&1 | grep -- "Ignoring JERRY_INIT_MEM_STATS flag because of !JMEM_STATS configuration." 2>&1 > /dev/null
81 MEM_STATS=$("$JERRY_MEM_STATS" --mem-stats --mem-stats-separate $bench | grep -e "Peak allocated =" | grep -o "[0-9]*")
82 RSS=$(./tools/rss-measure.sh "$JERRY" $bench | tail -n 1 | grep -o "[0-9]*")
/third_party/ltp/testcases/kernel/mce-test/stress/
H A Dhwpoison.sh150 tmp=`cat /proc/iomem | grep "System RAM" | grep 100000- | awk -F "-" '{print $2}' | awk '{print $1}'`
157 tmp=`cat /proc/iomem | grep "System RAM" | grep 100000000- | awk -F "-" '{print $2}' | awk '{print $1}'`
164 maxmem=`cat /proc/meminfo | grep MemTotal | awk '{print $2}'`
236 g_debugfs=`mount | grep debugfs | cut -d ' ' -f3`
246 df | grep $g_dev > /dev/null 2>&1 && invalid "device $g_dev has been mounted by others"
248 df | grep $g_netdev > /dev/null 2>&1 && invalid "device $g_netdev has been mounted by others"
389 silent_exec grep "abort" $log && err "failed to launch fs_metadata workload, it might be due to insufficient disk space, pls read $log for details!"
407 fail_num=`grep FAI
[all...]
/third_party/ltp/testcases/network/multicast/mc_commo/
H A Dmc_commo.sh40 OCTET=$(ps -ewf | grep [m]c_commo | wc -l | awk '{print $1}')
57 grep -q "cannot join group" $OUTFILE && \
60 netstat -ng | grep -q $GROUP_ADDR || \
74 grep -q "$(tst_ipaddr rhost) [0-9] [0-9]" $OUTFILE || \
/third_party/ltp/testcases/network/multicast/mc_cmds/
H A Dmc_cmds.sh51 ip addr show $(tst_iface) | grep -q 'MULTICAST' || \
54 ip maddr show $(tst_iface) | grep -q '224.0.0.1'
63 grep -q 224.0.0.1 || \
77 grep -q $(tst_ipaddr) ping_out.log
/third_party/elfutils/tests/
H A Dbacktrace-subr.sh22 if grep -w main $1; then
36 if ! grep -w gsignal $1; then
49 if grep -w backtracegen $1; then
62 if [ $(grep -E -v <$1 'dwfl_thread_getframes: (No DWARF information found|no matching address range|address out of range|Invalid register|\(null\))$' \
86 if grep -q ': Unwinding not supported for this architecture$' $err; then
104 if grep -E 'dwfl_thread_getframes(.*)No DWARF information found' $err; then
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_grep.py2 Non-gui unit tests for grep.GrepDialog methods.
8 from idlelib import grep namespace
30 grep_it = grep.GrepDialog.grep_it
53 filelist = list(grep.findfiles('invaliddir', '*.*', False))
59 ff = grep.findfiles
68 ff = grep.findfiles
85 filelist = list(ff(self.path, 'grep.*', False))
90 ff = grep.findfiles
92 grepfile = os.path.join(parent, 'grep.py')
/third_party/skia/third_party/externals/microhttpd/
H A Dconfig.guess152 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
187 | grep -q __ELF__
369 grep IS_64BIT_ARCH >/dev/null
550 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
569 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
577 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
683 grep -q __LP64__
903 objdump --private-headers /bin/sh | grep -q ld.so.1
913 | grep -q __ARM_EABI__
918 | grep
[all...]
/third_party/ltp/testcases/kernel/power_management/
H A Dpm_include.sh29 if ( ! ${3} "${1}" ${2} | grep -v "#" > /dev/null ) ; then
82 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'`
83 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq | cut -f2 -d':'`
126 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'`
127 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq | cut -f2 -d':'`
137 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'`
138 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq \
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
H A Dima_setup.sh82 grep -q "Device or resource busy" log && tst_brk TCONF "$err"
91 grep $grep_params "$pattern" $IMA_POLICY
100 if ! grep $grep_params "$pattern" $IMA_POLICY; then
110 grep -q "ima_$policy" /proc/cmdline && return
112 if echo "$i" | grep -q '^ima_policy='; then
113 echo "$i" | grep -q -e "|[ ]*$policy" -e "$policy[ ]*|" -e "=$policy" && return 0
133 dir="$(grep ^$type /proc/mounts | cut -d ' ' -f2 | head -1)"
153 for i in $(grep ^CONFIG_IMA $config); do
275 line="$(grep $test_file $ASCII_MEASUREMENTS | tail -1)"
H A Dima_tpm.sh47 for i in $(grep -e ^CONFIG_.*_TPM -e ^CONFIG_TCG $config); do
79 if dmesg | grep -q 'activating TPM-bypass'; then
81 elif dmesg | grep -q '1\.2 TPM (device-id'; then
84 elif dmesg | grep -q '2\.0 TPM (device-id'; then
167 pcr=$(grep -E "^($ALGORITHM: )*PCRAgg(.*10)*:" hash.txt | tail -1 \
221 boot_aggregate=$($cmd | grep "$ALGORITHM:" | cut -d':' -f2)
274 hash=$(echo "$out" | grep "^PCR-10" | cut -d' ' -f2)
/third_party/ltp/tools/sparse/sparse-src/validation/
H A Dtest-suite90 lines=$(grep '^ \* check-[a-z-]*' $1 | \
143 grep "$patt:" "$ifile" | \
146 grep -s -q "$val" "$ofile"
185 grep "$patt([0-9-]*\(, *\)*[0-9-]*):" "$ifile" | \
189 n=$(grep -s "$pat" "$ofile" | wc -l)
220 grep "$patt" "$ifile" | sed -e "s/^.*$patt(\(.*\)): *\(.*\)$/\1 \2/" | \
222 grep -s "^ $ins\\.*[0-9]* " "$ofile" | grep -v -s -q "$pat"
238 grep "$patt:" "$ifile" | sed -e "s/^.*$patt: *\(.*\)$/\1/" | \
240 grep
[all...]
/third_party/ltp/testcases/commands/df/
H A Ddf01.sh18 DF_FS_TYPE="$(grep -E "$TST_MNTPOINT ($TST_FS_TYPE|fuseblk)" /proc/mounts | awk 'NR==1{print $3}')"
62 grep -q -E "unrecognized option | invalid option" output
89 grep $TST_DEVICE output | grep -q "${total}.*${used}"
178 grep $TST_DEVICE output | grep -q $TST_MNTPOINT
/third_party/ltp/testcases/kernel/tracing/dynamic_debug/
H A Ddynamic_debug01.sh28 if grep -q debugfs /proc/mounts ; then
33 if ! grep -q debugfs /proc/filesystems ; then
57 grep -v "^#" "$DEBUGFS_CONTROL" > "$DYNDEBUG_STATEMENTS"
86 | grep -v -q "^#" ; then
111 if grep -q -e "Kernel panic" -e "Oops" -e "general protection fault" \
/third_party/mesa3d/.gitlab-ci/
H A Dskqp-runner.sh34 if echo "${SKQP_BACKEND}" | grep -qE 'vk|gl(es)?'
44 if echo "${SKQP_BACKEND}" | grep -qE "unitTest"
53 if echo "${SKQP_BACKENDS}" | grep -qE 'vk'
129 if echo "${SKQP_BACKENDS}" | grep -qE "unitTest"
/third_party/ltp/testcases/kernel/fs/binfmt_misc/
H A Dbinfmt_misc02.sh31 if [ $? -ne 0 ] || ! grep -q "$string" temp; then
37 if [ $? -ne 0 ] || grep -q enable "$mntpoint/$name"; then
43 if [ $? -eq 0 ] || grep -q "$string" temp; then
57 if [ $? -eq 0 ] || grep -q "$string" temp; then
/third_party/ltp/testcases/commands/eject/
H A Deject-tests.sh25 if grep -q "$CD_DRIVE" /proc/mounts; then
43 if grep -q "eject: default device:" eject.out; then
55 if grep -q "CD-ROM eject command succeeded" eject.out; then
99 if grep -q "$CD_DRIVE" /proc/mounts; then
/third_party/node/tools/dep_updaters/
H A Dupdate-llhttp.sh23 CURRENT_MAJOR_VERSION=$(grep "#define LLHTTP_VERSION_MAJOR" ./deps/llhttp/include/llhttp.h | sed -n "s/^.*MAJOR \(.*\)/\1/p")
24 CURRENT_MINOR_VERSION=$(grep "#define LLHTTP_VERSION_MINOR" ./deps/llhttp/include/llhttp.h | sed -n "s/^.*MINOR \(.*\)/\1/p")
25 CURRENT_PATCH_VERSION=$(grep "#define LLHTTP_VERSION_PATCH" ./deps/llhttp/include/llhttp.h | sed -n "s/^.*PATCH \(.*\)/\1/p")
47 if echo "$NEW_VERSION" | grep -qs "/" ; then # Download a release
/third_party/skia/third_party/harfbuzz/
H A Droll-harfbuzz.sh10 HB_PREVIOUS_REV=$(git grep "${HB_GIT_REPO}" HEAD~1 -- DEPS | sed 's!.*'${HB_GIT_REPO}'@\([[:xdigit:]]\{40\}\).*!\1!')
46 if ! grep -qF "$HB_SOURCE" ${HB_BUILD_DIR_REL}/BUILD.gn; then
56 grep -oE "\"\\\$_src/[^\"]+\"" ${HB_BUILD_DIR_REL}/BUILD.gn | sed 's/^...\(.*\).$/\1/' | while read GN_SOURCE
67 GN_SOURCE_DUPLICATES=$(sort ${HB_BUILD_DIR_REL}/BUILD.gn | uniq -d | grep -oE "\"\\\$_src/[^\"]+\"")
/third_party/ltp/testcases/open_posix_testsuite/scripts/
H A Dgenerate-makefiles.sh61 if echo "$prereq" | grep -Eq '\.(run-test|sh)'; then
70 if echo "$prereq" | grep -Eq '\.(run-test|sh|test)'; then
200 if ! grep -q '^run.sh' "$makefile.3"; then
230 grep -q 'main' "$prereq_dir/$c_file" || echo >&2 "$prereq_dir/$c_file should be test."
233 grep -q 'main' "$prereq_dir/$c_file" && echo >&2 "$prereq_dir/$c_file should be run-test."
312 AUTHORDATE=`grep "Ngie Cooper" "$0" | head -n 1 | sed 's,# *,,'`
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
H A Dcpuset_syscall_testset.sh191 allowed_list=$(grep "$memory_addr" $TEST_PROCNUMA | \
207 allowed_list=$(grep "$memory_addr" $TEST_PROCNUMA | \
223 allowed_list=$(grep "$memory_addr" $TEST_PROCNUMA | \
239 allowed_list=$(grep "$memory_addr" $TEST_PROCNUMA | \
243 task_policy=$(grep -e " *stack *anon" $TEST_PROCNUMA | \

Completed in 10 milliseconds

12345678910>>...14