Home
last modified time | relevance | path

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

/third_party/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs66 let s0 = builder.create_string("test1"); in create_serialized_example_with_generated_code()
67 let s1 = builder.create_string("test2"); in create_serialized_example_with_generated_code()
68 let t0_name = builder.create_string("Barney"); in create_serialized_example_with_generated_code()
69 let t1_name = builder.create_string("Fred"); in create_serialized_example_with_generated_code()
70 let t2_name = builder.create_string("Wilma"); in create_serialized_example_with_generated_code()
94 let name = builder.create_string("MyMonster"); in create_serialized_example_with_generated_code()
95 let fred_name = builder.create_string("Fred"); in create_serialized_example_with_generated_code()
184 builder.create_string("foobarbaz"); // zero-terminated -> 10 bytes in create_string_10()
202 builder.create_string(s); // zero-terminated -> 100 bytes in create_string_100()
/third_party/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs194 let s0 = builder.create_string("test1"); in create_serialized_example_with_generated_code()
195 let s1 = builder.create_string("test2"); in create_serialized_example_with_generated_code()
196 let fred_name = builder.create_string("Fred"); in create_serialized_example_with_generated_code()
205 name: Some(builder.create_string("MyMonster")), in create_serialized_example_with_generated_code()
225 let name = builder.create_string("Fred"); in create_serialized_example_with_library_code()
236 let name = builder.create_string("MyMonster"); in create_serialized_example_with_library_code()
412 let name = Some(b.create_string("foo")); in verifier_too_many_tables()
435 let name = Some(b.create_string("foo")); in verifier_apparent_size_too_large()
437 let s = b.create_string(&(std::iter::repeat("X").take(1000).collect::<String>())); in verifier_apparent_size_too_large()
460 let name = Some(b.create_string("foo")); in verifier_in_too_deep()
[all …]
/third_party/flatbuffers/tests/rust_usage_test/bin/
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()
/third_party/flatbuffers/samples/
Dsample_binary.rs39 let weapon_one_name = builder.create_string("Sword"); in main()
40 let weapon_two_name = builder.create_string("Axe"); in main()
54 let name = builder.create_string("Orc"); in main()
Dmonster_generated.rs749 _fbb.create_string(x) in pack()
912 _fbb.create_string(x) in pack()
/third_party/flatbuffers/tests/rust_usage_test/outdir/src/
Dmain.rs21 let name = Some(fbb.create_string("bob")); in main()
/third_party/libabigail/include/
Dabg-interned-str.h236 create_string(const std::string&);
/third_party/flatbuffers/tests/
Dmore_defaults_generated.rs334 _fbb.create_string(x) in pack()
338 _fbb.create_string(x) in pack()
Dmonster_test_generated.rs1965 _fbb.create_string(x) in pack()
3421 _fbb.create_string(x) in pack()
/third_party/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs290 pub fn create_string<'a: 'b, 'b>(&'a mut self, s: &'b str) -> WIPOffset<&'fbb str> { in create_string() method
357 let o = self.create_string(s); in create_vector_of_strings()
/third_party/flatbuffers/src/
Didl_gen_csharp.cpp1600 std::string create_string = in GenPackUnPack_ObjectAPI() local
1605 create_string + "(_o." + camel_name + ");\n"; in GenPackUnPack_ObjectAPI()
1617 std::string create_string = in GenPackUnPack_ObjectAPI() local
1620 to_array += "builder." + create_string + "(_o." + in GenPackUnPack_ObjectAPI()
/third_party/flatbuffers/docs/source/
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");
/third_party/libabigail/src/
Dabg-ir.cc123 interned_string_pool::create_string(const std::string& str_value) in create_string() function in abigail::interned_string_pool
3673 {return const_cast<environment*>(this)->priv_->string_pool_.create_string(s);} in intern()