/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ByteBufferInputStream.java | 39 public int read(byte[] bytes, int off, int len) { 45 mBuf.get(bytes, off, len);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
ByteBufferInputStream.java | 39 public int read(byte[] bytes, int off, int len) { 45 mBuf.get(bytes, off, len);
|
/packages/apps/Mms/src/com/android/mms/exif/ |
ByteBufferInputStream.java | 39 public int read(byte[] bytes, int off, int len) { 45 mBuf.get(bytes, off, len);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/linux/ |
gen_stats.h | 18 * @bytes: number of seen bytes 23 __u64 bytes; member in struct:gnet_stats_basic 28 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
gen_stats.h | 18 * @bytes: number of seen bytes 23 __u64 bytes; member in struct:gnet_stats_basic 28 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/ |
gen_stats.h | 36 __u64 bytes; member in struct:gnet_stats_basic 41 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/linux/ |
gen_stats.h | 36 __u64 bytes; member in struct:gnet_stats_basic 41 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/linux/ |
gen_stats.h | 36 __u64 bytes; member in struct:gnet_stats_basic 41 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/linux/ |
gen_stats.h | 36 __u64 bytes; member in struct:gnet_stats_basic 41 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/linux/ |
gen_stats.h | 36 __u64 bytes; member in struct:gnet_stats_basic 41 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/linux/ |
gen_stats.h | 36 __u64 bytes; member in struct:gnet_stats_basic 41 __u64 bytes; member in struct:gnet_stats_basic_packed
|
/libcore/luni/src/test/java/libcore/java/util/ |
BitSetTest.java | 80 private static void assertBitSet(BitSet bs, byte[] bytes, String s) { 81 for (int i = 0; i < 8 * bytes.length; ++i) { 82 assertEquals(bs.toString(), ((bytes[i / 8] & (1L << (i % 8))) != 0), bs.get(i)); 85 for (int i = 0; i < bytes.length; ++i) { 86 cardinality += Integer.bitCount(((int) bytes[i]) & 0xff); 94 assertEquals(roundUp(8 * bytes.length, 64), bs.size()); 102 private static void assertBitSet(byte[] bytes, String s) { 104 assertBitSet(BitSet.valueOf(bytes), bytes, s); local 106 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(bytes)), bytes, s) local 111 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(paddedBytes, 1, bytes.length)), bytes, s); local [all...] |
/external/guava/guava/src/com/google/common/net/ |
InetAddresses.java | 52 * are 4 and 16 bytes in length, respectively, and represent the address 133 * @param bytes byte array representing an IPv4 address (should be 140 private static Inet4Address getInet4Address(byte[] bytes) { 141 Preconditions.checkArgument(bytes.length == 4, 143 bytes.length); 146 InetAddress ipv4 = InetAddress.getByAddress(bytes); 168 Arrays.toString(bytes)), 265 byte[] bytes = new byte[IPV4_PART_COUNT]; 267 for (int i = 0; i < bytes.length; i++) { 268 bytes[i] = parseOctet(address[i]) [all...] |
/cts/tools/cfassembler/src/dxconvext/ |
ClassFileAssembler.java | 57 // 2. modify some bytes to damage the structure of the .class file in a 60 // Uncomment the original bytes, and write "MOD:" meaning a modified 65 // file, parses them as hex values and writes the bytes to the class file 126 * @param bytes non-null; the bytes of the file 128 private void calcSignature(byte[] bytes) { 137 md.update(bytes, 32, bytes.length - 32); 140 int amt = md.digest(bytes, 12, 20); 143 " bytes"); [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
BaseDumper.java | 36 private final byte[] bytes; field in class:BaseDumper 38 /** whether or not to include the raw bytes (in a column on the left) */ 56 /** number of bytes per line in hex dumps */ 74 * @param bytes {@code non-null;} bytes of the (alleged) class file 80 public BaseDumper(byte[] bytes, PrintStream out, 82 this.bytes = bytes; 124 public void parsed(ByteArray bytes, int offset, int len, String human) { 125 offset = bytes.underlyingOffset(offset, getBytes()) [all...] |
/development/apps/Development/src/com/android/development/ |
LogViewer.java | 99 byte[] bytes = new byte[length]; 100 in.readFully(bytes); 102 int tagEnd = next0(bytes, HEADER_SIZE); 103 int fileEnd = next0(bytes, tagEnd + 1); 104 int messageEnd = next0(bytes, fileEnd + 1); 107 = forAsciiBytes(bytes, HEADER_SIZE, tagEnd); 109 = forAsciiBytes(bytes, fileEnd + 1, messageEnd); 131 static int next0(byte[] bytes, int start) { 132 for (int current = start; current < bytes.length; current++) { 133 if (bytes[current] == 0 [all...] |
/external/openssl/crypto/rand/ |
randfile.c | 109 int RAND_load_file(const char *file, long bytes) 111 /* If bytes >= 0, read up to 'bytes' bytes. 112 * if bytes == -1, read complete file. */ 135 if (bytes == 0) return(ret); 146 * of bytes from a random device, nor do we want to use buffered 149 bytes = (bytes == -1) ? 2048 : bytes; /* ok, is 2048 enough? * [all...] |
/libcore/luni/src/main/java/java/io/ |
OutputStreamWriter.java | 30 * the target input stream is converted into bytes by either a default or a 33 * of bytes to be written to target stream and converts these into characters as 44 private ByteBuffer bytes = ByteBuffer.allocate(8192); field in class:OutputStreamWriter 52 * the non-null target stream to write converted bytes to. 65 * the target stream to write converted bytes to. 95 * the target stream to write converted bytes to. 113 * the target stream to write converted bytes to. 143 bytes = null; 149 * Flushes this writer. This implementation ensures that all buffered bytes 150 * are written to the target stream. After writing the bytes, the targe [all...] |
/packages/apps/Nfc/src/com/android/nfc/snep/ |
SnepMessage.java | 97 byte[] bytes = new byte[ndefLength]; 98 System.arraycopy(data, ndefOffset, bytes, 0, ndefLength); 99 mNdefMessage = new NdefMessage(bytes); 115 byte[] bytes; 117 bytes = mNdefMessage.toByteArray(); 119 bytes = new byte[0]; 125 buffer = new ByteArrayOutputStream(bytes.length + HEADER_LENGTH + 4); 127 buffer = new ByteArrayOutputStream(bytes.length + HEADER_LENGTH); 134 output.writeInt(bytes.length + 4); 137 output.writeInt(bytes.length) [all...] |
/system/netd/server/ |
BandwidthController.h | 59 int setInterfaceSharedQuota(const char *iface, int64_t bytes); 60 int getInterfaceSharedQuota(int64_t *bytes); 63 int setInterfaceQuota(const char *iface, int64_t bytes); 64 int getInterfaceQuota(const char *iface, int64_t *bytes); 74 int setGlobalAlert(int64_t bytes); 79 int setSharedAlert(int64_t bytes); 82 int setInterfaceAlert(const char *iface, int64_t bytes); 136 int runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes); 137 int runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes); 151 int updateQuota(const char *alertName, int64_t bytes); [all...] |
/external/chromium_org/dbus/ |
property_unittest.cc | 37 Property<std::vector<uint8> > bytes; member in struct:dbus::PropertyTest::Properties 48 RegisterProperty("Bytes", &bytes); 177 std::vector<uint8> bytes = properties_->bytes.value(); local 178 ASSERT_EQ(4U, bytes.size()); 179 EXPECT_EQ('T', bytes[0]); 180 EXPECT_EQ('e', bytes[1]); 181 EXPECT_EQ('s', bytes[2]); 182 EXPECT_EQ('t', bytes[3]) 241 std::vector<uint8> bytes = properties_->bytes.value(); local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/ |
NfcUtils.java | 49 static CharSequence displayByteArray(byte[] bytes) { 51 for (int i = 0; i < bytes.length; i++) { 52 builder.append(Byte.toString(bytes[i])); 53 if (i + 1 < bytes.length) {
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
ChatManager.java | 37 int bytes; local 44 bytes = iStream.read(buffer); 45 if (bytes == -1) { 49 // Send the obtained bytes to the UI Activity 52 bytes, -1, buffer).sendToTarget();
|
/external/bluetooth/bluedroid/btif/include/ |
btif_config.h | 58 int btif_config_get_str(const char* section, const char* key, const char* name, char* value, int* bytes); 61 int btif_config_get(const char* section, const char* key, const char* name, char* value, int* bytes, int* type); 62 int btif_config_set(const char* section, const char* key, const char* name, const char* value, int bytes, int type); 71 const char* value, int bytes, int type);
|
/external/chromium_org/base/ |
guid_unittest.cc | 28 uint64 bytes[] = { 0, 0 }; local 29 std::string clientid = base::RandomDataToGUIDString(bytes); 34 uint64 bytes[] = { 0x0123456789ABCDEFULL, 0xFEDCBA9876543210ULL }; local 35 std::string clientid = base::RandomDataToGUIDString(bytes);
|