Home
last modified time | relevance | path

Searched refs:createSharedString (Results 1 – 5 of 5) sorted by relevance

/third_party/flatbuffers/tests/
DJavaScriptTest.js438 let mainOffset = builder.createSharedString(shared_string);
439 assert.strictEqual(builder.createSharedString(shared_string), mainOffset);
445 assert.strictEqual(builder.createSharedString(null), 0);
447 assert.strictEqual(builder.createSharedString(undefined), 0);
DKotlinTest.kt466 val offset = fb.createSharedString(testString); in TestSharedStringPool()
468 assert(offset == fb.createSharedString(testString)); in TestSharedStringPool()
DJavaTest.java1223 int offset = fb.createSharedString(testString); in TestSharedStringPool()
1225 TestEq(offset, fb.createSharedString(testString)); in TestSharedStringPool()
/third_party/flatbuffers/ts/
Dbuilder.ts504 createSharedString(s: string | Uint8Array): Offset { method in Builder
/third_party/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java575 public int createSharedString(String s) { in createSharedString() method in FlatBufferBuilder