OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:byteCount
(Results
1 - 25
of
35
) sorted by null
1
2
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
X9FieldElement.java
59
int
byteCount
= converter.getByteLength(f);
60
byte[] paddedBigInteger = converter.integerToBytes(f.toBigInteger(),
byteCount
);
/external/chromium_org/third_party/skia/src/utils/
SkMD5.h
32
virtual size_t bytesWritten() const SK_OVERRIDE { return SkToSizeT(this->
byteCount
); }
46
uint64_t
byteCount
;
SkSHA1.h
32
virtual size_t bytesWritten() const SK_OVERRIDE { return SkToSizeT(this->
byteCount
); }
46
uint64_t
byteCount
;
/external/okhttp/okio/src/main/java/okio/
SegmentPool.java
33
long
byteCount
;
44
byteCount
-= Segment.SIZE;
54
if (
byteCount
+ Segment.SIZE > MAX_SIZE) return; // Pool is full.
55
byteCount
+= Segment.SIZE;
RealBufferedSink.java
40
@Override public void write(OkBuffer source, long
byteCount
)
43
buffer.write(source,
byteCount
);
65
@Override public BufferedSink write(byte[] source, int offset, int
byteCount
) throws IOException {
67
buffer.write(source, offset,
byteCount
);
115
long
byteCount
= buffer.completeSegmentByteCount();
116
if (
byteCount
> 0) sink.write(buffer,
byteCount
);
128
@Override public void write(byte[] data, int offset, int
byteCount
) throws IOException {
130
buffer.write(data, offset,
byteCount
);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
GeneralDigest.java
17
private long
byteCount
;
45
byteCount
= t.
byteCount
;
59
byteCount
++;
87
byteCount
+= xBuf.length;
104
long bitLength = (
byteCount
<< 3);
123
byteCount
= 0;
/external/chromium_org/third_party/skia/tools/
sk_tool_utils_font.cpp
161
size_t
byteCount
= SkUTF16_ToUTF8(&uni, 1, NULL);
162
SkAutoSTMalloc<10, char> utf8(
byteCount
);
164
for (unsigned byteIndex = 0; byteIndex <
byteCount
; ++byteIndex) {
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
RetryableSink.java
55
@Override public void write(OkBuffer source, long
byteCount
) throws IOException {
57
checkOffsetAndCount(source.size(), 0,
byteCount
);
58
if (limit != -1 && content.size() > limit -
byteCount
) {
61
content.write(source,
byteCount
);
HttpConnection.java
284
@Override public void write(OkBuffer source, long
byteCount
) throws IOException {
286
checkOffsetAndCount(source.size(), 0,
byteCount
);
287
if (
byteCount
> bytesRemaining) {
289
+ " bytes but received " +
byteCount
);
291
sink.write(source,
byteCount
);
292
bytesRemaining -=
byteCount
;
329
@Override public void write(OkBuffer source, long
byteCount
) throws IOException {
331
if (
byteCount
== 0) return;
333
writeHex(
byteCount
);
334
sink.write(source,
byteCount
);
[
all
...]
/external/okhttp/okio/src/test/java/okio/
DeflaterSinkTest.java
84
int
byteCount
= Segment.SIZE * 4;
85
deflaterSink.write(new OkBuffer().writeUtf8(repeat('a',
byteCount
)),
byteCount
);
87
assertEquals(repeat('a',
byteCount
), inflate(buffer).readUtf8(
byteCount
));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERObjectIdentifier.java
233
int
byteCount
= (fieldValue.bitLength() + 6) / 7;
234
if (
byteCount
== 0)
241
byte[] tmp = new byte[
byteCount
];
242
for (int i =
byteCount
- 1; i >= 0; i--)
247
tmp[
byteCount
- 1] &= 0x7f;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
CertBlacklist.java
100
int
byteCount
= f.read(buffer);
101
if (
byteCount
== -1) {
104
bytes.write(buffer, 0,
byteCount
);
/external/chromium_org/third_party/icu/source/test/cintltst/
ucsdetst.c
73
int32_t
byteCount
= preflight(src, length, cnv);
75
char *bytes = NEW_ARRAY(char,
byteCount
+ 1);
76
char *dest = bytes, *destLimit = bytes +
byteCount
+ 1;
81
*byteLength =
byteCount
;
/external/chromium_org/third_party/icu/source/test/intltest/
tscoll.cpp
385
int32_t i,
byteCount
;
386
const uint8_t *bytes = source.getByteArray(
byteCount
);
391
for (i = 0; i <
byteCount
; i += 1)
/external/icu/icu4c/source/test/cintltst/
ucsdetst.c
73
int32_t
byteCount
= preflight(src, length, cnv);
75
char *bytes = NEW_ARRAY(char,
byteCount
+ 1);
76
char *dest = bytes, *destLimit = bytes +
byteCount
+ 1;
81
*byteLength =
byteCount
;
/external/icu/icu4c/source/test/intltest/
tscoll.cpp
367
int32_t i,
byteCount
;
368
const uint8_t *bytes = source.getByteArray(
byteCount
);
373
for (i = 0; i <
byteCount
; i += 1)
/external/chromium_org/third_party/freetype/src/cff/
cf2hints.h
79
size_t
byteCount
;
/external/chromium_org/third_party/skia/src/ports/
SkScalerContext_win_dw.cpp
572
int
byteCount
= width >> 3;
576
if (
byteCount
> 0) {
577
for (int i = 0; i <
byteCount
; ++i) {
598
dst[
byteCount
] = byte;
/external/freetype/src/cff/
cf2hints.h
79
size_t
byteCount
;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
ImageHeaderParser.java
224
final int
byteCount
= componentCount + BYTES_PER_FORMAT[formatCode];
226
if (
byteCount
> 4) {
242
if (
byteCount
< 0 || tagValueOffset +
byteCount
> segmentData.length()) {
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
CreatePrivateDataTest.java
201
final int
byteCount
= 1024;
214
byte[] buf = new byte[
byteCount
];
232
byte[] buf = new byte[
byteCount
];
234
while (read <
byteCount
* packetCount) {
/cts/tests/tests/net/src/android/net/cts/
TrafficStatsTest.java
119
final int
byteCount
= 1024;
132
byte[] buf = new byte[
byteCount
];
162
byte[] buf = new byte[
byteCount
];
163
while (read <
byteCount
* packetCount) {
171
assertTrue("Not all data read back", read >=
byteCount
* packetCount);
232
" Wanted: " + uidTxDeltaBytes + ">=" + tcpPacketToIpBytes(packetCount,
byteCount
) + "+" + tcpPacketToIpBytes(minExpectedExtraPackets, 0) + " && " +
233
uidTxDeltaBytes + "<=" + tcpPacketToIpBytes(packetCount,
byteCount
) + "+" + tcpPacketToIpBytes(packetCount + maxExpectedExtraPackets, 0),
234
uidTxDeltaBytes >= tcpPacketToIpBytes(packetCount,
byteCount
) + tcpPacketToIpBytes(minExpectedExtraPackets, 0) &&
235
uidTxDeltaBytes <= tcpPacketToIpBytes(packetCount,
byteCount
) + tcpPacketToIpBytes(packetCount + maxExpectedExtraPackets + deltaTxOtherPackets, 0));
237
" Wanted: " + uidRxDeltaBytes + ">=" + tcpPacketToIpBytes(packetCount,
byteCount
) + "+" + tcpPacketToIpBytes(minExpectedExtraPackets, 0) + " && "
[
all
...]
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java
534
int
byteCount
= width * height * getBytesPerPixel(candidate.getConfig());
535
return
byteCount
<= candidate.getAllocationByteCount();
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java
534
int
byteCount
= width * height * getBytesPerPixel(candidate.getConfig());
535
return
byteCount
<= candidate.getAllocationByteCount();
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageCache.java
534
int
byteCount
= width * height * getBytesPerPixel(candidate.getConfig());
535
return
byteCount
<= candidate.getAllocationByteCount();
Completed in 774 milliseconds
1
2