/frameworks/av/media/img_utils/src/ |
TiffIfd.cpp | 312 uint32_t byteCount = stripByteCounts->getCount(); 313 if (offsetsCount != byteCount) { 315 __FUNCTION__, offsetsCount, byteCount, mIfdId);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
NativeFrame.java | 177 int byteCount = rgbaBitmap.getByteCount(); 179 if (!setNativeBitmap(rgbaBitmap, byteCount, bps)) { 193 int byteCount = result.getByteCount(); 195 if (!getNativeBitmap(result, byteCount, bps)) { 244 private native byte[] getNativeData(int byteCount); 252 private native int[] getNativeInts(int byteCount); 254 private native float[] getNativeFloats(int byteCount);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
GsmAlphabet.java | 393 int byteCount = ((septetCount * 7) + 7) / 8; 394 byte[] ret = new byte[byteCount + 1]; // Include space for one byte length prefix. [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTest.java | 230 int byteCount = bytes.length() / 2; 231 byte[] array = new byte[byteCount]; 232 for (int i = 0; i < byteCount; i++) {
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
InflaterTest.java | 121 int byteCount = deflater.deflate(buf); 122 deflatedBytes.write(buf, 0, byteCount);
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
MediaSaver.java | 75 int byteCount = 0; 77 byteCount = channel.write(depthCloudData); 78 if (0 == byteCount) { 81 bytesWritten += byteCount;
|
/system/timezone/tzdatacheck/ |
tzdatacheck.cpp | 102 * Opens a file and fills buffer with the first byteCount bytes from the file. 106 static bool readBytes(const std::string& fileName, char* buffer, size_t byteCount) { 114 size_t bytesRead = fread(buffer, 1, byteCount, file); 116 if (bytesRead != byteCount) { 117 LOG(WARNING) << fileName << " is too small. " << byteCount << " bytes required";
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/ |
InputStreamBerDataValueReader.java | 142 int byteCount = firstLengthByte & 0x7f; 143 if (byteCount > 4) { 144 throw new BerDataValueFormatException("Length too large: " + byteCount + " bytes"); 147 for (int i = 0; i < byteCount; i++) {
|
/external/freetype/src/psaux/ |
pshints.h | 78 size_t byteCount;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
ImageHeaderParser.java | 252 final int byteCount = componentCount + BYTES_PER_FORMAT[formatCode]; 254 if (byteCount > 4) { 270 if (byteCount < 0 || tagValueOffset + byteCount > segmentData.length()) {
|
/external/oj-libjdwp/src/share/back/ |
VirtualMachineImpl.c | 398 int byteCount; 407 byteCount = inStream_readInt(in); 412 if ( byteCount <= 0 ) { 417 bytes = (unsigned char *)jvmtiAllocate(byteCount); 423 (void)inStream_readBytes(in, byteCount, (jbyte *)bytes); 430 classDefs[i].class_byte_count = byteCount;
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
WebSocketWriterTest.java | 138 long byteCount = payload.completeSegmentByteCount(); 141 sink.write(payload.clone(), byteCount); 158 long byteCount = payload.completeSegmentByteCount(); 161 sink.write(payload.clone(), byteCount); 163 assertData(String.format("%016X", byteCount)); 164 assertData(payload.readByteArray(byteCount)); 324 int byteCount = 16; 325 for (int i = 0; i < data.length; i += byteCount) { 326 int count = Math.min(byteCount, data.length - i);
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_pcmdata.h | 84 EAS_I32 byteCount; /* size of file */
|
/cts/tests/tests/net/src/android/net/cts/ |
TrafficStatsTest.java | 99 final int byteCount = 1024; 112 byte[] buf = new byte[byteCount]; 140 byte[] buf = new byte[byteCount]; 141 while (read < byteCount * packetCount) { 149 assertTrue("Not all data read back", read >= byteCount * packetCount); 208 " Wanted: " + uidTxDeltaBytes + ">=" + tcpPacketToIpBytes(packetCount, byteCount) + "+" + tcpPacketToIpBytes(minExpectedExtraPackets, 0) + " && " + 209 uidTxDeltaBytes + "<=" + tcpPacketToIpBytes(packetCount, byteCount) + "+" + tcpPacketToIpBytes(packetCount + maxExpectedExtraPackets, 0), 210 uidTxDeltaBytes >= tcpPacketToIpBytes(packetCount, byteCount) + tcpPacketToIpBytes(minExpectedExtraPackets, 0) && 211 uidTxDeltaBytes <= tcpPacketToIpBytes(packetCount, byteCount) + tcpPacketToIpBytes(packetCount + maxExpectedExtraPackets + deltaTxOtherPackets, 0)); 213 " 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();
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
ConscryptFileDescriptorSocket.java | 526 public int read(byte[] buf, int offset, int byteCount) throws IOException { 530 ArrayUtils.checkOffsetAndCount(buf.length, offset, byteCount); 531 if (byteCount == 0) { 547 Platform.getFileDescriptor(socket), buf, offset, byteCount, getSoTimeout()); 604 public void write(byte[] buf, int offset, int byteCount) throws IOException { 607 ArrayUtils.checkOffsetAndCount(buf.length, offset, byteCount); 608 if (byteCount == 0) { 623 ssl.write(Platform.getFileDescriptor(socket), buf, offset, byteCount, [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
Http1xStream.java | 281 @Override public void write(Buffer source, long byteCount) throws IOException { 283 checkOffsetAndCount(source.size(), 0, byteCount); 284 if (byteCount > bytesRemaining) { 286 + " bytes but received " + byteCount); 288 sink.write(source, byteCount); 289 bytesRemaining -= byteCount; 319 @Override public void write(Buffer source, long byteCount) throws IOException { 321 if (byteCount == 0) return; 323 sink.writeHexadecimalUnsignedLong(byteCount); 325 sink.write(source, byteCount); [all...] |
/external/skia/src/ports/ |
SkScalerContext_win_dw.cpp | 670 int byteCount = width >> 3; 674 if (byteCount > 0) { 675 for (int i = 0; i < byteCount; ++i) { 696 dst[byteCount] = byte; [all...] |
/external/skqp/src/ports/ |
SkScalerContext_win_dw.cpp | 670 int byteCount = width >> 3; 674 if (byteCount > 0) { 675 for (int i = 0; i < byteCount; ++i) { 696 dst[byteCount] = byte; [all...] |
/external/toybox/toys/other/ |
bzcat.c | 73 int byteCount[256]; 323 *byteCount, *base, *limit; 332 byteCount = bw->byteCount; 334 byteCount[ii] = 0; 409 byteCount[uc] += hh; 432 byteCount[uc]++; 456 int *byteCount = bw->byteCount; 458 // Turn byteCount into cumulative occurrence counts of 0 to n-1 [all...] |
/frameworks/base/core/jni/ |
android_hardware_camera2_CameraMetadata.cpp | 314 jsize byteCount = entry.count * tagSize; 315 jbyteArray byteArray = env->NewByteArray(byteCount); 320 memcpy(arrayWriter.get(), entry.data.u8, byteCount);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SmsMessageBodyTest.java | 434 int byteCount = length * 2; 435 if (byteCount > SmsConstants.MAX_USER_DATA_BYTES) { 436 values[0] = (byteCount + SmsConstants.MAX_USER_DATA_BYTES_WITH_HEADER - 1) / 439 byteCount) / 2; 442 values[2] = (SmsConstants.MAX_USER_DATA_BYTES - byteCount) / 2;
|
/hardware/interfaces/drm/1.0/vts/functional/ |
drm_hal_clearkey_test.cpp | [all...] |