Home
last modified time | relevance | path

Searched full:flatc (Results 1 – 25 of 113) sorted by relevance

12345

/external/flatbuffers/tests/
Dgenerate_code.bat26 @rem --cpp-std is defined by flatc default settings.
36 ..\%buildtype%\flatc.exe --binary --cpp --java --kotlin --csharp --dart --go --lobster --lua --js -…
38 ..\%buildtype%\flatc.exe --rust %TEST_NOINCL_FLAGS% %TEST_RUST_FLAGS% -I include_test monster_test.…
40 ..\%buildtype%\flatc.exe --python %TEST_BASE_FLAGS% --no-fb-import -I include_test monster_test.fbs…
42 ..\%buildtype%\flatc.exe --binary --cpp --java --csharp --dart --go --lobster --lua --js --ts --php…
45 ..\%buildtype%\flatc.exe --cpp --java --csharp --js --ts --php %TEST_BASE_FLAGS% %TEST_CPP_FLAGS% %…
46 ..\%buildtype%\flatc.exe --rust -I include_test -o include_test include_test/include_test1.fbs || g…
47 ..\%buildtype%\flatc.exe --rust -I include_test -o include_test/sub include_test/sub/include_test2.…
48 ..\%buildtype%\flatc.exe -b --schema --bfbs-comments --bfbs-builtins -I include_test monster_test.f…
49 ..\%buildtype%\flatc.exe --cpp --bfbs-comments --bfbs-builtins --bfbs-gen-embed %TEST_NOINCL_FLAGS%…
[all …]
Dgenerate_code.sh23 # --cpp-std is defined by flatc default settings.
33 ../flatc --binary --cpp --java --kotlin --csharp --dart --go --lobster --lua --js --ts --php --grp…
35 ../flatc --rust $TEST_RUST_FLAGS -I include_test monster_test.fbs monsterdata_test.json
37 ../flatc --python $TEST_BASE_FLAGS -I include_test monster_test.fbs monsterdata_test.json
39 ../flatc --cpp --java --kotlin --csharp --dart --go --binary --lobster --lua --js --ts --php --pyth…
42 ../flatc --cpp --java --kotlin --csharp --js --ts --php $TEST_BASE_FLAGS $TEST_CPP_FLAGS $TEST_CS_F…
43 ../flatc --rust -I include_test -o include_test include_test/include_test1.fbs
44 ../flatc --rust -I include_test -o include_test/sub include_test/sub/include_test2.fbs
45 ../flatc -b --schema --bfbs-comments --bfbs-builtins -I include_test monster_test.fbs
46 ../flatc --cpp --bfbs-comments --bfbs-builtins --bfbs-gen-embed $TEST_NOINCL_FLAGS $TEST_CPP_FLAGS …
[all …]
/external/flatbuffers/android/jni/
Drun_flatc.py22 # Paths to search for flatc relative to the current working directory.
26 """Script that finds and runs flatc built from source."""
31 flatc = ''
35 'flatc' + EXECUTABLE_EXTENSION)
37 flatc = current
39 if not flatc:
40 sys.stderr.write('flatc not found\n')
42 command = [flatc] + sys.argv[2:]
Dinclude.mk28 # has a dependency on the flatc compiler which will be built if necessary.
63 $(wildcard $(FLATBUFFERS_FLATC_PATH)/*/flatc.exe) \
64 $(wildcard $(FLATBUFFERS_FLATC_PATH)/flatc.exe))
68 FLATBUFFERS_FLATC := $(FLATBUFFERS_FLATC_PATH)/flatc
73 $(wildcard $(FLATBUFFERS_FLATC_PATH)/*/flatc) \
74 $(wildcard $(FLATBUFFERS_FLATC_PATH)/flatc))
117 $(MAKE) flatc
123 xcodebuild -target flatc
128 $(error flatc binary not found!)
132 # Generate a build rule for flatc.
/external/tensorflow/third_party/flatbuffers/
DBUILD.system8 # Public flatc library to compile flatbuffer files at runtime.
15 # Public flatc compiler library.
24 outs = ["flatc.bin"],
25 cmd = "ln -s $$(which flatc) $@",
28 # Public flatc compiler.
30 name = "flatc",
31 srcs = ["flatc.bin"],
DBUILD.bazel24 # Public flatc library to compile flatbuffer files at runtime.
54 # Public flatc compiler library.
64 # Public flatc compiler.
66 name = "flatc",
79 "@flatbuffers//src:flatc",
86 "include/flatbuffers/flatc.h",
/external/flatbuffers/samples/
Dpython_sample.sh18 # and `flatc` to be built (using `cmake` in the root directory).
30 # Run `flatc`. Note: This requires you to compile using `cmake` from the
32 if [ -e ../flatc ]; then
33 ../flatc --python monster.fbs
34 elif [ -e ../Debug/flatc ]; then
35 ../Debug/flatc --python monster.fbs
37 echo 'flatc' could not be found. Make sure to build FlatBuffers from the \
Djavascript_sample.sh18 # and `flatc` to be built (using `cmake` in the root directory).
30 # Run `flatc`. Note: This requires you to compile using `cmake` from the
32 if [ -e ../flatc ]; then
33 ../flatc --js monster.fbs
34 elif [ -e ../Debug/flatc ]; then
35 ../Debug/flatc --js monster.fbs
37 echo 'flatc' could not be found. Make sure to build FlatBuffers from the \
Dphp_sample.sh18 # and `flatc` to be built (using `cmake` in the root directory).
30 # Run `flatc`. Note: This requires you to compile using `cmake` from the
32 if [ -e ../flatc ]; then
33 ../flatc --php monster.fbs
34 elif [ -e ../Debug/flatc ]; then
35 ../Debug/flatc --php monster.fbs
37 echo 'flatc' could not be found. Make sure to build FlatBuffers from the \
Ddart_sample.sh18 # and `flatc` to be built (using `cmake` in the root directory).
32 # Run `flatc`. Note: This requires you to compile using `cmake` from the
34 if [ -e ../../flatc ]; then
35 ../../flatc --dart ../../samples/monster.fbs
36 elif [ -e ../../Debug/flatc ]; then
37 ../../Debug/flatc --dart ../../samples/monster.fbs
39 echo 'flatc' could not be found. Make sure to build FlatBuffers from the \
Dcsharp_sample.sh18 # and `flatc` to be built (using `cmake` in the root directory).
30 # Run `flatc`. Note: This requires you to compile using `cmake` from the
32 if [ -e ../flatc ]; then
33 ../flatc --csharp --gen-mutable monster.fbs
34 elif [ -e ../Debug/flatc ]; then
35 ../Debug/flatc --csharp --gen-mutable monster.fbs
37 echo 'flatc' could not be found. Make sure to build FlatBuffers from the \
Djava_sample.sh18 # and `flatc` to be built (using `cmake` in the root directory).
30 # Run `flatc`. Note: This requires you to compile using `cmake` from the
32 if [ -e ../flatc ]; then
33 ../flatc --java --gen-mutable monster.fbs
34 elif [ -e ../Debug/flatc ]; then
35 ../Debug/flatc --java --gen-mutable monster.fbs
37 echo 'flatc' could not be found. Make sure to build FlatBuffers from the \
Dgo_sample.sh18 # and 'flatc' to be built (using `cmake` in the root directory).
30 # Run `flatc`. Note: This requires you to compile using `cmake` from the
32 if [ -e ../flatc ]; then
33 ../flatc --go monster.fbs
34 elif [ -e ../Debug/flatc ]; then
35 ../Debug/flatc --go monster.fbs
37 echo 'flatc' could not be found. Make sure to build FlatBuffers from the \
Dkotlin_sample.sh18 # and `flatc` to be built (using `cmake` in the root directory).
30 # Run `flatc`. Note: This requires you to compile using `cmake` from the
32 if [ -e ../flatc ]; then
34 ../flatc --kotlin --gen-mutable monster.fbs
35 elif [ -e ../Debug/flatc ]; then
36 ../Debug/flatc --kotlin --gen-mutable monster.fbs
38 echo 'flatc' could not be found. Make sure to build FlatBuffers from the \
/external/flatbuffers/
DBUILD13 # Public flatc library to compile flatbuffer files at runtime.
41 # Public flatc compiler library.
50 # Public flatc compiler.
52 name = "flatc",
54 "//src:flatc",
61 "include/flatbuffers/flatc.h",
DCMakeLists.txt26 "Add '-fsanitize' flags to 'flattests' and 'flatc' targets."
106 src/flatc.cpp
322 add_executable(flatc ${FlatBuffers_Compiler_SRCS}) target
323 target_compile_options(flatc PRIVATE "${FLATBUFFERS_PRIVATE_CXX_FLAGS}")
325 add_fsanitize_to_target(flatc ${FLATBUFFERS_CODE_SANITIZE})
328 set(FLATBUFFERS_FLATC_EXECUTABLE $<TARGET_FILE:flatc>)
331 # Make flatc.exe not depend on runtime dlls for easy distribution.
332 target_compile_options(flatc PUBLIC $<$<CONFIG:Release>:/MT>)
335 target_link_libraries(flatc PRIVATE -static)
376 # --cpp-std is defined by flatc default settings.
[all …]
Dbuild_defs.bzl10 flatc_path = "@com_github_google_flatbuffers//:flatc"
46 outs: Output files from flatc.
52 flatc_args: Optional, list of additional arguments to pass to flatc.
160 flatc_args: Optional list of additional arguments to pass to flatc
182 ** Because the genrule used to call flatc does not have any trivial way of
184 --gen-includes (the default) being defined for flatc, the --gen-includes
186 to the flatbuffer_cc_library defined alongside the flatc included Fileset.
Dconanfile.py62 self.copy(pattern="flatc*", dst="bin", src="bin")
72 """Collect built libraries names and solve flatc path.
75 self.user_info.flatc = os.path.join(self.package_folder, "bin", "flatc")
/external/flatbuffers/src/
DBUILD7 # Public flatc library to compile flatbuffer files at runtime.
23 # Public flatc compiler library.
27 "flatc.cpp",
39 # Public flatc compiler.
41 name = "flatc",
Dflatc_main.cpp17 #include "flatbuffers/flatc.h"
22 static void Warn(const flatbuffers::FlatCompiler *flatc, in Warn() argument
24 (void)flatc; in Warn()
29 static void Error(const flatbuffers::FlatCompiler *flatc, in Error() argument
33 if (usage && flatc) { in Error()
34 printf("%s", flatc->GetUsageString(g_program_name).c_str()); in Error()
121 flatbuffers::FlatCompiler flatc(params); in main() local
122 return flatc.Compile(argc - 1, argv + 1); in main()
/external/tflite-support/third_party/flatbuffers/
DBUILD.bazel23 # Public flatc library to compile flatbuffer files at runtime.
53 # Public flatc compiler library.
63 # Public flatc compiler.
65 name = "flatc",
78 "@flatbuffers//src:flatc",
85 "include/flatbuffers/flatc.h",
Dbuild_defs.bzl5 flatc_path = "@flatbuffers//:flatc"
41 outs: Output files from flatc.
49 flatc_args: Optional, list of additional arguments to pass to flatc.
145 ** Because the genrule used to call flatc does not have any trivial way of
147 --gen-includes (the default) being defined for flatc, the --gen-includes
149 to the flatbuffer_cc_library defined alongside the flatc included Fileset.
187 flatc_args: Optional list of additional arguments to pass to flatc
356 default = Label("@flatbuffers//:flatc"),
459 flatc_args: List of additional arguments to pass to flatc. (optional)
507 flatc_args: List of additional arguments to pass to flatc. (optional)
[all …]
/external/flatbuffers/CMake/
DBuildFlatBuffers.cmake21 # passed to flatc via the -I parameter.
61 set(FLATC ${FLATBUFFERS_FLATC_EXECUTABLE}) variable
63 set(FLATC_TARGET flatc)
64 set(FLATC flatc) variable
98 COMMAND ${FLATC} ${FLATC_SCHEMA_ARGS}
111 COMMAND ${FLATC} -b --schema
/external/tensorflow/tensorflow/lite/schema/
Dupgrade_schema.py55 # RAII Temporary Directory, because flatc doesn't allow direct use of tempfiles.
81 "../../../../flatbuffers/flatc", # not bazel
82 "../../../../external/flatbuffers/flatc" # bazel
109 If `input_file` is in bin, then we must use flatc to convert the schema
121 RuntimeError: 1. When flatc cannot be invoked.
133 # Convert to json using flatc
141 raise RuntimeError("flatc failed to convert from binary to json.")
160 RuntimeError: When flatc fails to convert json data to binary.
175 raise RuntimeError("flatc failed to convert upgraded json to binary.")
/external/flatbuffers/snap/
Dsnapcraft.yaml21 flatc:
31 flatc:
32 command: flatc

12345