HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 326 - 350 of 817) sorted by null

<<11121314151617181920>>

  /external/yaffs2/yaffs2/utils/
mkyaffsimage.c 209 yaffs_TagsUnion * tags = (yaffs_TagsUnion* )tagsPtr; // Work in bytes.
333 __u8 bytes[512]; local
336 yaffs_ObjectHeader *oh = (yaffs_ObjectHeader *)bytes;
338 memset(bytes,0xff,512);
379 return write_chunk(bytes,objId,0,0xffff);
459 __u8 bytes[512]; local
466 memset(bytes,0xff,512);
467 while((nBytes = read(h,bytes,512)) > 0)
470 write_chunk(bytes,newObj,chunk,nBytes);
471 memset(bytes,0xff,512)
    [all...]
  /frameworks/base/core/jni/
android_emoji_EmojiFactory.cpp 164 const char *bytes = factory->GetImageBinaryFromAndroidPua(pua, &size); local
165 if (bytes == NULL) {
170 if (!SkImageDecoder::DecodeMemory(bytes, size, bitmap)) {
android_util_EventLog.cpp 210 jbyte *bytes = env->GetByteArrayElements(array, NULL); local
211 memcpy(bytes, buf, len);
212 env->ReleaseByteArrayElements(array, bytes, 0);
  /frameworks/base/media/jni/
android_media_MediaMetadataRetriever.cpp 238 ALOGV("Dimension = %dx%d and bytes = %d",
328 jbyte* bytes = env->GetByteArrayElements(array, NULL); local
329 if (bytes != NULL) {
330 memcpy(bytes, data, len);
331 env->ReleaseByteArrayElements(array, bytes, 0);
android_media_MediaScanner.cpp 60 static bool isValidUtf8(const char* bytes) {
61 while (*bytes != '\0') {
62 unsigned char utf8 = *(bytes++);
73 // Bit pattern 0xxx. No need for any extra bytes.
81 * Bit pattern 10xx or 1111, which are illegal start bytes.
87 // Bit pattern 1110, so there are two additional bytes.
88 utf8 = *(bytes++);
96 utf8 = *(bytes++);
357 jbyte* bytes = env->GetByteArrayElements(array, NULL); local
358 memcpy(bytes, data + 4, len)
    [all...]
  /frameworks/native/libs/utils/
String8.cpp 100 const ssize_t bytes = utf16_to_utf8_length(in, len); local
101 if (bytes < 0) {
105 SharedBuffer* buf = SharedBuffer::alloc(bytes+1);
122 const ssize_t bytes = utf32_to_utf8_length(in, len); local
123 if (bytes < 0) {
127 SharedBuffer* buf = SharedBuffer::alloc(bytes+1);
274 const size_t otherLen = other.bytes();
275 if (bytes() == 0) {
292 if (bytes() == 0) {
330 const size_t myLen = bytes();
    [all...]
  /hardware/invensense/libsensors_iio/software/simple_apps/mpu_iio/
iio_utils.h 62 * @bytes: number of bytes occupied in buffer output
73 unsigned bytes; member in struct:iio_channel_info
86 * @bytes: output how many bytes the channel storage occupies
94 unsigned *bytes,
163 *bytes = padint / 8;
405 &current->bytes,
mpu_iio.c 48 int bytes = 0; local
51 if (bytes % channels[i].bytes == 0)
52 channels[i].location = bytes;
54 channels[i].location = bytes - bytes%channels[i].bytes
55 + channels[i].bytes;
56 bytes = channels[i].location + channels[i].bytes;
    [all...]
  /hardware/msm7k/liblights/
lights.c 110 int bytes = sprintf(buffer, "%d\n", value); local
111 int amt = write(fd, buffer, bytes);
  /hardware/qcom/display/liblight/
lights.c 90 int bytes = sprintf(buffer, "%d\n", value); local
91 int amt = write(fd, buffer, bytes);
  /packages/apps/Browser/tests/src/com/android/browser/
WebStorageSizeManagerUnitTests.java 77 private long bytes(double megabytes) { method in class:WebStorageSizeManagerUnitTests
88 mDiskInfo.setTotalSizeBytes(bytes(75));
89 mDiskInfo.setFreeSpaceSizeBytes(bytes(24));
97 long origin1EstimatedSize = bytes(3.5);
105 long origin2EstimatedSize = bytes(2.5);
128 long origin3EstimatedSize = bytes(5);
146 manager.onExceededDatabaseQuota("4", "4", 0, bytes(1), totalUsedQuota, mQuotaUpdater);
150 mAppCacheInfo.setAppCacheSizeBytes(bytes(2));
152 manager.onReachedMaxAppCacheSize(bytes(2), totalUsedQuota, mQuotaUpdater);
160 manager.onReachedMaxAppCacheSize(bytes(1.5), totalUsedQuota, mQuotaUpdater)
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/
FileSystemUtils.java 114 * bytes on Windows, 512 byte units on OS X and kilobytes on Unix.
228 // non-empty line (the free space bytes should be in the last element
248 * @return the number of bytes
255 // numeric character inclusive is our free space bytes count
263 // the free space bytes count
273 // beginning of the free space bytes count
285 // remove commas and dots in the bytes count
355 * Parses the bytes from a string.
359 * @return the number of bytes
364 long bytes = Long.parseLong(freeSpace); local
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/data/
SparseArrayBitmapPool.java 119 int bytes = b.getByteCount(); local
120 freeUpCapacity(bytes);
141 mSizeBytes += bytes;
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
JavaNetHttpHelper.java 162 int bytes; local
163 while ((bytes = reader.read(chars)) != -1) {
164 string.append(chars, 0, bytes);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
pcm_oss.h 55 size_t bytes; /* total # bytes processed */ member in struct:snd_pcm_oss_runtime
rawmidi.h 79 /* event handler (new bytes, input only) */
96 size_t bytes; member in struct:snd_rawmidi_substream
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/
pcm_oss.h 55 size_t bytes; /* total # bytes processed */ member in struct:snd_pcm_oss_runtime
rawmidi.h 79 /* event handler (new bytes, input only) */
96 size_t bytes; member in struct:snd_rawmidi_substream
  /system/core/toolbox/
dd.h 67 uint64_t bytes; /* # of bytes written */ member in struct:__anon44024
  /bionic/libc/tools/zoneinfo/
ZoneCompactor.java 31 private final byte[] bytes; field in class:ZoneCompactor.ByteArrayBufferIteratorBE
34 public ByteArrayBufferIteratorBE(byte[] bytes) {
35 this.bytes = bytes;
48 System.arraycopy(bytes, offset, dst, dstOffset, byteCount);
53 return bytes[offset++];
77 // File starting bytes by zone name
  /dalvik/dexgen/src/com/android/dexgen/util/
ByteArrayAnnotatedOutput.java 60 * {@code >= 8 (if used);} the number of bytes of hex output to use
109 * may be larger than the number of bytes written
122 * bytes at the end).
263 public void write(ByteArray bytes) {
264 int blen = bytes.size();
275 bytes.getBytes(data, writeAt);
280 public void write(byte[] bytes, int offset, int length) {
286 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) {
287 throw new IndexOutOfBoundsException("bytes.length " +
288 bytes.length + "; "
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
DirectClassFile.java 82 /** {@code non-null;} the bytes of the file */
83 private final ByteArray bytes; field in class:DirectClassFile
168 * @param bytes {@code non-null;} the bytes of the file
176 public DirectClassFile(ByteArray bytes, String filePath,
178 if (bytes == null) {
179 throw new NullPointerException("bytes == null");
187 this.bytes = bytes;
195 * @param bytes {@code non-null;} the bytes of the fil
564 private final ByteArray bytes; field in class:DirectClassFile.DcfTypeList
    [all...]
StdAttributeFactory.java 217 ByteArray bytes = cf.getBytes(); local
219 int maxStack = bytes.getUnsignedShort(offset); // u2 max_stack
220 int maxLocals = bytes.getUnsignedShort(offset + 2); // u2 max_locals
221 int codeLength = bytes.getInt(offset + 4); // u4 code_length
225 observer.parsed(bytes, offset, 2,
227 observer.parsed(bytes, offset + 2, 2,
229 observer.parsed(bytes, offset + 4, 4,
244 new BytecodeArray(bytes.slice(codeOffset, codeOffset + codeLength),
251 int exceptionTableLength = bytes.getUnsignedShort(offset);
257 observer.parsed(bytes, offset, 2
321 ByteArray bytes = cf.getBytes(); local
355 ByteArray bytes = cf.getBytes(); local
384 ByteArray bytes = cf.getBytes(); local
412 ByteArray bytes = cf.getBytes(); local
469 ByteArray bytes = cf.getBytes(); local
510 ByteArray bytes = cf.getBytes(); local
533 ByteArray bytes = cf.getBytes(); local
682 ByteArray bytes = cf.getBytes(); local
704 ByteArray bytes = cf.getBytes(); local
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
BlockDumper.java 75 * @param bytes {@code non-null;} bytes of the (alleged) class file
82 public static void dump(byte[] bytes, PrintStream out,
84 BlockDumper bd = new BlockDumper(bytes, out, filePath,
93 BlockDumper(byte[] bytes, PrintStream out, String filePath,
95 super(bytes, out, filePath, args);
108 byte[] bytes = getBytes();
109 ByteArray ba = new ByteArray(bytes);
137 public void parsed(ByteArray bytes, int offset, int len, String human) {
139 super.parsed(bytes, offset, len, human)
213 ByteArray bytes = code.getBytes(); local
289 ByteArray bytes = code.getBytes(); local
    [all...]
  /dalvik/dx/src/com/android/dx/util/
ByteArrayAnnotatedOutput.java 60 * {@code >= 8 (if used);} the number of bytes of hex output to use
118 * may be larger than the number of bytes written
131 * bytes at the end).
256 public void write(ByteArray bytes) {
257 int blen = bytes.size();
268 bytes.getBytes(data, writeAt);
273 public void write(byte[] bytes, int offset, int length) {
279 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) {
280 throw new IndexOutOfBoundsException("bytes.length " +
281 bytes.length + "; "
    [all...]

Completed in 297 milliseconds

<<11121314151617181920>>