/external/libmojo/base/android/jni_generator/ |
D | testMotionEvent.javap7 | 24 #10 = Utf8 PointerProperties 25 #11 = Utf8 InnerClasses 27 #13 = Utf8 PointerCoords 28 #14 = Utf8 INVALID_POINTER_ID 29 #15 = Utf8 I 30 #16 = Utf8 ConstantValue 32 #18 = Utf8 ACTION_MASK 34 #20 = Utf8 ACTION_DOWN 36 #22 = Utf8 ACTION_UP 38 #24 = Utf8 ACTION_MOVE [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | Utf8Test.java | 38 assertEquals(0, Utf8.encodedLength("")); in testEncodedLength_validStrings() 39 assertEquals(11, Utf8.encodedLength("Hello world")); in testEncodedLength_validStrings() 40 assertEquals(8, Utf8.encodedLength("Résumé")); in testEncodedLength_validStrings() 41 assertEquals(461, Utf8.encodedLength("威廉·莎士比亞(William Shakespeare," in testEncodedLength_validStrings() 48 assertEquals(4, Utf8.encodedLength( in testEncodedLength_validStrings() 74 if (utf8Length != Utf8.encodedLength(sb)) { in testEncodedLength_validStrings2() 79 assertEquals(repro.toString(), utf8Length, Utf8.encodedLength(sb)); in testEncodedLength_validStrings2() 99 Utf8.encodedLength(invalidString); in testEncodedLengthFails() 241 assertTrue(Utf8.isWellFormed(toByteArray(bytes))); in assertWellFormed() 245 assertFalse(Utf8.isWellFormed(toByteArray(bytes))); in assertNotWellFormed() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | Utf8Test.java | 33 assertEquals(0, Utf8.encodedLength("")); in testEncodedLength_validStrings() 34 assertEquals(11, Utf8.encodedLength("Hello world")); in testEncodedLength_validStrings() 35 assertEquals(8, Utf8.encodedLength("Résumé")); in testEncodedLength_validStrings() 36 assertEquals(461, Utf8.encodedLength("威廉·莎士比亞(William Shakespeare," in testEncodedLength_validStrings() 43 assertEquals(4, Utf8.encodedLength( in testEncodedLength_validStrings() 61 Utf8.encodedLength(invalidString); in testEncodedLengthFails() 185 assertTrue(Utf8.isWellFormed(toByteArray(bytes))); in assertWellFormed() 189 assertFalse(Utf8.isWellFormed(toByteArray(bytes))); in assertNotWellFormed()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ultraviolet/ |
D | BaseLocationBox.java | 20 import com.coremedia.iso.Utf8; 67 content.get(new byte[256 - Utf8.utf8StringLengthInBytes(baseLocation) - 1]); in _parseDetails() 69 content.get(new byte[256 - Utf8.utf8StringLengthInBytes(purchaseLocation) - 1]); in _parseDetails() 76 byteBuffer.put(Utf8.convert(baseLocation)); in getContent() 77 …byteBuffer.put(new byte[256 - Utf8.utf8StringLengthInBytes(baseLocation)]); // string plus term ze… in getContent() 78 byteBuffer.put(Utf8.convert(purchaseLocation)); in getContent() 79 …byteBuffer.put(new byte[256 - Utf8.utf8StringLengthInBytes(purchaseLocation)]); // string plus ter… in getContent()
|
D | AssetInformationBox.java | 20 import com.coremedia.iso.Utf8; 38 return Utf8.utf8StringLengthInBytes(apid) + 9; in getContentSize() 45 byteBuffer.put(Utf8.convert(profileVersion), 0, 4); in getContent() 46 byteBuffer.put(Utf8.convert(apid)); in getContent()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/threegpp26244/ |
D | LocationInformationBox.java | 5 import com.coremedia.iso.Utf8; 94 …return 22 + Utf8.convert(name).length + Utf8.convert(astronomicalBody).length + Utf8.convert(addit… in getContentSize() 115 byteBuffer.put(Utf8.convert(name)); in getContent() 121 byteBuffer.put(Utf8.convert(astronomicalBody)); in getContent() 123 byteBuffer.put(Utf8.convert(additionalNotes)); in getContent()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | DataEntryUrnBox.java | 20 import com.coremedia.iso.Utf8; 48 return Utf8.utf8StringLengthInBytes(name) + 1 + Utf8.utf8StringLengthInBytes(location) + 1; in getContentSize() 60 byteBuffer.put(Utf8.convert(name)); in getContent() 62 byteBuffer.put(Utf8.convert(location)); in getContent()
|
D | KeywordsBox.java | 21 import com.coremedia.iso.Utf8; 58 contentSize += 1 + Utf8.utf8StringLengthInBytes(keyword) + 1; in getContentSize() 81 IsoTypeWriter.writeUInt8(byteBuffer, Utf8.utf8StringLengthInBytes(keyword) + 1); in getContent() 82 byteBuffer.put(Utf8.convert(keyword)); in getContent()
|
D | XmlBox.java | 4 import com.coremedia.iso.Utf8; 30 return 4 + Utf8.utf8StringLengthInBytes(xml); in getContentSize() 42 byteBuffer.put(Utf8.convert(xml)); in getContent()
|
D | TitleBox.java | 21 import com.coremedia.iso.Utf8; 68 return 7 + Utf8.utf8StringLengthInBytes(title); in getContentSize() 75 byteBuffer.put(Utf8.convert(title)); in getContent()
|
D | AuthorBox.java | 22 import com.coremedia.iso.Utf8; 72 return 7 + Utf8.utf8StringLengthInBytes(author); in getContentSize() 86 byteBuffer.put(Utf8.convert(author)); in getContent()
|
D | PerformerBox.java | 21 import com.coremedia.iso.Utf8; 57 return 6 + Utf8.utf8StringLengthInBytes(performer) + 1; in getContentSize() 64 byteBuffer.put(Utf8.convert(performer)); in getContent()
|
D | CopyrightBox.java | 22 import com.coremedia.iso.Utf8; 62 return 7 + Utf8.utf8StringLengthInBytes(copyright); in getContentSize() 76 byteBuffer.put(Utf8.convert(copyright)); in getContent()
|
D | DescriptionBox.java | 21 import com.coremedia.iso.Utf8; 48 return 7 + Utf8.utf8StringLengthInBytes(description); in getContentSize() 62 byteBuffer.put(Utf8.convert(description)); in getContent()
|
D | GenreBox.java | 21 import com.coremedia.iso.Utf8; 58 return 7 + Utf8.utf8StringLengthInBytes(genre); in getContentSize() 72 byteBuffer.put(Utf8.convert(genre)); in getContent()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8TestUtil.java | 273 assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes)); 274 assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes, 0, numBytes)); 285 int state1 = Utf8.partialIsValidUtf8(Utf8.COMPLETE, bytes, 0, i); 286 int state2 = Utf8.partialIsValidUtf8(state1, bytes, i, j); 287 int state3 = Utf8.partialIsValidUtf8(state2, bytes, j, numBytes); 288 if (isRoundTrippable != (state3 == Utf8.COMPLETE)) { 292 assertEquals(isRoundTrippable, (state3 == Utf8.COMPLETE)); 303 assertEquals(state3, x.partialIsValidUtf8(Utf8.COMPLETE, 0, numBytes)); 305 assertEquals(state1, x.partialIsValidUtf8(Utf8.COMPLETE, 0, i)); 306 assertEquals(state1, x.substring(0, i).partialIsValidUtf8(Utf8.COMPLETE, 0, i));
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
D | AppleCustomGenreBox.java | 3 import com.coremedia.iso.Utf8; 22 appleDataBox.setData(Utf8.convert(genre)); in setGenre() 26 return Utf8.convert(appleDataBox.getData()); in getGenre()
|
D | AppleMeanBox.java | 4 import com.coremedia.iso.Utf8; 23 return 4 + Utf8.utf8StringLengthInBytes(meaning); in getContentSize() 35 byteBuffer.put(Utf8.convert(meaning)); in getContent()
|
D | AppleNameBox.java | 4 import com.coremedia.iso.Utf8; 23 return 4 + Utf8.convert(name).length; in getContentSize() 43 byteBuffer.put(Utf8.convert(name)); in getContent()
|
/external/v8/src/ |
D | unicode-inl.h | 60 unsigned Utf8::EncodeOneByte(char* str, uint8_t c) { in EncodeOneByte() 75 unsigned Utf8::Encode(char* str, in Encode() 113 uchar Utf8::ValueOf(const byte* bytes, size_t length, size_t* cursor) { in ValueOf() 124 unsigned Utf8::Length(uchar c, int previous) { in Length() 140 bool Utf8::IsValidCharacter(uchar c) { in IsValidCharacter()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
D | VisualSampleEntry.java | 21 import com.coremedia.iso.Utf8; 158 compressorname = Utf8.convert(bytes); in _parseDetails() 199 IsoTypeWriter.writeUInt8(byteBuffer, Utf8.utf8StringLengthInBytes(getCompressorname())); in getContent() 200 byteBuffer.put(Utf8.convert(getCompressorname())); in getContent() 201 int a = Utf8.utf8StringLengthInBytes(getCompressorname()); in getContent()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/vodafone/ |
D | LyricsUriBox.java | 20 import com.coremedia.iso.Utf8; 47 return Utf8.utf8StringLengthInBytes(lyricsUri) + 5; in getContentSize() 59 byteBuffer.put(Utf8.convert(lyricsUri)); in getContent()
|
D | CoverUriBox.java | 20 import com.coremedia.iso.Utf8; 46 return Utf8.utf8StringLengthInBytes(coverUri) + 5; in getContentSize() 58 byteBuffer.put(Utf8.convert(coverUri)); in getContent()
|
D | ContentDistributorIdBox.java | 21 import com.coremedia.iso.Utf8; 48 return 2 + Utf8.utf8StringLengthInBytes(contentDistributorId) + 5; in getContentSize() 62 byteBuffer.put(Utf8.convert(contentDistributorId)); in getContent()
|
D | AlbumArtistBox.java | 22 import com.coremedia.iso.Utf8; 58 return 6 + Utf8.utf8StringLengthInBytes(albumArtist) + 1; in getContentSize() 71 byteBuffer.put(Utf8.convert(albumArtist)); in getContent()
|