/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SizeClustering.java | 112 long bytes = SIZE_LEVELS[index]; local 113 if (bytes >= GIGA_BYTES) { 114 return (bytes / GIGA_BYTES) + "GB"; 116 return (bytes / MEGA_BYTES) + "MB";
|
/prebuilt/linux-x86/toolchain/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
|
/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
|
/bionic/libc/kernel/common/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; })
|
/bionic/libc/kernel/common/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; })
|
/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; })
|
/device/samsung/tuna/liblight/ |
lights.c | 62 int bytes = sprintf(buffer, "%d\n", value); local 63 int amt = write(fd, buffer, bytes);
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
AttributedCharacterIteratorAttributeTest.java | 75 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 76 out = new ObjectOutputStream(bytes); 93 in = new ObjectInputStream(new ByteArrayInputStream(bytes
|
DataFormatFieldTest.java | 178 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 179 out = new ObjectOutputStream(bytes); 193 in = new ObjectInputStream(new ByteArrayInputStream(bytes
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DERBitString.java | 66 * return the correct number of bytes for a bit string defined in 71 int bytes = 4; local 78 bytes--; 81 byte[] result = new byte[bytes]; 82 for (int i = 0; i < bytes; i++) 202 byte[] bytes = new byte[getBytes().length + 1]; 204 bytes[0] = (byte)getPadBits(); 205 System.arraycopy(getBytes(), 0, bytes, 1, bytes.length - 1); local 207 out.writeEncoded(BIT_STRING, bytes); [all...] |
/external/chromium/chrome/browser/policy/ |
user_policy_cache.cc | 249 std::string bytes = value.bytes_value(); local 250 return BinaryValue::CreateWithCopiedBuffer(bytes.c_str(), bytes.size());
|
/external/chromium/net/disk_cache/ |
file_posix.cc | 139 int bytes = operation->result(); local 143 callback->OnFileIOComplete(bytes);
|
/external/chromium/net/tools/flip_server/ |
flip_in_mem_edsm_server.cc | 150 int bytes = static_cast<int>(strlen(pid_str)); local 151 if (write(fd, pid_str, strlen(pid_str)) != bytes) {
|
/external/chromium/third_party/libevent/ |
event_tagging.c | 124 int bytes = 0; local 135 data[bytes++] = lower; 139 evbuffer_add(evbuf, data, bytes); 141 return (bytes); 184 * tag number: one byte; length: var bytes; payload: var bytes
|
/external/dhcpcd/ |
common.c | 88 ssize_t bytes; local 98 bytes = getline(&lbuf, &lbuf_len, fp); 99 if (bytes == -1) 104 if (lbuf[--bytes] == '\n') 105 lbuf[bytes] = '\0'; 235 syslog(LOG_ERR, "memory exhausted (xalloc %zu bytes)", s); 256 syslog(LOG_ERR, "memory exhausted (xrealloc %zu bytes)", s);
|
/external/dropbear/ |
buffer.c | 184 * the next len bytes from that position can be used */ 204 * Note that the string isn't checked for null bytes, hence the retlen 258 /* put the set of len bytes into the buffer, incrementing the pos, increasing 260 void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len) { 261 memcpy(buf_getwriteptr(buf, len), bytes, len); local
|
/external/e2fsprogs/debugfs/ |
dump.c | 206 unsigned bytes = inode->i_size; local 215 retval = ext2fs_file_read(e2_file, p, bytes, &got); 220 bytes -= got; 222 if (got == 0 || bytes == 0)
|
/external/icu4c/io/ |
ufmt_cmn.c | 170 uint8_t bytes[sizeof(void*)]; member in union:__anon6060 214 result.bytes[resultIdx] = byte;
|