summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2024-05-10 04:54:24 -0700
committerMaciej Żenczykowski <maze@google.com>2024-05-10 13:28:47 +0000
commit3b0849180fd70e2dce8fdb74091b89022b8184f9 (patch)
tree113a488bc84d5d2c8eff89be0ce5dbe9dc926080
parente17d00b2684e02527c4f76bac65fec8cee35fed0 (diff)
downloadapf-3b0849180fd70e2dce8fdb74091b89022b8184f9.tar.gz
v5: rename to v7/
Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I96d57d510300f5429b1a855ad2b229a5e45636d8
-rw-r--r--Android.bp4
-rw-r--r--apf_run.c4
-rw-r--r--disassembler.c4
-rw-r--r--v7/Android.bp (renamed from v5/Android.bp)4
-rw-r--r--v7/apf.h (renamed from v5/apf.h)0
-rw-r--r--v7/apf_assemble_test.xml (renamed from v5/apf_assemble_test.xml)0
l---------v7/apf_checksum.h (renamed from v5/apf_checksum.h)0
l---------v7/apf_defs.h (renamed from v5/apf_defs.h)0
l---------v7/apf_dns.h (renamed from v5/apf_dns.h)0
-rw-r--r--v7/apf_interpreter.c (renamed from v5/apf_interpreter.c)0
-rw-r--r--v7/apf_interpreter.h (renamed from v5/apf_interpreter.h)6
-rwxr-xr-xv7/apf_interpreter_assemble.sh (renamed from v5/apf_interpreter_assemble.sh)0
-rw-r--r--v7/apf_interpreter_source.c (renamed from v5/apf_interpreter_source.c)0
l---------v7/apf_utils.h (renamed from v5/apf_utils.h)0
-rw-r--r--v7/test_buf_allocator.c (renamed from v5/test_buf_allocator.c)0
-rw-r--r--v7/test_buf_allocator.h (renamed from v5/test_buf_allocator.h)0
16 files changed, 11 insertions, 11 deletions
diff --git a/Android.bp b/Android.bp
index c6871f7..6a042a4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -69,8 +69,8 @@ cc_binary_host {
"apf_run.c",
"apf_interpreter.c",
"disassembler.c",
- "v5/apf_interpreter.c",
- "v5/test_buf_allocator.c",
+ "v7/apf_interpreter.c",
+ "v7/test_buf_allocator.c",
],
cflags: [
"-DAPF_TRACE_HOOK=apf_trace_hook",
diff --git a/apf_run.c b/apf_run.c
index 90a8a8f..4c63767 100644
--- a/apf_run.c
+++ b/apf_run.c
@@ -29,8 +29,8 @@
#include "disassembler.h"
#include "apf_interpreter.h"
-#include "v5/apf_interpreter.h"
-#include "v5/test_buf_allocator.h"
+#include "v7/apf_interpreter.h"
+#include "v7/test_buf_allocator.h"
#define __unused __attribute__((unused))
diff --git a/disassembler.c b/disassembler.c
index 5f343e1..38b7eb2 100644
--- a/disassembler.c
+++ b/disassembler.c
@@ -20,8 +20,8 @@
typedef enum { false, true } bool;
-#include "v5/apf_defs.h"
-#include "v5/apf.h"
+#include "v7/apf_defs.h"
+#include "v7/apf.h"
#include "disassembler.h"
// If "c" is of a signed type, generate a compile warning that gets promoted to an error.
diff --git a/v5/Android.bp b/v7/Android.bp
index 19faf78..ce050d4 100644
--- a/v5/Android.bp
+++ b/v7/Android.bp
@@ -19,7 +19,7 @@ package {
}
cc_defaults {
- name: "apfv5_defaults",
+ name: "apfv7_defaults",
cflags: [
"-Wall",
@@ -38,7 +38,7 @@ cc_defaults {
cc_library_static {
name: "libapf_v5",
- defaults: ["apfv5_defaults"],
+ defaults: ["apfv7_defaults"],
srcs: [
"apf_interpreter.c",
"test_buf_allocator.c",
diff --git a/v5/apf.h b/v7/apf.h
index 29484eb..29484eb 100644
--- a/v5/apf.h
+++ b/v7/apf.h
diff --git a/v5/apf_assemble_test.xml b/v7/apf_assemble_test.xml
index 5e3c00b..5e3c00b 100644
--- a/v5/apf_assemble_test.xml
+++ b/v7/apf_assemble_test.xml
diff --git a/v5/apf_checksum.h b/v7/apf_checksum.h
index 71ae895..71ae895 120000
--- a/v5/apf_checksum.h
+++ b/v7/apf_checksum.h
diff --git a/v5/apf_defs.h b/v7/apf_defs.h
index 7e1dfa0..7e1dfa0 120000
--- a/v5/apf_defs.h
+++ b/v7/apf_defs.h
diff --git a/v5/apf_dns.h b/v7/apf_dns.h
index 504778f..504778f 120000
--- a/v5/apf_dns.h
+++ b/v7/apf_dns.h
diff --git a/v5/apf_interpreter.c b/v7/apf_interpreter.c
index 001aad9..001aad9 100644
--- a/v5/apf_interpreter.c
+++ b/v7/apf_interpreter.c
diff --git a/v5/apf_interpreter.h b/v7/apf_interpreter.h
index 10821bf..17e6794 100644
--- a/v5/apf_interpreter.h
+++ b/v7/apf_interpreter.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef APF_INTERPRETER_V5_H_
-#define APF_INTERPRETER_V5_H_
+#ifndef APF_INTERPRETER_V7_H_
+#define APF_INTERPRETER_V7_H_
#include <stdint.h>
@@ -172,4 +172,4 @@ int apf_run(void* ctx, uint32_t* const program, const uint32_t program_len,
}
#endif
-#endif /* APF_INTERPRETER_V5_H_ */
+#endif /* APF_INTERPRETER_V7_H_ */
diff --git a/v5/apf_interpreter_assemble.sh b/v7/apf_interpreter_assemble.sh
index 6650bf0..6650bf0 100755
--- a/v5/apf_interpreter_assemble.sh
+++ b/v7/apf_interpreter_assemble.sh
diff --git a/v5/apf_interpreter_source.c b/v7/apf_interpreter_source.c
index 68af15b..68af15b 100644
--- a/v5/apf_interpreter_source.c
+++ b/v7/apf_interpreter_source.c
diff --git a/v5/apf_utils.h b/v7/apf_utils.h
index 1ac8063..1ac8063 120000
--- a/v5/apf_utils.h
+++ b/v7/apf_utils.h
diff --git a/v5/test_buf_allocator.c b/v7/test_buf_allocator.c
index e30815e..e30815e 100644
--- a/v5/test_buf_allocator.c
+++ b/v7/test_buf_allocator.c
diff --git a/v5/test_buf_allocator.h b/v7/test_buf_allocator.h
index c5fa5c4..c5fa5c4 100644
--- a/v5/test_buf_allocator.h
+++ b/v7/test_buf_allocator.h