OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Utf8
(Results
1 - 25
of
32
) sorted by null
1
2
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
Utf8.java
23
public final class
Utf8
{
48
public static int utf8StringLengthInBytes(String
utf8
) {
50
if (
utf8
!= null) {
51
return
utf8
.getBytes("UTF-8").length;
IsoTypeWriter.java
92
bb.put(
Utf8
.convert(string));
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
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)}.
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
XmlBox.java
4
import com.coremedia.iso.
Utf8
;
30
return 4 +
Utf8
.utf8StringLengthInBytes(xml);
42
byteBuffer.put(
Utf8
.convert(xml));
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));
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));
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));
PerformerBox.java
21
import com.coremedia.iso.
Utf8
;
57
return 6 +
Utf8
.utf8StringLengthInBytes(performer) + 1;
64
byteBuffer.put(
Utf8
.convert(performer));
SchemeTypeBox.java
22
import com.coremedia.iso.
Utf8
;
69
return 12 + (((getFlags() & 1) == 1) ?
Utf8
.utf8StringLengthInBytes(schemeUri) + 1 : 0);
88
byteBuffer.put(
Utf8
.convert(schemeUri));
TitleBox.java
21
import com.coremedia.iso.
Utf8
;
68
return 7 +
Utf8
.utf8StringLengthInBytes(title);
75
byteBuffer.put(
Utf8
.convert(title));
/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));
AppleDataReferenceBox.java
22
import com.coremedia.iso.
Utf8
;
57
byteBuffer.put(
Utf8
.convert(dataReference));
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/vodafone/
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));
ContentDistributorIdBox.java
21
import com.coremedia.iso.
Utf8
;
48
return 2 +
Utf8
.utf8StringLengthInBytes(contentDistributorId) + 5;
62
byteBuffer.put(
Utf8
.convert(contentDistributorId));
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/threegpp26245/
FontTableBox.java
5
import com.coremedia.iso.
Utf8
;
80
bb.put(
Utf8
.convert(fontname));
84
return
Utf8
.utf8StringLengthInBytes(fontname) + 3;
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ultraviolet/
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));
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
Completed in 1458 milliseconds
1
2