diff options
author | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
commit | 871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch) | |
tree | 8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/scripts/coccinelle/tests | |
parent | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff) | |
download | FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2 FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip |
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/scripts/coccinelle/tests')
-rw-r--r-- | ANDROID_3.4.5/scripts/coccinelle/tests/doublebitand.cocci | 54 | ||||
-rw-r--r-- | ANDROID_3.4.5/scripts/coccinelle/tests/doubletest.cocci | 40 |
2 files changed, 0 insertions, 94 deletions
diff --git a/ANDROID_3.4.5/scripts/coccinelle/tests/doublebitand.cocci b/ANDROID_3.4.5/scripts/coccinelle/tests/doublebitand.cocci deleted file mode 100644 index 9ba73d05..00000000 --- a/ANDROID_3.4.5/scripts/coccinelle/tests/doublebitand.cocci +++ /dev/null @@ -1,54 +0,0 @@ -/// Find bit operations that include the same argument more than once -//# One source of false positives is when the argument performs a side -//# effect. Another source of false positives is when a neutral value -//# such as 0 for | is used to indicate no information, to maintain the -//# same structure as other similar expressions -/// -// Confidence: Moderate -// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2. -// URL: http://coccinelle.lip6.fr/ -// Comments: -// Options: -no_includes -include_headers - -virtual context -virtual org -virtual report - -@r expression@ -expression E; -position p; -@@ - -( -* E@p - & ... & E -| -* E@p - | ... | E -| -* E@p - & ... & !E -| -* E@p - | ... | !E -| -* !E@p - & ... & E -| -* !E@p - | ... | E -) - -@script:python depends on org@ -p << r.p; -@@ - -cocci.print_main("duplicated argument to & or |",p) - -@script:python depends on report@ -p << r.p; -@@ - -coccilib.report.print_report(p[0],"duplicated argument to & or |") diff --git a/ANDROID_3.4.5/scripts/coccinelle/tests/doubletest.cocci b/ANDROID_3.4.5/scripts/coccinelle/tests/doubletest.cocci deleted file mode 100644 index 13a2c0e8..00000000 --- a/ANDROID_3.4.5/scripts/coccinelle/tests/doubletest.cocci +++ /dev/null @@ -1,40 +0,0 @@ -/// Find &&/|| operations that include the same argument more than once -//# A common source of false positives is when the argument performs a side -//# effect. -/// -// Confidence: Moderate -// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2. -// URL: http://coccinelle.lip6.fr/ -// Comments: -// Options: -no_includes -include_headers - -virtual context -virtual org -virtual report - -@r expression@ -expression E; -position p; -@@ - -( -* E@p - || ... || E -| -* E@p - && ... && E -) - -@script:python depends on org@ -p << r.p; -@@ - -cocci.print_main("duplicated argument to && or ||",p) - -@script:python depends on report@ -p << r.p; -@@ - -coccilib.report.print_report(p[0],"duplicated argument to && or ||") |