HomeSort by relevance Sort by last modified time
    Searched refs:byteCount (Results 76 - 100 of 155) sorted by null

1 2 34 5 6 7

  /dalvik/dx/src/com/android/dx/merge/
IndexMap.java 281 int byteCount;
283 byteCount = 1;
285 byteCount = 2;
287 byteCount = 3;
289 byteCount = 4;
291 int argAndType = ((byteCount - 1) << 5) | type;
294 for (int i = 0; i < byteCount; i++) {
  /libcore/luni/src/main/java/java/lang/
String.java 168 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length}.
170 public String(byte[] data, int offset, int byteCount) {
171 if ((offset | byteCount) < 0 || byteCount > data.length - offset) {
172 throw failedBoundsCheck(data.length, offset, byteCount);
174 CharBuffer cb = Charset.defaultCharset().decode(ByteBuffer.wrap(data, offset, byteCount));
191 * if {@code byteCount < 0 || offset < 0 || offset + byteCount > data.length}
196 public String(byte[] data, int high, int offset, int byteCount) {
    [all...]
  /libcore/luni/src/main/java/java/util/zip/
ZipFile.java 415 public long skip(long byteCount) throws IOException {
416 if (byteCount > mLength - mOffset) {
417 byteCount = mLength - mOffset;
419 mOffset += byteCount;
420 return byteCount;
ZipInputStream.java 299 public int read(byte[] buffer, int offset, int byteCount) throws IOException {
301 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
320 int toRead = byteCount > (len - lastRead) ? len - lastRead : byteCount;
338 read = inf.inflate(buffer, offset, byteCount);
GZIPInputStream.java 156 public int read(byte[] buffer, int offset, int byteCount) throws IOException {
163 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
167 bytesRead = super.read(buffer, offset, byteCount);
ZipOutputStream.java 412 public void write(byte[] buffer, int offset, int byteCount) throws IOException {
413 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
419 out.write(buffer, offset, byteCount);
421 super.write(buffer, offset, byteCount);
423 crc.update(buffer, offset, byteCount);
  /external/webkit/Tools/Scripts/
svn-unapply 275 my $byteCount = sysread(CHANGELOG, $newDate, 10);
276 die "Failed reading $fullPath: $!" if !$byteCount || $byteCount != 10;
  /dalvik/dx/src/com/android/dx/io/
EncodedValueReader.java 137 private int readIndex(ByteInput in, int byteCount) {
140 for (int i = 0; i < byteCount; i++) {
  /libcore/luni/src/test/java/libcore/java/util/zip/
InflaterTest.java 113 int byteCount = deflater.deflate(buf);
114 deflatedBytes.write(buf, 0, byteCount);
  /libcore/support/src/test/java/tests/support/
Support_TestWebData.java 42 private static byte[] newBinaryFile(int byteCount) {
43 byte[] result = new byte[byteCount];
  /libcore/luni/src/main/native/
libcore_io_Memory.cpp 96 static void Memory_peekByteArray(JNIEnv* env, jclass, jint srcAddress, jbyteArray dst, jint dstOffset, jint byteCount) {
97 env->SetByteArrayRegion(dst, dstOffset, byteCount, cast<const jbyte*>(srcAddress));
271 static void unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount,
274 memcpy(dst, src, byteCount);
281 swapShorts(dstShorts, srcShorts, byteCount / 2);
285 swapInts(dstInts, srcInts, byteCount / 4);
289 swapLongs(dstLongs, srcLongs, byteCount / 8);
294 jint byteCount, jbyteArray srcArray, jint srcOffset, jint sizeofElement, jboolean swap) {
306 unsafeBulkCopy(dst, src, byteCount, sizeofElement, swap);
311 jint byteCount, jobject srcObject, jint srcOffset, jint sizeofElement, jboolean swap)
    [all...]
java_lang_Character.cpp 52 int32_t byteCount = u_charName(codePoint, nameType, &buf[0], sizeof(buf), &status);
53 return (U_FAILURE(status) || byteCount == 0) ? NULL : env->NewStringUTF(buf);
libcore_io_Posix.cpp 671 socklen_t byteCount = sizeof(ss);
672 memset(&ss, 0, byteCount);
673 int rc = TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount));
815 static void Posix_mincore(JNIEnv* env, jobject, jlong address, jlong byteCount, jbyteArray javaVector) {
822 throwIfMinusOne(env, "mincore", TEMP_FAILURE_RETRY(mincore(ptr, byteCount, vec)));
833 static void Posix_mlock(JNIEnv* env, jobject, jlong address, jlong byteCount) {
835 throwIfMinusOne(env, "mlock", TEMP_FAILURE_RETRY(mlock(ptr, byteCount)));
838 static jlong Posix_mmap(JNIEnv* env, jobject, jlong address, jlong byteCount, jint prot, jint flags, jobject javaFd, jlong offset) {
841 void* ptr = mmap(suggestedPtr, byteCount, prot, flags, fd, offset);
848 static void Posix_msync(JNIEnv* env, jobject, jlong address, jlong byteCount, jint flags)
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
bitstream_io.h 44 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount);
  /libcore/luni/src/main/java/java/nio/
ReadOnlyDoubleArrayBuffer.java 90 public final DoubleBuffer put(double[] src, int srcOffset, int byteCount) {
ReadOnlyFloatArrayBuffer.java 95 public final FloatBuffer put(float[] src, int srcOffset, int byteCount) {
SocketChannelImpl.java 601 public void write(byte[] buffer, int offset, int byteCount) throws IOException {
602 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
603 ByteBuffer buf = ByteBuffer.wrap(buffer, offset, byteCount);
652 public int read(byte[] buffer, int offset, int byteCount) throws IOException {
653 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
657 ByteBuffer buf = ByteBuffer.wrap(buffer, offset, byteCount);
ReadOnlyDirectByteBuffer.java 75 public ByteBuffer put(byte[] src, int srcOffset, int byteCount) {
ReadOnlyHeapByteBuffer.java 90 public ByteBuffer put(byte[] src, int srcOffset, int byteCount) {
  /libcore/luni/src/main/java/libcore/io/
Memory.java 35 public static native void unsafeBulkGet(Object dst, int dstOffset, int byteCount,
42 public static native void unsafeBulkPut(byte[] dst, int dstOffset, int byteCount,
142 * Copies 'byteCount' bytes from the source to the destination. The objects are either
151 public static native void memmove(Object dstObject, int dstOffset, Object srcObject, int srcOffset, long byteCount);
158 public static native void peekByteArray(int address, byte[] dst, int dstOffset, int byteCount);
  /libcore/luni/src/main/java/java/io/
DataInputStream.java 119 public final void readFully(byte[] dst, int offset, int byteCount) throws IOException {
120 Streams.readFully(in, dst, offset, byteCount);
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLSocketImpl.java 667 public int read(byte[] buf, int offset, int byteCount) throws IOException {
671 Arrays.checkOffsetAndCount(buf.length, offset, byteCount);
672 if (byteCount == 0) {
676 OpenSSLSocketImpl.this, buf, offset, byteCount, getSoTimeout());
709 public void write(byte[] buf, int offset, int byteCount) throws IOException {
713 Arrays.checkOffsetAndCount(buf.length, offset, byteCount);
714 if (byteCount == 0) {
718 OpenSSLSocketImpl.this, buf, offset, byteCount);
    [all...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
ByteUtils.java 63 int byteCount = -1;
67 while ((byteCount = inputStream.read(buffer)) > 0) {
68 outputStream.write(buffer, 0, byteCount);
  /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++) {
  /dalvik/vm/
Misc.cpp 607 void *dvmAllocRegion(size_t byteCount, int prot, const char *name) {
611 byteCount = ALIGN_UP_TO_PAGE_SIZE(byteCount);
612 fd = ashmem_create_region(name, byteCount);
616 base = mmap(NULL, byteCount, prot, MAP_PRIVATE, fd, 0);

Completed in 1331 milliseconds

1 2 34 5 6 7