/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/benches/ |
H A D | flatbuffers_benchmarks.rs | 59 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()
|
/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/tests/ |
H A D | integration_test.rs | 214 let s0 = builder.create_string("test1"); in create_serialized_example_with_generated_code() 215 let s1 = builder.create_string("test2"); in create_serialized_example_with_generated_code() 216 let fred_name = builder.create_string("Fred"); in create_serialized_example_with_generated_code() 225 name: Some(builder.create_string("MyMonster")), in create_serialized_example_with_generated_code() 245 let name = builder.create_string("Fred"); in create_serialized_example_with_library_code() 256 let name = builder.create_string("MyMonster"); in create_serialized_example_with_library_code() 432 let name = Some(b.create_string("foo")); in verifier_too_many_tables() 455 let name = Some(b.create_string("foo")); in verifier_apparent_size_too_large() 457 let s = b.create_string(&(core::iter::repeat("X").take(1000).collect::<String>())); in verifier_apparent_size_too_large() 480 let name = Some(b.create_string("foo")); in verifier_in_too_deep() [all …]
|
/aosp_15_r20/external/flatbuffers/tests/rust_serialize_test/src/ |
H A D | main.rs | 8 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()
|
/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/bin/ |
H A D | flatbuffers_alloc_check.rs | 57 let s0 = builder.create_string("test1"); in create_serialized_example_with_generated_code() 58 let s1 = builder.create_string("test2"); in create_serialized_example_with_generated_code() 59 let fred_name = builder.create_string("Fred"); in create_serialized_example_with_generated_code() 75 name: Some(builder.create_string("MyMonster")), in create_serialized_example_with_generated_code()
|
/aosp_15_r20/external/flatbuffers/samples/ |
H A D | sample_binary.rs | 38 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()
|
/aosp_15_r20/external/pigweed/pw_string/ |
H A D | string_test.cc | 163 #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)
|
/aosp_15_r20/external/flatbuffers/tests/more_defaults/ |
H A D | more_defaults_generated.rs | 251 _fbb.create_string(x) in pack() 255 _fbb.create_string(x) in pack()
|
/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/outdir/src/ |
H A D | main.rs | 9 let name = Some(fbb.create_string("bob")); in main()
|
/aosp_15_r20/external/flatbuffers/rust/flatbuffers/src/ |
H A D | builder.rs | 292 pub fn create_string<'a: 'b, 'b>(&'a mut self, s: &'b str) -> WIPOffset<&'fbb str> { in create_string() method 359 let o = self.create_string(s); in create_vector_of_strings()
|
/aosp_15_r20/external/flatbuffers/samples/rust_generated/my_game/sample/ |
H A D | weapon_generated.rs | 154 _fbb.create_string(x) in pack()
|
H A D | monster_generated.rs | 340 _fbb.create_string(x) in pack()
|
/aosp_15_r20/external/flatbuffers/tests/monster_test/my_game/example/ |
H A D | stat_generated.rs | 182 _fbb.create_string(x) in pack()
|
H A D | monster_generated.rs | 1382 _fbb.create_string(x) in pack()
|
/aosp_15_r20/external/flatbuffers/tests/monster_test_serialize/my_game/example/ |
H A D | stat_generated.rs | 201 _fbb.create_string(x) in pack()
|
H A D | monster_generated.rs | 1601 _fbb.create_string(x) in pack()
|
/aosp_15_r20/external/flatbuffers/src/ |
H A D | idl_gen_csharp.cpp | 1746 std::string create_string = in GenPackUnPack_ObjectAPI() local 1751 create_string + "(_o." + camel_name + ");\n"; in GenPackUnPack_ObjectAPI() 1763 std::string create_string = in GenPackUnPack_ObjectAPI() local 1766 to_array += "builder." + create_string + "(_o." + in GenPackUnPack_ObjectAPI()
|
/aosp_15_r20/external/libtracefs/src/ |
H A D | tracefs-sqlhist.c | 365 #define create_string(var, expr) \ macro 488 create_string(str_p, &expr); in add_string()
|
/aosp_15_r20/prebuilts/jdk/jdk8/linux-x86/lib/ |
D | ir.idl | 342 StringDef create_string (in unsigned long bound);
|
/aosp_15_r20/prebuilts/jdk/jdk8/darwin-x86/lib/ |
D | ir.idl | 342 StringDef create_string (in unsigned long bound);
|
/aosp_15_r20/external/flatbuffers/docs/source/ |
H A D | Tutorial.md | 900 let weapon_one_name = builder.create_string("Sword"); 901 let weapon_two_name = builder.create_string("Axe"); 1118 let name = builder.create_string("Orc");
|