Home
last modified time | relevance | path

Searched refs:create_string (Results 1 – 20 of 20) sorted by relevance

/external/flatbuffers/tests/rust_usage_test/bin/
Dflatbuffers_alloc_check.rs52 builder.create_string("these"), in create_serialized_example_with_generated_code()
53 builder.create_string("unused"), in create_serialized_example_with_generated_code()
54 builder.create_string("strings"), in create_serialized_example_with_generated_code()
55 builder.create_string("check"), in create_serialized_example_with_generated_code()
56 builder.create_string("the"), in create_serialized_example_with_generated_code()
57 builder.create_string("create_vector_of_strings"), in create_serialized_example_with_generated_code()
58 builder.create_string("function") in create_serialized_example_with_generated_code()
62 let s0 = builder.create_string("test1"); in create_serialized_example_with_generated_code()
63 let s1 = builder.create_string("test2"); in create_serialized_example_with_generated_code()
64 let fred_name = builder.create_string("Fred"); in create_serialized_example_with_generated_code()
[all …]
/external/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs59 let s0 = builder.create_string("test1"); in create_serialized_example_with_generated_code()
60 let s1 = builder.create_string("test2"); in create_serialized_example_with_generated_code()
61 let t0_name = builder.create_string("Barney"); in create_serialized_example_with_generated_code()
62 let t1_name = builder.create_string("Fred"); in create_serialized_example_with_generated_code()
63 let t2_name = builder.create_string("Wilma"); in create_serialized_example_with_generated_code()
87 let name = builder.create_string("MyMonster"); in create_serialized_example_with_generated_code()
88 let fred_name = builder.create_string("Fred"); in create_serialized_example_with_generated_code()
177 builder.create_string("foobarbaz"); // zero-terminated -> 10 bytes in create_string_10()
195 builder.create_string(s); // zero-terminated -> 100 bytes in create_string_100()
/external/flatbuffers/tests/rust_serialize_test/src/
Dmain.rs8 let s0 = builder.create_string("test1"); in create_serialized_example_with_generated_code()
9 let s1 = builder.create_string("test2"); in create_serialized_example_with_generated_code()
10 let fred_name = builder.create_string("Fred"); in create_serialized_example_with_generated_code()
26 name: Some(builder.create_string("MyMonster")), in create_serialized_example_with_generated_code()
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs229 let s0 = builder.create_string("test1"); in create_serialized_example_with_generated_code()
230 let s1 = builder.create_string("test2"); in create_serialized_example_with_generated_code()
231 let fred_name = builder.create_string("Fred"); in create_serialized_example_with_generated_code()
240 name: Some(builder.create_string("MyMonster")), in create_serialized_example_with_generated_code()
260 let name = builder.create_string("Fred"); in create_serialized_example_with_library_code()
271 let name = builder.create_string("MyMonster"); in create_serialized_example_with_library_code()
273 let test1 = builder.create_string("test1"); in create_serialized_example_with_library_code()
274 let test2 = builder.create_string("test2"); in create_serialized_example_with_library_code()
451 let name = Some(b.create_string("foo")); in verifier_too_many_tables()
474 let name = Some(b.create_string("foo")); in verifier_apparent_size_too_large()
[all …]
/external/flatbuffers/samples/
Dsample_binary.rs38 let weapon_one_name = builder.create_string("Sword"); in main()
39 let weapon_two_name = builder.create_string("Axe"); in main()
53 let name = builder.create_string("Orc"); in main()
/external/flatbuffers/tests/rust_usage_test/outdir/src/
Dmain.rs9 let name = Some(fbb.create_string("bob")); in main()
/external/flatbuffers/tests/more_defaults/
Dmore_defaults_generated.rs269 _fbb.create_string(x) in pack()
273 _fbb.create_string(x) in pack()
/external/pigweed/pw_string/
Dstring_test.cc163 #define TEST_CONSTEXPR_STRING(create_string, statements, expected) \ argument
166 [[maybe_unused]] auto fixed_str = create_string; \
175 #define TEST_CONSTEXPR_STRING(create_string, statements, expected) \ argument
177 constexpr auto str = create_string; \
182 #define TEST_RUNTIME_STRING(create_string, statements, expected) \ argument
184 [[maybe_unused]] auto fixed_str = create_string; \
191 #define TEST_STRING(create_string, statements, expected) \ argument
192 TEST_CONSTEXPR_STRING(create_string, statements, expected); \
193 TEST_RUNTIME_STRING(create_string, statements, expected)
/external/flatbuffers/samples/rust_generated/my_game/sample/
Dweapon_generated.rs160 _fbb.create_string(x) in pack()
Dmonster_generated.rs375 _fbb.create_string(x) in pack()
/external/flatbuffers/tests/monster_test/my_game/example/
Dstat_generated.rs191 _fbb.create_string(x) in pack()
Dmonster_generated.rs1760 _fbb.create_string(x) in pack()
1772 let w: Vec<_> = x.iter().map(|s| _fbb.create_string(s)).collect();_fbb.create_vector(&w) in pack()
1802 let w: Vec<_> = x.iter().map(|s| _fbb.create_string(s)).collect();_fbb.create_vector(&w) in pack()
/external/flatbuffers/tests/monster_test_serialize/my_game/example/
Dstat_generated.rs210 _fbb.create_string(x) in pack()
Dmonster_generated.rs1987 _fbb.create_string(x) in pack()
1999 let w: Vec<_> = x.iter().map(|s| _fbb.create_string(s)).collect();_fbb.create_vector(&w) in pack()
2029 let w: Vec<_> = x.iter().map(|s| _fbb.create_string(s)).collect();_fbb.create_vector(&w) in pack()
/external/flatbuffers/tests/rust_reflection_test/src/
Dlib.rs2084 let s0 = builder.create_string("test1"); in create_test_buffer()
2085 let s1 = builder.create_string("test2"); in create_test_buffer()
2086 let fred_name = builder.create_string("Fred"); in create_test_buffer()
2103 name: Some(builder.create_string("MyMonster")), in create_test_buffer()
/external/flatbuffers/src/
Didl_gen_csharp.cpp2025 std::string create_string = in GenPackUnPack_ObjectAPI() local
2030 create_string + "(_o." + camel_name + ");\n"; in GenPackUnPack_ObjectAPI()
2042 std::string create_string = in GenPackUnPack_ObjectAPI() local
2045 to_array += "builder." + create_string + "(_o." + in GenPackUnPack_ObjectAPI()
/external/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs389 pub fn create_string<'a: 'b, 'b>(&'a mut self, s: &'b str) -> WIPOffset<&'fbb str> { in create_string() method
/external/libtracefs/src/
Dtracefs-sqlhist.c372 #define create_string(var, expr) \ macro
533 create_string(str_p, &expr); in add_string()
/external/flatbuffers/docs/source/
Dtutorial.md712 let weapon_one_name = builder.create_string("Sword");
713 let weapon_two_name = builder.create_string("Axe");
1686 let name = builder.create_string("Orc");
/external/flatbuffers/docs-old/source/
DTutorial.md899 let weapon_one_name = builder.create_string("Sword");
900 let weapon_two_name = builder.create_string("Axe");
1117 let name = builder.create_string("Orc");