/external/libchrome/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/okio/okio/src/jvmTest/java/okio/ |
D | Utf8Test.java | 198 assertEquals(0, Utf8.size("")); in size() 199 assertEquals(3, Utf8.size("abc")); in size() 200 assertEquals(16, Utf8.size("təˈranəˌsôr")); in size() 204 assertEquals(0, Utf8.size("", 0, 0)); in sizeWithBounds() 205 assertEquals(0, Utf8.size("abc", 0, 0)); in sizeWithBounds() 206 assertEquals(1, Utf8.size("abc", 1, 2)); in sizeWithBounds() 207 assertEquals(2, Utf8.size("abc", 0, 2)); in sizeWithBounds() 208 assertEquals(3, Utf8.size("abc", 0, 3)); in sizeWithBounds() 209 assertEquals(16, Utf8.size("təˈranəˌsôr", 0, 11)); in sizeWithBounds() 210 assertEquals(5, Utf8.size("təˈranəˌsôr", 3, 7)); in sizeWithBounds() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | Utf8Test.java | 63 assertEquals(0, Utf8.encodedLength("")); in testEncodedLength_validStrings() 64 assertEquals(11, Utf8.encodedLength("Hello world")); in testEncodedLength_validStrings() 65 assertEquals(8, Utf8.encodedLength("Résumé")); in testEncodedLength_validStrings() 68 Utf8.encodedLength( in testEncodedLength_validStrings() 76 assertEquals(4, Utf8.encodedLength(newString(MIN_HIGH_SURROGATE, MIN_LOW_SURROGATE))); in testEncodedLength_validStrings() 100 if (utf8Length != Utf8.encodedLength(sb)) { in testEncodedLength_validStrings2() 105 assertEquals(repro.toString(), utf8Length, Utf8.encodedLength(sb)); in testEncodedLength_validStrings2() 121 Utf8.encodedLength(invalidString); in testEncodedLengthFails() 267 assertTrue(Utf8.isWellFormed(toByteArray(bytes))); in assertWellFormed() 271 assertFalse(Utf8.isWellFormed(toByteArray(bytes))); in assertNotWellFormed() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | Utf8Test.java | 63 assertEquals(0, Utf8.encodedLength("")); in testEncodedLength_validStrings() 64 assertEquals(11, Utf8.encodedLength("Hello world")); in testEncodedLength_validStrings() 65 assertEquals(8, Utf8.encodedLength("Résumé")); in testEncodedLength_validStrings() 68 Utf8.encodedLength( in testEncodedLength_validStrings() 76 assertEquals(4, Utf8.encodedLength(newString(MIN_HIGH_SURROGATE, MIN_LOW_SURROGATE))); in testEncodedLength_validStrings() 100 if (utf8Length != Utf8.encodedLength(sb)) { in testEncodedLength_validStrings2() 105 assertEquals(repro.toString(), utf8Length, Utf8.encodedLength(sb)); in testEncodedLength_validStrings2() 121 Utf8.encodedLength(invalidString); in testEncodedLengthFails() 267 assertTrue(Utf8.isWellFormed(toByteArray(bytes))); in assertWellFormed() 271 assertFalse(Utf8.isWellFormed(toByteArray(bytes))); in assertNotWellFormed() [all …]
|
/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 | 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 | 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()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8TestUtil.java | 279 assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes)); 280 assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes, 0, numBytes)); 283 assertEquals(s, Utf8.decodeUtf8(bytes, 0, numBytes)); 300 int state1 = Utf8.partialIsValidUtf8(Utf8.COMPLETE, bytes, 0, i); 301 int state2 = Utf8.partialIsValidUtf8(state1, bytes, i, j); 302 int state3 = Utf8.partialIsValidUtf8(state2, bytes, j, numBytes); 303 if (isRoundTrippable != (state3 == Utf8.COMPLETE)) { 307 assertEquals(isRoundTrippable, (state3 == Utf8.COMPLETE)); 319 assertEquals(state3, x.partialIsValidUtf8(Utf8.COMPLETE, 0, numBytes)); 321 assertEquals(state1, x.partialIsValidUtf8(Utf8.COMPLETE, 0, i)); [all …]
|
D | Utf8Test.java | 43 private static final Utf8.Processor safeProcessor = new Utf8.SafeProcessor(); 44 private static final Utf8.Processor unsafeProcessor = new Utf8.UnsafeProcessor(); 202 private static byte[] encodeToByteArray(String message, int length, Utf8.Processor processor) { in encodeToByteArray() 209 String message, int length, boolean direct, Utf8.Processor processor) { in encodeToByteBuffer()
|
/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/flatbuffers/java/com/google/flatbuffers/ |
D | Utf8.java | 25 public abstract class Utf8 { class 55 private static Utf8 DEFAULT; 61 public static Utf8 getDefault() { in getDefault() 72 public static void setDefault(Utf8 instance) { in setDefault()
|
/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()
|
/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/rust/crates/protobuf/src/ |
D | error.rs | 64 Utf8(str::Utf8Error), enumerator 86 &ProtobufError::Utf8(ref e) => write!(f, "{}", e), in fmt() 110 &ProtobufError::Utf8(ref e) => &e.description(), in description() 118 &ProtobufError::Utf8(ref e) => Some(e), in cause() 133 ProtobufError::Utf8(err) in from()
|