Home
last modified time | relevance | path

Searched refs:FBT_STRING (Results 1 – 4 of 4) sorted by relevance

/third_party/flatbuffers/java/com/google/flatbuffers/
DFlexBuffers.java60 public static final int FBT_STRING = 5; field in FlexBuffers
314 return type == FBT_STRING; in isString()
377 case FBT_STRING: return Integer.parseInt(asString()); in asInt()
406 case FBT_STRING: return Long.parseLong(asString()); in asUInt()
435 case FBT_STRING: { in asLong()
470 case FBT_STRING: return Double.parseDouble(asString()); in asFloat()
594 case FBT_STRING: in toString()
DFlexBuffersBuilder.java367 stack.add(Value.blob(iKey, i, FBT_STRING, bitWidth)); in putString()
378 return writeBlob(key, s.getBytes(StandardCharsets.UTF_8), FBT_STRING, true); in writeString()
/third_party/flatbuffers/include/flatbuffers/
Dflexbuffers.h58 FBT_STRING = 5, enumerator
89 return (t >= FBT_INT && t <= FBT_STRING) || t == FBT_BOOL; in IsTypedVectorElementType()
402 bool IsString() const { return type_ == FBT_STRING; } in IsString()
437 case FBT_STRING: return flatbuffers::StringToInt(AsString().c_str()); in AsInt64()
466 case FBT_STRING: return flatbuffers::StringToUInt(AsString().c_str()); in AsUInt64()
495 case FBT_STRING: { in AsDouble()
512 if (type_ == FBT_KEY || type_ == FBT_STRING) { in AsKey()
522 if (type_ == FBT_STRING) { in AsString()
545 if (type_ == FBT_STRING) { in ToString()
599 if (type_ == FBT_BLOB || type_ == FBT_STRING) { in AsBlob()
[all …]
/third_party/flatbuffers/tests/
DJavaTest.java838 TestEq(FlexBuffers.FBT_STRING, r.getType()); in testSingleElementBigString()
849 TestEq(FlexBuffers.FBT_STRING, r.getType()); in testSingleElementSmallString()