Home
last modified time | relevance | path

Searched refs:CreateString (Results 1 – 25 of 57) sorted by relevance

123

/external/tensorflow/tensorflow/lite/toco/tflite/
Dimport_test.cc60 builder_.CreateString("tensor_one"), q); in BuildTensors()
64 builder_.CreateString("tensor_two"), q); in BuildTensors()
114 builder_.CreateString("subgraph"))); in BuildSubGraphs()
129 auto s = builder_.CreateString(""); in BuildTestModel()
191 auto comment = builder_.CreateString(""); in TEST_F()
205 auto comment = builder_.CreateString(""); in TEST_F()
219 auto comment = builder_.CreateString(""); in TEST_F()
234 auto comment = builder_.CreateString(""); in TEST_F()
248 auto comment = builder_.CreateString(""); in TEST_F()
/external/libtextclassifier/actions/
Dtest_utils.cc29 /*name=*/schema_builder.CreateString("greeting"), in TestEntityDataSchema()
37 /*name=*/schema_builder.CreateString("location"), in TestEntityDataSchema()
45 /*name=*/schema_builder.CreateString("person"), in TestEntityDataSchema()
55 /*name=*/schema_builder.CreateString("EntityData"), in TestEntityDataSchema()
Dlua-ranker_test.cc44 /*name=*/schema_builder.CreateString("test"), in TestEntitySchema()
54 /*name=*/schema_builder.CreateString("EntityData"), in TestEntitySchema()
/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersExampleTests.cs48 …StringOffset[] names = { fbb.CreateString("Frodo"), fbb.CreateString("Barney"), fbb.CreateString("… in CanCreateNewFlatBufferFromScratch()
63 var str = fbb.CreateString("MyMonster"); in CanCreateNewFlatBufferFromScratch()
64 var test1 = fbb.CreateString("test1"); in CanCreateNewFlatBufferFromScratch()
65 var test2 = fbb.CreateString("test2"); in CanCreateNewFlatBufferFromScratch()
75 var fred = fbb.CreateString("Fred"); in CanCreateNewFlatBufferFromScratch()
303 var str1 = fbb1.CreateString(nestedMonsterName); in TestNestedFlatBuffer()
315 var str2 = fbb2.CreateString("My Monster"); in TestNestedFlatBuffer()
DFlatBuffersFuzzTests.cs121 builder.CreateString("foo"); in TestCreateAsciiString()
124 builder.CreateString("moop"); in TestCreateAsciiString()
142 builder.CreateString("\x01\x02\x03"); in TestCreateArbitarytring()
148 builder.CreateString("\x04\x05\x06\x07"); in TestCreateArbitarytring()
/external/flatbuffers/tests/FlatBuffers.Benchmarks/
DFlatBufferBuilderBenchmark.cs39 var str1 = fbb1.CreateString(nestedMonsterName); in BuildNestedMonster()
51 var str2 = fbb2.CreateString("My Monster"); in BuildNestedMonster()
69 var str1 = builder.CreateString("MonsterName"); in BuildMonster()
91 var offset = builder.CreateString("T"); in TestTables()
/external/flatbuffers/grpc/tests/
Dgo_test.go22 i := b.CreateString(test)
33 i := b.CreateString(test)
42 i := b.CreateString(test)
58 i := b.CreateString(test)
Dgrpctest.cpp41 fbb_, fbb_.CreateString("Hello, " + request->GetRoot()->name()->str())); in Store()
57 fbb_.CreateString(request->GetRoot()->id()->str() + in Retrieve()
105 auto monster_offset = CreateMonster(fbb, 0, 0, 0, fbb.CreateString("Fred")); in StoreRPC()
127 auto stat_offset = CreateStat(fbb, fbb.CreateString("Fred")); in RetrieveRPC()
Dmessage_builder_test.cpp226 auto name_offset = fbb.CreateString(m1_name); in builder_move_ctor_conversion_before_finish_half_n_half_table_test()
242 auto stat_offset = CreateStat(fbb, fbb.CreateString("SomeId"), 0, 0); in builder_move_ctor_conversion_before_finish_test()
244 …auto monster_offset = CreateMonster(mb, 0, 150, 100, mb.CreateString(m1_name), 0, m1_color, Any_NO… in builder_move_ctor_conversion_before_finish_test()
260 auto name_offset = fbb.CreateString(m1_name); in builder_move_assign_conversion_before_finish_half_n_half_table_test()
278 auto stat_offset = CreateStat(fbb, fbb.CreateString("SomeId"), 0, 0); in builder_move_assign_conversion_before_finish_test()
280 …auto monster_offset = CreateMonster(mb, 0, 150, 100, mb.CreateString(m1_name), 0, m1_color, Any_NO… in builder_move_assign_conversion_before_finish_test()
/external/tensorflow/tensorflow/lite/experimental/micro/
Dmicro_interpreter_test.cc113 builder.CreateString("test_input_tensor"), 0, false), in BuildMockModel()
117 builder.CreateString("test_weight_tensor"), 0, false), in BuildMockModel()
121 builder.CreateString("test_output_tensor"), 0, false), in BuildMockModel()
142 builder.CreateString("test_subgraph"))}; in BuildMockModel()
150 builder.CreateString("test_model"), in BuildMockModel()
/external/flatbuffers/samples/
Dsample_binary.cpp28 auto weapon_one_name = builder.CreateString("Sword"); in main()
31 auto weapon_two_name = builder.CreateString("Axe"); in main()
47 auto name = builder.CreateString("MyMonster"); in main()
Dsample_binary.lua20 local weaponOne = builder:CreateString("Sword")
21 local weaponTwo = builder:CreateString("Axe")
36 local name = builder:CreateString("Orc")
Dsample_binary.py38 weapon_one = builder.CreateString('Sword')
39 weapon_two = builder.CreateString('Axe')
52 name = builder.CreateString('Orc')
DSampleBinary.cs31 var weapon1Name = builder.CreateString("Sword"); in Main()
33 var weapon2Name = builder.CreateString("Axe"); in Main()
42 var name = builder.CreateString("Orc"); in Main()
Dsample_binary.go33 weaponOne := builder.CreateString("Sword")
34 weaponTwo := builder.CreateString("Axe")
47 name := builder.CreateString("Orc")
/external/flatbuffers/samples/android/jni/
Dmain.cpp24 auto name = builder.CreateString("Dog"); in android_main()
25 auto sound = builder.CreateString("Bark"); in android_main()
/external/flatbuffers/tests/
Dlobstertest.lobster68 let name = b.CreateString("MyMonster")
69 let fred = b.CreateString("Fred")
83 [ b.CreateString("test1"), b.CreateString("test2") ])
Dgo_test.go678 b.CreateString("foo")
680 b.CreateString("moop")
691 b.CreateString(uni_str)
1047 str := b.CreateString("MyMonster")
1114 str := b.CreateString("MyStat")
1140 str := b.CreateString("MyMonster")
1141 test1 := b.CreateString("test1")
1142 test2 := b.CreateString("test2")
1143 fred := b.CreateString("Fred")
1203 str := b.CreateString("MyStat")
[all …]
Dluatest.lua88 local str = b:CreateString("MyMonster")
89 local test1 = b:CreateString("test1")
90 local test2 = b:CreateString("test2")
91 local fred = b:CreateString("Fred")
Dtest_builder.cpp89 auto name_offset = builder.CreateString(m1_name); in populate1()
94 auto name_offset = builder.CreateString(m2_name); in populate2()
Dpy_test.py437 b.CreateString(u"foo", encoding='ascii')
441 b.CreateString(u"moop", encoding='ascii')
449 b.CreateString(u"Цлїςσδε")
453 b.CreateString(u"フムアムカモケモ")
462 b.CreateString(s) # Default encoding is utf-8.
466 b.CreateString(s2) # Default encoding is utf-8.
1086 string = b.CreateString("MyMonster")
1087 test1 = b.CreateString("test1")
1088 test2 = b.CreateString("test2")
1089 fred = b.CreateString("Fred")
[all …]
/external/flatbuffers/grpc/samples/greeter/
Dserver.cpp26 auto msg_offset = mb_.CreateString("Hello, " + name); in SayHello()
52 auto msg_offset = mb_.CreateString("Many hellos, " + name); in SayManyHellos()
Dclient.cpp17 auto name_offset = mb.CreateString(name); in SayHello()
40 auto name_offset = mb.CreateString(name); in SayManyHellos()
/external/tensorflow/tensorflow/lite/tools/
Dverifier_test.cc111 builder_.CreateString("test_subgraph"))}); in FinishModel()
114 builder_.CreateVector(subgraph), builder_.CreateString("test_model"), in FinishModel()
255 /*operators=*/0, builder.CreateString("Main"))}); in TEST()
264 builder.CreateString("SmartReply"), buffers); in TEST()
/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h1298 Offset<String> CreateString(const char *str, size_t len) {
1310 Offset<String> CreateString(const char *str) {
1311 return CreateString(str, strlen(str));
1317 Offset<String> CreateString(char *str) {
1318 return CreateString(str, strlen(str));
1324 Offset<String> CreateString(const std::string &str) {
1325 return CreateString(str.c_str(), str.length());
1333 Offset<String> CreateString(flatbuffers::string_view str) {
1334 return CreateString(str.data(), str.size());
1342 Offset<String> CreateString(const String *str) {
[all …]

123