| /frameworks/base/core/java/android/util/ |
| Log.java | 299 int bytes = printlns(logId, ERROR, tag, msg, localStack ? what : tr); local 301 return bytes; 357 * @return The number of bytes written.
|
| /frameworks/base/core/jni/ |
| android_app_admin_SecurityLog.cpp | 177 jbyte *bytes = env->GetByteArrayElements(array, NULL); local 178 memcpy(bytes, log_msg.buf, len); 179 env->ReleaseByteArrayElements(array, bytes, 0);
|
| android_util_EventLog.cpp | 229 jbyte *bytes = env->GetByteArrayElements(array, NULL); local 230 memcpy(bytes, log_msg.buf, len); 231 env->ReleaseByteArrayElements(array, bytes, 0);
|
| /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
| TestMtpManager.java | 60 void setImportFileBytes(int deviceId, int objectHandle, byte[] bytes) { 61 mImportFileBytes.put(pack(deviceId, objectHandle), bytes); local 68 void setThumbnail(int deviceId, int objectHandle, byte[] bytes) { 69 mThumbnailBytes.put(pack(deviceId, objectHandle), bytes); local 214 final byte[] bytes = mImportFileBytes.get(pack(deviceId, objectHandle)); 216 while (i < size && i + offset < bytes.length) { 217 buffer[i] = bytes[(int) (i + offset)];
|
| /frameworks/base/services/core/java/com/android/server/am/ |
| NativeCrashListener.java | 237 int bytes; local 240 bytes = Os.read(fd, buf, 0, buf.length); 241 if (bytes > 0) { 243 String s = new String(buf, 0, bytes, "UTF-8"); 244 Slog.v(TAG, "READ=" + bytes + "> " + s); 247 if (buf[bytes-1] == 0) { 248 os.write(buf, 0, bytes-1); // exclude the EOD token 252 os.write(buf, 0, bytes); 254 } while (bytes > 0);
|
| /frameworks/minikin/libs/minikin/ |
| Hyphenator.cpp | 89 const uint8_t* bytes() const { return reinterpret_cast<const uint8_t*>(this); } function in struct:android::Header 91 return *reinterpret_cast<const uint32_t*>(bytes() + alphabet_offset); 94 return reinterpret_cast<const AlphabetTable0*>(bytes() + alphabet_offset); 97 return reinterpret_cast<const AlphabetTable1*>(bytes() + alphabet_offset); 100 return reinterpret_cast<const Trie*>(bytes() + trie_offset); 103 return reinterpret_cast<const Pattern*>(bytes() + pattern_offset);
|
| /frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
| ImageCompare.java | 40 int bytes = bitmap.getByteCount(); local 41 ByteBuffer buffer = ByteBuffer.allocate(bytes);
|
| /frameworks/support/documents-archive/tests/src/android/support/provider/ |
| DocumentArchiveTest.java | 57 int bytes; local 58 while ((bytes = inputStream.read(buffer)) != -1) { 59 outputStream.write(buffer, 0, bytes);
|
| /hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
| iio_utils.h | 64 * @bytes: number of bytes occupied in buffer output 75 unsigned bytes; member in struct:iio_channel_info 88 * @bytes: output how many bytes the channel storage occupies 96 unsigned *bytes, 165 *bytes = padint / 8; 406 ¤t->bytes,
|
| /hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
| iio_utils.h | 64 * @bytes: number of bytes occupied in buffer output 75 unsigned bytes; member in struct:iio_channel_info 88 * @bytes: output how many bytes the channel storage occupies 96 unsigned *bytes, 165 *bytes = padint / 8; 406 ¤t->bytes,
|
| /hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_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 ¤t->bytes,
|
| /hardware/qcom/display/msm8084/liblight/ |
| lights.c | 86 int bytes = sprintf(buffer, "%d\n", value); local 87 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /hardware/qcom/display/msm8226/liblight/ |
| lights.c | 86 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 87 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /hardware/qcom/display/msm8909/liblight/ |
| lights.c | 90 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 91 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /hardware/qcom/display/msm8960/liblight/ |
| lights.c | 91 int bytes = sprintf(buffer, "%d\n", value); local 92 int amt = write(fd, buffer, bytes);
|
| /hardware/qcom/display/msm8994/liblight/ |
| lights.c | 87 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 88 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /hardware/qcom/display/msm8996/liblight/ |
| lights.c | 87 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 88 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /hardware/qcom/display/msmcobalt/liblight/ |
| lights.c | 87 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 88 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /libcore/luni/src/main/java/libcore/io/ |
| IoUtils.java | 196 private byte[] bytes; field in class:IoUtils.FileReader 227 bytes = new byte[capacity]; 232 int capacity = bytes.length; 234 while ((read = Libcore.os.read(fd, bytes, count, capacity - count)) != 0) { 242 System.arraycopy(bytes, 0, newBytes, 0, capacity); 243 bytes = newBytes; 247 // of bytes from it, return. 263 if (count == bytes.length) { 264 return bytes; 267 System.arraycopy(bytes, 0, result, 0, count) [all...] |
| /libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
| X509CertPath.java | 256 * @return the bytes read from the InputStream 272 * @return the encoded bytes 291 DerOutputStream bytes = new DerOutputStream(); local 303 bytes.write(encoded); 308 derout.write(DerValue.tag_SequenceOf, bytes); 342 * @return the encoded bytes
|
| /libcore/ojluni/src/main/java/sun/security/util/ |
| DerOutputStream.java | 165 byte[] buf = i.toByteArray(); // least number of bytes 189 byte[] bytes = new byte[4]; 192 // Obtain the four bytes of the int 194 bytes[3] = (byte) (i & 0xff); 195 bytes[2] = (byte)((i & 0xff00) >>> 8); 196 bytes[1] = (byte)((i & 0xff0000) >>> 16); 197 bytes[0] = (byte)((i & 0xff000000) >>> 24); 199 // Reduce them to the least number of bytes needed to 202 if (bytes[0] == (byte)0xff) { 207 if ((bytes[j] == (byte)0xff) & 301 DerOutputStream bytes = new DerOutputStream(); local 318 DerOutputStream bytes = new DerOutputStream(); local 389 DerOutputStream bytes = new DerOutputStream(); local [all...] |
| /packages/apps/Gallery2/src/com/android/photos/data/ |
| SparseArrayBitmapPool.java | 55 * @param capacityBytes Maximum capacity of the pool in bytes. 127 * @return Capacity of the pool in bytes. 134 * @return Total size in bytes of the bitmaps stored in the pool. 170 int bytes = b.getByteCount(); local 171 freeUpCapacity(bytes); 201 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);
|
| /packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
| FileSystemUtils.java | 114 * bytes on Windows, 512 byte units on OS X and kilobytes on Unix. 229 // non-empty line (the free space bytes should be in the last element 249 * @return the number of bytes 256 // numeric character inclusive is our free space bytes count 264 // the free space bytes count 274 // beginning of the free space bytes count 286 // remove commas and dots in the bytes count 356 * Parses the bytes from a string. 360 * @return the number of bytes 365 long bytes = Long.parseLong(freeSpace) local [all...] |
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/mtd/ |
| ubi-user.h | 76 * this number of bytes to the volume character device. The update is finished 77 * when the claimed number of bytes is passed. So, the volume update sequence 99 * user is expected to write the requested amount of bytes (similarly to what 251 * 512 in case of a 512 bytes page NAND flash with no sub-page support. Or 260 * be 2KiB-64 bytes = 1984. Note, that this position is not even 512-bytes 276 * @bytes: volume size in bytes 305 __s64 bytes; member in struct:ubi_mkvol_req 316 * @bytes: new size of the volume in byte 325 __s64 bytes; member in struct:ubi_rsvol_req 381 __s32 bytes; member in struct:ubi_leb_change_req [all...] |