/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
HandlerBox.java | 23 import com.coremedia.iso.Utf8; 104 return 25 + Utf8.utf8StringLengthInBytes(name); 106 return 24 + Utf8.utf8StringLengthInBytes(name); 141 byteBuffer.put(Utf8.convert(name));
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
AppleDataReferenceBox.java | 22 import com.coremedia.iso.Utf8;
57 byteBuffer.put(Utf8.convert(dataReference));
|
AbstractAppleMetaDataBox.java | 5 import com.coremedia.iso.Utf8; 101 appleDataBox.setData(Utf8.convert(value)); 136 return Utf8.convert(appleDataBox.getData());
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
VisualSampleEntry.java | 21 import com.coremedia.iso.Utf8; 158 compressorname = Utf8.convert(bytes); 199 IsoTypeWriter.writeUInt8(byteBuffer, Utf8.utf8StringLengthInBytes(getCompressorname())); 200 byteBuffer.put(Utf8.convert(getCompressorname())); 201 int a = Utf8.utf8StringLengthInBytes(getCompressorname());
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
IsValidUtf8TestUtil.java | 231 // Check agreement with static Utf8 methods. 232 assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes)); 233 assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes, 0, numBytes)); 242 int state1 = Utf8.partialIsValidUtf8(Utf8.COMPLETE, bytes, 0, i); 243 int state2 = Utf8.partialIsValidUtf8(state1, bytes, i, j); 244 int state3 = Utf8.partialIsValidUtf8(state2, bytes, j, numBytes); 245 if (isRoundTrippable != (state3 == Utf8.COMPLETE)) { 250 assertEquals(isRoundTrippable, (state3 == Utf8.COMPLETE)); 265 x.partialIsValidUtf8(Utf8.COMPLETE, 0, numBytes)) [all...] |
IsValidUtf8Test.java | 141 assertTrue(not ^ Utf8.isValidUtf8(realBytes)); 142 assertTrue(not ^ Utf8.isValidUtf8(realBytes, 0, bytes.length));
|
/external/v8/src/ |
unicode-inl.h | 81 unsigned Utf8::Encode(char* str, uchar c, int previous) { 112 uchar Utf8::ValueOf(const byte* bytes, unsigned length, unsigned* cursor) { 123 unsigned Utf8::Length(uchar c, int previous) { 187 if (c <= Utf8::kMaxOneByteChar) { 196 if (b <= Utf8::kMaxOneByteChar) { 243 : InputBuffer<Utf8, Buffer<const char*>, s>(Buffer<const char*>(data,
|
scanner-character-streams.cc | 194 if (c <= unibrow::Utf8::kMaxOneByteChar) { 197 c = unibrow::Utf8::CalculateValue(raw_data_ + raw_data_pos_, 234 if (character > unibrow::Utf8::kMaxOneByteChar) { 249 if (character > unibrow::Utf8::kMaxOneByteChar) { 271 // is no position in the UTF8 stream that corresponds to that. This assumes 276 // Spool backwards in utf8 buffer. 289 // Spool forwards in the utf8 buffer.
|
unicode.h | 152 class Utf8 { 247 class Utf8InputBuffer : public InputBuffer<Utf8, Buffer<const char*>, s> { 252 InputBuffer<Utf8, Buffer<const char*>, s>::Reset(
|
debug-agent.cc | 378 utf8_len += unibrow::Utf8::Length(character, previous); 399 unibrow::Utf8::Encode(buffer + buffer_position, character, previous);
|
unicode.cc | 210 uchar Utf8::CalculateValue(const byte* str, 280 const byte* Utf8::ReadBlock(Buffer<const char*> str, byte* buffer, 316 c = Utf8::ValueOf(data + offset, str.length() - offset, &chars); [all...] |
handles.cc | 803 // This method determines the type of string involved and then gets the UTF8 [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
IsoTypeReader.java | 87 return Utf8.convert(out.toByteArray()); 93 return Utf8.convert(buffer);
|
IsoTypeWriter.java | 92 bb.put(Utf8.convert(string));
|
/external/chromium_org/v8/src/ |
scanner-character-streams.cc | 196 if (c <= unibrow::Utf8::kMaxOneByteChar) { 199 c = unibrow::Utf8::CalculateValue(raw_data_ + raw_data_pos_, 236 if (character > unibrow::Utf8::kMaxOneByteChar) { 251 if (character > unibrow::Utf8::kMaxOneByteChar) { 273 // is no position in the UTF8 stream that corresponds to that. This assumes 278 // Spool backwards in utf8 buffer. 291 // Spool forwards in the utf8 buffer.
|
unicode-inl.h | 99 unsigned Utf8::EncodeOneByte(char* str, uint8_t c) { 111 unsigned Utf8::Encode(char* str, uchar c, int previous) { 142 uchar Utf8::ValueOf(const byte* bytes, unsigned length, unsigned* cursor) { 153 unsigned Utf8::Length(uchar c, int previous) {
|
unicode.h | 145 class Utf8 {
|
debug-agent.cc | 399 utf8_len += unibrow::Utf8::Length(character, previous); 423 unibrow::Utf8::Encode(buffer + buffer_position, character, previous);
|
unicode.cc | 214 uchar Utf8::CalculateValue(const byte* str, 296 uint32_t character = Utf8::ValueOf(stream, stream_length, &cursor); 336 uint32_t character = Utf8::ValueOf(stream, Utf8::kMaxEncodedSize, &cursor); [all...] |
log.cc | 118 if (c <= unibrow::Utf8::kMaxOneByteChar) { 121 int char_length = unibrow::Utf8::Length(c, previous); 123 unibrow::Utf8::Encode(utf8_buffer_ + utf8_pos_, c, previous); [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
LiteralByteString.java | 157 return Utf8.isValidUtf8(bytes, offset, offset + size()); 163 return Utf8.partialIsValidUtf8(state, bytes, index, index + length);
|
Utf8.java | 67 final class Utf8 { 68 private Utf8() {} 119 * partialIsValidUtf8(bytes, index, limit) == Utf8.COMPLETE}. 131 * @param state either {@link Utf8#COMPLETE} (if this is the initial decoding 238 * partialIsValidUtf8(Utf8.COMPLETE, bytes, index, limit)}.
|
RopeByteString.java | 415 int leftPartial = left.partialIsValidUtf8(Utf8.COMPLETE, 0, leftLength); 417 return state == Utf8.COMPLETE; [all...] |
/external/v8/test/cctest/ |
test-parsing.cc | 566 static const unsigned kMaxUC16CharU = unibrow::Utf8::kMaxThreeByteChar; 570 (unibrow::Utf8::kMaxOneByteChar + 1) + 571 (unibrow::Utf8::kMaxTwoByteChar - unibrow::Utf8::kMaxOneByteChar) * 2 + 572 (unibrow::Utf8::kMaxThreeByteChar - unibrow::Utf8::kMaxTwoByteChar) * 3; 579 cursor += unibrow::Utf8::Encode(buffer + cursor, [all...] |
/external/chromium_org/v8/test/cctest/ |
test-parsing.cc | 568 static const unsigned kMaxUC16CharU = unibrow::Utf8::kMaxThreeByteChar; 572 (unibrow::Utf8::kMaxOneByteChar + 1) + 573 (unibrow::Utf8::kMaxTwoByteChar - unibrow::Utf8::kMaxOneByteChar) * 2 + 574 (unibrow::Utf8::kMaxThreeByteChar - unibrow::Utf8::kMaxTwoByteChar) * 3; 581 cursor += unibrow::Utf8::Encode(buffer + cursor, [all...] |