Home
last modified time | relevance | path

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

/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/benches/
H A 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()
/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/tests/
H A Dintegration_test.rs214 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 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()
/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/bin/
H A Dflatbuffers_alloc_check.rs57 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 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()
/aosp_15_r20/external/pigweed/pw_string/
H A 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)
/aosp_15_r20/external/flatbuffers/tests/more_defaults/
H A Dmore_defaults_generated.rs251 _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 Dmain.rs9 let name = Some(fbb.create_string("bob")); in main()
/aosp_15_r20/external/flatbuffers/rust/flatbuffers/src/
H A Dbuilder.rs292 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 Dweapon_generated.rs154 _fbb.create_string(x) in pack()
H A Dmonster_generated.rs340 _fbb.create_string(x) in pack()
/aosp_15_r20/external/flatbuffers/tests/monster_test/my_game/example/
H A Dstat_generated.rs182 _fbb.create_string(x) in pack()
H A Dmonster_generated.rs1382 _fbb.create_string(x) in pack()
/aosp_15_r20/external/flatbuffers/tests/monster_test_serialize/my_game/example/
H A Dstat_generated.rs201 _fbb.create_string(x) in pack()
H A Dmonster_generated.rs1601 _fbb.create_string(x) in pack()
/aosp_15_r20/external/flatbuffers/src/
H A Didl_gen_csharp.cpp1746 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 Dtracefs-sqlhist.c365 #define create_string(var, expr) \ macro
488 create_string(str_p, &expr); in add_string()
/aosp_15_r20/prebuilts/jdk/jdk8/linux-x86/lib/
Dir.idl342 StringDef create_string (in unsigned long bound);
/aosp_15_r20/prebuilts/jdk/jdk8/darwin-x86/lib/
Dir.idl342 StringDef create_string (in unsigned long bound);
/aosp_15_r20/external/flatbuffers/docs/source/
H A DTutorial.md900 let weapon_one_name = builder.create_string("Sword");
901 let weapon_two_name = builder.create_string("Axe");
1118 let name = builder.create_string("Orc");