/frameworks/native/include/utils/ |
String8.h | 60 inline size_t bytes() const; 266 inline size_t String8::bytes() const function in class:android::String8
|
/frameworks/opt/net/voip/src/jni/rtp/ |
AmrCodec.cpp | 102 unsigned char *bytes = (unsigned char *)payload; local 106 samples, bytes + 1, &type, AMR_TX_WMF); 113 bytes[0] = 0xF0; 114 bytes[1] = (mMode << 3) | 0x04; 118 bytes[0] = 0xFF; 119 bytes[1] = 0xC0 | (mMode << 1) | 1; 122 bytes[length + 1] = 0; 124 bytes[i] = (bytes[i] << 6) | (bytes[i + 1] >> 2) 133 unsigned char *bytes = (unsigned char *)payload; local 226 unsigned char *bytes = (unsigned char *)payload; local 244 unsigned char *bytes = (unsigned char *)payload; local [all...] |
/frameworks/rs/ |
rsThreadIO.h | 73 uint32_t bytes; member in struct:android::renderscript::ThreadIO::CoreCmdHeaderRec 77 uint32_t bytes; member in struct:android::renderscript::ThreadIO::ClientCmdHeaderRec
|
/hardware/ti/omap4xxx/libtiutils/ |
MessageQueue.cpp | 192 size_t bytes = 0; local 211 while( bytes < sizeof(msg) ) 213 int err = write(this->fd_write, p, sizeof(*msg) - bytes); 223 bytes += err;
|
/libcore/luni/src/main/java/libcore/net/url/ |
FileURLConnection.java | 90 * Returns the length of the file in bytes. 150 ByteArrayOutputStream bytes = new java.io.ByteArrayOutputStream(); local 151 PrintStream out = new PrintStream(bytes); 161 return new ByteArrayInputStream(bytes.toByteArray());
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatFieldTest.java | 49 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 50 out = new ObjectOutputStream(bytes); 62 in = new ObjectInputStream(new ByteArrayInputStream(bytes
|
OldNumberFormatFieldTest.java | 45 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 46 ObjectOutputStream out = new ObjectOutputStream(bytes); 57 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SizeClustering.java | 115 long bytes = SIZE_LEVELS[index]; local 116 if (bytes >= GIGA_BYTES) { 117 return (bytes / GIGA_BYTES) + "GB"; 119 return (bytes / MEGA_BYTES) + "MB";
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
gen_stats.h | 18 * @bytes: number of seen bytes 23 __u64 bytes; member in struct:gnet_stats_basic
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
gen_stats.h | 18 * @bytes: number of seen bytes 23 __u64 bytes; member in struct:gnet_stats_basic
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm-indirect.h | 32 int hw_ready; /* Bytes ready for play (or captured) in hw ring buffer */ 35 unsigned int sw_io; /* Current software pointer in bytes */ 36 int sw_ready; /* Bytes ready to be transferred to/from hw */ 41 struct snd_pcm_indirect *rec, size_t bytes); 66 unsigned int bytes = qsize - rec->hw_ready; local 67 if (rec->sw_ready < (int)bytes) 68 bytes = rec->sw_ready; 69 if (hw_to_end < bytes) 70 bytes = hw_to_end; 71 if (sw_to_end < bytes) 95 int bytes = ptr - rec->hw_io; local 131 size_t bytes = rec->sw_buffer_size - rec->sw_ready; local 161 int bytes = ptr - rec->hw_io; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
gen_stats.h | 18 * @bytes: number of seen bytes 23 __u64 bytes; member in struct:gnet_stats_basic
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
pcm-indirect.h | 32 int hw_ready; /* Bytes ready for play (or captured) in hw ring buffer */ 35 unsigned int sw_io; /* Current software pointer in bytes */ 36 int sw_ready; /* Bytes ready to be transferred to/from hw */ 41 struct snd_pcm_indirect *rec, size_t bytes); 66 unsigned int bytes = qsize - rec->hw_ready; local 67 if (rec->sw_ready < (int)bytes) 68 bytes = rec->sw_ready; 69 if (hw_to_end < bytes) 70 bytes = hw_to_end; 71 if (sw_to_end < bytes) 95 int bytes = ptr - rec->hw_io; local 131 size_t bytes = rec->sw_buffer_size - rec->sw_ready; local 161 int bytes = ptr - rec->hw_io; local [all...] |
/sdk/emulator/qtools/ |
read_trace.cpp | 115 int bytes; local 123 bytes = 2; 136 bytes = 4; 148 bytes = 4; 154 addr += bytes; 155 offset += bytes;
|
/dalvik/dx/src/com/android/dx/cf/code/ |
BasicBlocker.java | 272 BytecodeArray bytes = method.getCode(); local 273 ByteBlock[] bbs = new ByteBlock[bytes.size()]; 328 BytecodeArray bytes = method.getCode(); local 346 bytes.processWorkSet(workSet, this); 389 * @param length length of the instruction, in bytes 422 * @param length length of the instruction, in bytes
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
CertBlacklist.java | 97 ByteArrayOutputStream bytes = new ByteArrayOutputStream((int) f.length()); local 102 return bytes; 104 bytes.write(buffer, 0, byteCount);
|
/bionic/libc/kernel/common/linux/netfilter/ |
xt_sctp.h | 51 #define bytes(type) (sizeof(type) * 8) macro 52 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 54 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
ipt_sctp.h | 50 #define bytes(type) (sizeof(type) * 8) macro 51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 52 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 54 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
ByteArray.java | 31 private final byte[] bytes; field in class:ByteArray 36 /** {@code >= 0, <= bytes.length}; size computed as 43 * @param bytes {@code non-null;} the underlying array 45 * @param end {@code >= start, <= bytes.length;} end index of 48 public ByteArray(byte[] bytes, int start, int end) { 49 if (bytes == null) { 50 throw new NullPointerException("bytes == null"); 61 if (end > bytes.length) { 62 throw new IllegalArgumentException("end > bytes.length"); 65 this.bytes = bytes [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
AttributeListParser.java | 57 * @param offset offset in {@code bytes} to the start of the list 126 ByteArray bytes = cf.getBytes(); local 129 observer.parsed(bytes, offset, 2, 136 observer.parsed(bytes, at, 0, 149 observer.parsed(bytes, at, 0,
|
CodeObserver.java | 43 private final ByteArray bytes; field in class:CodeObserver 51 * @param bytes {@code non-null;} actual array of bytecode 54 public CodeObserver(ByteArray bytes, ParseObserver observer) { 55 if (bytes == null) { 56 throw new NullPointerException("bytes == null"); 63 this.bytes = bytes; 69 observer.parsed(bytes, offset, length, header(offset)); 74 observer.parsed(bytes, offset, length, header(offset)); 94 observer.parsed(bytes, offset, length [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
DotDumper.java | 44 private final byte[] bytes; field in class:DotDumper 50 static void dump(byte[] bytes, String filePath, Args args) { 51 new DotDumper(bytes, filePath, args).run(); 54 DotDumper(byte[] bytes, String filePath, Args args) { 55 this.bytes = bytes; 63 ByteArray ba = new ByteArray(bytes); 93 public void parsed(ByteArray bytes, int offset, int len, String human) { 98 public void startParsingMember(ByteArray bytes, int offset, String name, 103 public void endParsingMember(ByteArray bytes, int offset, String name [all...] |
/dalvik/dx/src/com/android/dx/util/ |
ByteArray.java | 31 private final byte[] bytes; field in class:ByteArray 36 /** {@code >= 0, <= bytes.length}; size computed as 43 * @param bytes {@code non-null;} the underlying array 45 * @param end {@code >= start, <= bytes.length;} end index of 48 public ByteArray(byte[] bytes, int start, int end) { 49 if (bytes == null) { 50 throw new NullPointerException("bytes == null"); 61 if (end > bytes.length) { 62 throw new IllegalArgumentException("end > bytes.length"); 65 this.bytes = bytes [all...] |
/development/ndk/platforms/android-3/include/linux/netfilter/ |
xt_sctp.h | 49 #define bytes(type) (sizeof(type) * 8) macro 51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 53 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/ |
ipt_sctp.h | 47 #define bytes(type) (sizeof(type) * 8) macro 49 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 51 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 53 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|