OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Utf8
(Results
1 - 25
of
115
) sorted by null
1
2
3
4
5
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
AppleCustomGenreBox.java
3
import com.coremedia.iso.
Utf8
;
22
appleDataBox.setData(
Utf8
.convert(genre));
26
return
Utf8
.convert(appleDataBox.getData());
AppleMeanBox.java
4
import com.coremedia.iso.
Utf8
;
23
return 4 +
Utf8
.utf8StringLengthInBytes(meaning);
35
byteBuffer.put(
Utf8
.convert(meaning));
AppleNameBox.java
4
import com.coremedia.iso.
Utf8
;
23
return 4 +
Utf8
.convert(name).length;
43
byteBuffer.put(
Utf8
.convert(name));
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DataEntryUrnBox.java
20
import com.coremedia.iso.
Utf8
;
48
return
Utf8
.utf8StringLengthInBytes(name) + 1 +
Utf8
.utf8StringLengthInBytes(location) + 1;
60
byteBuffer.put(
Utf8
.convert(name));
62
byteBuffer.put(
Utf8
.convert(location));
XmlBox.java
4
import com.coremedia.iso.
Utf8
;
30
return 4 +
Utf8
.utf8StringLengthInBytes(xml);
42
byteBuffer.put(
Utf8
.convert(xml));
KeywordsBox.java
21
import com.coremedia.iso.
Utf8
;
58
contentSize += 1 +
Utf8
.utf8StringLengthInBytes(keyword) + 1;
81
IsoTypeWriter.writeUInt8(byteBuffer,
Utf8
.utf8StringLengthInBytes(keyword) + 1);
82
byteBuffer.put(
Utf8
.convert(keyword));
AlbumBox.java
21
import com.coremedia.iso.
Utf8
;
75
return 6 +
Utf8
.utf8StringLengthInBytes(albumTitle) + 1 + (trackNumber == -1 ? 0 : 1);
95
byteBuffer.put(
Utf8
.convert(albumTitle));
AuthorBox.java
22
import com.coremedia.iso.
Utf8
;
72
return 7 +
Utf8
.utf8StringLengthInBytes(author);
86
byteBuffer.put(
Utf8
.convert(author));
CopyrightBox.java
22
import com.coremedia.iso.
Utf8
;
62
return 7 +
Utf8
.utf8StringLengthInBytes(copyright);
76
byteBuffer.put(
Utf8
.convert(copyright));
DescriptionBox.java
21
import com.coremedia.iso.
Utf8
;
48
return 7 +
Utf8
.utf8StringLengthInBytes(description);
62
byteBuffer.put(
Utf8
.convert(description));
GenreBox.java
21
import com.coremedia.iso.
Utf8
;
58
return 7 +
Utf8
.utf8StringLengthInBytes(genre);
72
byteBuffer.put(
Utf8
.convert(genre));
PerformerBox.java
21
import com.coremedia.iso.
Utf8
;
57
return 6 +
Utf8
.utf8StringLengthInBytes(performer) + 1;
64
byteBuffer.put(
Utf8
.convert(performer));
TitleBox.java
21
import com.coremedia.iso.
Utf8
;
68
return 7 +
Utf8
.utf8StringLengthInBytes(title);
75
byteBuffer.put(
Utf8
.convert(title));
ClassificationBox.java
22
import com.coremedia.iso.
Utf8
;
76
return 4 + 2 + 2 +
Utf8
.utf8StringLengthInBytes(classificationInfo) + 1;
95
byteBuffer.put(
Utf8
.convert(classificationInfo));
RatingBox.java
22
import com.coremedia.iso.
Utf8
;
91
return 15 +
Utf8
.utf8StringLengthInBytes(ratingInfo);
110
byteBuffer.put(
Utf8
.convert(ratingInfo));
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/io/
OutputStreamWriter.java
13
import avian.
Utf8
;
27
out.write(
Utf8
.encode(b, offset, length));
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ultraviolet/
BaseLocationBox.java
20
import com.coremedia.iso.
Utf8
;
67
content.get(new byte[256 -
Utf8
.utf8StringLengthInBytes(baseLocation) - 1]);
69
content.get(new byte[256 -
Utf8
.utf8StringLengthInBytes(purchaseLocation) - 1]);
76
byteBuffer.put(
Utf8
.convert(baseLocation));
77
byteBuffer.put(new byte[256 -
Utf8
.utf8StringLengthInBytes(baseLocation)]); // string plus term zero
78
byteBuffer.put(
Utf8
.convert(purchaseLocation));
79
byteBuffer.put(new byte[256 -
Utf8
.utf8StringLengthInBytes(purchaseLocation)]); // string plus term zero
AssetInformationBox.java
20
import com.coremedia.iso.
Utf8
;
38
return
Utf8
.utf8StringLengthInBytes(apid) + 9;
45
byteBuffer.put(
Utf8
.convert(profileVersion), 0, 4);
46
byteBuffer.put(
Utf8
.convert(apid));
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/vodafone/
ContentDistributorIdBox.java
21
import com.coremedia.iso.
Utf8
;
48
return 2 +
Utf8
.utf8StringLengthInBytes(contentDistributorId) + 5;
62
byteBuffer.put(
Utf8
.convert(contentDistributorId));
CoverUriBox.java
20
import com.coremedia.iso.
Utf8
;
46
return
Utf8
.utf8StringLengthInBytes(coverUri) + 5;
58
byteBuffer.put(
Utf8
.convert(coverUri));
LyricsUriBox.java
20
import com.coremedia.iso.
Utf8
;
47
return
Utf8
.utf8StringLengthInBytes(lyricsUri) + 5;
59
byteBuffer.put(
Utf8
.convert(lyricsUri));
AlbumArtistBox.java
22
import com.coremedia.iso.
Utf8
;
58
return 6 +
Utf8
.utf8StringLengthInBytes(albumArtist) + 1;
71
byteBuffer.put(
Utf8
.convert(albumArtist));
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/threegpp26244/
LocationInformationBox.java
5
import com.coremedia.iso.
Utf8
;
94
return 22 +
Utf8
.convert(name).length +
Utf8
.convert(astronomicalBody).length +
Utf8
.convert(additionalNotes).length;
115
byteBuffer.put(
Utf8
.convert(name));
121
byteBuffer.put(
Utf8
.convert(astronomicalBody));
123
byteBuffer.put(
Utf8
.convert(additionalNotes));
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
Utf8Test.java
24
* Unit tests for {@link
Utf8
}.
33
assertEquals(0,
Utf8
.encodedLength(""));
34
assertEquals(11,
Utf8
.encodedLength("Hello world"));
35
assertEquals(8,
Utf8
.encodedLength("Résumé"));
36
assertEquals(461,
Utf8
.encodedLength("??ˇ?????William Shakespeare?"
43
assertEquals(4,
Utf8
.encodedLength(
61
Utf8
.encodedLength(invalidString);
185
assertTrue(
Utf8
.isWellFormed(toByteArray(bytes)));
189
assertFalse(
Utf8
.isWellFormed(toByteArray(bytes)));
/external/guava/guava-tests/test/com/google/common/base/
Utf8Test.java
29
* Unit tests for {@link
Utf8
}.
38
assertEquals(0,
Utf8
.encodedLength(""));
39
assertEquals(11,
Utf8
.encodedLength("Hello world"));
40
assertEquals(8,
Utf8
.encodedLength("Résumé"));
41
assertEquals(461,
Utf8
.encodedLength("??ˇ?????William Shakespeare?"
48
assertEquals(4,
Utf8
.encodedLength(
74
if (utf8Length !=
Utf8
.encodedLength(sb)) {
79
assertEquals(repro.toString(), utf8Length,
Utf8
.encodedLength(sb));
99
Utf8
.encodedLength(invalidString);
241
assertTrue(
Utf8
.isWellFormed(toByteArray(bytes)))
[
all
...]
Completed in 586 milliseconds
1
2
3
4
5